From: "João Távora" <joaotavora@gmail.com>
To: 62576@debbugs.gnu.org
Cc: monnier@iro.umontreal.ca
Subject: bug#62576: package-install of an ELPA :core package doesn't reload in time
Date: Fri, 31 Mar 2023 23:43:04 +0100 [thread overview]
Message-ID: <87y1ncv8xz.fsf@gmail.com> (raw)
Hello,
I'm reporting this bug to Emacs as suggested by Stefan.
The original report by Jay Barra lives at
https://github.com/joaotavora/eglot/issues/1193:
A simpler reproduction can be achieved in this manner, with Emacs 28:
HOME=`mktemp -d` && emacs -Q # ensure we have a blank ELPA package directly
M-: (featurep 'project) ;; return nil
M-x package-install RET eglot RET
M-x find-library RET project RET
M-: (featurep 'project) ;; returns t
M-: (fboundp 'project-name) ;; return nil
The last step is a bug because the 'project.el' now shown in the window,
which _does_ contain 'project-name' is not the one that was loaded.
Instead, Emacs's 28 built-in project.el 0.8.1 was loaded. Subsequent usage of
Eglot, which requires project 0.9.8, fails. Restarting Emacs fixes this.
Stefan says there is some code in package.el to prevent this and
unconditionally reload the newly installed project.el. But for some
reason it's not being triggered.
João
reply other threads:[~2023-03-31 22:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1ncv8xz.fsf@gmail.com \
--to=joaotavora@gmail.com \
--cc=62576@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).