* c-mode preprocessor #ifdef
@ 2003-04-24 8:46 Rene Reitinger
0 siblings, 0 replies; 2+ messages in thread
From: Rene Reitinger @ 2003-04-24 8:46 UTC (permalink / raw)
Hi All,
I am looking for a lisp program/ function for emacs which can do the
following:
Show me the corresponding #endif for a given #ifdef or #else
I. e.
when i move the curser to a #ifdef statement, and run the function, the
cursor should jump to the corresponding #endif as the Preprocessor would
find it.
perhaps this function already exists and I did not find it?
I am a newbie and can not write lisp programs...
thanks for your help
Cheers
Rene
--
Rene Reitinger
Research student
School for Computer Sciences and Engineering
The University of New South Wales, Sydney
NSW 2052, Australia
email: rener@cse.unsw.edu.au
http://www.cse.unsw.edu.au/
Disclaimer:
http://www.eng.unsw.edu.au/emaildis.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c-mode preprocessor #ifdef
[not found] <mailman.5146.1051174083.21513.help-gnu-emacs@gnu.org>
@ 2003-04-24 11:27 ` Johan Bockgård
0 siblings, 0 replies; 2+ messages in thread
From: Johan Bockgård @ 2003-04-24 11:27 UTC (permalink / raw)
Rene Reitinger <rener@cse.unsw.edu.au> writes:
> when i move the curser to a #ifdef statement, and run the function,
> the cursor should jump to the corresponding #endif as the Preprocessor
> would find it.
C-c C-u runs the command c-up-conditional
C-c C-p runs the command c-backward-conditional
C-c C-n runs the command c-forward-conditional
--
Johan Bockgård
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-24 11:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.5146.1051174083.21513.help-gnu-emacs@gnu.org>
2003-04-24 11:27 ` c-mode preprocessor #ifdef Johan Bockgård
2003-04-24 8:46 Rene Reitinger
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).