Re: master 1d91d9b717d: project-vc-dir: Use truenames

Dmitry Gutov <[email protected]> Sat, 25 Jul 2026 05:51:33 +0300
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
On 24/07/2026 08:33, João Távora wrote:
> If I follow correctly,  this is the grammatically simpler:
> 
> "If DIR has no VC backend but its truename does, use that instead of DIR."
>
> Right? If so, then I think it's an improvement.

I'll use this one, thanks.

My intent was to include the fact that we check that the truename is not 
the same, but it's implied heavily enough in your version too.

> Except I don't 
> understand when it can ever be true, but that's my fault for not 
> understanding the precise semantics of "having a VC backend", and 
> explaining those probably has no place in this comment.
git clone https://git.savannah.gnu.org/git/emacs.git emacs
ln -s emacs/lisp lisp-symlink

Files under lisp-symlink have vc-backend return nil - visiting any of 
them there triggers following the symlink (without a prompt, FWIW).

Whether we call that "not having a VC backend" is a question of semantics.