From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#57848: 29.0.50; Problems with private tab-line-tab-name-function Date: Wed, 09 Nov 2022 09:41:02 +0200 Organization: LINKOV.NET Message-ID: <86sfishabd.fsf@mail.linkov.net> References: <8735cs53vn.fsf@web.de> <868rkxretr.fsf@mail.linkov.net> <87k04hldsl.fsf@web.de> <86bkptmcrx.fsf@mail.linkov.net> <87h6zks72x.fsf@web.de> <87k044swwl.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15118"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Alexandros Prekates , Robert Pluim , 57848@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 09 08:46:33 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1osfn7-0003pW-Ar for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Nov 2022 08:46:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osfmf-0007EC-0F; Wed, 09 Nov 2022 02:46:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osfmd-0007Dj-4u for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 02:46:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osfmc-0000Cz-T0 for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 02:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1osfmc-0004Xg-O7 for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 02:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Nov 2022 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57848 X-GNU-PR-Package: emacs Original-Received: via spool by 57848-submit@debbugs.gnu.org id=B57848.166797991411897 (code B ref 57848); Wed, 09 Nov 2022 07:46:02 +0000 Original-Received: (at 57848) by debbugs.gnu.org; 9 Nov 2022 07:45:14 +0000 Original-Received: from localhost ([127.0.0.1]:38898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osflq-00034X-7K for submit@debbugs.gnu.org; Wed, 09 Nov 2022 02:45:14 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osflo-0002fx-Va; Wed, 09 Nov 2022 02:45:13 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 7824CE0006; Wed, 9 Nov 2022 07:45:05 +0000 (UTC) In-Reply-To: <87k044swwl.fsf@web.de> (Michael Heerdegen's message of "Wed, 09 Nov 2022 03:07:38 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247386 Archived-At: close 57848 29.0.50 thanks >> Very cool, thanks. I'll try it out a bit and report back. > > Ok - works perfectly so far! I think I'm happy with this change. Thanks for helping to fix the %-construct bug, and to improve caching functions. So I'm closing this bug report. > I have a related question, though: When browsing Info, how would you > configure things so that the tabs in the tab line are ordered similar to > what you get in an Internet browser: new tabs are opened at the > rightmost position (or next to the current tab), and the tabs are > otherwise not sorted automatically in any way. Can this currently be > achieved? It seems that there is always some unavoidable hard-coded > sorting happening. By default new tabs are opened at the rightmost position because this is what happens with window-next-buffers/window-prev-buffers. So the order is not changed as long as you use `C-x ' (previous-buffer) and `C-x ' (next-buffer) to navigate tab buffers. 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.