all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Help GNU Emacs <help-gnu-emacs@gnu.org>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: gnu-elpa package need customization not to nag all time
Date: Sun, 06 Dec 2020 22:46:19 +0300	[thread overview]
Message-ID: <courier.000000005FCD350D.00001EA0@static.rcdrun.com> (raw)

Hello Stefan,

I think that gnu-elpa package that asks users to install some
complimentary packages should not do that by default. Let users decide
to activate such nagging or warn them.

I said already no, then even in Org file it asks me to install
sql-indent. I do not need SQL indent and never needed it. This gives
you user experience for your further design of the package. I just
found it is this package asking me.

(defun gnu-elpa--perform-autoload ()
  "Prompt to install the package that provides the currently autoloaded function.
The relevant function is found by walking the stack until we find a function.
Presumes we're in the process of calling an autoloaded function that's not
yet loaded."
  (let* ((f (gnu-elpa--autoloaded-function))
         (pkg (gnu-elpa--package f)))
    (unless (yes-or-no-p (format "Install package %s? " pkg))
      (error "Abort!"))



             reply	other threads:[~2020-12-06 19:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06 19:46 Jean Louis [this message]
2020-12-06 22:32 ` gnu-elpa package need customization not to nag all time Stefan Monnier
2020-12-06 22:39   ` Jean Louis

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=courier.000000005FCD350D.00001EA0@static.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.