From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#4019: command to move point to #else (or #elif) in c-mode Date: Sun, 2 Aug 2009 11:18:57 -0700 (PDT) Message-ID: <200908021818.n72IIvtC005530@godzilla.ics.uci.edu> Reply-To: Dan Nicolaescu , 4019@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249238832 23417 80.91.229.12 (2 Aug 2009 18:47:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Aug 2009 18:47:12 +0000 (UTC) To: bug-gnu-emacs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 02 20:47:05 2009 Return-path: Envelope-to: geb-bug-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 1MXg5F-0007Ai-TJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Aug 2009 20:47:02 +0200 Original-Received: from localhost ([127.0.0.1]:57592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXg5F-0001eg-Er for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Aug 2009 14:47:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXg58-0001e3-2D for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2009 14:46:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXg53-0001dR-Do for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2009 14:46:53 -0400 Original-Received: from [199.232.76.173] (port=58971 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXg53-0001dO-6r for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2009 14:46:49 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53099) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXg52-0002GP-Nl for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2009 14:46:49 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n72IkkXC010303; Sun, 2 Aug 2009 11:46:46 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n72IU8sG008843; Sun, 2 Aug 2009 11:30:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 02 Aug 2009 18:30:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4019 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12492372508336 (code B ref -1); Sun, 02 Aug 2009 18:30:07 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Aug 2009 18:20:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 ; Sun, 2 Aug 2009 11:20:47 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXffq-0006A8-4P for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2009 14:20:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXffk-000683-SR for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2009 14:20:45 -0400 Original-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@gnu.org; Sun, 02 Aug 2009 14:20:40 -0400 Original-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 ) id 1MXffk-0005ll-Ae for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2009 14:20:40 -0400 Original-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 ; Sun, 2 Aug 2009 11:18:58 -0700 (PDT) Original-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) Original-Lines: 11 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@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 02 Aug 2009 14:46:53 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29804 Archived-At: 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!