GNU bug report logs - #4019
command to move point to #else (or #elif) in c-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs,cc-mode; Severity: wishlist; Reported by: Dan Nicolaescu <dann@HIDDEN>; dated Sun, 2 Aug 2009 18:30:07 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug reassigned from package 'emacs' to 'emacs,cc-mode'. Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 2 Aug 2009 18:20:50 +0000
From dann@HIDDEN Sun Aug  2 11:20:50 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,X_DEBBUGS_NO_ACK
	autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n72IKkP4008331
	for <submit@HIDDEN>; Sun, 2 Aug 2009 11:20:47 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MXffq-0006A8-4P
	for bug-gnu-emacs@HIDDEN; Sun, 02 Aug 2009 14:20:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MXffk-000683-SR
	for bug-gnu-emacs@HIDDEN; Sun, 02 Aug 2009 14:20:45 -0400
Received: from [199.232.76.173] (port=58499 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1MXffk-000680-Nw
	for bug-gnu-emacs@HIDDEN; Sun, 02 Aug 2009 14:20:40 -0400
Received: from barrelv2.ics.uci.edu ([128.195.1.114]:45608)
	by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24)
	(Exim 4.60)
	(envelope-from <dann@HIDDEN>)
	id 1MXffk-0005ll-Ae
	for bug-gnu-emacs@HIDDEN; Sun, 02 Aug 2009 14:20:40 -0400
Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101])
	by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n72IIwKn021594
	for <bug-gnu-emacs@HIDDEN>; Sun, 2 Aug 2009 11:18:58 -0700 (PDT)
Received: (from dann@localhost)
	by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n72IIvtC005530;
	Sun, 2 Aug 2009 11:18:57 -0700 (PDT)
Date: Sun, 2 Aug 2009 11:18:57 -0700 (PDT)
Message-Id: <200908021818.n72IIvtC005530@HIDDEN>
From: Dan Nicolaescu <dann@HIDDEN>
To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Subject: command to move point to #else (or #elif) in c-mode
X-Debbugs-No-Ack: yes
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-ICS-MailScanner-Information: Please contact the ISP for more information
X-ICS-MailScanner-ID: n72IIwKn021594
X-ICS-MailScanner: Found to be clean
X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5,
	autolearn=disabled, ALL_TRUSTED -1.44)
X-ICS-MailScanner-From: dann@HIDDEN
X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta)


When looking at code with a lot of preprocessor conditionals, a lot of
times it is very useful when the point is at an #if to move it the
corresponding #else (or #elif) to check what is happening on the other
branch of the #if.  C-c C-p and C-c C-n are not very useful when you
have to deal with a lot of nested and not nested #if #else.

Please consider adding such a command.

Thanks!





Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#4019; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.