From unknown Sun Jun 22 03:55:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#72294 <72294@debbugs.gnu.org> To: bug#72294 <72294@debbugs.gnu.org> Subject: Status: 29.2; Emacs --init-directory=... puts user-init-file elsewhere Reply-To: bug#72294 <72294@debbugs.gnu.org> Date: Sun, 22 Jun 2025 10:55:56 +0000 retitle 72294 29.2; Emacs --init-directory=3D... puts user-init-file elsewh= ere reassign 72294 emacs submitter 72294 Sean Devlin severity 72294 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 12:12:32 2024 Received: (at submit) by debbugs.gnu.org; 25 Jul 2024 16:12:32 +0000 Received: from localhost ([127.0.0.1]:37660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX14x-00009l-Ql for submit@debbugs.gnu.org; Thu, 25 Jul 2024 12:12:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:35630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX14w-00009Z-9a for submit@debbugs.gnu.org; Thu, 25 Jul 2024 12:12:30 -0400 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 1sX14o-0001tr-Ek for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 12:12:22 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sX14m-0008Qt-9Y for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 12:12:22 -0400 Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-44feaa08040so3418331cf.2 for ; Thu, 25 Jul 2024 09:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1721923938; x=1722528738; darn=gnu.org; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=h5+J7u/oS8iXRJAAG0uvdhCqJaS+Lzv1sODcbeTCkD0=; b=yZdLfgjFlJm/uJkxNYirFoN92m11yUYCm6vpAg2EZ7VK9lPECrnzZcJAV/wi5uZA+X cOKFQfB88+t5oCOZklwnxlWspONSEgYR2TWypZjxH9h4/JznCWe7E4bEpx+OBNrAgtTZ zQNr5448xt7HuGv35u47mcxxUqiDer/T/Cgy9aLUB+bWxitjIrKzuo+x8XOXoQ2/8Fed pHRzZNmgLuenlkRXTuCk9bcI1gl9rxHT0PXDOwtDmYB/+dGbRdCLobYDkmz2wd/2DDj/ w+f9AaqMuGNFh6uklGUzg+BW9YPD+/AW5XnI4RdXS+uNwm1F0bfIWiIeygKRi6xIHZpW IhAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721923938; x=1722528738; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=h5+J7u/oS8iXRJAAG0uvdhCqJaS+Lzv1sODcbeTCkD0=; b=mimtazV3NMo7ga8yX4meMZNMeID7TzV0m0j5C4BlSeYUsNGNkSYzzwZb3gyeDyyqZ9 7NFBMQHrAU18CBs9KwioaR6lC8OfQabu6L4BpuCEgGPudnALCsY36FTD2CjcXKyXl1Ae pyZl8o4P47JiiQOBjnyJmVGPISW7rfLKFOeELFprg9BTjHLfhaeCOn3t2KyMLEVJPJ0I oVSx4ohYPxX6Tz5dlIcrTP5z9TygKg1MIwJEZR7DXnY2D/2i6/T18Dn4ntRaX4T4UU9c gUeptI4MFA0j7E55DoRLOFEebb+000p9HA0XjY1r+LKKFYtESJrtpf/HfY6Ga9S5oMNn 1fXQ== X-Gm-Message-State: AOJu0YxPJZSVCk05BAYShFRh40R7IifMeBnU6zH8j6abmzZPR6z5t4FN +/chn3iJhiIneEfDmYek2jZ2VwX/WSyBzrco2J3JIXyGBisutt4Z2OGxnHSTnv099f+i1E4TUr9 p X-Google-Smtp-Source: AGHT+IFzrXkCBbqIsAhYa3lzd+80uZY3D705PulGXBr6ydJmIta23r8cvWQo+6OPZ44HCTkFeHx7wA== X-Received: by 2002:a05:622a:118d:b0:447:dc38:694a with SMTP id d75a77b69052e-44fe91db8d0mr21021311cf.31.1721923938191; Thu, 25 Jul 2024 09:12:18 -0700 (PDT) Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44fe8147635sm7536841cf.31.2024.07.25.09.12.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jul 2024 09:12:17 -0700 (PDT) From: Sean Devlin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3813.100.4\)) Subject: 29.2; Emacs --init-directory=... puts user-init-file elsewhere Message-Id: <5F9F4A78-8D6D-43B9-9304-641D54AF472E@toadstyle.org> Date: Thu, 25 Jul 2024 12:12:07 -0400 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3813.100.4) Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=spd@toadstyle.org; helo=mail-qt1-x834.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi folks, Recipe: 1. emacs --init-directory=/tmp/emacs 2. M-: user-init-file RET The user-init-file is ~/.emacs, despite the flag to use /tmp/emacs as the init directory. Maybe this is intended behavior, but I found it confusing. The manual says this about the flag: "Specify the directory to use when looking for the Emacs init files." I interpreted this to mean all init files, including the user-init-file. A workaround is to create /tmp/emacs/init.el before starting Emacs: 1. mkdir -p /tmp/emacs 2. touch /tmp/emacs/init.el 3. emacs --init-directory=/tmp/emacs Thanks! In GNU Emacs 29.2 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-01-18 built on armbob.lan Windowing system distributor 'Apple' System Description: macOS Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=no' Configured features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-extra cl-print byte-opt gv bytecomp byte-compile thingatpt help-fns radix-tree help-mode cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 53484 8633) (symbols 48 5930 0) (strings 32 18349 1801) (string-bytes 1 515950) (vectors 16 12602) (vector-slots 8 182812 16189) (floats 8 28 22) (intervals 56 232 1) (buffers 984 12)) From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 14:56:38 2024 Received: (at 72294) by debbugs.gnu.org; 25 Jul 2024 18:56:38 +0000 Received: from localhost ([127.0.0.1]:37770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX3dm-0004Ln-FL for submit@debbugs.gnu.org; Thu, 25 Jul 2024 14:56:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX3dj-0004LV-PC for 72294@debbugs.gnu.org; Thu, 25 Jul 2024 14:56:36 -0400 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 1sX3dU-0003CR-OV; Thu, 25 Jul 2024 14:56:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/l3ndjMEclmQSnnK3r28aUo6YLxrbZqjHXUq3F2zRo0=; b=X3IGSK2VWmuU lB57pOj0JX2KzZa7CD5bCb/qpqOlYKYV8t0TYTwcVD9N2Be7yiRQZIEWKIg56pDh0qeQOa9YyDrBm k1DSkY0KFG4XMZ7RDuKBAvHZt7KER73Jjxk5ROJ21MFCQsmyphYkgQGx8fIjRZ/vpsu8sDn7D0mPS w0IheWskzNm8KdpJsn3ccQGwrXWYGvjM4BfkaGBxxxjhHEr99x8MUKccrH6hpVScrqeUMJsHIpRIW sWMZmJUw3+Zdl+vquTjelmkF6higgrYRo8OkTddAA0i+bUDM1DHi3QCjMQz0Iyac6rQ79Qc0+CICJ sx1VlhSAW94cgzmgZn5r8Q==; Date: Thu, 25 Jul 2024 21:56:15 +0300 Message-Id: <868qxp47xs.fsf@gnu.org> From: Eli Zaretskii To: Sean Devlin In-Reply-To: <5F9F4A78-8D6D-43B9-9304-641D54AF472E@toadstyle.org> (message from Sean Devlin on Thu, 25 Jul 2024 12:12:07 -0400) Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere References: <5F9F4A78-8D6D-43B9-9304-641D54AF472E@toadstyle.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72294 Cc: 72294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Sean Devlin > Date: Thu, 25 Jul 2024 12:12:07 -0400 > > 1. emacs --init-directory=/tmp/emacs > 2. M-: user-init-file RET > > The user-init-file is ~/.emacs, despite the flag to use /tmp/emacs as > the init directory. > > Maybe this is intended behavior, but I found it confusing. The manual > says this about the flag: > > "Specify the directory to use when looking for the Emacs init files." > > I interpreted this to mean all init files, including the user-init-file. That option sets user-emacs-directory, it doesn't directly affect user-init-file. Emacs by default sets user-emacs-directory to the directory where it actually finds the init file. This option overrides that. > A workaround is to create /tmp/emacs/init.el before starting Emacs: > > 1. mkdir -p /tmp/emacs > 2. touch /tmp/emacs/init.el > 3. emacs --init-directory=/tmp/emacs It isn't a workaround, it's how you should do it. I don't think this is a bug. The search for init file and the setting of user-emacs-directory that follows are complex issues, not easily explained in a few words. May I ask why you needed to use this option? It should not be generally needed. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 16:01:12 2024 Received: (at 72294) by debbugs.gnu.org; 25 Jul 2024 20:01:12 +0000 Received: from localhost ([127.0.0.1]:37847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX4eF-0000S8-PG for submit@debbugs.gnu.org; Thu, 25 Jul 2024 16:01:12 -0400 Received: from mail-qt1-f172.google.com ([209.85.160.172]:46409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX4eC-0000Rt-TN for 72294@debbugs.gnu.org; Thu, 25 Jul 2024 16:01:10 -0400 Received: by mail-qt1-f172.google.com with SMTP id d75a77b69052e-44930ea05b8so9115961cf.1 for <72294@debbugs.gnu.org>; Thu, 25 Jul 2024 13:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1721937595; x=1722542395; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=IdZcnHaYPiPiUnrJ/5ttU8ySRWckyh1ek81fmHn88/U=; b=0yaS9llcbsQ65Q37M6CZu4BFW3nU7RMJN613jrMwdAHaPthvtvPMPvhc93m+eAZ3VQ 2n0t6TKIITjiR2FAdM9I1nxvlfZ39LXXPWMGgYDnrx3SppScQSEpQiaOjlEBwLHUbPWZ Hit1YF4qLEUO4so7lmoEk1X2rXgbY4yEhhUpQkLfyALm58TwHclRc6Czz6d07aMeDjU5 HlrvR9E2fOzW4Mo8IGAnhZckQsx1TP2UQlih2jj85mXpAwSeCGFSJwqhFRAvA5jsZbCF cwYittizd3CfQlRGpBpHzH8JbOjQbzxRx7sDTJI6XQqHK0yIM1m4/18LZT54iz8FO0Dw ZS7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721937595; x=1722542395; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IdZcnHaYPiPiUnrJ/5ttU8ySRWckyh1ek81fmHn88/U=; b=nYQYz1vqVDFUVTy5EPcgmKCG2PWcvpza0P0A06yc3pmbHj6If01qFFyvbuu9l+OyXn cP3/+YCXKI7eFBqOwC0zvr60dHZOqntJuQuTyj0tbcFtvx/xv07/Nvth6Uq2tUaLNzDN 1lK/iDMxT9u3fq3EoaSFOWHpvz1lYDEkTb3X7AK4t38MDTX/sLe/wuhTZ4buwHnQUib5 Vqfzxc/JkEREZnBu70nCwShbgEAZSe4R1liPNbCxsCQ8G/ZR0MV5O+3LJ5d1y0+OUYPg SVcrRD2iq8Sn/BCNqVLeXlGkIHAETZZ7upzacBiSJdC1OuhLQkzN3EXM5mYBwzoOsXp+ YV5Q== X-Gm-Message-State: AOJu0YwKoFuDv1bh7DN1RhYrAffiTRykiAoAi74Vk8LeOYXAfiRkcaLX JP64uBCAelYuLJHUsJWdY2dBIee485ZLLpKLOPgkXGhSXek+ezaIXULbsqhDpLVaIbCyD7Relcd 9 X-Google-Smtp-Source: AGHT+IGFUdA6I0ExAC76R8v04T0zGu4qBFDYVmB4yUHiMUTb4fh9LvMWPIV1EbbeVyp7jrIVU3eeZQ== X-Received: by 2002:a05:622a:314:b0:44f:f22c:f5a9 with SMTP id d75a77b69052e-44ff22cfb4bmr10708751cf.57.1721937595184; Thu, 25 Jul 2024 12:59:55 -0700 (PDT) Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44fe814652asm8967591cf.27.2024.07.25.12.59.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jul 2024 12:59:54 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3813.100.4\)) Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere From: Sean Devlin In-Reply-To: <868qxp47xs.fsf@gnu.org> Date: Thu, 25 Jul 2024 15:59:45 -0400 Content-Transfer-Encoding: 7bit Message-Id: <8E3F46B7-A584-44FE-B3D7-A6B1D645B4D7@toadstyle.org> References: <5F9F4A78-8D6D-43B9-9304-641D54AF472E@toadstyle.org> <868qxp47xs.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3813.100.4) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 72294 Cc: 72294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, > I don't think this is a bug. Fair enough. > May I ask why you needed to use this option? It should not be > generally needed. Lately, I run Emacs from the emacs-30 branch with some local tweaks. I found a bug in Org, and I was trying to reproduce it in a stable version of Emacs with default configuration. The bug is in Org 9.7+, which is newer than what ships in Emacs 29. Since I knew I would need to install a package, I checked the manual for the command-line flags to specify the user-emacs-directory, and I found the --init-directory option. I opened an instance of Emacs 29.2 with --init-directory=/tmp/bug, and I installed Org via ELPA. Then, for an unrelated task, I opened an instance of my main Emacs installation, and I was surprised to see it load without any of my configuration. I discovered the Emacs 29 instance had written a file to ~/.emacs, shadowing my own configuration in ~/.emacs.d/init.el. That it wrote the user-init-file outside the user-emacs-directory I specified was surprising to me. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 00:23:59 2024 Received: (at request) by debbugs.gnu.org; 26 Jul 2024 04:23:59 +0000 Received: from localhost ([127.0.0.1]:38339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXCUp-0004vL-EY for submit@debbugs.gnu.org; Fri, 26 Jul 2024 00:23:59 -0400 Received: from mail-pl1-f178.google.com ([209.85.214.178]:48237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXCUl-0004v7-Ka for request@debbugs.gnu.org; Fri, 26 Jul 2024 00:23:57 -0400 Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1fc658b6b2eso2170745ad.0 for ; Thu, 25 Jul 2024 21:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721967761; x=1722572561; darn=debbugs.gnu.org; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=/7RuBNtGPzZLpOo1OPf/9NxyPNQuuEAA8e0E2GT5Zok=; b=iTpHktDv8elv6Og8YlhKTBTMTZcDEjUvpgtaB0HnR9VxvgKoMdguG1FF11kP0P1IJh UAjYnZ+0lzs8tLdh/xG2yhgQ0f2+pjw6SLI0YurcvE6a9+oQlwBmReW93EYLwO2vOcgu uL0r3KwKftZPNnx7Wr2imasgz50euunUbOuB38lYGTq4rOTpJM9Rx/v/pIobUhYKs7r1 XEgs3zXp4w5wBBPV4ZrGCEIfBfG0Yw9pNMit8BWCLCZn9lUdsXV34P0i7gdV9+CDimJr y5rv+sWneTiY1uxv7p7z3bLZvgo/Z3DATHLylbBmbSIRUWwKCCBXlE0Vc50a84RKNKq4 5qpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721967761; x=1722572561; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/7RuBNtGPzZLpOo1OPf/9NxyPNQuuEAA8e0E2GT5Zok=; b=gXzR8+2ZVRwvWYOtlVpCvgOkDe8zhmC5GTFr88+pZxWhxy6WQYHqq5GJSHn2jLRE2K a5pFWpBvEQ7fj1iQcS7tLAbiGKNOx9f2AB/tc5gtOqMZ7Kaciukd6Bny9ePiXqZmXgPS cKuyCzpbMPHHzw7OWXu6lPlbLStml2ST2CrbiGI9BuTERPZ+9uip1vKfSpNbZN5EdZNA HZaBtxLj/H68GD50FytqMTdHAGj4pdPIJ7hpX9NXZyw/tZdIrRyrONQFf4N9HUBhgmSQ p84x58Q8PnYR3Uk5B6t7PE9OH8u6RGWHS3/Mv91XuMmy1cNY2w4JBSliaRUqKD4tba94 HcZw== X-Forwarded-Encrypted: i=1; AJvYcCVl5h8T4ruVWE81q26lpkwoFxvqL1OPds7V7bFdMmlbGoocTU8CF3/tuzRUDwsxr1XkE7A5cZvBpJSly67oM2ucG+maytEnvw== X-Gm-Message-State: AOJu0YxtTJnZpswHcc0Z+Y1JSJVVrEMGV0PALQJDUoq7G7gigeOz5bfh lyujHsM5bqwIkLOpU36f2in9GTpEzImCqms5mvQnXtvQADuMcf3tLFLeaA== X-Google-Smtp-Source: AGHT+IG30g+BzQuwj91bTkpzMfsO30eiMUkcNCMGvl36eS+0N2WyJlIS5606Ecr/WdzrFZttmHjV8Q== X-Received: by 2002:a17:902:d4ce:b0:1fd:927e:7d16 with SMTP id d9443c01a7336-1fed3aed27bmr60053665ad.47.1721967761026; Thu, 25 Jul 2024 21:22:41 -0700 (PDT) Received: from dan-laptop ([2405:4802:bf9c:5bc0:4ea0:cc66:d37e:1888]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fed7edd902sm22280585ad.168.2024.07.25.21.22.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2024 21:22:40 -0700 (PDT) Date: Fri, 26 Jul 2024 11:22:29 +0700 From: Daan Ro To: Ihor Radchenko Message-ID: In-Reply-To: <87msm54sw3.fsf@localhost> References: <87msm54sw3.fsf@localhost> Subject: Re: Fwd: 30.0.60; org--image-yank-media-handler asks for coding system when saving image X-Mailer: Mailspring MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="66a32485_27a65ff2_8b5" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: request Cc: "=?utf-8?Q?emacs-orgmode=40gnu.org?=" , "=?utf-8?Q?request=40debbugs.gnu.org?=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) --66a32485_27a65ff2_8b5 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline close 72294 Thank you. Daanturo On Jul 25 2024, at 6:23 pm, Ihor Radchenko wrote: > Daan Ro writes: > > > (I forward this bug report from bug-gnu-emacs@gnu.org (https://link.getmailspring.com/link/11A5BD1B-98F2-4B53-A61C-A93A367EB321@getmailspring.com/0?redirect=mailto%3Abug-gnu-emacs%40gnu.org&recipient=ZW1hY3Mtb3JnbW9kZUBnbnUub3Jn) list.) > Thanks for reporting! > Fixed, on bugfix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ec6307224 > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --66a32485_27a65ff2_8b5 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
close 72294

Thank you.

= =
Daanturo
On Jul 25 2024,= at 6:23 pm, Ihor Radchenko <yantar92=40posteo.net> wrote:
Daan Ro <daanturo=40gmail.com> writes:

=
> (I forward this bug report from bug-gnu-emacs=40gnu.org (https:= //link.getmailspring.com/link/11A5BD1B-98=462-4B53-A61C-A93A367EB321=40ge= tmailspring.com/0=3Fredirect=3Dmailto%3Abug-gnu-emacs%40gnu.org&recip= ient=3DZW1hY3Mtb3JnbW9kZUBnbnUub3Jn) list.)

Thanks for repo= rting=21
=46ixed, on bugfix.
https://git.savannah.gnu= .org/cgit/emacs/org-mode.git/commit/=3Fid=3Dec6307224

--
Ihor Radchenko // yantar92,
Org mode contributor,
=
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
=
or support my work at <https://liberapay.com/yantar92>
3D=22Sent --66a32485_27a65ff2_8b5-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 02:16:21 2024 Received: (at 72294) by debbugs.gnu.org; 26 Jul 2024 06:16:21 +0000 Received: from localhost ([127.0.0.1]:38577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXEFY-00032K-JF for submit@debbugs.gnu.org; Fri, 26 Jul 2024 02:16:20 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:49429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXEFW-00031p-7L for 72294@debbugs.gnu.org; Fri, 26 Jul 2024 02:16:19 -0400 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-42802de6f59so12103945e9.3 for <72294@debbugs.gnu.org>; Thu, 25 Jul 2024 23:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721974504; x=1722579304; 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=V4obHdcEn6lcDLRr/TR6PaJ8axiNCqiMp7GxMABV1rY=; b=GO9AOw6pw+vmnxZCkVSFpFjRfHm1QQ+fwkRAObSEDBvaVukAje757YhVparUUCB+Y4 qo5g7Unuk5mWGFgB+5jwe/sI16ILCVMt5CukVX7eCR2tiQEpEfcxjGYI5ezDeBQv7eay Oq8bWMuFJiDZ9LqwAcjz7lPA/BsXjU8C2l6nFE6Uv3B8EkflQ4tpbBtvHL24H9uhq9id 0ZMcGgO5yDb2+yVyzRAuTOexsGJ/tWWhsOHjeKnSSzLJf59vy5GV09yqvLoPtF4PqXx6 do9DLcAXxgVmle6fgZznO8KEJUmxQEt70i6aUAHmx1p6YuwBL1y8Wtrv4caPfqlzwDQU KvlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721974504; x=1722579304; 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=V4obHdcEn6lcDLRr/TR6PaJ8axiNCqiMp7GxMABV1rY=; b=WbnktyI3SCmGYjTIjmrC3+tr7KiM3loX3s34bkEp7YCP+69yULxgtKeTWZY3zoUdQ9 BRYDp8lHpJ4ByfzMgvjqH+R3iyluuAUdgJve5FxSPrls4PSXnfN3Jfq2tN7fTXYr2XkX vv/eeAQIRVIqcx67A1VeHWyKftCG1AnT7s7zEPZwBWX9dQWGmiUECWldValm/BQLzRKl zbfsNkC1n/NBzLQkL9+/mKfMr6c9ylVa2M+3ZZYARt2aNgqLhXL13AwtjGuymQ9Fv9Ss TPNUXY0kp1tJasbZrGPVA3/Skte7g41o4BYmCcd+0oL7gTHDGXSWDrHOFtwKHiOo/iNm W7Ng== X-Forwarded-Encrypted: i=1; AJvYcCWkvFgIU+2BfojAuZSB3BPhdNgchsFB5v2AHEUTl3wR7sdXoZoHxhviDSExHS8u2YQ845UCbG9PQ/7s6oWOUPPwfu0AavQ= X-Gm-Message-State: AOJu0YxoYksSrw3mXX4Q0IUkZe/P/sQAJ9qe7yRrQSZ0UBGEudpwHy5Q k6aX1Dx00xxrrucEI3Yd41n8ClTanWhJ2WuX81WFvGV82vpH4kuVzLjW+g== X-Google-Smtp-Source: AGHT+IEDF0g0GS06pKNIL0g+jsYcdSZsIvuJihnENqw7r0sQPbtP45OU2gKpNBgSa7p2rt8pZZEWwQ== X-Received: by 2002:adf:e787:0:b0:367:9d2c:9602 with SMTP id ffacd0b85a97d-36b31b4cbc5mr3614815f8f.49.1721974503552; Thu, 25 Jul 2024 23:15:03 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36b3686e07csm4066311f8f.111.2024.07.25.23.15.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 23:15:02 -0700 (PDT) From: Robert Pluim To: Sean Devlin Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere In-Reply-To: <8E3F46B7-A584-44FE-B3D7-A6B1D645B4D7@toadstyle.org> (Sean Devlin's message of "Thu, 25 Jul 2024 15:59:45 -0400") References: <5F9F4A78-8D6D-43B9-9304-641D54AF472E@toadstyle.org> <868qxp47xs.fsf@gnu.org> <8E3F46B7-A584-44FE-B3D7-A6B1D645B4D7@toadstyle.org> Date: Fri, 26 Jul 2024 08:15:01 +0200 Message-ID: <87wml87k7u.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72294 Cc: Eli Zaretskii , 72294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 25 Jul 2024 15:59:45 -0400, Sean Devlin s= aid: Sean> Hi, >> I don't think this is a bug. Sean> Fair enough. >> May I ask why you needed to use this option? It should not be >> generally needed. Sean> Lately, I run Emacs from the emacs-30 branch with some local twea= ks. I Sean> found a bug in Org, and I was trying to reproduce it in a stable = version Sean> of Emacs with default configuration. The bug is in Org 9.7+, whic= h is Sean> newer than what ships in Emacs 29. Sean> Since I knew I would need to install a package, I checked the man= ual for Sean> the command-line flags to specify the user-emacs-directory, and I= found Sean> the --init-directory option. I opened an instance of Emacs 29.2 w= ith Sean> --init-directory=3D/tmp/bug, and I installed Org via ELPA. The emacs info file says =E2=80=98--init-directory=E2=80=99 Specify the directory to use when looking for the Emacs init files. and '.emacs' is an Emacs init file, so I guess the confusion is understandable. Maybe we should add "(except '.emacs')" to that statement. Sean> Then, for an unrelated task, I opened an instance of my main Emacs Sean> installation, and I was surprised to see it load without any of my Sean> configuration. I discovered the Emacs 29 instance had written a f= ile to Sean> ~/.emacs, shadowing my own configuration in ~/.emacs.d/init.el. T= hat it Sean> wrote the user-init-file outside the user-emacs-directory I speci= fied Sean> was surprising to me. HOME=3D/tmp/emacs emacs is how I do that kind of testing. Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 02:16:35 2024 Received: (at 72294-done) by debbugs.gnu.org; 26 Jul 2024 06:16:35 +0000 Received: from localhost ([127.0.0.1]:38581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXEFn-00032l-1j for submit@debbugs.gnu.org; Fri, 26 Jul 2024 02:16:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXEFk-00032Y-Oo for 72294-done@debbugs.gnu.org; Fri, 26 Jul 2024 02:16:33 -0400 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 1sXEFU-0000HA-9U; Fri, 26 Jul 2024 02:16:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1rcBE4inIx+r4jXoIschKP0hfKaRxMaHKiU220xZ91g=; b=NHpgUS6IzyzC 5N+VBkNw0hGHVg0FLN5Qt4Sxl1rit4kFNeg2RMK4xjQ2lw/w8eHKJY/iwS/FDy6NIF16clASv5ldc l+tmSaJdWS78S6H5eFWPDvYpKvenBg6esGVLUxfWefQMR+u96q3/nmXvRoJonvzsXdkdNb5I//YE0 n4djJodU3TfxazuH6rTuCCVIwFqNik+be22DMJpv4uq6CyqL5urZl/U1lMlE8pqb2hYI2JMz8g4/F boEGSXRSPMFdqEUN/kRKw2dcz5yQuTrkBDWZ5tXn+/2+eoHhbt2NSJTHfRfgR6/1+9Vs2bZ+rK2QM jP6aQExIq55CkUSHpJf98A==; Date: Fri, 26 Jul 2024 09:16:12 +0300 Message-Id: <86wml83cgj.fsf@gnu.org> From: Eli Zaretskii To: Sean Devlin In-Reply-To: <8E3F46B7-A584-44FE-B3D7-A6B1D645B4D7@toadstyle.org> (message from Sean Devlin on Thu, 25 Jul 2024 15:59:45 -0400) Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere References: <5F9F4A78-8D6D-43B9-9304-641D54AF472E@toadstyle.org> <868qxp47xs.fsf@gnu.org> <8E3F46B7-A584-44FE-B3D7-A6B1D645B4D7@toadstyle.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72294-done Cc: 72294-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Sean Devlin > Date: Thu, 25 Jul 2024 15:59:45 -0400 > Cc: 72294@debbugs.gnu.org > > Hi, > > > I don't think this is a bug. > > Fair enough. > > > May I ask why you needed to use this option? It should not be > > generally needed. > > Lately, I run Emacs from the emacs-30 branch with some local tweaks. I > found a bug in Org, and I was trying to reproduce it in a stable version > of Emacs with default configuration. The bug is in Org 9.7+, which is > newer than what ships in Emacs 29. > > Since I knew I would need to install a package, I checked the manual for > the command-line flags to specify the user-emacs-directory, and I found > the --init-directory option. I opened an instance of Emacs 29.2 with > --init-directory=/tmp/bug, and I installed Org via ELPA. > > Then, for an unrelated task, I opened an instance of my main Emacs > installation, and I was surprised to see it load without any of my > configuration. I discovered the Emacs 29 instance had written a file to > ~/.emacs, shadowing my own configuration in ~/.emacs.d/init.el. That it > wrote the user-init-file outside the user-emacs-directory I specified > was surprising to me. Thanks, I used this to improve the documentation of --init-directory on the emacs-30 branch and make it more accurate, and I'm therefore closing this bug. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 06:34:32 2024 Received: (at 72294) by debbugs.gnu.org; 26 Jul 2024 10:34:32 +0000 Received: from localhost ([127.0.0.1]:38841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXIHQ-0003ls-8o for submit@debbugs.gnu.org; Fri, 26 Jul 2024 06:34:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXIHM-0003lZ-IN for 72294@debbugs.gnu.org; Fri, 26 Jul 2024 06:34:30 -0400 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 1sXIH7-0006JV-Ot; Fri, 26 Jul 2024 06:34:13 -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=Q54b2k2+7ROpP8EjlylJUT7ceXiqFXh3cpOYAAL9A4s=; b=nnodQVPnEF6wyHGi+RR0 pAQotKzT7bjleHiZF/eTdEq1wQS6mGLSL4LG35+c+9LJxz+qOBPLRLbn9+vs3sb3tVKb6jRTBaIbR U8KyNmqEKmtx4eItoEExh+LI1OljmwmXDPdqwcoHWwQUAJBCIAmYyUxRdCZdwm57ru+y1Bem9d/DD s5aH+Gb648E/HBDpSJH3QitcB/3SaxBHB4i9t41ahp6peANALqZg98YhJbf58E2Ed3Uq3Mk5qxTtI EJ8wZ7ILUjfSJChJ232LsZIFWhfRk25q7YsNdTs3qF0A2bmje6y5ldAgm0BQVkZcXoE0IfdLqL2U0 DEnrg7B5GcKuMA==; Date: Fri, 26 Jul 2024 13:34:07 +0300 Message-Id: <86v80s30io.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <87wml87k7u.fsf@gmail.com> (message from Robert Pluim on Fri, 26 Jul 2024 08:15:01 +0200) Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere References: <5F9F4A78-8D6D-43B9-9304-641D54AF472E@toadstyle.org> <868qxp47xs.fsf@gnu.org> <8E3F46B7-A584-44FE-B3D7-A6B1D645B4D7@toadstyle.org> <87wml87k7u.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72294 Cc: spd@toadstyle.org, 72294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Robert Pluim > Cc: Eli Zaretskii , 72294@debbugs.gnu.org > Date: Fri, 26 Jul 2024 08:15:01 +0200 > > >>>>> On Thu, 25 Jul 2024 15:59:45 -0400, Sean Devlin said: > > The emacs info file says > > ‘--init-directory’ > Specify the directory to use when looking for the Emacs init files. > > and '.emacs' is an Emacs init file, so I guess the confusion is > understandable. Maybe we should add "(except '.emacs')" to that > statement. That would be inaccurate, AFAIU. If the .emacs file is there, it will be used from that directory. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 08:01:39 2024 Received: (at 72294) by debbugs.gnu.org; 26 Jul 2024 12:01:39 +0000 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 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 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) 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) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere In-Reply-To: <86v80s30io.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Jul 2024 13:34:07 +0300") 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> Date: Fri, 26 Jul 2024 14:00:22 +0200 Message-ID: <87sevw7489.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72294 Cc: spd@toadstyle.org, 72294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 08:06:17 2024 Received: (at 72294) by debbugs.gnu.org; 26 Jul 2024 12:06:17 +0000 Received: from localhost ([127.0.0.1]:38926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXJiD-0003Lv-F1 for submit@debbugs.gnu.org; Fri, 26 Jul 2024 08:06:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXJi8-0003Lf-5M for 72294@debbugs.gnu.org; Fri, 26 Jul 2024 08:06:15 -0400 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 1sXJfo-00069k-Kg; Fri, 26 Jul 2024 08:03:48 -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=SAMmGf4esM15enCq1PILEaiwqWbK98vdCpF4BTGaUQo=; b=RR0QlBgWx1jo788gYoap lbnFsr8BNa7V/rNV1eK1hWbQIGCvT+qqztjifBbacfyoYeM5xjt9N8OSTHjpvgWiVUmi0sSp2asM5 dXJN4TOdmazqFSlGCb6x0qUjmL8uIRUqjdlPnggQVSHqk5x+KNNAh1NtMgDIXq6ekZRLVi6A1cp17 /hYR+gYDB4an16OkZvl3bIjmqr/UtmTwER0327n95PJmMoGW/Rb3pCSjXA9Cjdyk/3t3A0X8rXrCZ JnYQlCQuIzv/RvwuXpFQDzVzzdyDciGQjCOp5oTvJjHbXRHPxnIgJ8loE6hRsjDizoPq58NANzaHj /QrwIkp7wWbvTQ==; Date: Fri, 26 Jul 2024 15:03:41 +0300 Message-Id: <86o76k2wde.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <87sevw7489.fsf@gmail.com> (message from Robert Pluim on Fri, 26 Jul 2024 14:00:22 +0200) Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere 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> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72294 Cc: spd@toadstyle.org, 72294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Robert Pluim > Cc: spd@toadstyle.org, 72294@debbugs.gnu.org > Date: Fri, 26 Jul 2024 14:00:22 +0200 > > >>>>> 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 > >> > >> >>>>> On Thu, 25 Jul 2024 15:59:45 -0400, Sean Devlin said: > >> > >> The emacs info file says > >> > >> ‘--init-directory’ > >> Specify the directory to use when looking for the Emacs init files. > >> > >> 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ʼs not what I observe: > > ~/.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'. Sean said that an existing init file was being used from that directory. This contradicts your observations. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 08:15:42 2024 Received: (at 72294) by debbugs.gnu.org; 26 Jul 2024 12:15:42 +0000 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 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 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) 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) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere In-Reply-To: <86o76k2wde.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Jul 2024 15:03:41 +0300") 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> Date: Fri, 26 Jul 2024 14:14:27 +0200 Message-ID: <87o76k73ks.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72294 Cc: spd@toadstyle.org, 72294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> 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 -- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 09:49:41 2024 Received: (at 72294) by debbugs.gnu.org; 26 Jul 2024 13:49:41 +0000 Received: from localhost ([127.0.0.1]:39023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXLKG-0006L4-VR for submit@debbugs.gnu.org; Fri, 26 Jul 2024 09:49:41 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:58587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXLKD-0006Ki-2U for 72294@debbugs.gnu.org; Fri, 26 Jul 2024 09:49:39 -0400 Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-44fdcd7a622so4091871cf.0 for <72294@debbugs.gnu.org>; Fri, 26 Jul 2024 06:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1722001702; x=1722606502; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SdKg+4CXAh/I1UE3QVpCFR5/v3k6nVhYzI9DlqSN+4M=; b=erHpIJ46972ZXHcl9TOGj2smOizI6XUJilY/X+ybVxMN4odJbDKnmTWwKjMrtn0LZk 3kAPud00COnXE9S4+9k1A/OWxuJXy003bCDbDOunrEpayz5KPNDCLsZvXAJoPR2CgIPY WPXujAuLUkG5hFkh1OMk4QSWIqYk1dCsqJx98zJavXRAstPCZuxKihSDo2ATFY6AHyV5 dy5kY66Os76+LgUJpuTOd3DnWrcbDW4fTN9NES7+m7W4AkDM1GEQ8q4In4gpBsRalwDw FYPwob+nAGdtUxQvLKshLKIf5njo2L/ZYmOCOlQ2lUnen/I4/upBeSiarDududGvm98Z JUtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722001702; x=1722606502; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SdKg+4CXAh/I1UE3QVpCFR5/v3k6nVhYzI9DlqSN+4M=; b=n2LPZfP33FmYEMhLq13BOkkCaCCt7luGH6uJBK7Gc92lVNdfP5S1xnLtI5R0rCvsag SAP2Ppf4rHwHYghn9Xp4glyPJYh6LBDIbObxrK7TFd+8eQI6nHoQSKrXtrhvkbGJ6OZw LN3xir9ewFtIwSP+tgltrGENfMcYWcvTOqbz1sf4X75fVEowTOcvDMjKnJDTrzP/8K5k 5EZsHK+GgswxHDf8dJMRqjRjo6WfXBkBAAmRgjVcE4GcFZfDT3njxqu6f2PuQry25ovz Q07Y5wfQqPK37HBb7vB2ARHUxytj38Iq04RHP/iPeqGFIDdE7jMBZM4N7EwdPMf/YCuD KusQ== X-Forwarded-Encrypted: i=1; AJvYcCVqoNs+dnVpgwqRNLM0yw1ULHEsHTk2Uk+GmQz3f1Sky++sb9mu3hUoCL4dhC/hbqg4SSPdbinuHEwKt2/VTAVFhXPOTiM= X-Gm-Message-State: AOJu0YyO8lALgm6W1pQlcm5650yb3xfjMspPDhy/kW9PLv0BoyYGk5cA MCKx4LW/OHahrrMZvYlBc1vqUmljkaP3AQtMZhxLZf9gkPyX/4AinRZfXNU1IJI= X-Google-Smtp-Source: AGHT+IFheFHbYfXxVa8obgJGfI7z9BOJ3deP6G/JwfnymEg53gnSZNnauDNN9ybHTyOeuMOaY97iVg== X-Received: by 2002:ac8:5d01:0:b0:447:ed6d:db73 with SMTP id d75a77b69052e-44fe8dc3989mr68059921cf.0.1722001702209; Fri, 26 Jul 2024 06:48:22 -0700 (PDT) Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44fe814edc4sm13717391cf.28.2024.07.26.06.48.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2024 06:48:21 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3813.100.4\)) Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere From: Sean Devlin In-Reply-To: <87o76k73ks.fsf@gmail.com> Date: Fri, 26 Jul 2024 09:48:11 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <4CBAB4D6-38ED-4D47-B0A3-D7B4D0D71AA6@toadstyle.org> 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> <87o76k73ks.fsf@gmail.com> To: Robert Pluim X-Mailer: Apple Mail (2.3813.100.4) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 72294 Cc: Eli Zaretskii , 72294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Jul 26, 2024, at 8:14=E2=80=AFAM, Robert Pluim = wrote: >=20 >>>>>> On Fri, 26 Jul 2024 15:03:41 +0300, Eli Zaretskii = said: >=20 >>> ~/.emacs: >>>=20 >>> (message "Home dir") >>>=20 >>> /tmp/emacs-30/.emacs: >>>=20 >>> (message "Temp dir") >>>=20 >>> src/emacs --init-directory=3D/tmp/emacs-30 >>>=20 >>> =3D> *Messages* contains "Home dir" >>>=20 >>> So it looks like this option only affects `user-emacs-directory'. >=20 > Eli> Sean said that an existing init file was being used from that > Eli> directory. This contradicts your observations. >=20 > 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=E2=80=99. Correct, I only tested with a file named init.el, not .emacs. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 09:50:29 2024 Received: (at 72294-done) by debbugs.gnu.org; 26 Jul 2024 13:50:29 +0000 Received: from localhost ([127.0.0.1]:39027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXLL3-0006NA-DT for submit@debbugs.gnu.org; Fri, 26 Jul 2024 09:50:29 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:60924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXLL1-0006Mn-AQ for 72294-done@debbugs.gnu.org; Fri, 26 Jul 2024 09:50:27 -0400 Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-44fffca4fb7so1066731cf.1 for <72294-done@debbugs.gnu.org>; Fri, 26 Jul 2024 06:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1722001753; x=1722606553; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=CkjPyUXwgi/n/tRkL29XNApEkP+cmDpMVHySW9Obbe8=; b=jAQAvIt2BKNzqu9zsg0EEpPo1oB+UNTr7VYUARTc/248S/ELr4Xc/V0H7WuVOuvW1t 3JazQtQ/STVKgqtCOqX9kYOy24Kr95R9e2QT7RB7Jgik0w0G6azgIWGPK6HLlBkOYj4i KrMKsjxkyRYlX3r/XoPpS9us1m4SGxPmjOjlfz7ZrtYtv8HMwX7l6DtNfsesSGMJUq4P 5AwaP8f/YoXciu4rOkT8ahbB/AypP2ylIXGozFdNnQixO1zHREm0WkXqjZG/C954nvbL 320J8m4/hCVnbc0lzVwUqcbrAdlrflCE4dx4ss8I9Ex0QZp0wNTvauCCNx6VUEG6o0ot OC+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722001753; x=1722606553; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CkjPyUXwgi/n/tRkL29XNApEkP+cmDpMVHySW9Obbe8=; b=Mmfk0BNhZK+xu/yr85wi/pcgSdwGBvelUwXbgeDBQuo8aDlzCxRtsAWV7IzBB+tmY6 uLtYLFMUDF25EIRHNTN5kg9dy/2v0efS8nfpZA2pgpq5W2bprTAS/DIOMbtD7fYnRjs+ X7QuNNcNHj5E/1WBv2HQ8cvD1sfZ26svXTtVHnOEApzbISGNHRStffiCXAw738oObuD/ /jg9eh3A++5wjb7arEPoq2VDgmi0/Ou1sUCtKFErlR0H6EWE7uVrL09kt5m98oHptiAP EZb71/BfmLyyA+YNoz0um1QC3CRN5HH0Iou12S0Q5PDaXd/VtV9I43zlJoO5U8OSP71V EFpw== X-Gm-Message-State: AOJu0YzQ4QPC8XLNdVgOQoU3otYEYY3KhUopsIdkPVafxqI/ZCSBLZIu RLaB7vXMZhwVbgmV+ImiYZDOxHS+vLeSrmVV4+DeQHS/7MbkGv9nIj5V3QhXfDc= X-Google-Smtp-Source: AGHT+IHpudfq2eIBs1Pq6SP4eurw5O9couepabY/P51JBL86KYbADupcqdAy1+nnvoPKys4Q00oBvQ== X-Received: by 2002:a05:622a:487:b0:447:dff2:335 with SMTP id d75a77b69052e-44fe91c3f22mr55560141cf.23.1722001752996; Fri, 26 Jul 2024 06:49:12 -0700 (PDT) Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44fe814edc4sm13717391cf.28.2024.07.26.06.49.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2024 06:49:12 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3813.100.4\)) Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere From: Sean Devlin In-Reply-To: <86wml83cgj.fsf@gnu.org> Date: Fri, 26 Jul 2024 09:49:03 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5F9F4A78-8D6D-43B9-9304-641D54AF472E@toadstyle.org> <868qxp47xs.fsf@gnu.org> <8E3F46B7-A584-44FE-B3D7-A6B1D645B4D7@toadstyle.org> <86wml83cgj.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3813.100.4) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72294-done Cc: 72294-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Jul 26, 2024, at 2:16=E2=80=AFAM, Eli Zaretskii = wrote: >=20 > ... >=20 > Thanks, I used this to improve the documentation of --init-directory > on the emacs-30 branch and make it more accurate, and I'm therefore > closing this bug. Thanks!= From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 09:52:54 2024 Received: (at 72294) by debbugs.gnu.org; 26 Jul 2024 13:52:54 +0000 Received: from localhost ([127.0.0.1]:39031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXLNO-0006Rz-07 for submit@debbugs.gnu.org; Fri, 26 Jul 2024 09:52:54 -0400 Received: from mail-lj1-f182.google.com ([209.85.208.182]:45244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXLNL-0006Re-GQ for 72294@debbugs.gnu.org; Fri, 26 Jul 2024 09:52:52 -0400 Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2f0dfdc9e16so6589871fa.2 for <72294@debbugs.gnu.org>; Fri, 26 Jul 2024 06:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722001896; x=1722606696; 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=NFAxkQh4RLNV8hLJeInWNQHXmStf5NflEd/iWIVmO9g=; b=N27nwxgi228vDO0SCgiu4HOyxxDhpxc2xsJKTmDTIygQO+XL079UfE3eV19inHufyT ORjqdJeAQkSzHrm/x99k/EcN6ammO5Sma8NOR2ir1EJ8vIN1jzhQDqk/oc1Gx/FIQrFK eogevgO3lCU+Xgo40YJB5hlfcl8iG4/pS8h/9olFKIDV7/Zr+igLSOo/3sePYWno8uGH +W65niJwtTY+0KuPz8WMIEdCbtDhkCR2DmJkkJxPsut1jt0mWbIG9p+G7LFXlS+3RIeT nKg3AIfJcVL4VGCRgOVjEzReem+lj4CbzHtFmWCONPuRWK+BjyRjSVf6dlBi1vrVMuFB 6EHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722001896; x=1722606696; 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=NFAxkQh4RLNV8hLJeInWNQHXmStf5NflEd/iWIVmO9g=; b=Ikw2j933khBp1xF5iclhRoA8x+K19rmGY8NyN+Da13bd8D4hEbNSjQBikVq6y2MIqU +NPQKl4QVIFFAhddpo1F0Ax4aSNnSoOjASaKuuZj0nKA16VdeiLTqGuBSMo+RZbA2EYF ZOG165ox2IS3rrWqP7C/UrevkZFJsdS/A2+DM2ngauU3DrzP0pRPzAncChP2aEGn2eyT AKcr4t4kfMg+57XnIeCqPW+WmEsQiyYHEc0me2Od+YZ+ELH23l9jAhAKvceRdjJKMVWR 3DJD9lRCTFzuS+WrjxEDytGFPTgkerlosOPvV5eqfy9DgUltjdAMPcOO2Abo7q0pmeel qkHw== X-Forwarded-Encrypted: i=1; AJvYcCXU82VPSiT8YRKQ72IMbsgvqRnYwHC48h2MWTkVb5zTcPlrRd/QQgj2iNFjAmGDEcywaYu6HsRZ7XOGqCYPvAB6OrsQd0s= X-Gm-Message-State: AOJu0Yw2GAOm92xaTjyVB+Fshx9SSOi5ZnA+TWhqkpXN8BjM3T+tnGNH 9hgI34aTY84oymH6hew0Qy3f6AOv+Q0rxm1yL7ETbk32HArofPZNRFb0+w== X-Google-Smtp-Source: AGHT+IG2meFnjlEDdsaOQ8sTlwL5cnvPERX+XwQiRegNUBHBaCoj7baXXVU06dqxqBCqxdfcMcugfA== X-Received: by 2002:a05:651c:548:b0:2ef:2dfd:15e3 with SMTP id 38308e7fff4ca-2f039c9eaa0mr49434411fa.19.1722001895857; Fri, 26 Jul 2024 06:51:35 -0700 (PDT) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-428057b5f69sm80564035e9.39.2024.07.26.06.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 06:51:35 -0700 (PDT) From: Robert Pluim To: Sean Devlin Subject: Re: bug#72294: 29.2; Emacs --init-directory=... puts user-init-file elsewhere In-Reply-To: <4CBAB4D6-38ED-4D47-B0A3-D7B4D0D71AA6@toadstyle.org> (Sean Devlin's message of "Fri, 26 Jul 2024 09:48:11 -0400") 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> <87o76k73ks.fsf@gmail.com> <4CBAB4D6-38ED-4D47-B0A3-D7B4D0D71AA6@toadstyle.org> Date: Fri, 26 Jul 2024 15:51:34 +0200 Message-ID: <87jzh86z2x.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72294 Cc: Eli Zaretskii , 72294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Fri, 26 Jul 2024 09:48:11 -0400, Sean Devlin s= aid: >> 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=E2=80=99. Sean> Correct, I only tested with a file named init.el, not .emacs. Perhaps we should have a '--be-more-modern' flag that disables searching for ".emacs" completely =F0=9F=98=BA (I kid, I kid). Robert --=20 From unknown Sun Jun 22 03:55:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 24 Aug 2024 11:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator