[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defcustom standard value and byte-compilation
From: |
Stefan Monnier |
Subject: |
Re: defcustom standard value and byte-compilation |
Date: |
Wed, 11 Mar 2015 09:54:39 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> 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
- defcustom standard value and byte-compilation, Tassilo Horn, 2015/03/10
- Re: defcustom standard value and byte-compilation, Stefan Monnier, 2015/03/10
- Re: defcustom standard value and byte-compilation, Tassilo Horn, 2015/03/11
- Re: defcustom standard value and byte-compilation,
Stefan Monnier <=
- Re: defcustom standard value and byte-compilation, Tassilo Horn, 2015/03/11
- Re: defcustom standard value and byte-compilation, Stefan Monnier, 2015/03/11
- RE: defcustom standard value and byte-compilation, Drew Adams, 2015/03/11
- Re: defcustom standard value and byte-compilation, Tassilo Horn, 2015/03/12
- RE: defcustom standard value and byte-compilation, Drew Adams, 2015/03/12
- Re: defcustom standard value and byte-compilation, Andreas Schwab, 2015/03/12
- RE: defcustom standard value and byte-compilation, Drew Adams, 2015/03/12
- Re: defcustom standard value and byte-compilation, Stefan Monnier, 2015/03/12
- Re: defcustom standard value and byte-compilation, Stephen J. Turnbull, 2015/03/12
- Re: defcustom standard value and byte-compilation, Tassilo Horn, 2015/03/12