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:14:27 +0200 Message-ID: <87o76k73ks.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> <87sevw7489.fsf@gmail.com> <86o76k2wde.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35713"; 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:16:31 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 1sXJs6-000936-0h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jul 2024 14:16:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXJro-0005ZC-2i; Fri, 26 Jul 2024 08:16:12 -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 1sXJrW-0005Xr-D6 for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 08:15:55 -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 1sXJrV-0005Mx-O8 for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 08:15:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXJre-0003ag-2t for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2024 08:16: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:16: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.172199614213770 (code B ref 72294); Fri, 26 Jul 2024 12:16:02 +0000 Original-Received: (at 72294) by debbugs.gnu.org; 26 Jul 2024 12:15:42 +0000 Original-Received: from localhost ([127.0.0.1]:38930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXJrJ-0003a2-JQ for submit@debbugs.gnu.org; Fri, 26 Jul 2024 08:15:41 -0400 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:45508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXJrG-0003Zq-NG for 72294@debbugs.gnu.org; Fri, 26 Jul 2024 08:15:39 -0400 Original-Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-42809d6e719so7921865e9.3 for <72294@debbugs.gnu.org>; Fri, 26 Jul 2024 05:15:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721996069; x=1722600869; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=V8k4WK4UzBt3l5nmySIP7DAB+uPNuxCS1eCHGCEXqLk=; b=f1dcdP2qW2TGDIZyTLjZhFFW3Lf9dwLcpmdQCsMOzo+qURkcFSnFzn/VJI0+ehO0GB 6UJ8m/9sRqGM3R35GIezvbTtronEF7f9gcfsIEHiB77hy7vbfTvbiSB6rSsiuJCe7M8P zVAsm+6hMomuB/+OL1kdM4lEvTXIpvbrQnNDEmdYwr8yMvYq7o2cqcDhj2s7quMKbTGC zbg+hdeuKK26sNdiSsviTgtrE7Zl/V1J2HENafTGMWrQnxU67jVZokhrYs3OYeiV/E1p YEFR4AgvgZggPqxpP+PFo22zvvgh7kuEe0zyER0zmp2FP5NPfht3j5yktrVYwryfY6aD mxrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721996069; x=1722600869; h=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=V8k4WK4UzBt3l5nmySIP7DAB+uPNuxCS1eCHGCEXqLk=; b=cTBsCy1+4Jhb5HRHJDY/xh3k/9SgenCyk6DTw/jD6E22PPz4peJyIYvMxuTLSvmsCY usyQ8PlQ0HLqdWWr/67JCQid3Ucax1uYm4m0yUM2PnxdJZjMJ8FfXARhK/M406bcEo/z LmpVXLtA/tO+mumYQnY15TBWOlYXI4KmI5enSZpS/5/+1AwYkY1YK8GSJXaisrMydbRC CDRj8ypdM5tLax3j6Lnjgj2/tnyRGCvYH/QCXGidH7TYPwD2JkIlfd49BOCtUaTPY6Uv jHEKE0nabmxuelRnfuqgldVamM4aO4XdIx0iCVkOSlglde3mxriYUN46q16c48MB/QUs /p8A== X-Forwarded-Encrypted: i=1; AJvYcCWcfblD/pAhxRwwhE++PlYdZE/nA/Co6IAlWBYlMJBY3LxAlKLW87RAUz6q8zrfyUP6EHJTPJKCs0i5YoSMUVH5URgcUK8= X-Gm-Message-State: AOJu0YzGQGHq/VIlW54gVf8r2slqUKSuzpqR5VrMckVFTQNVCsx9uY3A DTu/tL3UtivfVRWz0Y66C2+vsKSgxxjzIS+QBGruyQhPc8HLe/t++0t9pg== X-Google-Smtp-Source: AGHT+IH5Oj1S7FN1tUAtMgGHcxL/MEjUe+5Zxzm/NCgUw+YJAVfHZAN/eBsNImes67g1RhCp2vkjOQ== X-Received: by 2002:a05:600c:5114:b0:426:6099:6eaa with SMTP id 5b1f17b1804b1-42805742132mr35388425e9.26.1721996068514; Fri, 26 Jul 2024 05:14:28 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42805730d5bsm79666645e9.8.2024.07.26.05.14.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 05:14:28 -0700 (PDT) In-Reply-To: <86o76k2wde.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Jul 2024 15:03:41 +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:289364 Archived-At: >>>>> On Fri, 26 Jul 2024 15:03:41 +0300, Eli Zaretskii 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'. Robert --