[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: |
Eli Zaretskii |
Subject: |
bug#18851: 24.4; emacs cannot be started if the current directory has been removed |
Date: |
Fri, 12 Jun 2015 10:53:37 +0300 |
> From: Glenn Morris <rgm@gnu.org>
> Cc: Vincent Lefevre <vincent@vinc17.net>, 18851@debbugs.gnu.org, Eli
> Zaretskii <eliz@gnu.org>
> Date: Thu, 11 Jun 2015 20:39:04 -0400
>
> Stefan Monnier wrote:
>
> >> IMHO, if the current directory no longer exists, the default-directory
> >> of *scratch* can be nil.
> >
> > Yes, that seems to be the right fix for this problem.
> > Of course a default-directory set to nil can cause problems down the
> > road, but these are either unavoidable or should likely be fixable.
>
> I installed something along these lines. Now:
>
> mkdir /tmp/foo
> cd /tmp/foo
> rmdir /tmp/foo
> emacs -Q
>
> works for me ~ 10% of the time. The rest of the time it segfaults.
It doesn't segfault for me. Can you show a backtrace?