From: Philip Kaludercic <philipk@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 63563@debbugs.gnu.org, Jimmy Yuen Ho Wong <wyuenho@gmail.com>
Subject: bug#63563: 29.0.91; package.el should not install unselected packages
Date: Thu, 18 May 2023 19:53:52 +0000 [thread overview]
Message-ID: <87cz2xza9b.fsf@posteo.net> (raw)
In-Reply-To: <83r0rew5tn.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 18 May 2023 08:45:40 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> tags 63563 notabug
> thanks
>
>> From: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
>> Date: Thu, 18 May 2023 03:10:23 +0100
>>
>> 1. M-x list-packages
>> 2. Press x on a line
>> 3. Observer in the echo area package.el is now asking the user to
>> whether to install the package.
>>
>> Expectation:
>>
>> If the user has not pressed i to select the package for installation,
>> package.el should not ask the user to confirm anything. There's no
>> action to execute. This is unexpected dwim behavior.
>
>>From the Emacs manual:
>
> ‘x’
> Download and install all packages marked with ‘i’, and their
> dependencies; also, delete all packages marked with ‘d’
> (‘package-menu-execute’). This also removes the marks. If no
> packages are marked, this command will install the package under
> point (if it isn’t installed already), or delete the package under
> point (if it’s already installed).
>
> The doc string says similar stuff:
>
> If no packages are marked, the action taken depends on the state
> of the package under point. If it’s not already installed, this
> command will install the package, and if it’s installed, it will
> delete the package.
>
> So this is documented behavior. This is not a bug, but a feature.
That being said, I am not a fan of this DWIM-ish behaviour either.
next prev parent reply other threads:[~2023-05-18 19:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-18 2:10 bug#63563: 29.0.91; package.el should not install unselected packages Jimmy Yuen Ho Wong
2023-05-18 5:45 ` Eli Zaretskii
2023-05-18 19:53 ` Philip Kaludercic [this message]
2023-05-29 0:51 ` Jimmy Yuen Ho Wong
2023-05-29 13:47 ` Eli Zaretskii
2023-05-29 13:57 ` Jimmy Wong
2023-05-29 14:00 ` Eli Zaretskii
2023-06-01 16:36 ` Howard Melman
2023-06-01 18:30 ` Eli Zaretskii
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=87cz2xza9b.fsf@posteo.net \
--to=philipk@posteo.net \
--cc=63563@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=wyuenho@gmail.com \
/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).