all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* What is the best way to navigate #ifdef and #endif in C program
@ 2010-08-03  0:31 Daniel (Youngwhan)
  2010-08-04  4:45 ` [OT] " Fren Zeee
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Daniel (Youngwhan) @ 2010-08-03  0:31 UTC (permalink / raw
  To: help-gnu-emacs

Hi,

If there is curly brace, it is easy to navigate between them by M-C-f
and M-C-b in c-mode.

However, I cannot find a way to navigate in like curly brace when it
comes to #ifdef, #else, and #endif.

For example, if there is a code like this:

#ifdef A_DEFINED
(...100 lines)
#else
(... 500 lines)
#endif

, is there a easy way to move the cursor from #endif to #ifdef or
#else and vice versa?

Daniel


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

end of thread, other threads:[~2010-08-06 17:03 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03  0:31 What is the best way to navigate #ifdef and #endif in C program Daniel (Youngwhan)
2010-08-04  4:45 ` [OT] " Fren Zeee
2010-08-04 10:27   ` Pascal J. Bourguignon
2010-08-04 10:38     ` Alessio Stalla
2010-08-04 11:57       ` Pascal J. Bourguignon
2010-08-04 14:37     ` Elena
2010-08-04 14:59       ` Arzobispo Andante
2010-08-04 15:09       ` Peter Keller
2010-08-04 15:35         ` Peter Keller
2010-08-05 19:04         ` Elena
2010-08-05 21:10           ` Peter Keller
2010-08-05 23:46             ` Pascal J. Bourguignon
     [not found]           ` <8c27aoFij2U1@mid.individual.net>
2010-08-06 11:17             ` Elena
2010-08-06 13:55               ` Pascal J. Bourguignon
2010-08-04 16:20   ` Elena
2010-08-04 16:23   ` Elena
2010-08-05 18:00   ` Emmy Noether
2010-08-06  4:59   ` [OT] " Aaron W. Hsu
2010-08-05 17:30 ` Johan Bockgård
2010-08-06 17:03 ` Alan Mackenzie

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.