GNU bug report logs - #79106
[PATCH] Add new optional keywords to use-package

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Sun, 27 Jul 2025 20:20:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: karthikchikmagalur <at> gmail.com, philipk <at> posteo.net, 79106 <at> debbugs.gnu.org, shipmints <at> gmail.com, johnw <at> newartisans.com
Subject: bug#79106: [PATCH] Add new optional keywords to use-package
Date: Sat, 02 Aug 2025 14:39:09 -0600
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
>> Cc: Stéphane Marks <shipmints <at> gmail.com>,  Karthik
>>  Chikmagalur
>>  <karthikchikmagalur <at> gmail.com>,  79106 <at> debbugs.gnu.org, John Wiegley
>>  <johnw <at> newartisans.com>
>> Date: Wed, 30 Jul 2025 17:08:32 -0600
>> 
>> Since this discussion (and the emacs-devel discussion) doesn't seem to
>> be leading to any solution (besides the divided opinions), my solution i
>> can think of would be to make the keywords that may be considered useful
>> (I'm not sure which ones) part of use-package, and leave the rest in
>> ELPA (or in NonGNU) in a single package.
>> 
>> Of course, this package was not intended to be part of use-package, just
>> an **optional** thing that i wanted to have.
>
> From my POV, we can install these changes in core, assuming that you
> can post a patch that incorporates the relevant parts of the
> discussions.

Sounds good to me, I've updated the patch for include *only* the
keywords that people may find useful.

The rest can be kept in my use-package-x repository.

> Please also rename the new files such that they don't include the
> "-x-" part.  That is, instead of, e.g., use-package-x-advice.el add a
> file use-package-advice.el.  Also, please put them inside
> lisp/use-package/, not in its subdirectory.

Done:
[0001-Add-new-optional-keywords-to-use-package.-Bug-79106.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]

NOTE: The patch does not yet include the corresponding change in the
use-package manual, I am waiting for feedback first.
-- 
- E.G via Gnus and Org.

This bug report was last modified 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.