bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlink


From: Tassilo Horn
Subject: bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks
Date: Tue, 15 Sep 2009 13:25:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Stephen Eglen <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]