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

Previous Next

Packages: emacs, cc-mode;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Sun, 2 Aug 2009 18:30:07 UTC

Severity: wishlist

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 4019 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 4019 <at> debbugs.gnu.org, Dan Nicolaescu <dann <at> ics.uci.edu>
Subject: Re: bug#4019: command to move point to #else (or #elif) in c-mode
Date: Sat, 9 Jul 2022 19:53:34 -0700
Hi Alan,

Dan Nicolaescu <dann <at> ics.uci.edu> writes:

> 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.

This wishlist request was reported in 2009, but never got a reply.

It seems to me that such a command would be useful but is still missing.




This bug report was last modified 2 years and 288 days ago.

Previous Next


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