From: No Wayman <iarchivedmywholelife@gmail.com>
To: Philip Kaludercic <philipk@posteo.net>
Cc: Tony Zorman <soliditsallgood@mailbox.org>, 69410@debbugs.gnu.org
Subject: bug#69410: 30.0.50; [WISHLIST] Use-package: allow :ensure to accept package spec instead of separate :vc keyword
Date: Tue, 09 Jul 2024 05:56:42 -0400 [thread overview]
Message-ID: <87zfqqhorp.fsf@gmail.com> (raw)
In-Reply-To: <87frsjhras.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 09 Jul 2024 09:02:03 +0000")
Philip Kaludercic <philipk@posteo.net> writes:
>> :vc *is* the special value.
>
> Yes? My point is that I think it would be better to avoid a
> special
> value?
I meant it is a special value at the top-level of a use-package
statement, too.
Even "more special" in that case.
>> There are many recipes which do exactly what you say, but they
>> need to
>> duplicate that info for less-experienced users. e.g.
>
> My point is that a less experienced user doesn't really have to
> use
> package-vc in the first place.
I understand your preference for package.el + tarballs, but not
everyone shares that preference.
> As a point of clarification, are you suggesting to drop the :vc
> keyword,
> or just to extend :ensure? Specifically so that it handles the
> package
> name ":vc" as an instruction to install the package from source?
Drop :vc; extend :ensure.
There is no package named ":vc" and, in practice,
there are no packages (out of the roughly 7 thousand I've seen)
that make use of a keyword as their prefix.
>>> Overall I am not that convinced that there is a worthwhile
>>> advantage
>>> in trying to unify these keywords.
>>
>> Fair enough. I've laid out my arguments.
>> My bike-shedding budget is near nil these days, so I'll
>> retreat.
>
> FWIW, if someone proposes a patch, I'd be glad to review it from
> the
> package-vc side of things. As I do not use use-package or the
> :vc
> keyword, I'll let others comment on that.
I'll let someone else spend the effort there (and on the ensuing
discussion).
> That is an argument for supporting the installation of packages
> from
> source, not for packages to have to give instructions on how to
> install
> a package (which as you say, are the same most of the time).
As long as there are many top-level use-package keywords which do
essentially the same thing as :ensure, package authors will want
to do this to cater to as many users as possible.
The "value" of the keyword is the same most of the time (a simple
`t` or the feature name).
The current situation demands that the *keyword* is always
different.
We're talking in circles now, though.
next prev parent reply other threads:[~2024-07-09 9:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-26 16:06 bug#69410: 30.0.50; [WISHLIST] Use-package: allow :ensure to accept package spec instead of separate :vc keyword No Wayman
2024-06-30 10:42 ` Philip Kaludercic
2024-07-01 13:37 ` Tony Zorman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-01 19:57 ` Philip Kaludercic
2024-07-03 19:56 ` Tony Zorman via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] ` <87zfr15hqj.fsf@gmail.com>
2024-07-01 14:28 ` No Wayman
2024-07-03 20:34 ` Philip Kaludercic
2024-07-08 12:12 ` No Wayman
2024-07-08 15:52 ` Philip Kaludercic
2024-07-09 2:30 ` No Wayman
2024-07-09 9:02 ` Philip Kaludercic
2024-07-09 9:56 ` No Wayman [this message]
2024-07-09 7:34 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-09 8:26 ` Philip Kaludercic
2024-07-03 19:51 ` Tony Zorman 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=87zfqqhorp.fsf@gmail.com \
--to=iarchivedmywholelife@gmail.com \
--cc=69410@debbugs.gnu.org \
--cc=philipk@posteo.net \
--cc=soliditsallgood@mailbox.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 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.