Subject: Re: bug#18232: 24.3.92; Filename completion changes the current working directory

From: Glenn Morris <[email-masked]>
Date: Sat, 09 Aug 2014 22:45:48 -0400

Harald Hanche-Olsen wrote:

> Starting with emacs -Q:
>
>  - Find the PID of the running emacs process.
>  - In a root shell, run "lsof -p PID | grep cwd".
>  - Evaluate (read-file-name-default "Filename: ") and don't hit RETURN
>  - Navigate to some other directory, and cause filename completion to
>    happen. For example, type "/tmp/" and follow up with TAB.
>  - Run the lsof command again, and note that the current working
>    directory has changed.

I can't reproduce that on GNU/Linux.

In general, if you visit files and then unmount the hosting
filesystems, you are going to have problems.

> In GNU Emacs 24.3.92.2 (x86_64-apple-darwin13.3.0, NS apple-appkit-1265.21)