From: No Wayman <iarchivedmywholelife@gmail.com>
To: 69300@debbugs.gnu.org
Subject: bug#69300: 30.0.50; [WISHLIST] Use-package require-with-check integration
Date: Wed, 21 Feb 2024 10:16:26 -0500 [thread overview]
Message-ID: <87a5ntkfud.fsf@gmail.com> (raw)
A common user configuration error is loading built-in version of a
package prior to loading a different version of the same package.
For example, when user's store their config in an Org file and use
`org-babel-load-file` to load their config which then attempts to
activate/load the development version of Org.
use-package could be made to expand so `require-with-check' is
used instead of `require' to catch cases like these. This should
be customizable on a per-declaration basis, with a defcustom akin
to the other use-package-always-* options. The use-package options
should allow both signaling an error when the package is already
on load-path, or forcefully reloading.
reply other threads:[~2024-02-21 15:16 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=87a5ntkfud.fsf@gmail.com \
--to=iarchivedmywholelife@gmail.com \
--cc=69300@debbugs.gnu.org \
/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).