[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New convenience macros
From: |
Steve Youngs |
Subject: |
Re: [PATCH] New convenience macros |
Date: |
Thu, 23 Aug 2007 20:54:10 +1000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) SXEmacs/22.1.7 (De Lorean, linux) |
* Richard Stallman <address@hidden> writes:
> However, Stefan wrote:
> The advantage over a macro is that the elisp code will work regardless
of
> whether this optimization is implemented (it only affects byte-compiler
> warnings anyway), so it's trivially backward&forward compatible.
> This is a good argument for _using_ featurep rather than the macros.
> That doesn't mean we can't also install the macros. But maybe you
> will agree it is better to use featurep.
Yes, I agree. I'm even going to add a similar optimisation to SXEmacs
and XEmacs. However, there are situations where this optimisation won't
work, here's an example...
(if (and (featurep 'simple) (featurep 'xemacs)) a b)
warns about free variables for both `a' and `b'. So I think having the
macros as well as the optimisation is a good idea. Can you please add
them, Richard? (with the updated names of course)
Thanks very much.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| SXEmacs - The only _______ you'll ever need. |
| Fill in the blank, yes, it's THAT good! |
|------------------------------------<address@hidden>---|
pgpkqzm1I8rzt.pgp
Description: PGP signature
- [PATCH] New convenience macros, Steve Youngs, 2007/08/18
- Re: [PATCH] New convenience macros, Richard Stallman, 2007/08/19
- Re: [PATCH] New convenience macros, Steve Youngs, 2007/08/19
- Re: [PATCH] New convenience macros, Kim F. Storm, 2007/08/20
- Re: [PATCH] New convenience macros, Richard Stallman, 2007/08/20
- Re: [PATCH] New convenience macros,
Steve Youngs <=
- Re: [PATCH] New convenience macros, Johan Bockgård, 2007/08/23
- Re: [PATCH] New convenience macros, Stefan Monnier, 2007/08/23
- Re: [PATCH] New convenience macros, Steve Youngs, 2007/08/23
- Re: [PATCH] New convenience macros, Stefan Monnier, 2007/08/23
- Re: [PATCH] New convenience macros, Steve Youngs, 2007/08/26
- Re: [PATCH] New convenience macros, Richard Stallman, 2007/08/26
- Re: [PATCH] New convenience macros, Steve Youngs, 2007/08/26
Re: [PATCH] New convenience macros, Stefan Monnier, 2007/08/20