From: Tassilo Horn <thorn@fastmail.fm>
To: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Cc: Chong Yidong <cyd@stupidchicken.com>,
Tassilo Horn <thorn@fastmail.fm>,
4050@emacsbugs.donarmstrong.com
Subject: bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks
Date: Tue, 15 Sep 2009 13:25:39 +0200 [thread overview]
Message-ID: <87zl8wwito.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <25602.1253012422@maps> (Stephen Eglen's message of "Tue, 15 Sep 2009 12:00:22 +0100")
Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> 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
next prev parent reply other threads:[~2009-09-15 11:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-15 11:00 bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks Stephen Eglen
2009-09-15 11:25 ` Tassilo Horn [this message]
2009-09-15 11:43 ` Stephen Eglen
-- strict thread matches above, loose matches on Subject: below --
2009-09-13 20:23 Chong Yidong
2009-08-05 19:11 Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zl8wwito.fsf@thinkpad.tsdh.de \
--to=thorn@fastmail.fm \
--cc=4050@emacsbugs.donarmstrong.com \
--cc=S.J.Eglen@damtp.cam.ac.uk \
--cc=cyd@stupidchicken.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.