all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] master 4449301: * etc/NEWS: Improve documentation of 'package-initialize'.
Date: Mon, 04 Nov 2019 12:53:05 -0500	[thread overview]
Message-ID: <jwvh83jfshg.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CADwFkmniR7fbYcNmiC_2irNBfnRyvasN_RUfcP1iJkg8JYdbcg@mail.gmail.com> (Stefan Kangas's message of "Sat, 2 Nov 2019 05:57:58 +0100")

> I started looking into package-enabe-at-startup, and of course the
> above reasoning goes for package-load-list and package-user-dir; that
> is, setting them via customize has no effect.

Yes and no: you can set `package-load-list` and `package-user-dir` in
your .emacs (and/or via customize) in order to affect the place where
packages are later installed and also in order to affect a subsequent
manual package-activate-all.

Currently, this requires setting (setq package-alist nil) by hand to
force reloading the package descriptors, but my hope is that we can
improve this in the future (e.g. with a :setter placed on those vars so
that package-activate-all is called again when they're modified via
custom).

Also, a "late-setting" of `package-load-list` (e.g. when set via
customize) will still work if you use `package-quickstart`.

> Meanwhile, the attached patch makes us not change the value of
> package-enable-at-startup by introducing a new variable.  Any
> comments?

The patch looks OK to me,


        Stefan




  reply	other threads:[~2019-11-04 17:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20191022021600.2389.91268@vcs0.savannah.gnu.org>
     [not found] ` <20191022021602.B41B3209DE@vcs0.savannah.gnu.org>
2019-10-22 12:28   ` [Emacs-diffs] master 4449301: * etc/NEWS: Improve documentation of 'package-initialize' Stefan Monnier
2019-10-23 12:12     ` Stefan Kangas
2019-10-23 12:49       ` Stefan Monnier
2019-11-02  4:57         ` Stefan Kangas
2019-11-04 17:53           ` Stefan Monnier [this message]
2019-11-11 16:07             ` Stefan Kangas
2019-11-12 15:50               ` Stefan Monnier
2019-11-18 14:58                 ` Stefan Kangas
2019-11-14 11:16               ` Eli Zaretskii
2019-11-18 15:05                 ` Stefan Kangas
2019-11-02  3:34       ` Stefan Kangas

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=jwvh83jfshg.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=stefankangas@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.