From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Gabriel <gabriel376@hotmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: On package-install x package-install-selected-packages
Date: Sat, 13 Mar 2021 09:13:59 -0500 [thread overview]
Message-ID: <jwv7dmb9mfi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CH2PR01MB5879BF55DCFB5AB57D7726DA8B6E9@CH2PR01MB5879.prod.exchangelabs.com> (Gabriel's message of "Sat, 13 Mar 2021 03:13:14 -0300")
> On package.el, the 'package-install' calls
> 'package--archives-initialize' to initialize the archive contents, but
> 'package-install-selected-packages' does not calls it, relying on users
> to initialize the archive contents by themselves. I could not find any
> documentation about this difference. Should we modify
> 'package-install-selected-packages' to call
> 'package--archives-initialize' ?
Yes, please.
> Or add some flag to control this behavior ?
No please.
> Also, 'package-install-selected-packages' always asks for a confirmation
> to install or not the packages. Can we add an option to skip this
> confirmation ?
No strong opinion on this one. The confirmation doesn't seem too
harmful because I presume it's not a frequent operation, and it takes
a while, and it's not necessarily the case that the user knows
beforehand what will be installed, but admittedly the prompt only tells
how many packages are to be installed, not which ones.
Stefan
prev parent reply other threads:[~2021-03-13 14:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-13 6:13 On package-install x package-install-selected-packages Gabriel
2021-03-13 7:05 ` Stefan Kangas
2021-03-13 14:13 ` Stefan Monnier [this message]
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=jwv7dmb9mfi.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=gabriel376@hotmail.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).