From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: defcustom standard value and byte-compilation
Date: Wed, 11 Mar 2015 09:54:39 -0400 [thread overview]
Message-ID: <jwvlhj363tv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <8761a8rohr.fsf@gnu.org> (Tassilo Horn's message of "Wed, 11 Mar 2015 08:18:24 +0100")
> I don't think this is an option for AUCTeX as it supports Emacs versions
> down to 21.4 and also XEmacs.
Of course, I think that's a mistake ;-)
> And several parts make use of the dynamic binding of locals. :-(
That's no problem, lexical-binding supports dynamically scoped variables
as well (you just have to declare them beforehand via (defvar <var>)).
> But customize shows the value of the expression, not the expression
> itself.
IIRC there's a way to get the expression rather than the value.
> Ok, but couldn't the standard form be at least macroexpanded? That
> shouldn't cause any harm and would take care of the typical use-case
> where one uses macros of a package which might not be available at
> load-time.
Changing the defcustom behavior in Emacs-25.1 to be the same in
dynamic-binding than with lexical-binding wouldn't help you with XEmacs
and Emacs-21.4.
Stefan
next prev parent reply other threads:[~2015-03-11 13:54 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 [this message]
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
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=jwvlhj363tv.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@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.