From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <86msj6srfx.fsf@gnu.org> References: <7272c84ccb6bc7c39cb5b5cb1af4927f@purelymail.com> <86plo81910.fsf@gnu.org> <280234ee7b69e2ad82f991a534a9254b@purelymail.com> <86jzeg148v.fsf@gnu.org> <91f8c7d28fa5981019ae2aea0dccb3ab@purelymail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1134"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73728@debbugs.gnu.org To: Jonas =?UTF-8?Q?Gro=C3=9Fekath=C3=B6fer?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 14 16:21:17 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t0Lwh-00008V-Jm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Oct 2024 16:21:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0LwG-0003lG-21; Mon, 14 Oct 2024 10:20:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0LwE-0003kj-Ax for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2024 10:20:46 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t0LwD-0001Rl-SF for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2024 10:20:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=CeGjt8M/TT3/et3IA020+rgAaQOc3/n8XIIGhNM5Joo=; b=MSNDK6Qgm7Xd5tGLNe095kOmZpp+Sgiy/o9/cQ5rhxlLtdDbKmGshyqsg0FnKZV2SEtswRlGR9SnRqKjFprKBM+T9mHctII9AKfAmhj/Iivag0XS5MfH88d1klcusAOAr6TfChwebHUnEhKSxPZp4jNR3fK+EiYdsYWmmmCXTSSdpzS2Y5Z0voOJi+JakivGGhR9WniZrQmXTUT2ZfidKGm5iQGIOt3woW6iZCby2099HG5MgGUD64Ban20OUH584oIdt5Jj4FaP5F/Lh4Bj2RAyfSAi3kyoLTseSNJBDA+oP030NQWgWog1rRw3NdWFiX75l8k+ncVlQU4TTQhkMw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t0LwU-0006HZ-NL for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2024 10:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2024 14:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73728 X-GNU-PR-Package: emacs Original-Received: via spool by 73728-submit@debbugs.gnu.org id=B73728.172891562723951 (code B ref 73728); Mon, 14 Oct 2024 14:21:02 +0000 Original-Received: (at 73728) by debbugs.gnu.org; 14 Oct 2024 14:20:27 +0000 Original-Received: from localhost ([127.0.0.1]:39457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0Lvu-0006DO-6b for submit@debbugs.gnu.org; Mon, 14 Oct 2024 10:20:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0Lvn-00069I-6M for 73728@debbugs.gnu.org; Mon, 14 Oct 2024 10:20:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0Lpb-00006N-0b; Mon, 14 Oct 2024 10:13:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=CeGjt8M/TT3/et3IA020+rgAaQOc3/n8XIIGhNM5Joo=; b=F26y62ot4e7HGjAB8ynr 80sMJpvAGSTlDvZFBK8TA32X3+Hsphbj2L5hA9trnK44zQl/nKWn2+zhvQX56T2HKGK1AZMI7rfJi nKvTvHCV0FpYSiqvy3mSktwNr9HZ/IpB7KjzsoeoTPlkP2yDIQgx+zkhjjP26uUvUWizU/p3hy+MV zR8c3rFNCnFmqKi9SwEZb6ErU4UYWamA8wTeL7iqZEXsb6XjOn7k7ETniX3Xp3Y3qLEAoT8LtKd3a 3+cXxs68GmxrJuVXtR/3/UPgvtWmel4+HBP/4LkVzw4Kw2VABUgFUiNMQ8wQltdbkYHJeLp8HL1yJ E57SXWi/Mbm4BQ==; In-Reply-To: <91f8c7d28fa5981019ae2aea0dccb3ab@purelymail.com> (message from Jonas =?UTF-8?Q?Gro=C3=9Fekath=C3=B6fer?= on Mon, 14 Oct 2024 11:08:05 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293576 Archived-At: > Date: Mon, 14 Oct 2024 11:08:05 +0200 > From: Jonas Großekathöfer > 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.