GNU bug report logs -
#73728
29.3; Specifing an --alternate-editor for emacscleintw.exe with custom --init-directory does not work on Windows
Previous Next
Reported by: Jonas Großekathöfer <jonas <at> grszkth.fr>
Date: Thu, 10 Oct 2024 10:56:01 UTC
Severity: normal
Found in version 29.3
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Mon, 14 Oct 2024 11:08:05 +0200
> From: Jonas Großekathöfer <jonas <at> grszkth.fr>
> Cc: 73728 <at> debbugs.gnu.org
>
> Am 2024-10-10 15:23, schrieb Eli Zaretskii:
>
> Then you need to be aware that --init-directory does NOT replace your
> user home directory for all purposes. See the description of what
> this does in the Emacs user manual for details.
>
>
> Thank you, for the information.
>
> I had a look at the manual. Can you point me to the section you are referring to? I couldn't find anything
> meaningful in that regard. "C.2 Initial Options" is the only page (besides Antinews and an Index) where I find
> "--init-directory" mentioned. On top, I read some more pages like "50.4.4 How Emacs Finds Your Init File", but
> this includes no description or comments with regard to the --init-directory.
Here's the text in the manual (its latest version for Emacs 30):
‘--init-directory’
Specify the directory to use when looking for the Emacs init files.
Note that this merely overrides the value of
‘user-emacs-directory’, the directory which Emacs usually
determines as side effect of searching for your init file (*note
Find Init::), but does not change the search for the ‘~/.emacs’
init file. In particular, if there's no ‘init.el’ file in the
directory named by this option, Emacs will find and use ‘init.el’
it would have used without this option (but will search for your
other per-user Emacs files in the directory specified by this
option). If you want to force Emacs to use ‘init.el’ file in this
directory, make sure it exists there before starting Emacs with
this option.
If this is unclear, feel free to ask specific questions.
This bug report was last modified 220 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.