From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#28264: Accessing source directory through symlink produces false warnings Date: Tue, 29 Aug 2017 22:41:51 +0200 Message-ID: <87378a9kds.fsf@detlef> References: <8fo9qzeei7.fsf@fencepost.gnu.org> <6cd94296-2dd5-ac88-185b-ed7d5d8e5533@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1504039395 1267 195.159.176.226 (29 Aug 2017 20:43:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Aug 2017 20:43:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 28264@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 29 22:43:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmnLk-0008Ca-7P for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Aug 2017 22:43:04 +0200 Original-Received: from localhost ([::1]:46874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmnLr-0001AE-7p for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Aug 2017 16:43:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmnLl-00019x-Gg for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 16:43:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmnLi-00087I-Eh for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 16:43:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52485) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dmnLi-00087B-Ai for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 16:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dmnLi-0004BN-1u for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2017 16:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Aug 2017 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28264 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28264-submit@debbugs.gnu.org id=B28264.150403933216021 (code B ref 28264); Tue, 29 Aug 2017 20:43:02 +0000 Original-Received: (at 28264) by debbugs.gnu.org; 29 Aug 2017 20:42:12 +0000 Original-Received: from localhost ([127.0.0.1]:32933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmnKt-0004AK-Pa for submit@debbugs.gnu.org; Tue, 29 Aug 2017 16:42:11 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:53593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmnKr-0004A6-PN for 28264@debbugs.gnu.org; Tue, 29 Aug 2017 16:42:10 -0400 Original-Received: from detlef.gmx.de ([79.140.121.193]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MZwYd-1e5iKU3Jfj-00LkY8; Tue, 29 Aug 2017 22:41:53 +0200 In-Reply-To: <6cd94296-2dd5-ac88-185b-ed7d5d8e5533@cs.ucla.edu> (Paul Eggert's message of "Mon, 28 Aug 2017 21:57:15 -0700") X-Provags-ID: V03:K0:JHBddE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dG95totZ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:136359 Archived-At: Paul Eggert writes: Hi Paul, > Thanks for the bug report. I reproduced the problem and installed the > attached patch to fix it. It strikes me, though, that the code still > won't work in other cases (e.g., symlinks containing ":"), and that > Emacs probably has other instances of confusion between how it treats > symlinks and how the OS treats them. I'll CC: this to Michael to give > him a heads-up about this particular issue, as I'm not really up to > speed on magic file names. This special problem does not seem to affect Tramp, tramp-tests tell. However, the following code is unclear to me: > + (concat "/:" file)) What, if file is already quoted? Shouldn't this be (file-name-quote file) Note, that a similar problem I have fixed some days ago in commit cc7530cae0. Best regards, Michael.