From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74709: [PATCH] Avoid empty unique qualifier in buffer name Date: Fri, 06 Dec 2024 20:30:16 +0100 Message-ID: <87ldwsip87.fsf@ledu-giraud.fr> References: <87wmgdj99g.fsf@ledu-giraud.fr> <875xnwvh89.fsf@gmail.com> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8228"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 74709@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 06 20:31:38 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 1tJe37-0001yU-6h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Dec 2024 20:31:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJe2l-0006l6-Bp; Fri, 06 Dec 2024 14:31:15 -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 1tJe2Z-0006U4-KC for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 14:31:05 -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 1tJe2Y-0006Fb-HC for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 14:31:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=cVZNH6qs8qarNzhh+z9eOSHxQdeZDRyBxTrJ+eR/Wls=; b=LZjWSScyfnc59HL53q33j8oJeGLBbubIWNEFT11iTt9UONufI9/RvebOkJsGdwyvMY2ID20swRxIhem0zxh7C2juYWx+lIt1NdI3TaGUJpOu1kNgDyHL2ea51w3TDWXAfC32GdvtIBWOlG8BbQ/2XKDw5OB/X5l4KBpTHTpzTyn0YGZ+NOg2DZd0MDtPtqt4Esw0uxLn/6nP03s0sQge034jgrsP/+bSM02rgrGpTaFy3uvtJNNDaSk/e4kzLElBRgerpJffim1GuJTIFQ7fNT/WPwxuvIoyrWqaoGCcG+MDVfeYYRCvNzoYW24f0qAQXnJ91SAsMwceexCYZ/6NKQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJe2Y-0002D2-0q for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2024 14:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Dec 2024 19:31: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.17335134238427 (code B ref 74709); Fri, 06 Dec 2024 19:31:01 +0000 Original-Received: (at 74709) by debbugs.gnu.org; 6 Dec 2024 19:30:23 +0000 Original-Received: from localhost ([127.0.0.1]:44329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJe1u-0002Bq-VA for submit@debbugs.gnu.org; Fri, 06 Dec 2024 14:30:23 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:7847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJe1r-0002Ba-Kq for 74709@debbugs.gnu.org; Fri, 06 Dec 2024 14:30:21 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=VPaHEebi GAkWCW6+UF+4LJlDnzM2jZavzFxwOuWiq20=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=S24h+RxnjV9i1ImuQFBdzq+ht8P5g9 YybgbT7TCAbONG2WlElOCIGxtkNrnSyOgNUQsgfs4gSiOAFxHpjeWUCQ== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=VPaHEebiGAkWCW6+ UF+4LJlDnzM2jZavzFxwOuWiq20=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=tBVS2QCMNgm5vqQ2C33JFtQNeW9tZnhrWW/9Sj ATS53UnlMEot7B1gNZxrrzD3l1//6Opom5Q9EYH/2iEUTTVNHVegeT9g5CWfw4LlisJgJ6 LNGoVjl/rl8bsmPcurGyFWSZnY8o6O1iFjByIumKHvaKqocTiJzENlYRI+0gd9EbLegaMY upEpV/keB2iA8X/0MUp3ULejxw93SOhm2iB1Ausr/A8AJUCHNhMzwRQbbojZbSCJX3exir OAOJkDyNhrMTqk1ru2owxn+vudopWqf/4eWgzMk8mD8nhDU9TcsfchH4YApX209lhUo4XR nIJyHde69SozPk6E6Ws61Rpw== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 7e139c73 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 6 Dec 2024 20:30:17 +0100 (CET) In-Reply-To: <875xnwvh89.fsf@gmail.com> (Visuwesh's message of "Fri, 06 Dec 2024 23:14:38 +0530") 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:296520 Archived-At: Visuwesh writes: > [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9F=E0=AE= =BF=E0=AE=9A=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 06, 2024] Manuel = Giraud via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" wrote: > >> Tags: patch >> >> Hi, >> >> 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. > > I usually have ~/tmp visited in a Dired buffer. Sometimes I also visit > /tmp which gets named as "tmp<>". With this patch, /tmp's buffer is > named "tmp" instead. This confuses me as I am used to seeing "tmp" for > ~/tmp's Dired buffer more often than not. Can we gate this new > behaviour behind a user option please? I don't think that there is more confusion then if you only have /tmp opened which will have its buffer named "tmp", no? --=20 Manuel Giraud