GNU bug report logs - #21353
25.0.50; Emacs Trunk (OSX) -- `default-directory` is initially set to "."

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Wed, 26 Aug 2015 16:40:02 UTC

Severity: normal

Merged with 21104

Found in version 25.0.50

Done: Anders Lindgren <andlind <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Keith David Bershatsky <esq <at> lawlist.com>
Cc: 21353 <at> debbugs.gnu.org
Subject: bug#21353: 25.0.50; Emacs Trunk (OSX) -- `default-directory` is initially set to "."
Date: Wed, 26 Aug 2015 20:12:28 +0300
> Date: Wed, 26 Aug 2015 09:39:25 -0700
> From: Keith David Bershatsky <esq <at> lawlist.com>
> 
> The `default-directory` is initially set to "."

You mean, in the *scratch* buffer?  That happens in the function
init_buffer; we get the directory by calling get_current_dir_name.
Perhaps that function doesn't work well on Darwin?  Can you step with
a debugger through init_buffer, and see what happens there?




This bug report was last modified 9 years and 162 days ago.

Previous Next


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