From: Eli Zaretskii <eliz@gnu.org>
To: Shitikanth <shitikanth1@gmail.com>
Cc: 55655@debbugs.gnu.org
Subject: bug#55655: 28.1; package.el no longers respects `user-emacs-directory'
Date: Thu, 26 May 2022 14:49:08 +0300 [thread overview]
Message-ID: <834k1cpl8r.fsf@gnu.org> (raw)
In-Reply-To: <CALjXJSTak5R1DvxvKpX+jmLNBTSrpC-+qqTVUG7pMxAETu44dA@mail.gmail.com> (message from Shitikanth on Thu, 26 May 2022 16:37:48 +0530)
> From: Shitikanth <shitikanth1@gmail.com>
> Date: Thu, 26 May 2022 16:37:48 +0530
>
> Until emacs 27.2, package.el used to correctly pick `package-user-dir'
> based on the value of `user-emacs-directory', but it now seems to ignore
> it and defaults to "~/.emacs.d/elpa".
>
> Demo:
> (setq user-emacs-directory "/tmp")
> (require 'package)
> (message "%s" package-user-dir)
>
> Starting with "emacs -Q" this would output "~/.emacs.d/elpa".
> Expected output: "/tmp/elpa" (as in emacs 27.2).
>
> Based on git bisect, the offending commit seems to be 9973019764.
Why do you set user-emacs-directory instead of setting
package-user-dir directly? You are supposed to set the latter in your
early-init file.
next prev parent reply other threads:[~2022-05-26 11:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-26 11:07 bug#55655: 28.1; package.el no longers respects `user-emacs-directory' Shitikanth
2022-05-26 11:49 ` Eli Zaretskii [this message]
2022-05-26 13:19 ` Shitikanth
2022-05-26 13:55 ` Eli Zaretskii
2022-05-26 15:29 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-27 5:10 ` Shitikanth
2022-05-27 5:39 ` Visuwesh
2022-05-27 6:03 ` Shitikanth
2023-09-13 1:40 ` Stefan Kangas
2022-05-27 12:29 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=834k1cpl8r.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=55655@debbugs.gnu.org \
--cc=shitikanth1@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.