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

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

bug#23436: [PATCH] Attemp to use the true name of a file to determine re


From: Dmitry Gutov
Subject: bug#23436: [PATCH] Attemp to use the true name of a file to determine responsible vc if the genuine name does not work.
Date: Tue, 25 Oct 2016 02:41:31 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0

On 21.10.2016 02:04, Hong Xu wrote:

Sorry for the confusion. Either keeping what it was or adding a new
command [which essentially calls (vc-responsible-backend (vc-follow-link
file)) ] would be the best option regarding performance.

Shouldn't the command call find-alternate-file instead? Then you can continue working with buffer-file-name and default-directory inside the symlink target directory. And if you visit any nearby files there, you won't have to call the vc-follow-link for each of them again?

What are the downsides to this approach?

e need to
clarify that symlinks are not followed in vc-responsible-backend, and If
the first option is adopted, mention that vc-follow-link should be used
if link following is desired.

OK, mention where?





reply via email to

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