bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57848: 29.0.50; Problems with private tab-line-tab-name-function


From: Juri Linkov
Subject: bug#57848: 29.0.50; Problems with private tab-line-tab-name-function
Date: Sat, 12 Nov 2022 20:19:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> [...] However, switching to a buffer moves it to the end
>> of the tab-line corresponding to window-prev-buffers.
>> If you want, you could create a new tab-line-tabs-function
>> based on tab-line-tabs-window-buffers, that will sort
>> window-buffers using their creation order preserved in
>> some new window-local variable.
>
> That would be rather fragile, though.  Image I want to see different
> Info tabs in different frames.  Wouldn't it make more sense to save the
> creation time in the tabs themselves then, somehow?

By default, tabs are just buffers.  If you want more complex logic,
then its possible to add any additional properties to tabs,
for example, like in the function tab-line-tabs-buffer-groups.

> Dunno how others think about that...for my usage behavior that would
> make sense AFAIU.  WDYT?

We need more opinions, so that based on popular demand we could add
more available functions to choose from in the customizable option
`tab-line-tabs-function'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]