Andy Piper wrote:
>
> Well, this fixes the tab display oddities that Marcus and Stephen were
> seeing. It took a long time to figure out, so I'm not sure how worthwhile
> it was ...
It fixes the overlapping tabs, indeed. However, it still doesn't work
100% as expected IMHO. Here's why:
As said, I have customized the buffer tabs preferences in a way that the
tabs of *all* buffers are displayed. That's how I find this feature most
useful in my daily work, as I can quickly switch e.g. from any file I'm
editing to, say, an always present shell buffer.
Now, if I open a lot of files (i.e. more tabs than fit in the visible
buffer tabs area), it appears to me as if the least recently opened
files' tabs go into a kind of "second buffer tabs list". When switching
back (via C-x b) to a buffer whose tab is currently not visible, I see
this "second list", i.e. the tab of the selected buffer tab and the
other tabs formerly not displayed.
But instead I would expect to see the tab of the selected buffer added
to the currently displayed tabs and the least recently visited buffer's
tab removed from the visible tabs in order to "make room" for the tab of
the selected buffer. In other words: Always display the tabs of the most
recently used buffers.
All this may sound a bit confusing and I don't know if I expressed
correctly what I mean (I'm no native speaker! ;-) ), so here's a short
example: Open four files A, B, C and D, one after the other. Let's
assume that the buffer tabs area is now "full", i.e. there's no more
room for more tabs. Now open another file E. The tabs of B, C, D and E
are visible and A's tab no longer. This is ok. Then do C-x b A. You
would expect to see the tabs of C, D, E and A, but instead you see
*only* A's tab!
I don't know if this is really a bug or if it works as designed. Maybe
just my "weird" customization is causing this. Nevertheless, I think I
should report it.
Markus
P.S.: Sometimes I wonder if you imagined how many problems the gutter
and buffer tabs stuff may cause when you introduced it, Andy. And how
much time it takes to fix these! Therefore, I'd like to state (again)
that IMHO the buffer tabs are a really great and useful feature of
XEmacs. It has really improved my productivity and only when I have to
work in no window mode or with 21.1 sometimes, I realize how much I got
used to the tabs meanwhile! Please keep up the good work!