From unknown Sun Aug 17 22:09:43 2025 X-Loop: don@donarmstrong.com Subject: bug#324: Uniquify Tramp buffers Reply-To: "Oliver, Peter (E.ON IS UK)" , 324@debbugs.gnu.org Resent-From: "Oliver, Peter (E.ON IS UK)" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 27 May 2008 14:40:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 324 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121189861117865 (code B ref -1); Tue, 27 May 2008 14:40:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Status: No, score=1.6 required=4.0 tests=BAYES_50,FOURLA,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 27 May 2008 14:30:11 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4REU2q8017284 for ; Tue, 27 May 2008 07:30:04 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K10Bd-0001l3-2e for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:30:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K10BZ-0001iS-KH for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:29:57 -0400 Received: from [199.232.76.173] (port=44429 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K10BY-0001iN-NO for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:29:56 -0400 Received: from mail.pgen.com ([217.158.191.217]:49851 helo=mail1.eon-uk.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K10BY-0003zp-H1 for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:29:56 -0400 X-IronPort-AV: E=Sophos;i="4.27,548,1204502400"; d="scan'208,217";a="127301074" Received: from CORWWPKSEXV03.corp.pg.eon.net ([10.80.96.38]) by corwwpksexn01.corp.pg.eon.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 27 May 2008 15:29:17 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8C006.0B615C80" x-cr-puzzleid: {623470FE-AC79-4B6A-A152-739D579B4C1F} Content-class: urn:content-classes:message x-cr-hashedpuzzle: AQmq BQyH BTKT BiCs B9sE C1PN EA0O Fmzc GUP0 G+FB H8nz IZCF JBeX KBxG KnoF Lw1A;1;YgB1AGcALQBnAG4AdQAtAGUAbQBhAGMAcwBAAGcAbgB1AC4AbwByAGcA;Sosha1_v1;7;{623470FE-AC79-4B6A-A152-739D579B4C1F};cABlAHQAZQByAC4AbwBsAGkAdgBlAHIAQABlAG8AbgAtAGkAcwAuAGMAbwAuAHUAawA=;Tue, 27 May 2008 14:29:12 GMT;VQBuAGkAcQB1AGkAZgB5ACAAVAByAGEAbQBwACAAYgB1AGYAZgBlAHIAcwA= Date: Tue, 27 May 2008 15:29:12 +0100 Message-ID: <90894CB9EF82CB4A9FB84765A02082B706318F7D@CORWWPKSEXV03.corp.pg.eon.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Uniquify Tramp buffers thread-index: AcjABgijOZR9FWlBSb6HPUzWJytwRw== From: "Oliver, Peter (E.ON IS UK)" To: X-OriginalArrivalTime: 27 May 2008 14:29:17.0580 (UTC) FILETIME=[0B871CC0:01C8C006] X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. This is a multi-part message in MIME format. ------_=_NextPart_001_01C8C006.0B615C80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Buffer names don't get uniquified correctly when opening the same file on multiple hosts with Tramp. =20 For example, after opening files "/host-a:/tmp/foo" and "/host-b:/tmp/foo", you get buffers named "foo" and "foo<2>". I would expect the buffer names to be something like "host-a:/foo" and "host-b:/foo" (depending on the value of uniquify-buffer-name-style). I see this with GNU Emacs 22.2.1. It used to work as expected with version 21. ___________________________ Disclaimer Notice ____________________ This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore the E.ON Group does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of the E.ON Group. E.ON IS UK Limited, Westwood Way, Westwood Business Park, Coventry, CV4 8LG. Registered in England & Wales No. 5617434 Telephone +44 (0) 2476 192000 Fax +44 (0) 2476 42 5432 ------_=_NextPart_001_01C8C006.0B615C80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Uniquify Tramp buffers

Buffer names don't get uniquif= ied correctly when opening the same file on multiple hosts with Tramp. = ;

For example= , after opening files "/host-a:/tmp/foo" and "/host-b:/tmp/f= oo", you get buffers named "foo" and "foo<2>"= ;.  I would expect the buffer names to be something like "host-a:= /foo" and "host-b:/foo" (depending on the value of uniquify-= buffer-name-style).

I see this = with GNU Emacs 22.2.1.  It used to work as expected with= version= 21.

___________________________ Disclaimer Notice ____________________
This message and any attachments are confidential and should only
be read by those to whom they are addressed. If you are not the
intended recipient, please contact us, delete the message from your
computer and destroy any copies. Any distribution or copying without
our prior permission is prohibited.

Internet communications are not always secure and therefore the
E.ON Group does not accept legal responsibility for this message.
The recipient is responsible for verifying its authenticity before
acting on the contents. Any views or opinions presented are solely
those of the author and do not necessarily
represent those of the E.ON Group.

E.ON IS UK Limited, Westwood Way, Westwood Business Park,
Coventry, CV4 8LG.
Registered in England & Wales No. 5617434

Telephone +44 (0) 2476 192000
Fax +44 (0) 2476 42 5432
------_=_NextPart_001_01C8C006.0B615C80-- From unknown Sun Aug 17 22:09:43 2025 X-Loop: don@donarmstrong.com Subject: bug#324: Uniquify Tramp buffers Reply-To: Michael Albinus , 324@debbugs.gnu.org Resent-From: Michael Albinus Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 08 Jun 2008 11:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 324 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121292505415219 (code B ref -1); Sun, 08 Jun 2008 11:45:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.4 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 8 Jun 2008 11:37:34 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m58BbS5Y015208 for ; Sun, 8 Jun 2008 04:37:29 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5JDE-0001GU-43 for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 07:37:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5JDA-0001Fc-13 for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 07:37:27 -0400 Received: from [199.232.76.173] (port=48899 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5JD9-0001FZ-Rw for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 07:37:23 -0400 Received: from mail.gmx.net ([213.165.64.20]:40980) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1K5JD9-0008H8-BL for bug-gnu-emacs@gnu.org; Sun, 08 Jun 2008 07:37:23 -0400 Received: (qmail invoked by alias); 08 Jun 2008 11:37:21 -0000 Received: from p57A204CF.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.4.207] by mail.gmx.net (mp012) with SMTP; 08 Jun 2008 13:37:21 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18GdDJoxAcG1KnU9eM1geRuXoByJ176G9gRFYGRwf eIIYzIYMhmBS5Z From: Michael Albinus To: "Oliver\, Peter \(E.ON IS UK\)" Cc: 324-done@debbugs.gnu.org, References: <90894CB9EF82CB4A9FB84765A02082B706318F7D@CORWWPKSEXV03.corp.pg.eon.net> Date: Sun, 08 Jun 2008 13:37:19 +0200 In-Reply-To: <90894CB9EF82CB4A9FB84765A02082B706318F7D@CORWWPKSEXV03.corp.pg.eon.net> (Peter Oliver's message of "Tue, 27 May 2008 15:29:12 +0100") Message-ID: <87skvojgy8.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-CrossAssassin-Score: 2 "Oliver, Peter (E.ON IS UK)" writes: > Buffer names don't get uniquified correctly when opening the same file > on multiple hosts with Tramp. I've fixed this in `uniquify-get-proposed-name'. Best regards, Michael. From unknown Sun Aug 17 22:09:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Oliver, Peter (E.ON IS UK)" Subject: bug#324 closed by Michael Albinus (Re: bug#324: Uniquify Tramp buffers) Message-ID: References: <87skvojgy8.fsf@gmx.de> <90894CB9EF82CB4A9FB84765A02082B706318F7D@CORWWPKSEXV03.corp.pg.eon.net> X-Emacs-PR-Message: they-closed 324 X-Emacs-PR-Package: emacs Reply-To: 324@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1212925506-16557-1" This is a multi-part message in MIME format... ------------=_1212925506-16557-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #324: Uniquify Tramp buffers It has been closed by Michael Albinus . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Michael Albinus by replying to this email. --=20 324: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D324 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1212925506-16557-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From michael.albinus@gmx.de Sun Jun 8 04:37:30 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.4 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 324-done) by emacsbugs.donarmstrong.com; 8 Jun 2008 11:37:31 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m58BbRnj015206 for <324-done@emacsbugs.donarmstrong.com>; Sun, 8 Jun 2008 04:37:28 -0700 Received: (qmail invoked by alias); 08 Jun 2008 11:37:21 -0000 Received: from p57A204CF.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.4.207] by mail.gmx.net (mp012) with SMTP; 08 Jun 2008 13:37:21 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18GdDJoxAcG1KnU9eM1geRuXoByJ176G9gRFYGRwf eIIYzIYMhmBS5Z From: Michael Albinus To: "Oliver\, Peter \(E.ON IS UK\)" Cc: 324-done@debbugs.gnu.org, Subject: Re: bug#324: Uniquify Tramp buffers References: <90894CB9EF82CB4A9FB84765A02082B706318F7D@CORWWPKSEXV03.corp.pg.eon.net> Date: Sun, 08 Jun 2008 13:37:19 +0200 In-Reply-To: <90894CB9EF82CB4A9FB84765A02082B706318F7D@CORWWPKSEXV03.corp.pg.eon.net> (Peter Oliver's message of "Tue, 27 May 2008 15:29:12 +0100") Message-ID: <87skvojgy8.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 "Oliver, Peter (E.ON IS UK)" writes: > Buffer names don't get uniquified correctly when opening the same file > on multiple hosts with Tramp. I've fixed this in `uniquify-get-proposed-name'. Best regards, Michael. ------------=_1212925506-16557-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From Peter.Oliver@eon-is.co.uk Tue May 27 07:30:11 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Status: No, score=1.6 required=4.0 tests=BAYES_50,FOURLA,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 27 May 2008 14:30:11 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4REU2q8017284 for ; Tue, 27 May 2008 07:30:04 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K10Bd-0001l3-2e for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:30:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K10BZ-0001iS-KH for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:29:57 -0400 Received: from [199.232.76.173] (port=44429 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K10BY-0001iN-NO for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:29:56 -0400 Received: from mail.pgen.com ([217.158.191.217]:49851 helo=mail1.eon-uk.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K10BY-0003zp-H1 for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:29:56 -0400 X-IronPort-AV: E=Sophos;i="4.27,548,1204502400"; d="scan'208,217";a="127301074" Received: from CORWWPKSEXV03.corp.pg.eon.net ([10.80.96.38]) by corwwpksexn01.corp.pg.eon.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 27 May 2008 15:29:17 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8C006.0B615C80" x-cr-puzzleid: {623470FE-AC79-4B6A-A152-739D579B4C1F} Content-class: urn:content-classes:message x-cr-hashedpuzzle: AQmq BQyH BTKT BiCs B9sE C1PN EA0O Fmzc GUP0 G+FB H8nz IZCF JBeX KBxG KnoF Lw1A;1;YgB1AGcALQBnAG4AdQAtAGUAbQBhAGMAcwBAAGcAbgB1AC4AbwByAGcA;Sosha1_v1;7;{623470FE-AC79-4B6A-A152-739D579B4C1F};cABlAHQAZQByAC4AbwBsAGkAdgBlAHIAQABlAG8AbgAtAGkAcwAuAGMAbwAuAHUAawA=;Tue, 27 May 2008 14:29:12 GMT;VQBuAGkAcQB1AGkAZgB5ACAAVAByAGEAbQBwACAAYgB1AGYAZgBlAHIAcwA= Subject: Uniquify Tramp buffers Date: Tue, 27 May 2008 15:29:12 +0100 Message-ID: <90894CB9EF82CB4A9FB84765A02082B706318F7D@CORWWPKSEXV03.corp.pg.eon.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Uniquify Tramp buffers thread-index: AcjABgijOZR9FWlBSb6HPUzWJytwRw== From: "Oliver, Peter (E.ON IS UK)" To: X-OriginalArrivalTime: 27 May 2008 14:29:17.0580 (UTC) FILETIME=[0B871CC0:01C8C006] X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. This is a multi-part message in MIME format. ------_=_NextPart_001_01C8C006.0B615C80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Buffer names don't get uniquified correctly when opening the same file on multiple hosts with Tramp. =20 For example, after opening files "/host-a:/tmp/foo" and "/host-b:/tmp/foo", you get buffers named "foo" and "foo<2>". I would expect the buffer names to be something like "host-a:/foo" and "host-b:/foo" (depending on the value of uniquify-buffer-name-style). I see this with GNU Emacs 22.2.1. It used to work as expected with version 21. ___________________________ Disclaimer Notice ____________________ This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore the E.ON Group does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of the E.ON Group. E.ON IS UK Limited, Westwood Way, Westwood Business Park, Coventry, CV4 8LG. Registered in England & Wales No. 5617434 Telephone +44 (0) 2476 192000 Fax +44 (0) 2476 42 5432 ------_=_NextPart_001_01C8C006.0B615C80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Uniquify Tramp buffers

Buffer names don't get uniquif= ied correctly when opening the same file on multiple hosts with Tramp. = ;

For example= , after opening files "/host-a:/tmp/foo" and "/host-b:/tmp/f= oo", you get buffers named "foo" and "foo<2>"= ;.  I would expect the buffer names to be something like "host-a:= /foo" and "host-b:/foo" (depending on the value of uniquify-= buffer-name-style).

I see this = with GNU Emacs 22.2.1.  It used to work as expected with= version= 21.

___________________________ Disclaimer Notice ____________________
This message and any attachments are confidential and should only
be read by those to whom they are addressed. If you are not the
intended recipient, please contact us, delete the message from your
computer and destroy any copies. Any distribution or copying without
our prior permission is prohibited.

Internet communications are not always secure and therefore the
E.ON Group does not accept legal responsibility for this message.
The recipient is responsible for verifying its authenticity before
acting on the contents. Any views or opinions presented are solely
those of the author and do not necessarily
represent those of the E.ON Group.

E.ON IS UK Limited, Westwood Way, Westwood Business Park,
Coventry, CV4 8LG.
Registered in England & Wales No. 5617434

Telephone +44 (0) 2476 192000
Fax +44 (0) 2476 42 5432
------_=_NextPart_001_01C8C006.0B615C80-- ------------=_1212925506-16557-1--