help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: file/line info for macro expansion


From: Tim X
Subject: Re: file/line info for macro expansion
Date: Wed, 05 Jan 2011 10:46:31 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Maurizio Vitale <address@hidden> writes:

> I think it is not possible, but I'm ready to be surprised.
> Basically, I'd like macros of the form:
>
>   (declare-foo args)
>
> to expand to something containing the file and line number of the
> expansion site. This way I could easily jump back to the definition.
> One use is in my .emacs, where I'd like each mode customization to be
> able to define its own keys and still be able to edit all keys
> definitions in one place.
> Thanks,
>

I don't understand what your requirement is. I also suspect you are
possibly misunderstanding the role of macros. Can you expand on what the
functionality is you want and how you would use it? It may then be
possible to suggest something more relevant. 

Tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

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