GNU bug report logs -
#77122
[PATCH] project--find-in-directory resolves symlinks
Previous Next
Full log
View this message in rfc822 format
Hi!
On 19/03/2025 18:55, Ship Mints wrote:
> This avoids duplicate projects accessed via symlinks that share resolved
> directory locations. This has bothered me for a while, so here we go.
Could you describe the reasons why your setup is the way it is?
Personally, I've never used symlinks at this level, and if I did, I'm
not sure I would see the problem with project-root returning different
strings for those.
What exactly is the problem? Having the "same" project multiple times in
project history?
I can name a couple of (probably minor) downsides:
* The project detection would be slower (more disk I/O).
* project-root would more often return a string that is not a parent
directory of default-directory. Some code out there probably
soft-depends on that.
This bug report was last modified 109 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.