From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Emacs Development <emacs-devel@gnu.org>
Cc: John Wiegley <jwiegley@gmail.com>
Subject: Re: RFC: omit some variables from custom-save-variables
Date: Fri, 19 Jun 2020 17:26:06 -0400 [thread overview]
Message-ID: <jwvmu4ykauw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <wo423iu5.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 19 Jun 2020 20:24:02 +0000")
>>> The proposal is for use-package to apply the save-exemptions symbol
>>> property behind the scenes. This is a new symbol property.
> SM> Hmm... my reflex would have been to make use-package use something like
> SM> (funcall (or (get variable 'custom-set) #'set-default) variable value)
> SM> instead of whichever other way it currently uses to set the variable.
> Does that omit the variable from the custom.el file?
Yes, as should be obvious at least in the case where it falls back on `set-default`.
> SM> Could you describe what would be the advantage of introducing a new
> SM> symbol property?
> Soft migration, no unexpected behavior, everything works like it does today.
I was thinking compared to the approach I showed.
I'm not favoring either of them, I'm just trying to better understand
the trade-offs.
Stefan
next prev parent reply other threads:[~2020-06-19 21:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-19 18:41 RFC: omit some variables from custom-save-variables Ted Zlatanov
2020-06-19 20:14 ` Stefan Monnier
2020-06-19 20:24 ` Ted Zlatanov
2020-06-19 21:26 ` Stefan Monnier [this message]
2020-06-22 18:22 ` Ted Zlatanov
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=jwvmu4ykauw.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=jwiegley@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.