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: Sat, 12 Nov 2022 20:19:06 +0200 Organization: LINKOV.NET Message-ID: <864jv4m3xh.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> <86sfishabd.fsf@mail.linkov.net> <8735apc52o.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="12548"; 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 Sat Nov 12 19:22:18 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 1otv8z-00039w-Db for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Nov 2022 19:22:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otv8m-0001xF-0l; Sat, 12 Nov 2022 13:22:04 -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 1otv8k-0001uW-5e for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 13:22:02 -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 1otv8j-0002Mu-TM for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 13:22:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otv8j-0005Vc-Oc for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 13:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Nov 2022 18:22:01 +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.166827729921148 (code B ref 57848); Sat, 12 Nov 2022 18:22:01 +0000 Original-Received: (at 57848) by debbugs.gnu.org; 12 Nov 2022 18:21:39 +0000 Original-Received: from localhost ([127.0.0.1]:49009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otv8M-0005V2-ML for submit@debbugs.gnu.org; Sat, 12 Nov 2022 13:21:38 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otv8K-0005Um-NB for 57848@debbugs.gnu.org; Sat, 12 Nov 2022 13:21:37 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 41748E0003; Sat, 12 Nov 2022 18:21:27 +0000 (UTC) In-Reply-To: <8735apc52o.fsf@web.de> (Michael Heerdegen's message of "Sat, 12 Nov 2022 02:52:15 +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:247682 Archived-At: >> [...] 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'.