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

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

bug#18851: 24.4; emacs cannot be started if the current directory has be


From: Ivan Shmakov
Subject: bug#18851: 24.4; emacs cannot be started if the current directory has been removed
Date: Wed, 29 Oct 2014 18:23:15 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Vincent Lefevre <vincent@vinc17.net> writes:
>>>>> On 2014-10-29 18:31:13 +0100, Andreas Schwab wrote:
>>>>> Vincent Lefevre <vincent@vinc17.net> writes:
>>>>> On 2014-10-29 17:15:45 +0100, Andreas Schwab wrote:

 >>>> Try this:

 >>>> emacs --eval '(progn (setq default-directory nil) (find-file "~/out"))'

 >>> Thanks.  Now my question is: after starting Emacs like that, will
 >>> there be any serious problem due to the fact that default-directory
 >>> value is nil (except for the ~/out buffer)?

 >> The global value of default-directory isn't actually used that much,
 >> new buffers inherit its value from the current buffer.

 > And what about the *scratch* buffer?  Is this a problem like Eli said?
 > If any, what problems?

        Should there be any issues with that, I guess an explicit
        M-x cd RET in that same *scratch* buffer will make them go away
        instantly.

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A





reply via email to

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