From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#4019: command to move point to #else (or #elif) in c-mode Date: Sun, 10 Jul 2022 15:06:30 +0200 Message-ID: <877d4l3ynd.fsf@gnus.org> References: <200908021818.n72IIvtC005530@godzilla.ics.uci.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14810"; 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 , Stefan Kangas , Daniel =?UTF-8?Q?Mart=C3=ADn?= To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 10 15:07:39 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 1oAWew-0003bM-S9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jul 2022 15:07:39 +0200 Original-Received: from localhost ([::1]:53750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAWev-0001CJ-Oc for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jul 2022 09:07:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAWeN-00019a-5C for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2022 09:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAWeM-0000bC-PW; Sun, 10 Jul 2022 09:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oAWeM-0007eX-Fg; Sun, 10 Jul 2022 09:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 10 Jul 2022 13:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4019 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 4019-submit@debbugs.gnu.org id=B4019.165745841029392 (code B ref 4019); Sun, 10 Jul 2022 13:07:02 +0000 Original-Received: (at 4019) by debbugs.gnu.org; 10 Jul 2022 13:06:50 +0000 Original-Received: from localhost ([127.0.0.1]:36460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAWe7-0007dx-0o for submit@debbugs.gnu.org; Sun, 10 Jul 2022 09:06:50 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:40350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAWe2-0007dG-KU for 4019@debbugs.gnu.org; Sun, 10 Jul 2022 09:06:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jb0PaYNzs6rtt4QB//oQOiPuKZSGzOYtFDUKnRV7uYw=; b=mZGiobsBHhrUDKT1ERYYiC8puW UQ5bawAlgIUMXkqSZeer+qGZxHUNpcJUaHjX8h8hFURHmrr8BjNlWpdWs5ckWJnPTn1WeorhYUvv3 Q8d3l0+OhY13PrC+K0Od2SNkOWyaLFWpCCVL2459qbR0UTq+nXvyNb/c8M0Cx7ZCKLP8=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oAWdr-0000YM-0i; Sun, 10 Jul 2022 15:06:33 +0200 In-Reply-To: (Alan Mackenzie's message of "Sun, 10 Jul 2022 11:51:15 +0000") X-Now-Playing: John Zorn's _A Garden of Forking Paths_: "The Secret Mirror" 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:236575 Archived-At: Alan Mackenzie writes: > I'm not sure that c-down/up-conditional-with-else are exactly what the > OP is asking for. Me neither, but this reminds me -- do we have a command/minor mode that tells you all the C conditionals you're inside? I'd love a minor mode that'd say (in the mode line, for instance), that I'm inside HAVE_UNEXEC -> DOUG_LEA_MALLOC or whatever. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no