unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Gabriel <gabriel376@hotmail.com>
To: emacs-devel@gnu.org
Subject: On package-install x package-install-selected-packages
Date: Sat, 13 Mar 2021 03:13:14 -0300	[thread overview]
Message-ID: <CH2PR01MB5879BF55DCFB5AB57D7726DA8B6E9@CH2PR01MB5879.prod.exchangelabs.com> (raw)

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' ? Or add some flag to control this
behavior ? Or update the documents to account for these subtle
differences ?

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 ?



             reply	other threads:[~2021-03-13  6:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-13  6:13 Gabriel [this message]
2021-03-13  7:05 ` On package-install x package-install-selected-packages Stefan Kangas
2021-03-13 14:13 ` Stefan Monnier

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=CH2PR01MB5879BF55DCFB5AB57D7726DA8B6E9@CH2PR01MB5879.prod.exchangelabs.com \
    --to=gabriel376@hotmail.com \
    --cc=emacs-devel@gnu.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 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).