all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Drew Adams <drew.adams@oracle.com>
Cc: Noam Postavsky <npostavs@gmail.com>, 17530@debbugs.gnu.org
Subject: bug#17530: 24.4.50; `package-load-list': incorrect defcustom type
Date: Mon, 16 Sep 2019 00:27:41 +0200	[thread overview]
Message-ID: <CADwFkmkhFRUxS9AbxgWtrCPaXMB0bT=45ABdCfk0tMRJ4rAvzA@mail.gmail.com> (raw)
In-Reply-To: <cce68cb2-73a8-4a78-88a6-6f252564e9d8@default>

Drew Adams <drew.adams@oracle.com> writes:

> Really?  How so?  Installing isn't loading.  Mightn't
> a user install some packages that s?he doesn't want to
> load?
>
> After all, isn't that the _point_ of this user option?

Yes, this defcustom exists to support the use case where a user wants
to specify which packages to load.

> > > Why would we assume that, by default, users should
> > > load the latest installed versions of all installed
> > > packages?
> >
> > Because that's what most users would expect, I think.
>
> I'm asking why you think that.

For starters, it's been the default for a long time.  But more
importantly, the overwhelmingly common use case is that a user only
installs a package that he/she wants to use.  That means that it has
to be loaded.

Of course, some users might install a package for other reasons.
Therefore it makes sense to allow them to specify exactly what
packages to load.

> You don't think that most users would expect that all
> libraries in their `load-path' should be loaded by
> default, do you?  (I don't.)  If you don't, then why
> do you think differently about installed packages?

Well, no, but I also don't think that this is a very good comparison.
In this case, you have to specify with a call to require that you want
to load it.  In the package.el case, you specify it by installing it.
Nothing is loaded blindly or unexpectedly.

Best regards,
Stefan Kangas





  reply	other threads:[~2019-09-15 22:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-19 16:26 bug#17530: 24.4.50; `package-load-list': incorrect defcustom type Drew Adams
2014-05-19 16:33 ` Drew Adams
2019-09-15  0:29 ` Stefan Kangas
2019-09-15 14:00   ` Drew Adams
2019-09-15 15:37     ` Noam Postavsky
2019-09-15 21:27       ` Drew Adams
2019-09-15 21:39         ` Stefan Kangas
2019-09-15 22:05           ` Drew Adams
2019-09-15 22:27             ` Stefan Kangas [this message]
2019-09-15 23:38             ` Noam Postavsky
2019-09-16  1:18               ` Drew Adams

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='CADwFkmkhFRUxS9AbxgWtrCPaXMB0bT=45ABdCfk0tMRJ4rAvzA@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=17530@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=npostavs@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 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.