GNU bug report logs - #18232
24.3.92; Filename completion changes the current working directory

Previous Next

Package: emacs;

Reported by: Harald Hanche-Olsen <hanche <at> math.ntnu.no>

Date: Sat, 9 Aug 2014 19:57:01 UTC

Severity: minor

Found in version 24.3.92

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 18232 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Harald Hanche-Olsen <hanche <at> math.ntnu.no>
Cc: 18232 <at> debbugs.gnu.org
Subject: Re: bug#18232: 24.3.92;
 Filename completion changes the current working directory
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)





This bug report was last modified 10 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.