[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42836: 27.1; default-directory is set to "/" after startup
From: |
Alan Third |
Subject: |
bug#42836: 27.1; default-directory is set to "/" after startup |
Date: |
Thu, 13 Aug 2020 00:52:51 +0200 (CEST) |
On Wed, Aug 12, 2020 at 05:17:28PM -0400, Sean Devlin wrote:
> > 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.
The code at line 1623 of emacs.c appears to be supposed to set the
correct starting directory, however it doesn't matter what it does
there. I've tried hard coding directories and all sorts, but it ALWAYS
ends up starting in "/"... I think something somewhere else must be
resetting it. I can't find where just now. I may have to do a git bisect,
which I don't much fancy.
--
Alan Third
- bug#42836: 27.1; default-directory is set to "/" after startup, Sean Devlin, 2020/08/12
- Message not available
- bug#42836: 27.1; default-directory is set to "/" after startup, Sean Devlin, 2020/08/12
- bug#42836: 27.1; default-directory is set to "/" after startup,
Alan Third <=
- bug#42836: 27.1; default-directory is set to "/" after startup, Alan Third, 2020/08/13
- bug#42836: 27.1; default-directory is set to "/" after startup, Paul Eggert, 2020/08/13
- bug#42836: 27.1; default-directory is set to "/" after startup, Sean Devlin, 2020/08/13
- bug#42836: 27.1; default-directory is set to "/" after startup, Alan Third, 2020/08/13
- bug#42836: 27.1; default-directory is set to "/" after startup, Paul Eggert, 2020/08/13
- bug#42836: 27.1; default-directory is set to "/" after startup, Eli Zaretskii, 2020/08/12
- bug#42836: 27.1; default-directory is set to "/" after startup, Sean Devlin, 2020/08/13