GNU bug report logs - #37667
27.0.50; Tab Bar display problems with more than 5 tabs

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Tue, 8 Oct 2019 18:57:02 UTC

Severity: normal

Found in version 27.0.50

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 37667 <at> debbugs.gnu.org
Subject: bug#37667: 27.0.50; Tab Bar display problems with more than 5 tabs
Date: Fri, 22 Nov 2019 09:16:33 +0100
> The tab-line is used just for buffer selection, so either it can use
> the order of buffer-list, or the order of window-prev-buffers, or
> alphabetical order.  I see no other way to sort buffers.

'window-prev-buffers' lists a buffer iff it has been displayed before
in the argument window.  'buffer-list' does something similar for its
argument frame but in principle does not care about whether a buffer
has been displayed already.  So you have to decide what the tab-line
should do.  Just an example: Should 'bury-buffer' affect a tab-line
and if so how?

> You mentioned 'creation time' above.  Does a buffer have a buffer-local
> variable for its creation time?  Then we could sort by buffer's
> creation time.  But currently I see only the variable buffer-display-time,
> not buffer-creation-time.

Indeed.  If you do care about yet undisplayed buffers, then such a
function might be needed.

martin




This bug report was last modified 4 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.