emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Declarations in macro definitions


From: Richard Stallman
Subject: Re: Declarations in macro definitions
Date: Thu, 21 Mar 2002 02:04:28 -0700 (MST)

    > I like the the idea of putting this info in a macro definition, but I
    > don't think `declare' is a good name for it.  That name is too general
    > to fit this rather specific meaning.

    (But it's familiar to Lisp programmers for a long time...)

My memory of `declare' is different (and probably comes from Maclisp
in the 70s).  Could you tell me how you have seen it used?

    > (ISTR that someone was implementing this for edebug a few months
    > ago--in fact, I thought it had been installed already.

    In that case I guess my patch won't be needed.

That code has not been installed--I checked that after I saw your
message.  I think we never got papers for it.


That code is more elegant in some ways, because the edebug form spec
is stored in the macro definition itself and never goes in any other
data base.  However, your code is much simpler.  Given that anonymous
macros are not useful, perhaps your simple approach is better.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]