bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28865: 26.0.90; broken symlink behaviour in read-file-name on OS X (


From: Alan Third
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
User-agent: Mutt/1.9.0 (2017-09-02)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]