From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#4019: command to move point to #else (or #elif) in c-mode Date: Sat, 9 Jul 2022 19:53:34 -0700 Message-ID: References: <200908021818.n72IIvtC005530@godzilla.ics.uci.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21430"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 4019@debbugs.gnu.org, Dan Nicolaescu To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 10 04:54:37 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oAN5g-0005N0-W1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jul 2022 04:54:36 +0200 Original-Received: from localhost ([::1]:53922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAN5f-00040L-Ke for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Jul 2022 22:54:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAN58-0003cM-F1 for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2022 22:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAN58-0002px-0V; Sat, 09 Jul 2022 22:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oAN57-0001V0-SG; Sat, 09 Jul 2022 22:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 10 Jul 2022 02:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4019 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 4019-submit@debbugs.gnu.org id=B4019.16574216225724 (code B ref 4019); Sun, 10 Jul 2022 02:54:01 +0000 Original-Received: (at 4019) by debbugs.gnu.org; 10 Jul 2022 02:53:42 +0000 Original-Received: from localhost ([127.0.0.1]:36103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAN4o-0001UF-M9 for submit@debbugs.gnu.org; Sat, 09 Jul 2022 22:53:42 -0400 Original-Received: from mail-pj1-f43.google.com ([209.85.216.43]:38414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAN4m-0001U2-LN for 4019@debbugs.gnu.org; Sat, 09 Jul 2022 22:53:41 -0400 Original-Received: by mail-pj1-f43.google.com with SMTP id 89-20020a17090a09e200b001ef7638e536so5325629pjo.3 for <4019@debbugs.gnu.org>; Sat, 09 Jul 2022 19:53:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=Ds00haaQKu2HvIkQ1XyesHovXi47zGV7A7OiFzi3Quc=; b=tDhkGVHJOKecVs5raTfdby4o6mma8XyTHwJhIKzBHvNntRtPJ/woPgAD/wuVhEgsrx q7Qrf1KZqAKEJLVimI335yaCX6CwUWGbUyb894Bb1vVP79plRqCRqCStFaC3+Iv92vwW dajptkxci3xF74VWEMl3kjBJkwodF7xyMK6n83Tr8/JOH9l2iRSBnmCBImkVxitbyFXr iy8AHoIMv+q7yl6ONvvgDU7r/JN+i3C1jaUsYqaFhdu8ZH3DHtZ1tr/d4EGgaEuz3ywJ VjAYhdFdmWKRYCfYA1x0fs+DPYepEwSvfS4UyAMnV6JexULWOz4hRXGAuqP7XzZzmfzg /4pQ== X-Gm-Message-State: AJIora/f9hGAV64ez0ca3J9a4jjCFPGA5bZuGTnuzvVxfquM43xhgAQl rag/d+Hl020622/Mokn5OMlZsetj10wmTu3efYM= X-Google-Smtp-Source: AGRyM1ulHQ7WK7pta48bZJX9Ig6MFfx75PGfIgr3zql4EeYym9/zYUKMi1fXAtdW3qii1yuS8l3dTYpWLpeycl+ytAE= X-Received: by 2002:a17:902:db11:b0:16c:3e90:12e5 with SMTP id m17-20020a170902db1100b0016c3e9012e5mr1759921plx.73.1657421614903; Sat, 09 Jul 2022 19:53:34 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 9 Jul 2022 19:53:34 -0700 In-Reply-To: <200908021818.n72IIvtC005530@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 2 Aug 2009 11:18:57 -0700 (PDT)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:236537 Archived-At: Hi Alan, Dan Nicolaescu 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.