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#51935: 29.0.50; tab-switch hides identically named tabs Date: Fri, 19 Nov 2021 10:36:16 +0200 Organization: LINKOV.NET Message-ID: <86a6i0o8dj.fsf@mail.linkov.net> References: <86r1bdxvt8.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1500"; 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: 51935@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 19 09:41:15 2021 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 1mnzSN-0000EC-54 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Nov 2021 09:41:15 +0100 Original-Received: from localhost ([::1]:37438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnzSL-0003I4-Us for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Nov 2021 03:41:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnzRE-0002E1-GF for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2021 03:40:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnzRE-00068d-7g for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2021 03:40:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnzRD-00071Q-Oz for bug-gnu-emacs@gnu.org; Fri, 19 Nov 2021 03:40:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Nov 2021 08:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51935 X-GNU-PR-Package: emacs Original-Received: via spool by 51935-submit@debbugs.gnu.org id=B51935.163731118326936 (code B ref 51935); Fri, 19 Nov 2021 08:40:03 +0000 Original-Received: (at 51935) by debbugs.gnu.org; 19 Nov 2021 08:39:43 +0000 Original-Received: from localhost ([127.0.0.1]:37935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnzQs-00070N-R5 for submit@debbugs.gnu.org; Fri, 19 Nov 2021 03:39:43 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:59399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnzQp-0006zq-9D for 51935@debbugs.gnu.org; Fri, 19 Nov 2021 03:39:39 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 3BE3C240005; Fri, 19 Nov 2021 08:39:31 +0000 (UTC) In-Reply-To: (Carlos Pita's message of "Thu, 18 Nov 2021 21:31:45 -0300") 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" Xref: news.gmane.io gmane.emacs.bugs:220389 Archived-At: > Tabs are positional so the position can be used to disambiguate > choices. I would use it as a suffix but only where it helps > disambiguate options. Tabs are positional only when the tab-bar is enabled and visible, especially after customizing tab-bar-tab-hints to non-nil. But the problem is that 'C-x t RET' is used mostly when the tab-bar is disabled and not visible, so tabs are not positional in this case. > That said, I believe even "same-buffer<1>", "same-buffer<2>", > "same-buffer<3>" is preferable to nothing, first because it's the same > in tab-switcher, tabs are all named equal and it's only the position > that distinguishes them, adding a sequential number conveys the same > information than the position in the tab-switcher menu, so if that's > good for one case it's likely good for the other one as well, at least > as long as it doesn't make completion cumbersome, which is the case > when it's a suffix sparingly added; second, because as it is today one > gets the impression that tabs are missing, it can get pretty > confusing, more confusing than arbitrary suffixes I would say. Notice that I > don't use the tabbar (and I believe I'm not alone in that respect) so I rely > on the tab list to get an overall picture every now and then, sometimes to > figure out what tabs need renaming. If this problem exists for completions candidates of 'C-x t RET', then we could add the suffix to non-unique completion strings with tab names here.