GNU bug report logs -
#42836
27.1; default-directory is set to "/" after startup
Previous Next
Reported by: Sean Devlin <spd <at> toadstyle.org>
Date: Wed, 12 Aug 2020 20:55:01 UTC
Severity: normal
Merged with 44446
Found in version 27.1
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> On Aug 12, 2020, at 10:32 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>
>>
>> From: Sean Devlin <spd <at> toadstyle.org>
>> Date: Wed, 12 Aug 2020 17:17:28 -0400
>>
>>> When I open Emacs 27.1 by invoking the executable directly (i.e. the
>>> last method above), the default-directory in those buffers is "~/“.
>>
>> Correction: the default directory is the working directory of the parent process (i.e. the shell) in this case.
>
> If that's what happens, it's what I would expect, and it happens for
> me on systems other than macOS.
That’s not the unexpected part; I just mentioned it for completeness.
The unexpected behavior is that opening the application by clicking the icon sets default-directory to “/“ in the scratch buffer. This is true even though the process-level working directory is my home directory. It is also a change in behavior from 26.3.
This bug report was last modified 4 years and 199 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.