all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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 16:14:01 -0400	[thread overview]
Message-ID: <jwvsgeqkefp.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4kr6525r.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 19 Jun 2020 18:41:20 +0000")

> The proposal is for use-package to apply the save-exemptions symbol
> property behind the scenes. This is a new symbol property. 

Hmm... my reflex would have been to make use-package use something like

    (funcall (or (get variable 'custom-set) #'set-default) variable value)

instead of whichever other way it currently uses to set the variable.

Could you describe what would be the advantage of introducing a new
symbol property?

[ BTW: whichever way we end up going, I think that it would be better if
  use-package didn't use custom's symbol properties, so we should
  introduce a new function (I suggest to name it
  `customize-set-variable-external` to get the bikeshedding
  rolling ;-). ]


        Stefan




  reply	other threads:[~2020-06-19 20:14 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 [this message]
2020-06-19 20:24   ` Ted Zlatanov
2020-06-19 21:26     ` Stefan Monnier
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=jwvsgeqkefp.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.