From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: Re: 22.2.1 desktop / uniquify: wrong buffer naming for multiple files of the same name Date: Thu, 24 Apr 2008 22:20:21 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209090037 20129 80.91.229.12 (25 Apr 2008 02:20:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Apr 2008 02:20:37 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, Martin Fischer To: "Juanma Barranquero" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 25 04:21:12 2008 connect(): Connection refused 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 1JpDYk-0007g5-Ri for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Apr 2008 04:21:11 +0200 Original-Received: from localhost ([127.0.0.1]:57396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpDY4-00019c-Ln for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Apr 2008 22:20:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JpDY0-00019M-GY for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2008 22:20:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JpDXz-000198-3I for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2008 22:20:24 -0400 Original-Received: from [199.232.76.173] (port=34682 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpDXz-000195-15 for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2008 22:20:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JpDXy-0005KG-CZ for bug-gnu-emacs@gnu.org; Thu, 24 Apr 2008 22:20:22 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAK7cEEhMCpew/2dsb2JhbACBUqtc X-IronPort-AV: E=Sophos;i="4.25,706,1199682000"; d="scan'208";a="19055771" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 24 Apr 2008 22:20:21 -0400 Original-Received: from pastel.home ([76.10.151.176]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id FGT82121; Thu, 24 Apr 2008 22:20:21 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D80BA8064; Thu, 24 Apr 2008 22:20:21 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Thu, 24 Apr 2008 15:48:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:17875 Archived-At: >> M-x list-buffers >> >> . jack.txt\b 0 Text c:/test/b/jack.txt >> jack.txt 0 Text c:/test/a/jack.txt >> *scratch* 0 Lisp Interaction >> * *Messages* 280 Fundamental > If, before you restart Emacs, you edit .emacs.desktop and switch the > two `desktop-create-buffer' calls (so the first one is for > c:/test/a/jack.txt and the second one is for c:/test/b/jack.txt), > Emacs 22 restores it correctly > . jack.txt\a 0 Text c:/test/a/jack.txt > jack.txt\b 0 Text c:/test/b/jack.txt > *scratch* 0 Lisp Interaction > * *Messages* 274 Fundamental > So it could be a problem with uniquify, not desktop. I'll take a > closer look and be back. Yes, it sounds like a uniquify problem, tho it looks like it's triggered by the way desktop loads the file. Stefan