unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* file/line info for macro expansion
@ 2011-01-04 16:10 Maurizio Vitale
  0 siblings, 0 replies; 10+ messages in thread
From: Maurizio Vitale @ 2011-01-04 16:10 UTC (permalink / raw)
  To: help-gnu-emacs

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,

        Maurizio




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-01-05 22:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1.1294157491.12765.help-gnu-emacs@gnu.org>
2011-01-04 16:18 ` file/line info for macro expansion Elena
2011-01-04 19:52 ` Pascal J. Bourguignon
2011-01-04 22:32   ` Elena
2011-01-05  6:11     ` Stefan Monnier
2011-01-05 14:50       ` Steven W. Orr
2011-01-05 22:36       ` Maurizio Vitale
2011-01-04 23:46 ` Tim X
2011-01-05  6:10 ` Stefan Monnier
2011-01-05 15:16 ` Elena
2011-01-04 16:10 Maurizio Vitale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).