[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about instrumenting macro calls
From: |
sen_ml |
Subject: |
Re: about instrumenting macro calls |
Date: |
Sun, 18 Nov 2001 03:09:47 +0900 (JST) |
From: Richard Stallman <address@hidden>
Subject: Re: about instrumenting macro calls
Date: Fri, 16 Nov 2001 23:31:40 -0700 (MST)
...
> I haven't looked into how this might be implemented -- I presume this
> would be a C-level and not Emacs Lisp-level thing.
>
> It can be done entirely at Lisp level, and that would be the clean
> thing to do. The function definition of `edebug-spec' can be a no-op.
> The byte compiler has to notice it so as to put it into the compiled
> macro; that won't be hard. Then edebug just has to look inside the macro
> definition to find the spec.
I presume some of the relevant files are:
lisp/emacs-lisp/byte-compile.el
lisp/emacs-lisp/edebug.el
I am not familiar with the code within though. The value for the
"Maintainer:" field for both of these files is "FSF" ;-)
Is there someone for which making these chnages would be a simple
task?
P.S. I noticed a fair number of `def-edebug-spec's in edebug.el (e.g.
for `rx', `push', `pop'). Once the mechanism in question exists,
would it make sense to move these specifications out of edebug.el
and into the corresponding macro definitions?