From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks Date: Tue, 15 Sep 2009 13:25:39 +0200 Message-ID: <87zl8wwito.fsf@thinkpad.tsdh.de> References: <25602.1253012422@maps> Reply-To: Tassilo Horn , 4050@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253015261 13738 80.91.229.12 (15 Sep 2009 11:47:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Sep 2009 11:47:41 +0000 (UTC) Cc: Chong Yidong , Tassilo Horn , 4050@emacsbugs.donarmstrong.com To: Stephen Eglen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 15 13:47:34 2009 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 1MnWVR-0004ED-55 for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Sep 2009 13:47:33 +0200 Original-Received: from localhost ([127.0.0.1]:54855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnWVQ-00033K-Fb for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Sep 2009 07:47:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnWV2-0002zH-Vb for bug-gnu-emacs@gnu.org; Tue, 15 Sep 2009 07:47:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnWUx-0002rd-Kr for bug-gnu-emacs@gnu.org; Tue, 15 Sep 2009 07:47:08 -0400 Original-Received: from [199.232.76.173] (port=56775 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnWUx-0002r3-Dc for bug-gnu-emacs@gnu.org; Tue, 15 Sep 2009 07:47:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38434) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MnWUw-0005Dq-PZ for bug-gnu-emacs@gnu.org; Tue, 15 Sep 2009 07:47:03 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8FBl0Dc030003; Tue, 15 Sep 2009 04:47:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8FBU5Gk026594; Tue, 15 Sep 2009 04:30:05 -0700 Resent-Date: Tue, 15 Sep 2009 04:30:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Tassilo Horn Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 15 Sep 2009 11:30:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4050 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4050-submit@emacsbugs.donarmstrong.com id=B4050.125301394325732 (code B ref 4050); Tue, 15 Sep 2009 11:30:05 +0000 Original-Received: (at 4050) by emacsbugs.donarmstrong.com; 15 Sep 2009 11:25:43 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8FBPfK9025725 for <4050@emacsbugs.donarmstrong.com>; Tue, 15 Sep 2009 04:25:43 -0700 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 5465C78A14F4; Tue, 15 Sep 2009 13:25:41 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00306-10; Tue, 15 Sep 2009 13:25:40 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy thorn@fastmail.fm Original-Received: from thinkpad.tsdh.de (unknown [141.26.94.70]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 1FA2278A14F5; Tue, 15 Sep 2009 13:25:39 +0200 (CEST) In-Reply-To: <25602.1253012422@maps> (Stephen Eglen's message of "Tue, 15 Sep 2009 12:00:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 15 Sep 2009 07:47:08 -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:31106 Archived-At: Stephen Eglen writes: Hi Stephen, > When iswitchb opens teach, it uses find-file-noselect, which opens the > file 'teaching.org' with that name as the buffer, rather than using > the name 'teach'. The fix then is to tell iswitchb to use the name > returned by find-file-noselect. I've attached a new version of the > function iswitchb-read-buffer - please can you test it to see that it > solves the problem for you Tassilo, and then I'll commit a patch. It works. > I guess the only issue is whether the buffer should be called the name > of the symlink 'teach' or the name of the real file 'teaching.org' - > is there a way to tell Emacs to prefer the symlink name? I prefer the real file's name, because that's the way `find-file' handles it. The current version does exactly that, and I'm happy with it. :-) Bye, Tassilo