From: Sean Devlin <spd@toadstyle.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, 72294@debbugs.gnu.org
Subject: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere
Date: Fri, 26 Jul 2024 09:48:11 -0400 [thread overview]
Message-ID: <4CBAB4D6-38ED-4D47-B0A3-D7B4D0D71AA6@toadstyle.org> (raw)
In-Reply-To: <87o76k73ks.fsf@gmail.com>
> On Jul 26, 2024, at 8:14 AM, Robert Pluim <rpluim@gmail.com> wrote:
>
>>>>>> On Fri, 26 Jul 2024 15:03:41 +0300, Eli Zaretskii <eliz@gnu.org> said:
>
>>> ~/.emacs:
>>>
>>> (message "Home dir")
>>>
>>> /tmp/emacs-30/.emacs:
>>>
>>> (message "Temp dir")
>>>
>>> src/emacs --init-directory=/tmp/emacs-30
>>>
>>> => *Messages* contains "Home dir"
>>>
>>> So it looks like this option only affects `user-emacs-directory'.
>
> Eli> Sean said that an existing init file was being used from that
> Eli> directory. This contradicts your observations.
>
> An existing "init.el" file, if "~/.emacs" does not exist. Not a
> ".emacs" file in the directory specified by
> '--init-directory'. Because --init-directory changes
> `user-emacs-directory’.
Correct, I only tested with a file named init.el, not .emacs.
next prev parent reply other threads:[~2024-07-26 13:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-25 16:12 bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere Sean Devlin
2024-07-25 18:56 ` Eli Zaretskii
2024-07-25 19:59 ` Sean Devlin
2024-07-26 6:15 ` Robert Pluim
2024-07-26 10:34 ` Eli Zaretskii
2024-07-26 12:00 ` Robert Pluim
2024-07-26 12:03 ` Eli Zaretskii
2024-07-26 12:14 ` Robert Pluim
2024-07-26 13:48 ` Sean Devlin [this message]
2024-07-26 13:51 ` Robert Pluim
2024-07-26 6:16 ` Eli Zaretskii
2024-07-26 13:49 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CBAB4D6-38ED-4D47-B0A3-D7B4D0D71AA6@toadstyle.org \
--to=spd@toadstyle.org \
--cc=72294@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=rpluim@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).