From: Alan Third <alan@idiocy.org>
To: Sean Devlin <spd@toadstyle.org>
Cc: 42836@debbugs.gnu.org
Subject: bug#42836: 27.1; default-directory is set to "/" after startup
Date: Thu, 13 Aug 2020 00:52:51 +0200 (CEST) [thread overview]
Message-ID: <20200812225244.GB42658@breton.holly.idiocy.org> (raw)
In-Reply-To: <FCC64D9B-03BE-45B2-A95E-EFB5730DE987@toadstyle.org>
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
next prev parent reply other threads:[~2020-08-12 22:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-12 20:53 bug#42836: 27.1; default-directory is set to "/" after startup Sean Devlin
[not found] ` <handler.42836.B.15972656459719.ack@debbugs.gnu.org>
2020-08-12 21:17 ` Sean Devlin
2020-08-12 22:52 ` Alan Third [this message]
2020-08-13 14:52 ` Alan Third
2020-08-13 19:54 ` Paul Eggert
2020-08-13 21:18 ` Sean Devlin
2020-08-13 22:06 ` Alan Third
2020-08-13 22:44 ` Paul Eggert
2020-08-13 2:32 ` Eli Zaretskii
2020-08-13 4:08 ` Sean Devlin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200812225244.GB42658@breton.holly.idiocy.org \
--to=alan@idiocy.org \
--cc=42836@debbugs.gnu.org \
--cc=spd@toadstyle.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.