* Jumping to macro source
@ 2019-06-06 8:39 Andreas Röhler
2019-06-06 20:34 ` Bruno Barbier
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Röhler @ 2019-06-06 8:39 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
Emacs provides jumping to definition of a function or variable, which is
nice.
Is there a way to jump to macro definitions too, for example when
realized by ert-deftest?
Thanks,
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Jumping to macro source
2019-06-06 8:39 Jumping to macro source Andreas Röhler
@ 2019-06-06 20:34 ` Bruno Barbier
2019-06-07 11:01 ` Andreas Röhler
0 siblings, 1 reply; 3+ messages in thread
From: Bruno Barbier @ 2019-06-06 20:34 UTC (permalink / raw)
To: Andreas Röhler, help-gnu-emacs
Hi Andreas,
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
> Hi,
>
> Emacs provides jumping to definition of a function or variable, which is
> nice.
>
> Is there a way to jump to macro definitions too, for example when
> realized by ert-deftest?
Do you want to jump to the definition of an ert test ?
Or to the definition of the macro `ert-deftest' ?
Anyway, `find-function' will get you to the definitions of both
functions and macros.
And, it seems the function `ert-find-test-other-window' will take you to
the definition of a test.
Hope this help,
Bruno
>
> Thanks,
>
> Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Jumping to macro source
2019-06-06 20:34 ` Bruno Barbier
@ 2019-06-07 11:01 ` Andreas Röhler
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Röhler @ 2019-06-07 11:01 UTC (permalink / raw)
To: Bruno Barbier, help-gnu-emacs
Am 06.06.19 um 22:34 schrieb Bruno Barbier:
> Hi Andreas,
>
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> Hi,
>>
>> Emacs provides jumping to definition of a function or variable, which is
>> nice.
>>
>> Is there a way to jump to macro definitions too, for example when
>> realized by ert-deftest?
> Do you want to jump to the definition of an ert test ?
> Or to the definition of the macro `ert-deftest' ?
>
> Anyway, `find-function' will get you to the definitions of both
> functions and macros.
>
> And, it seems the function `ert-find-test-other-window' will take you to
> the definition of a test.
It does, thanks a lot,
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-06-07 11:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-06 8:39 Jumping to macro source Andreas Röhler
2019-06-06 20:34 ` Bruno Barbier
2019-06-07 11:01 ` Andreas Röhler
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.