From: Drew Adams <drew.adams@oracle.com>
To: Tassilo Horn <tsdh@gnu.org>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: RE: defcustom standard value and byte-compilation
Date: Thu, 12 Mar 2015 06:29:47 -0700 (PDT) [thread overview]
Message-ID: <90c69812-9b2c-464a-bbb8-02e14503e038@default> (raw)
In-Reply-To: <87ioe6u0dy.fsf@gnu.org>
> > are you perhaps looking for State > Show Saved Lisp Expression?
>
> that doesn't really show the Lisp expression which computes the
> standard value, it just shows the standard value as Lisp expression...
Right. Actually, it shows a Lisp expression which, if evaluated,
returns the standard value. But it does not show the actual
initial code that produced the standard value.
For example, I have this:
(defcustom foo (if (> emacs-major-version 23) ; `S-TAB'
'([backtab])
'([S-tab] [S-iso-lefttab]))
And the menu option shows this as the Lisp expression:
'([backtab]) ; note the quote
It does not show the standard value, which is ([backtab]).
I'd be surprised if the expression that computes the
initial value is saved anywhere (besides in the source file).
next prev parent reply other threads:[~2015-03-12 13:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 12:04 defcustom standard value and byte-compilation Tassilo Horn
2015-03-11 0:46 ` Stefan Monnier
2015-03-11 7:18 ` Tassilo Horn
2015-03-11 13:54 ` Stefan Monnier
2015-03-11 15:04 ` Tassilo Horn
2015-03-11 18:56 ` Stefan Monnier
2015-03-11 20:27 ` Drew Adams
2015-03-12 7:43 ` Tassilo Horn
2015-03-12 13:29 ` Drew Adams [this message]
2015-03-12 14:04 ` Andreas Schwab
2015-03-12 14:10 ` Drew Adams
2015-03-12 13:22 ` Stefan Monnier
2015-03-12 4:05 ` Stephen J. Turnbull
2015-03-12 7:31 ` Tassilo Horn
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=90c69812-9b2c-464a-bbb8-02e14503e038@default \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=tsdh@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.