From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74709: [PATCH] Avoid empty unique qualifier in buffer name Date: Fri, 06 Dec 2024 18:51:36 +0200 Message-ID: <868qsslppj.fsf@gnu.org> References: <87wmgdj99g.fsf@ledu-giraud.fr> <86cyi4lrc9.fsf@gnu.org> <87a5d8kbww.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17972"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74709@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 06 17:52:20 2024 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 1tJbYx-0004UK-HU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Dec 2024 17:52:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJbYi-0003Zh-2n; Fri, 06 Dec 2024 11:52: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 1tJbYg-0003ZS-GR for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 11:52:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJbYg-0002tF-8g for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 11:52:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=3o9akSX15r/XmDf3M5781/rPHwjL5gY+5ri0c95QhxQ=; b=NtyCcBdMNyPLTZIU+EI35l/TGZ3HJYbEyxwdXibs66xoWVEgBMdGuiIHMYKf212CG8uLtUA23cPJXYGNt0UA8q7Av7HW4nlH+XjtXQu5vAkMkcG2HMoh123blSKasoYjrwYpOUZSMyIsjgAQ7FpHiDyYgA3lLszPZg3Y3V0QvMDjEYFvbUUhda5BWs4OLrGRY1BVrOSKarpNEvrtRSEge8owV8azP27v+qKY12LIRWVlqtCJEmqkxvY2dfPeUUyNPsApEwBA6E1tYHn1HuGS6LwSx7x5nXGHf8MKjvMCGwe7c/zn7wTusn/S3Hy8QhxJnAVXRqa0n6Gn1StcyKLM8Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJbYf-0002mo-Ot for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 11:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Dec 2024 16:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74709 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74709-submit@debbugs.gnu.org id=B74709.173350391010684 (code B ref 74709); Fri, 06 Dec 2024 16:52:01 +0000 Original-Received: (at 74709) by debbugs.gnu.org; 6 Dec 2024 16:51:50 +0000 Original-Received: from localhost ([127.0.0.1]:44084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJbYU-0002mF-15 for submit@debbugs.gnu.org; Fri, 06 Dec 2024 11:51:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJbYQ-0002ly-8h for 74709@debbugs.gnu.org; Fri, 06 Dec 2024 11:51:48 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJbYK-0002qj-7i; Fri, 06 Dec 2024 11:51:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3o9akSX15r/XmDf3M5781/rPHwjL5gY+5ri0c95QhxQ=; b=LVYIX7wwerL3 k9UzZurFEcUVB88slsulQwN39XaAA6nAfiB8BELO/+FNlldaCXPSFTfFogcl0uArC3iP5hYp80bEL 2SHcVep/596IOo4lo9pP+Hs1dK+n5Pn4sHtWSI4PZAamAOzdfExySO1tFeOohtEj5zsAQkUhZO4c8 6F3tQ1nmpQIZrrbhqrrJlZZBMAA/DeYY+EwzoUEfl8x8w41z1lHwdL4jacp+XI0UzfBQg6VusVNfB vQwnApnR57OuQcigSHuTR+McSpcStNL5mydwR9L+1QYGHUYj6JGWD/gZm85EjQREC+ACAzVXqEdnv 6Odw/M6ItgzMpVpF/0/0+A==; In-Reply-To: <87a5d8kbww.fsf@ledu-giraud.fr> (message from Manuel Giraud on Fri, 06 Dec 2024 17:34:55 +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:296511 Archived-At: > From: Manuel Giraud > Cc: 74709@debbugs.gnu.org > Date: Fri, 06 Dec 2024 17:34:55 +0100 > > Eli Zaretskii writes: > > >> Date: Fri, 06 Dec 2024 13:17:31 +0100 > >> From: Manuel Giraud via "Bug reports for GNU Emacs, > >> the Swiss army knife of text editors" > >> > >> This patch prevents from having an empty unique qualifier in the buffer > >> name. Maybe this could happen with others file buffer as well but, most > >> of the time, you could witness it with Dired buffer in homedir. Here is > >> a recipe: > >> > >> - emacs -Q > >> - C-x d /ssh:somewhere: ;; This buffer is named "~" > >> - C-x d /~/ ;; This buffer is named "~<>" > >> > >> With this patch, the last buffer will simply be named "~" instead. > > > > FWIW, I actually like the feature whereby once we need the > > suffix, all the buffers that share the same base name acquire the > > brackets. Why is it a problem that there's nothing inside? It is not > > a bug. > > No it is not a bug. It is just a matter of aesthetic. But you're right > that it could also serve as visual help. I think this PR could be > ignored then. Thanks. Let's wait a bit for others to chime in, before we decide to close, okay?