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

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

bug#21353: 25.0.50; Emacs Trunk (OSX) -- `default-directory` is initiall


From: Eli Zaretskii
Subject: bug#21353: 25.0.50; Emacs Trunk (OSX) -- `default-directory` is initially set to "."
Date: Wed, 26 Aug 2015 22:03:02 +0300

> Date:  Wed, 26 Aug 2015 10:58:46 -0700
> From:  Keith David Bershatsky <esq@lawlist.com>
> Cc:  21353@debbugs.gnu.org
> 
> During startup, when Emacs reads 
> `.../Emacs.app/Contents/Resources/site-lisp/subdirs.el` in a version of Emacs 
> Trunk built on August 22, 2015, the value of the `default-directory` at the 
> top of that file is:
> 
> "."

I think that is already too late.  Emacs determines its current
directory early on during startup, and then propagates that value to
every buffer it creates henceforth.

> On my Christmas wish-list is the desire to learn how to "step with a 
> debugger"; however, that is presently beyond my limited hobbyist programming 
> abilities.

OK, but you can still add fprintf lines to init_buffer and rebuild
Emacs to tell us the value returned by get_current_dir_name when it
starts, right?





reply via email to

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