From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rafal Kurcz Newsgroups: gmane.emacs.help Subject: jumping through ifdefs Date: Fri, 13 Jun 2008 08:01:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5774a661-d829-49fd-a433-2a9d8c0d39cc@26g2000hsk.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213371701 18303 80.91.229.12 (13 Jun 2008 15:41:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2008 15:41:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 13 17:42:24 2008 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.50) id 1K7BPs-00040D-Bg for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jun 2008 17:42:16 +0200 Original-Received: from localhost ([127.0.0.1]:51422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7BP4-0008Fi-Gq for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jun 2008 11:41:26 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!26g2000hsk.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 195.137.231.42 Original-X-Trace: posting.google.com 1213369306 11592 127.0.0.1 (13 Jun 2008 15:01:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 13 Jun 2008 15:01:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 26g2000hsk.googlegroups.com; posting-host=195.137.231.42; posting-account=k-xaagoAAADQf-0cozKy5NNY6m3bbyn0 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080318 Firefox/2.0.0.12,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 www-proxy-ams.emea.cpwr.corp:8001 (squid/2.5.STABLE6), 1.0 proxy3.emea.compuware.com:3128 (squid/2.5.STABLE6) Original-Xref: news.stanford.edu gnu.emacs.help:159439 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:54796 Archived-At: Hello I have the following code: #ifdef LINUX "another nested ifdefs" #else //LINUX "another nested ifdefs" #endif //LINUX I would like to cycle through "LINUX" ifdefs by single emacs command. I tried forward-ifdef, down-ifdef and next-ifdef from hide-ifdef-mode but they don't work as I expect. They either omit the "else" statement or stop at nested ifdefs. Thank You for help