all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: John Wiegley <johnw@gnu.org>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>,
	alex <current@protonmail.com>
Subject: Re: Option to not automatically customize-save-variable `package-selected-packages'?
Date: Wed, 17 Feb 2016 13:43:53 +0100	[thread overview]
Message-ID: <87si0ro6ba.fsf@fastmail.fm> (raw)
In-Reply-To: <m2h9h8vuxw.fsf@newartisans.com>


On Wed, Feb 17 2016, John Wiegley <jwiegley@gmail.com> wrote:
> This sounds like a reasonable request to me; and I sympathize with emitting
> such generated data to a potentially user-controlled file. Maybe this data
> could go into another file entirely?

I vaguely remember reading somewhere that `custom-set-variables' /
`customize-save-variable' should not be used to store data that should
persist across sessions, though I can't find right now where I read it.

Of course it can be argued that the user asks for the packages to be
installed and that this fact justifies saving the info to the init file.
At the very least, though, I think there should be an option *not* to do
this. After all, this option exists with customisable variables in
general: the user can decide to use Customize, or s/he can decide to set
variables directly in the init file.

IMHO the location where the list of packages is saved should be
customisable, with the default being something other than the init file
(though that should probably be an option), and with the option not to
save them at all. (I don't use the same set of packages on all machines,
because some packages can be fairly resource-intensive and bog down
Emacs on a lower-spec'ed machine such as my ageing netbook or my phone.)


-- 
Joost Kremers
Life has its moments



  parent reply	other threads:[~2016-02-17 12:43 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-17  3:39 Option to not automatically customize-save-variable `package-selected-packages'? alex
2016-02-17  4:10 ` John Wiegley
2016-02-17 10:02   ` Artur Malabarba
2016-02-18 16:52     ` Aaron Ecay
2016-02-17 12:43   ` Joost Kremers [this message]
2016-02-17 10:14 ` Colin Baxter
  -- strict thread matches above, loose matches on Subject: below --
2016-02-17  9:27 Option to not automatically customize-save-variable `package-selected-packages' Angelo Graziosi
2016-02-17 23:05 ` John Wiegley
2016-02-18  1:04   ` Angelo Graziosi
2016-02-18  1:43   ` Artur Malabarba
2016-02-18 16:49     ` Eli Zaretskii
2016-02-18 17:28       ` Colin Baxter
2016-02-18 17:35         ` Kaushal Modi
2016-02-18 18:06       ` Artur Malabarba
2016-02-18 18:15         ` Eli Zaretskii
2016-02-18 20:34           ` Joost Kremers
2016-02-18 21:00             ` Eli Zaretskii
2016-02-18 21:49               ` Joost Kremers
2016-02-19  9:31                 ` Eli Zaretskii
2016-02-19  9:47                   ` Angelo Graziosi
2016-02-19 13:04                   ` Artur Malabarba
2016-02-19 15:50                     ` Eli Zaretskii
2016-02-19 18:29                       ` Artur Malabarba
2016-02-19 18:50                         ` Eli Zaretskii
2016-02-19 19:05                           ` Kaushal Modi
2016-02-19 20:34                             ` Eli Zaretskii
2016-02-21 23:56                               ` Joost Kremers
2016-02-22  0:10                                 ` John Wiegley
2016-02-22  3:37                                 ` Eli Zaretskii
2016-02-22 21:00                                   ` Bastian Beischer
2016-02-19  4:18           ` alex
2016-02-19  9:48             ` Eli Zaretskii
2016-02-19 21:15               ` alex
2016-02-20  7:53                 ` Eli Zaretskii
2016-02-18 18:45       ` John Wiegley
2016-02-19  4:17       ` alex
     [not found]       ` <vYxebPyde_BnqKsA6mXLVX-_dj3rDIchNBYl3O1LxNhGCR7etgi0R4ZR7de5PU1TZXk9R4YsCjNxqkoh5lBR3Q==@protonmail.com>
2016-02-19  9:47         ` Eli Zaretskii
2016-02-19 22:55           ` alex
2016-02-20  8:27             ` Eli Zaretskii
2016-03-05  0:40               ` alex
2016-02-18 16:19   ` raman
2016-02-18 18:55     ` Angelo Graziosi
2016-02-18 19:00       ` Eli Zaretskii

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=87si0ro6ba.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=current@protonmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=johnw@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 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.