unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Jonas Großekathöfer" <jonas@grszkth.fr>
Cc: 73728@debbugs.gnu.org
Subject: bug#73728: 29.3; Specifing an --alternate-editor for emacscleintw.exe with custom --init-directory does not work on Windows
Date: Mon, 14 Oct 2024 17:13:38 +0300	[thread overview]
Message-ID: <86msj6srfx.fsf@gnu.org> (raw)
In-Reply-To: <91f8c7d28fa5981019ae2aea0dccb3ab@purelymail.com> (message from Jonas Großekathöfer on Mon, 14 Oct 2024 11:08:05 +0200)

> Date: Mon, 14 Oct 2024 11:08:05 +0200
> From: Jonas Großekathöfer <jonas@grszkth.fr>
> Cc: 73728@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.





  parent reply	other threads:[~2024-10-14 14:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-10  6:56 bug#73728: 29.3; Specifing an --alternate-editor for emacscleintw.exe with custom --init-directory does not work on Windows Jonas Großekathöfer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-10 11:39 ` Eli Zaretskii
2024-10-10 12:32   ` Jonas Großekathöfer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-10 13:23     ` Eli Zaretskii
     [not found]       ` <9a27c88f6c98477d1a6bd2b944a93ba0@purelymail.com>
2024-10-14 14:09         ` Eli Zaretskii
     [not found]       ` <91f8c7d28fa5981019ae2aea0dccb3ab@purelymail.com>
2024-10-14 14:13         ` Eli Zaretskii [this message]
2024-10-10 17:58     ` Sebastián Monía
2024-10-10 18:12       ` Eli Zaretskii
2024-10-10 18:23         ` Sebastián Monía
     [not found]         ` <8A03740D-08EA-4AA5-A124-D1DA942A3E25@grszkth.fr>
2024-10-10 18:32           ` Eli Zaretskii

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=86msj6srfx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=73728@debbugs.gnu.org \
    --cc=jonas@grszkth.fr \
    /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).