From: Alan Third <alan@idiocy.org>
To: detlevvandaele <detlev.vandaele@gmail.com>
Cc: 28865@debbugs.gnu.org
Subject: bug#28865: 26.0.90; broken symlink behaviour in read-file-name on OS X (High Sierra)
Date: Mon, 16 Oct 2017 22:33:27 +0100 [thread overview]
Message-ID: <20171016213327.GB44072@breton.holly.idiocy.org> (raw)
In-Reply-To: <880f5f86-3cbd-4b47-9c08-b36e9f2087b1@Spark>
On Mon, Oct 16, 2017 at 03:34:55PM +0200, detlevvandaele wrote:
> Steps to reproduce in emacs 26, on macOS High Sierra (version 10.13):
>
> 1. Setup a symbolic link in the following way:
> cd ~
> mkdir temp
> touch temp/foo
> ln -s ~/temp/foo ~/temp/bar
>
> 2. Open emacs 26 with `emacs -Q`
>
> 3. Evaluate the following elisp snippet
> (let ((default-directory "~/temp"))
> (all-completions "" 'read-file-name-internal))
>
> The (incorrect) output should read ("bar/" "foo" "../" "./")
> The correct, expected output is ("bar" "foo" "../" "./")
Confirmed on macOS 10.12 with Emacs 26 and the standard macOS ln.
--
Alan Third
prev parent reply other threads:[~2017-10-16 21:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-16 13:34 bug#28865: 26.0.90; broken symlink behaviour in read-file-name on OS X (High Sierra) detlevvandaele
2017-10-16 21:33 ` Alan Third [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171016213327.GB44072@breton.holly.idiocy.org \
--to=alan@idiocy.org \
--cc=28865@debbugs.gnu.org \
--cc=detlev.vandaele@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.