GNU bug report logs - #5297
23.1; vc: fails to follow symlinks inside HOME

Previous Next

Package: emacs;

Reported by: Yuya Nishihara <yuya <at> tcha.org>

Date: Sun, 3 Jan 2010 13:06:03 UTC

Severity: normal

Tags: patch

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #18 received at 5297-done <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Yuya Nishihara <yuya <at> tcha.org>
Cc: 5297-done <at> debbugs.gnu.org
Subject: Re: bug#5297: [PATCH] vc: fixed test of symlinks on abbreviatable path
Date: Sat, 01 Dec 2012 21:26:02 +0800
Yuya Nishihara <yuya <at> tcha.org> writes:

>     vc: fixed test of symlinks on abbreviatable path
>     
>     buffer-file-truename is *abbreviated* truename, but
>     buffer-file-name seems not, so we need to expand it.
>     
>     With abbreviated file-name, at least, vc-git and vc-hg are not detected
>     as backend. This means symlinks to git/hg-managed files on HOME directory
>     are not handled by vc-find-file-hook.

Sorry for the long delay.  I didn't have a test case, but this patch
looks correct so I've installed it in trunk.




This bug report was last modified 12 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.