From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere Date: Fri, 26 Jul 2024 14:00:22 +0200 Message-ID: <87sevw7489.fsf@gmail.com> References: <5F9F4A78-8D6D-43B9-9304-641D54AF472E@toadstyle.org> <868qxp47xs.fsf@gnu.org> <8E3F46B7-A584-44FE-B3D7-A6B1D645B4D7@toadstyle.org> <87wml87k7u.fsf@gmail.com> <86v80s30io.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19047"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spd@toadstyle.org, 72294@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 26 14:02:33 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 1sXJeb-0004m5-6d for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jul 2024 14:02:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXJe1-00076N-1c; Fri, 26 Jul 2024 08:01:57 -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 1sXJdy-00075s-CC for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 08:01:54 -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 1sXJdy-0005Z9-0u for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 08:01:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXJe6-0003FD-4T for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 08:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2024 12:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72294 X-GNU-PR-Package: emacs Original-Received: via spool by 72294-submit@debbugs.gnu.org id=B72294.172199529912439 (code B ref 72294); Fri, 26 Jul 2024 12:02:02 +0000 Original-Received: (at 72294) by debbugs.gnu.org; 26 Jul 2024 12:01:39 +0000 Original-Received: from localhost ([127.0.0.1]:38921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXJdi-0003EZ-ME for submit@debbugs.gnu.org; Fri, 26 Jul 2024 08:01:39 -0400 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:53642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXJde-0003EM-1y for 72294@debbugs.gnu.org; Fri, 26 Jul 2024 08:01:37 -0400 Original-Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-42808baddf9so14383185e9.3 for <72294@debbugs.gnu.org>; Fri, 26 Jul 2024 05:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721995224; x=1722600024; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=oYQMi8XSy6uXUbD5FRQnyyU4QhVjLbv0Mwv05S1BJ6s=; b=hypfXoTOTR43m/C2R1P1BEQeQ28pputNlEjiojgkH39lBG7HXZdU7HC9hDcwQbDK7z 0su3ZiuK5Mhpdptws5DDnRfq7BObebk5t7SgpmR96NTzguvHJNdKLiAdTmTDL3bgLLmw jmH99m1jqeaHh8dSk2yR7GErWfVRfjVYlodVpwrB9D5Hh6QDBD5SR8jKtIzEsEZSNQ+g +2Rod8YIdMDD7vv4enIqZELZhYDB5PWsRn4OwwOzQRQ49uC6o/n3mPgxDOYnMsMwazD+ SnTrVdpujDjWDLyPDXlfxHvoELasiETHkyISb6mLlUpt6fuT9eiF1qRo2vszs6YpGUHw kG3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721995224; x=1722600024; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oYQMi8XSy6uXUbD5FRQnyyU4QhVjLbv0Mwv05S1BJ6s=; b=hIKXFZVvLwANq9gALCib8JNsp7yQmUtXeuxlCXV80rAyV5vkSErOlI0TxTc2mU85kc emye/LMDgFH/U6hZ8nj2GmGsovb+upgBC6gp1m9fy3LydlpKmAfsvOOPONnOSszFYGQO 0fDuZ5NDG/pB54DQYnhIg1bcGAyPWeohqrptzrgWIFIxL92mu35sGi0z+t6gsW1JBM/x Joc+U0qLOspNV5Xt9MZcuvl2yhMm28JMkyJtupa4vTQwP6K32wthspZjrRxrHd7SRfMg 62hfbnT6jy++PvpZ6BCho8gEkyeVxNGm75lRdIeFw0cqlo9S1K1jjG4QY+0Y1AXFkdc7 wgfA== X-Forwarded-Encrypted: i=1; AJvYcCXmax7nf1Pgppr62Z8yynPY9cpLR9xTLrFzOEjZgFlnEvJzqRHvf1m2uWPhWkvcy/7LZhh7SWe1MOvphmCByvzKchGxRD8= X-Gm-Message-State: AOJu0YzinUu8fnuXuoqG9Sp+9WP65uqIWTxXyigMAWhZvC23zVI3UmnZ 8FeiDru+ZfIuNI19fa4AObIsBIqvVZHU0pdcOkbYPR3ENrTAwsTngPiVQA== X-Google-Smtp-Source: AGHT+IGb3nG3KWpGkpUYlT0e/Ri/IhRa8xCgilbXvYxoY/QtWXp6lRys1hr3Q5Il9f9PBdrjC508EQ== X-Received: by 2002:adf:ce84:0:b0:368:6337:4221 with SMTP id ffacd0b85a97d-36b366464a7mr4074512f8f.54.1721995223723; Fri, 26 Jul 2024 05:00:23 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36b36861b11sm4960072f8f.96.2024.07.26.05.00.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 05:00:23 -0700 (PDT) In-Reply-To: <86v80s30io.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Jul 2024 13:34:07 +0300") 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:289362 Archived-At: >>>>> On Fri, 26 Jul 2024 13:34:07 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: Eli Zaretskii , 72294@debbugs.gnu.org >> Date: Fri, 26 Jul 2024 08:15:01 +0200 >>=20 >> >>>>> On Thu, 25 Jul 2024 15:59:45 -0400, Sean Devlin said: >>=20 >> The emacs info file says >>=20 >> =E2=80=98--init-directory=E2=80=99 >> Specify the directory to use when looking for the Emacs init files. >>=20 >> and '.emacs' is an Emacs init file, so I guess the confusion is >> understandable. Maybe we should add "(except '.emacs')" to that >> statement. Eli> That would be inaccurate, AFAIU. If the .emacs file is there, it = will Eli> be used from that directory. That=CA=BCs not what I observe: ~/.emacs: (message "Home dir") /tmp/emacs-30/.emacs: (message "Temp dir") src/emacs --init-directory=3D/tmp/emacs-30 =3D> *Messages* contains "Home dir" So it looks like this option only affects `user-emacs-directory'. I agree it would be less confusing if it used the ".emacs" in "/tmp/emacs-30", but I think the ship has sailed on that one. Robert --=20