unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 28264@debbugs.gnu.org
Subject: bug#28264: Accessing source directory through symlink produces false warnings
Date: Tue, 29 Aug 2017 22:41:51 +0200	[thread overview]
Message-ID: <87378a9kds.fsf@detlef> (raw)
In-Reply-To: <6cd94296-2dd5-ac88-185b-ed7d5d8e5533@cs.ucla.edu> (Paul Eggert's message of "Mon, 28 Aug 2017 21:57:15 -0700")

Paul Eggert <eggert@cs.ucla.edu> 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.





  reply	other threads:[~2017-08-29 20:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28 18:25 bug#28264: Accessing source directory through symlink produces false warnings Glenn Morris
2017-08-29  4:57 ` Paul Eggert
2017-08-29 20:41   ` Michael Albinus [this message]
2017-08-30  2:20     ` Paul Eggert
2017-08-30  8:37       ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87378a9kds.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=28264@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).