emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reconsider defaults for use-package-vc-prefer-newest


From: Philip Kaludercic
Subject: Re: Reconsider defaults for use-package-vc-prefer-newest
Date: Sat, 21 Sep 2024 14:44:14 +0000

Tony Zorman <tonyzorman@mailbox.org> writes:

>>> PROBLEM 1. MISMATCH WITH PACKAGE-VC
>>>
>>> Now use-package :vc is not in line with the behavior of the
>>> package-vc-install command, which fetches the newest commit.
>>>
>>> All other package managers I know of also fetch the newest commit.
>>
>> The main reference is package.el, which by default uses GNU ELPA and
>> NonGNU ELPA.  Both distribute explicitly released packages, as indicated
>> by the version header.  To me this has a much greater weight than what
>> third-party package managers and archives decide to do.
>
> I will say that I also find it surprising behaviour that, by default,
>
>     (package-vc-install "«URL»")
>
> and
>
>     (use-package blah
>       :vc (:url "«URL»"))
>
> have different semantics.

One idea I had we that we could require :vc to take a :rev argument.
But if it really is the case that we haven't found the right solution,
perhaps we should remove the keyword from the next release, or at least
mark it as some kind of an experimental feature?

-- 
        Philip Kaludercic on icterid



reply via email to

[Prev in Thread] Current Thread [Next in Thread]