GNU bug report logs - #62720
29.0.60; Not easy at all to upgrade :core packages like Eglot

Previous Next

Package: emacs;

Reported by: João Távora <joaotavora <at> gmail.com>

Date: Fri, 7 Apr 2023 22:11:01 UTC

Severity: normal

Found in version 29.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Philip Kaludercic <philipk <at> posteo.net>
To: João Távora <joaotavora <at> gmail.com>
Cc: 62720 <at> debbugs.gnu.org, Robert Pluim <rpluim <at> gmail.com>, Dmitry Gutov <dmitry <at> gutov.dev>, monnier <at> iro.umontreal.ca, larsi <at> gnus.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#62720: 29.0.60; Not easy at all to upgrade :core packages like Eglot
Date: Fri, 14 Apr 2023 19:33:34 +0000
João Távora <joaotavora <at> gmail.com> writes:

> On Fri, Apr 14, 2023 at 7:26 PM Philip Kaludercic <philipk <at> posteo.net> wrote:
>
>> > Here's another solution you may want to consider.  package-install
>> > in Emacs 29 updates built-ins non-interactively always.  Interactively
>> > asks the user with a confirmation prompt.  This solution would
>> > also work.
>>
>> What would the confirmation prompt ask the user?
>
> "Are you sure you want to install Foo which is [also|now] a built-in
> package in Emacs 29?"

I feel this is confusing, if a user is not familiar with the way
built-in packages can be upgraded and are maintained.  Perhaps instead
of a simple yes-or-no-p, we could use read-multiple-choice to add some
more background?

>> Are you sure?  The `alist-get' call returns a list, since
>> `package-archive-contents' is a map of package names to a list of
>> package descriptors.
>
> Yeah, probably needs a cdr or car there for good measure.  Great.

Specifically (cadr (assq 'eglot package-archive-contents))

> João




This bug report was last modified 2 years and 68 days ago.

Previous Next


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