all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: joostkremers@fastmail.fm, johnw@gnu.org,
	bruce.connor.am@gmail.com, emacs-devel@gnu.org
Subject: Re: Option to not automatically customize-save-variable `package-selected-packages'
Date: Fri, 19 Feb 2016 22:34:37 +0200	[thread overview]
Message-ID: <83a8mwqw0y.fsf@gnu.org> (raw)
In-Reply-To: <CAFyQvY1jfnhAdP6jeHBUbxZqQ3iSnai1mCvyRz_=yu9t8kRQsA@mail.gmail.com> (message from Kaushal Modi on Fri, 19 Feb 2016 14:05:29 -0500)

> From: Kaushal Modi <kaushal.modi@gmail.com>
> Date: Fri, 19 Feb 2016 14:05:29 -0500
> Cc: Artur Malabarba <bruce.connor.am@gmail.com>, joostkremers@fastmail.fm, 
> 	John Wiegley <johnw@gnu.org>, Emacs developers <emacs-devel@gnu.org>
> 
>  I'd
>  still like to understand what's so special about this particular
>  customization.
> 
> IMO this particular customization is not portable across multiple machines. All machines need not have the
> same packages installed; reasons: different emacs versions, one machine begin at work, another at home,
> etc.

I have the same problem with a lot of my customizations.  I don't see
why this one is different.

> Another reason is that this variable is more like persistent data cache which updates very frequently (unlike
> the other customization options which a user typically sets and does "Save for future sessions").

Why is frequency relevant to where the settings are saved?

> In the
> former case, user has no control on what this variable is set to; in the latter case, user has total control.

I think the user has control in the latter case as well: it is the
user who decides to install or uninstall packages.

> Also the value stored in this variable is more of use to package.el than directly to the user. The train of thought
> is that user doesn't care what this variable is set to. But a user would care if delete-selection-mode is set to
> nil/t.

The user should care about these settings because she wants the same
packages to be available in future sessions.  Same as with any other
persistent customization.

> Also frequent changing of this variable value causes noise in git commits (if a user is saving their config using
> git); the diff of this variable change is not very helpful as usually people have lots of packages installed and a
> glance at the diff doesn't tell instantly which package was added/removed. In crux, committing of custom-file
> causes non-useful commits. That brings back to the earlier point that as this variable is machine-specific,
> they do not need to be in a file which a user would typically share among machines. If I am used to
> delete-selection-mode on one machine, that stays true when I am using emacs on my other machine too.

Again, not very different from any other customization that differs
between machines.  Users should be able to replace Custom forms with
plain Lisp code, and then they could resolve the issues with sharing
the settings across different machines and with Git easier.

I already said all of that several times, so I will now shut up,
unconvinced.



  reply	other threads:[~2016-02-19 20:34 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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:25       ` Mechanisms to persist information (Re: Option to not automatically customize-save-variable `package-selected-packages') Clément Pit--Claudel
2016-02-18 18:54         ` Mechanisms to persist information Eli Zaretskii
2016-02-18 19:22           ` Jonathan Leech-Pepin
2016-02-20  2:17         ` Mechanisms to persist information (Re: Option to not automatically customize-save-variable `package-selected-packages') John Wiegley
2016-02-20  4:44           ` Eric Abrahamsen
2016-02-18 18:45       ` Option to not automatically customize-save-variable `package-selected-packages' 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
  -- strict thread matches above, loose matches on Subject: below --
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
2016-02-17 10:14 ` Colin Baxter

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=83a8mwqw0y.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=johnw@gnu.org \
    --cc=joostkremers@fastmail.fm \
    --cc=kaushal.modi@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.