GNU bug report logs - #21535
25.0.50; vc-follow-symlinks=ask is ineffective for directory links

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Johan Bockgård <bojohan@HIDDEN>; dated Tue, 22 Sep 2015 20:01:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 21535 <at> debbugs.gnu.org:


Received: (at 21535) by debbugs.gnu.org; 7 Dec 2020 14:57:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 07 09:57:37 2020
Received: from localhost ([127.0.0.1]:54870 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kmHxJ-0000zk-02
	for submit <at> debbugs.gnu.org; Mon, 07 Dec 2020 09:57:37 -0500
Received: from quimby.gnus.org ([95.216.78.240]:37888)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kmHxG-0000zU-Qi
 for 21535 <at> debbugs.gnu.org; Mon, 07 Dec 2020 09:57:35 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=Mpc1ZKH8v1RB30H1feevY3HbRTtb01W+WqOmIQ2JoYk=; b=dJt4fszGG/LRH/ydmcZ/XkgM+Z
 HHKTxQPRN949Ee33EjykUsGicUfY+uwfO8zIAigpY+IuOc89iydvTw1x+RJj/MhQiDufpE0e1e+4P
 g8ywe72z5yPjN94S/rpsp51OrRPsoAOhbzPJok37ekb7/oXPht2M+QoMwlfuSq5WT5u8=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kmHx0-0006dE-5f; Mon, 07 Dec 2020 15:57:28 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#21535: 25.0.50; vc-follow-symlinks=ask is ineffective for
 directory links
References: <87zj0e9qc3.fsf@HIDDEN> <87pn3rtaot.fsf@HIDDEN>
 <fweek27df8.fsf@HIDDEN>
X-Now-Playing: Shirley Collins's _Heart's Ease_: "Rolling In The Dew"
Date: Mon, 07 Dec 2020 15:57:16 +0100
In-Reply-To: <fweek27df8.fsf@HIDDEN> (Glenn Morris's message of
 "Sun, 06 Dec 2020 17:55:07 -0500")
Message-ID: <87czzlirzn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Glenn Morris <rgm@HIDDEN> writes: > Maybe: > > cd /tmp >
 mkdir git > cd git > touch 1 > git init > git add . > git commit -m "c1" >
 cd /tmp > ln -s git/1 > ln -s git git2 Thanks! 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 21535
Cc: 21535 <at> debbugs.gnu.org, Johan =?utf-8?Q?Bockg=C3=A5rd?= <bojohan@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Glenn Morris <rgm@HIDDEN> writes:

> Maybe:
>
> cd /tmp
> mkdir git
> cd git
> touch 1
> git init
> git add .
> git commit -m "c1"
> cd /tmp
> ln -s git/1
> ln -s git git2

Thanks!

> emacs -Q /tmp/1
>  -> "Symbolic link to Git-controlled source file; follow link?"
>
> emacs -Q /tmp/git2/1
>  -> no prompt
>
> I don't think I see why that matters though, so maybe not the right example.

I think that's the correct recipe for the issue described.

And it does seem rather odd, doesn't it?  In both cases, we're following
a symlink, but we only get the warning in the first case?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21535; Package emacs. Full text available.

Message received at 21535 <at> debbugs.gnu.org:


Received: (at 21535) by debbugs.gnu.org; 6 Dec 2020 22:55:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 06 17:55:32 2020
Received: from localhost ([127.0.0.1]:51673 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1km2wF-0007nT-VJ
	for submit <at> debbugs.gnu.org; Sun, 06 Dec 2020 17:55:32 -0500
Received: from eggs.gnu.org ([209.51.188.92]:34966)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1km2wE-0007nC-J4
 for 21535 <at> debbugs.gnu.org; Sun, 06 Dec 2020 17:55:30 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45106)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rgm@HIDDEN>)
 id 1km2w9-0002Nk-7f; Sun, 06 Dec 2020 17:55:25 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1km2vz-0001T0-5w; Sun, 06 Dec 2020 17:55:20 -0500
From: Glenn Morris <rgm@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#21535: 25.0.50;
 vc-follow-symlinks=ask is ineffective for directory links
References: <87zj0e9qc3.fsf@HIDDEN> <87pn3rtaot.fsf@HIDDEN>
X-Spook: Suspicious package KGB JPL al-Qa'ida Arnett corporate
X-Ran: 2vt@|?-jC:beipyn+cvf;T`!A)bE|LnG!m?h%N2%\{JpHLbxJR@SD9iynlSzy'kAg{pt)7
X-Hue: cyan
X-Attribution: GM
Date: Sun, 06 Dec 2020 17:55:07 -0500
In-Reply-To: <87pn3rtaot.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 03 Dec 2020 12:01:54 +0100")
Message-ID: <fweek27df8.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 21535
Cc: 21535 <at> debbugs.gnu.org, Johan =?utf-8?Q?Bockg=C3=A5rd?= <bojohan@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Maybe:

cd /tmp
mkdir git
cd git
touch 1
git init
git add .
git commit -m "c1"
cd /tmp
ln -s git/1
ln -s git git2

emacs -Q /tmp/1
 -> "Symbolic link to Git-controlled source file; follow link?"

emacs -Q /tmp/git2/1
 -> no prompt

I don't think I see why that matters though, so maybe not the right example.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21535; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 21535 <at> debbugs.gnu.org:


Received: (at 21535) by debbugs.gnu.org; 3 Dec 2020 11:02:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 03 06:02:09 2020
Received: from localhost ([127.0.0.1]:38618 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kkmNE-0005Dy-VK
	for submit <at> debbugs.gnu.org; Thu, 03 Dec 2020 06:02:09 -0500
Received: from quimby.gnus.org ([95.216.78.240]:44748)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kkmND-000594-De
 for 21535 <at> debbugs.gnu.org; Thu, 03 Dec 2020 06:02:08 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=3yIGZ5InsjVGBdNgsDvCOpO+8mJlcCgydIkREO91QzY=; b=EUzGoHQteWH+M0Z9AATAA1Ume/
 F8OsbNz+Tp773muI4I9+QDQ6e3KM1HBtwq+mYaIMcUExAlCpmusPAOCWy4tcCe0W1j4cLVHMM0IB/
 tpbAQ1R1p8EiH2t0s7K8Bf8UNdoo+NqBP8p6qkzQgI6hfYywOqSbpHPaO45x3hHRXvKM=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kkmN1-0002Zx-5R; Thu, 03 Dec 2020 12:02:01 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Johan =?utf-8?Q?Bockg=C3=A5rd?= <bojohan@HIDDEN>
Subject: Re: bug#21535: 25.0.50; vc-follow-symlinks=ask is ineffective for
 directory links
References: <87zj0e9qc3.fsf@HIDDEN>
X-Now-Playing: Old's _Formula_: "Last Look"
Date: Thu, 03 Dec 2020 12:01:54 +0100
In-Reply-To: <87zj0e9qc3.fsf@HIDDEN> ("Johan =?utf-8?Q?Bockg=C3=A5rd=22's?=
 message of "Tue, 22 Sep 2015 22:00:44 +0200")
Message-ID: <87pn3rtaot.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Johan Bockgård <bojohan@HIDDEN> writes: > When `vc-follow-symlinks'
    is `ask' (the default) Emacs follows links for > files under version control,
    but fails to ask before doing so when any > parent directory is a symlink.
    > > E.g. > /x/y/lin [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 21535
Cc: 21535 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Johan Bockg=C3=A5rd <bojohan@HIDDEN> writes:

> When `vc-follow-symlinks' is `ask' (the default) Emacs follows links for
> files under version control, but fails to ask before doing so when any
> parent directory is a symlink.
>
> E.g.
> /x/y/link  (asks)
> /x/link/z  (doesn't ask)
>
> The following commit changed two occurrences of `file-chase-links' to
> `buffer-file-truename' in vc-hooks.el. A third occurrence of
> file-chase-links was left alone however, which fools the querying logic
> for files where the directory part of the name contains symlinks.

(This bug report unfortunately got no response at the time.)

Some work has been done on vc/symlinks since this bug was reported, so
this may or may not have been fixed in the development version of
Emacs.  Are you still seeing this there?

If so, could you provide a script that sets up a directory structure
that demonstrates the bug?

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21535; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Sep 2015 20:00:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 22 16:00:59 2015
Received: from localhost ([127.0.0.1]:41958 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZeTkI-0002t8-KI
	for submit <at> debbugs.gnu.org; Tue, 22 Sep 2015 16:00:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47544)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bojohan@HIDDEN>) id 1ZeTkE-0002sy-6j
 for submit <at> debbugs.gnu.org; Tue, 22 Sep 2015 16:00:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bojohan@HIDDEN>) id 1ZeTkD-0005EM-72
 for submit <at> debbugs.gnu.org; Tue, 22 Sep 2015 16:00:53 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59059)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bojohan@HIDDEN>) id 1ZeTkD-0005EI-40
 for submit <at> debbugs.gnu.org; Tue, 22 Sep 2015 16:00:53 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57535)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bojohan@HIDDEN>) id 1ZeTkC-0000QE-8W
 for bug-gnu-emacs@HIDDEN; Tue, 22 Sep 2015 16:00:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bojohan@HIDDEN>) id 1ZeTk8-0005AM-7Q
 for bug-gnu-emacs@HIDDEN; Tue, 22 Sep 2015 16:00:52 -0400
Received: from smtprelay-h31.telenor.se ([213.150.131.4]:48550)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bojohan@HIDDEN>) id 1ZeTk8-00059R-1j
 for bug-gnu-emacs@HIDDEN; Tue, 22 Sep 2015 16:00:48 -0400
Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166])
 by smtprelay-h31.telenor.se (Postfix) with ESMTP id C689EDF5B
 for <bug-gnu-emacs@HIDDEN>; Tue, 22 Sep 2015 22:00:46 +0200 (CEST)
X-SMTPAUTH-B2: [bocjoh]
X-SENDER-IP: [85.228.206.21]
X-LISTENER: [smtp.bredband.net]
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2ChTgBesgFWPBXO5FVdGQSDBgEBgQcmD4Jcg324eodTPBEBAQEBAQEBBgEBAQFBP0EBAgKEO1INNAEEGAEMCi2IMgGnHaQ4kRuEFQWMfYhqqCw3gXaCOTwzhRyCBCCCLQEBAQ
X-IPAS-Result: A2ChTgBesgFWPBXO5FVdGQSDBgEBgQcmD4Jcg324eodTPBEBAQEBAQEBBgEBAQFBP0EBAgKEO1INNAEEGAEMCi2IMgGnHaQ4kRuEFQWMfYhqqCw3gXaCOTwzhRyCBCCCLQEBAQ
X-IronPort-AV: E=Sophos;i="5.17,574,1437429600"; d="scan'208";a="967092995"
Received: from c-15cee455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO
 muon.localdomain) ([85.228.206.21])
 by ipb3.telenor.se with ESMTP; 22 Sep 2015 22:00:47 +0200
Received: by muon.localdomain (Postfix, from userid 1000)
 id EF2BD48422F; Tue, 22 Sep 2015 22:00:44 +0200 (CEST)
From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= <bojohan@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.0.50; vc-follow-symlinks=ask is ineffective for directory links
Date: Tue, 22 Sep 2015 22:00:44 +0200
Message-ID: <87zj0e9qc3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


When `vc-follow-symlinks' is `ask' (the default) Emacs follows links for
files under version control, but fails to ask before doing so when any
parent directory is a symlink.

E.g.
/x/y/link  (asks)
/x/link/z  (doesn't ask)

The following commit changed two occurrences of `file-chase-links' to
`buffer-file-truename' in vc-hooks.el. A third occurrence of
file-chase-links was left alone however, which fools the querying logic
for files where the directory part of the name contains symlinks.


commit 33f95a82e97cac000a98dc5b1100ad7a095e12d3
Author: Stefan Monnier <monnier@HIDDEN>
Date:   Sat Nov 22 05:23:42 2008 +0000

    (vc-follow-link, vc-find-file-hook):
    Use buffer-file-truename to handle symlinks in any part of the filename.




Acknowledgement sent to Johan Bockgård <bojohan@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#21535; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 7 Dec 2020 15:00:01 UTC

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