From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: xref symlink indigestion
Date: Mon, 02 Jan 2017 16:20:15 -0500 [thread overview]
Message-ID: <jwvinpx40z9.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 20170102154805.72b4eab3ae316a4bbae7a384@speakeasy.net
> I suspect something somewhere is gratuitously calling realpath(3),
> doubtless with good intentions. I'd like to understand why, and see if
> there's a better way.
Emacs calls the equivalent of `realpath` (aka `file-truename`) very
frequently, indeed.
Maybe there's simply a bug in Emacs, but maybe you could try to set
directory-abbrev-alist so that canonicalization of file names uses the
symlink name rather than its target. Something like:
(setq directory-abbrev-alist
(("/usr/local/projects/" . "/home/jklowden/projects")))
But it seems that maybe the bug is simply that *Messages* should not use
/home/jklowden/projects/csv2bin/ but /usr/local/projects/csv2bin/ (at
least unless/until you set directory-abbrev-alist as above).
Stefan
prev parent reply other threads:[~2017-01-02 21:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-02 20:48 xref symlink indigestion James K. Lowden
2017-01-02 21:20 ` Stefan Monnier [this message]
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=jwvinpx40z9.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/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.