From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Daniel (Youngwhan)" Newsgroups: gmane.emacs.help Subject: What is the best way to navigate #ifdef and #endif in C program Date: Mon, 2 Aug 2010 17:31:12 -0700 (PDT) Organization: http://groups.google.com Message-ID: <53f62f81-fb10-4fb6-87ce-0eb5609d12f5@h17g2000pri.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1291856923 32596 80.91.229.12 (9 Dec 2010 01:08:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 01:08:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 02:08:38 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQUzu-0004t3-5c for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 02:08:38 +0100 Original-Received: from localhost ([127.0.0.1]:52083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQUzt-0000h6-ET for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 20:08:37 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!h17g2000pri.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 128.107.101.112 Original-X-Trace: posting.google.com 1280795472 15108 127.0.0.1 (3 Aug 2010 00:31:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 3 Aug 2010 00:31:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h17g2000pri.googlegroups.com; posting-host=128.107.101.112; posting-account=1n6WnAoAAACbXH3nD5I7RQWqdkbTxZki User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:180289 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76353 Archived-At: 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