From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Oliver, Peter (E.ON IS UK)" Newsgroups: gmane.emacs.bugs Subject: bug#324: Uniquify Tramp buffers Date: Tue, 27 May 2008 15:29:12 +0100 Message-ID: <90894CB9EF82CB4A9FB84765A02082B706318F7D@CORWWPKSEXV03.corp.pg.eon.net> Reply-To: "Oliver, Peter \(E.ON IS UK\)" , 324@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8C006.0B615C80" X-Trace: ger.gmane.org 1211914613 13901 80.91.229.12 (27 May 2008 18:56:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2008 18:56:53 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 27 20:57:34 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K14MX-0005IG-GT for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 May 2008 20:57:33 +0200 Original-Received: from localhost ([127.0.0.1]:57697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K14Lm-0001uC-9p for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 May 2008 14:56:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K10Wp-0008Tj-1O for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:51:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K10Wo-0008TB-B2 for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:51:54 -0400 Original-Received: from [199.232.76.173] (port=39679 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K10Wn-0008T4-Ud for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:51:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46579) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K10Wn-00018m-Jj for bug-gnu-emacs@gnu.org; Tue, 27 May 2008 10:51:53 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4REphe5023148; Tue, 27 May 2008 07:51:44 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4REe4F9019666; Tue, 27 May 2008 07:40:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Oliver, Peter (E.ON IS UK)" Resent-To: bug-submit-list@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: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121189861117865 (code B ref -1); Tue, 27 May 2008 14:40:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 27 May 2008 14:30:11 +0000 Original-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 Original-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 Original-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 Original-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 Original-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" Original-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 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= X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Uniquify Tramp buffers thread-index: AcjABgijOZR9FWlBSb6HPUzWJytwRw== 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. X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Tue, 27 May 2008 10:51:54 -0400 X-Mailman-Approved-At: Tue, 27 May 2008 14:56:12 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18149 Archived-At: 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--