From: Dan Nicolaescu <dann@ics.uci.edu>
To: bug-gnu-emacs <bug-gnu-emacs@gnu.org>
Subject: bug#4019: command to move point to #else (or #elif) in c-mode
Date: Sun, 2 Aug 2009 11:18:57 -0700 (PDT) [thread overview]
Message-ID: <200908021818.n72IIvtC005530@godzilla.ics.uci.edu> (raw)
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!
next reply other threads:[~2009-08-02 18:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-02 18:18 Dan Nicolaescu [this message]
2022-07-10 2:53 ` bug#4019: command to move point to #else (or #elif) in c-mode Stefan Kangas
2022-07-10 10:35 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-10 10:48 ` Stefan Kangas
2022-07-10 11:16 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-10 11:51 ` Alan Mackenzie
2022-07-10 13:06 ` Lars Ingebrigtsen
2022-08-08 12:46 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200908021818.n72IIvtC005530@godzilla.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=4019@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).