At 01:39 AM 11/26/00 +0100, Markus Alt wrote:
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.
This is a feature of you trying to see maximum tabs. The widget does not
support very well multiple lines when only one is visible. I have fixed it
mostly so that you don't get the overlap, but what you are seeing is some
part of the total tab widget and depending on what buffer gets selected you
see some other part. What you are *supposed* to do is *not* disable
max-size. max-size is supposed to be related to your screen real-estate so
that you should get the behaviour you desire when you switch buffers. I
have simply made the appearance not look goofy if you choose to ignore this
advice :)
The windows tab makes this more obvious because it gives you little
scrollbars to navigate round the hidden parts of your tab.
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!
Thanks. Many of the problems are related to the X tab. I have had far less
problems with Microsoft's implementation.
andy
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd