Juri Linkov <juri@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Juri Linkov <juri@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 78865) by debbugs.gnu.org; 23 Jun 2025 17:13:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 23 13:13:42 2025 Received: from localhost ([127.0.0.1]:56868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uTkjk-0004pe-Lf for submit <at> debbugs.gnu.org; Mon, 23 Jun 2025 13:13:41 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:51037) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1uTkji-0004oR-2v; Mon, 23 Jun 2025 13:13:38 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 8DC7A439F5; Mon, 23 Jun 2025 17:13:30 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Dani Moncayo <dmoncayo@HIDDEN> Subject: Re: bug#78865: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands In-Reply-To: <CAH8Pv0ib-rmEUcVLiCTzP-3DMF7NAe_QCvacjyMyqtYXQURrUw@HIDDEN> Organization: LINKOV.NET References: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> <86o6ueg117.fsf@HIDDEN> <CAH8Pv0ib-rmEUcVLiCTzP-3DMF7NAe_QCvacjyMyqtYXQURrUw@HIDDEN> Date: Mon, 23 Jun 2025 20:12:24 +0300 Message-ID: <87ldpiz8jr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgddujeehlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghofhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepffegteefveelhfeljeefueehieduiedtfffhuddtkeeffffghfevheetgeeukeehnecukfhppeeluddruddvledruddttddrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutddtrdejjedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeegpdhrtghpthhtoheptghonhhtrhholhesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopeejkeekieehseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepughmohhntggrhihosehgmhgrihhlrdgtohhm X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 78865 Cc: Eli Zaretskii <eliz@HIDDEN>, 78865 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) tags 78865 + notabug wontfix close 78865 31.0.50 thanks >> Try this with brackets in code, and I think you will see the behavior >> you expect. > > If what I'm trying to achieve doesn't make sense to you guys, then > let's close this ticket. No problem :). The problem is that 'prog-mode' contains: (setq-local parse-sexp-ignore-comments t) When you set it back to nil, then your test case works as you want. So now closing this report.
bug-gnu-emacs@HIDDEN
:bug#78865
; Package emacs
.
Full text available.Received: (at 78865) by debbugs.gnu.org; 23 Jun 2025 12:04:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 23 08:04:14 2025 Received: from localhost ([127.0.0.1]:54861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uTfuH-0000FQ-HT for submit <at> debbugs.gnu.org; Mon, 23 Jun 2025 08:04:14 -0400 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:61545) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <dmoncayo@HIDDEN>) id 1uTfuD-0000Dn-8S for 78865 <at> debbugs.gnu.org; Mon, 23 Jun 2025 08:04:10 -0400 Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-b321bd36a41so575005a12.2 for <78865 <at> debbugs.gnu.org>; Mon, 23 Jun 2025 05:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750680243; x=1751285043; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YqrTr5QZ92nmt1UA/NiCf+z/ez39L0oxbDI8sPf5KlE=; b=PsOIIV1h7mJ8Zn2hx79ENYMv7vRnVC+ruHI+eIU0s2aTN64rZ7gXUpqf+j8XSOQg6Y SDADDY+h5XObOjVhzYyKj37hNUt+LneL28Z+nsIaFH8t6Avn6VxILjmD9kbjgzylHydf V/yvBc1rMRmS7uuRUGOvwyRwMXv1cHCkymhoaONZhiE9DKj/p+98C3w05mmPRBC9do+w DN0gv94yh4IM8rqqYq/5gDfFNyff/jvFCqG5kuB8ZE7TJm+8by/uami3Z0mdliM0zx9b hVBOpYLAWFfGe72mL338rbH1g9m2rShRsFVywtg+kMdXkWAdjHauMrH4OGtPuiM7DCJ6 y83g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750680243; x=1751285043; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YqrTr5QZ92nmt1UA/NiCf+z/ez39L0oxbDI8sPf5KlE=; b=vlOTvVYXnc+69ve5H2PKnNzO663xlmUnwsa1JiHFKavHVeZ8Yb3xmP7s3U7/dsKrQA VwwyzXTQq8XMT/Ew9M/UOUO+/Y5FywG3ztGAA0KTgOkFVPln6FMI0AKs61y5cApi108l tOa1EtwxyIFd0lFI2R3bQGZ2lhWRgwI3tVhCyV8UW4C3m9nRjFcFg/NgjUBPAvMLZPKs eDJkiuJT+5XOU8akPUl/duI2Wkf9MrKbQZ/m5jUZAQ2ldiYUkoDSIuxHOxrqZQieFxrr WGb+eDuTwgK2Q6OpOHTHYwdW3SXJ0w0KPVt7o+N5RppHFI2b9RpzK2z2XUz42HeFonYQ 3yfA== X-Gm-Message-State: AOJu0YzUzulPv4oVB1Y34gRLkxXE6GOijfAzqUUHTy0gKF3o28fuqtzD haZsORGBB19UxnOxSZ0SiM7AC1f/oKJ2/l9YEaRdD6nQjTBDbk/6TwjuAIgxsA4IyWoLN2P8gdt k1LyNc0ypZn4BzQptTCzJ1QtSkAMRWQo= X-Gm-Gg: ASbGncsgKaZL4ApNYgx1vd26Pq5X4Cf+jOTFWCCecN/fEhcXCh3OMUqya86n5e/RcSQ a8ps+tLwuCWN/j/xc+hYJXc2F3M53ZZo2GH2CNHdIeNAqLqGsvJRPwaaYtLVDztvHUNK6iBKY3E ywYikKuKYCSfpbYas5c/bQSfY4g3P8RwQEvdaaqzwBeIKAiTlDSt7QBw== X-Google-Smtp-Source: AGHT+IENy1+8+IWL8X3IbotjyN3CfpBaWhY0XyMk1NWvavjCZ11N7ozFLbfVSOU389186GposNf/XhcaYqA1NFjDYkU= X-Received: by 2002:a17:90b:574d:b0:311:a561:86f3 with SMTP id 98e67ed59e1d1-3159d626107mr16678511a91.6.1750680242633; Mon, 23 Jun 2025 05:04:02 -0700 (PDT) MIME-Version: 1.0 References: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> <86o6ueg117.fsf@HIDDEN> In-Reply-To: <86o6ueg117.fsf@HIDDEN> From: Dani Moncayo <dmoncayo@HIDDEN> Date: Mon, 23 Jun 2025 14:03:51 +0200 X-Gm-Features: Ac12FXzBpvCH0EhH8OhKH9dZChhO1C3PCZgKKdLRn4S2nJot4KknCXsoshYVuGk Message-ID: <CAH8Pv0ib-rmEUcVLiCTzP-3DMF7NAe_QCvacjyMyqtYXQURrUw@HIDDEN> Subject: Re: bug#78865: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78865 Cc: 78865 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Mon, Jun 23, 2025 at 1:17=E2=80=AFPM Eli Zaretskii <eliz@HIDDEN> wrote: > Why do you expect C-M-n to do that when the brackets are in comments? Because I saw the highlighting of both brackets, and I intuitively felt that I could navigate between them (In fact, I'd prefer show-paren-mode to be consistent with cursor motion commands line C-M-n). I still think that the behavior I did envision would make sense and would be useful. -- as I explained, I sometimes write such comments in code, with the intent to delimit/identify/annotate certain chunks of code. Being able to move around that meta-syntactic structure would be great. > That's not what C-M-n and its ilk are about: they allow to move by > code chunks, not by arbitrary text fragments. > > Try this with brackets in code, and I think you will see the behavior > you expect. If what I'm trying to achieve doesn't make sense to you guys, then let's close this ticket. No problem :). Thanks. --=20 Dani Moncayo
bug-gnu-emacs@HIDDEN
:bug#78865
; Package emacs
.
Full text available.Received: (at 78865) by debbugs.gnu.org; 23 Jun 2025 11:41:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 23 07:41:54 2025 Received: from localhost ([127.0.0.1]:54723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uTfYf-00057W-9s for submit <at> debbugs.gnu.org; Mon, 23 Jun 2025 07:41:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32886) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uTfYc-00056B-El for 78865 <at> debbugs.gnu.org; Mon, 23 Jun 2025 07:41:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uTfYU-0003e3-Gk; Mon, 23 Jun 2025 07:41:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=mYx+kD8hBUzb0GvZ6Q8MwMHQb+6/+NR0d2euSeHVJWA=; b=q9BI2UFby6Wt 95l0dn9aH49s1kK0TJsnoFOUlS8E7sWcJOsUkQ8ep5+Ilp40eosaOCVJtwtN66vUARJIP2X/1d9/N 7HQabLVEBXspptZHBnItU9rW/f+S6k5B0TGBTkb5zwbgiug0Lc6gDQZIKV+NkfKrUM2ekTLYHBOxu lR568DFsC2k98TqJ5z7EG0A9dYpSg9ylvnufnr/DT0oh9Ve7ldmidt38R7H0ucgpUsR9n40SAI6X7 UN5jQkTUrcveTlxR98U9kvci7bBNuyY0ngzOIrOBwQDMW/Ql5I+0fGXVxkLi/ixXOxCq2iUcbyA9n BZ3TCsuJifNfdZEs3iqDyw==; Date: Mon, 23 Jun 2025 14:41:38 +0300 Message-Id: <86ecvafzwt.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Dani Moncayo <dmoncayo@HIDDEN> In-Reply-To: <CAH8Pv0hzshb5645Kx8Uisu_sCBAD1OvRZVGpMY4iS7YXkMppHQ@HIDDEN> (message from Dani Moncayo on Mon, 23 Jun 2025 09:19:07 +0200) Subject: Re: bug#78865: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands References: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> <875xgn3sps.fsf@HIDDEN> <CAH8Pv0hzshb5645Kx8Uisu_sCBAD1OvRZVGpMY4iS7YXkMppHQ@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78865 Cc: 78865 <at> debbugs.gnu.org, juri@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 78865 <at> debbugs.gnu.org > From: Dani Moncayo <dmoncayo@HIDDEN> > Date: Mon, 23 Jun 2025 09:19:07 +0200 > > > Are there any differences in this regard > > between c-mode or c-ts-mode? > > I've now tried using c-mode: the highlighting is the same, but > pressing C-M-n results in an error: 'No next group'. Exactly. Which is one more evidence that this is not supposed to do what you expected, because the brackets are in comments, where they lose their usual syntactic meaning assigned by the programming language.
bug-gnu-emacs@HIDDEN
:bug#78865
; Package emacs
.
Full text available.Received: (at 78865) by debbugs.gnu.org; 23 Jun 2025 11:17:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 23 07:17:56 2025 Received: from localhost ([127.0.0.1]:54603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uTfBT-0006Ud-KF for submit <at> debbugs.gnu.org; Mon, 23 Jun 2025 07:17:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60900) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uTfBQ-0006T8-No for 78865 <at> debbugs.gnu.org; Mon, 23 Jun 2025 07:17:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uTfBL-0008KT-4G; Mon, 23 Jun 2025 07:17:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/z6QZ1ochw8PVCHgGUoowk8TgIWD8PG1uGaUIJCSvoA=; b=qPMlioPd3sHb RLA3egvk2TO7aTvwfwtvuKkLRn3D6QLT9X8mnHCSw9D89qWQd5iT098mktkbVrhuTzz34VMexFFMO kgSEQ6TyITDJkL784p6dX4+pQT0o2a8XLDmMMvqwbwH6GQFb8mjp3glgk7l8f86tqQbbbcualydvL 3cglsh89m3RaBJEB8ymZ7fkicY5Jgmy/dTj7R/6OrfIWmeko2pAVy9dm+O6cx5bjTrrDN+0/8Me+o XXpjT8lYK0iQBycXmBlvb9tR3PEMs4tpMJRdKG4HHdl4+lhgqHFu/nwdXM0Hh1voZ/Ya70gMTci9s gaz2CPW2AA3BYrP2h4RRWg==; Date: Mon, 23 Jun 2025 14:17:24 +0300 Message-Id: <86o6ueg117.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Dani Moncayo <dmoncayo@HIDDEN> In-Reply-To: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> (message from Dani Moncayo on Sun, 22 Jun 2025 20:53:39 +0200) Subject: Re: bug#78865: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands References: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78865 Cc: 78865 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Dani Moncayo <dmoncayo@HIDDEN> > Date: Sun, 22 Jun 2025 20:53:39 +0200 > > Consider a C source file like the one created with the shell command below [1]. > > If I visit that file with Emacs and move the cursor just before the > "[", I see that both square brackets are highlighted -- perfect. > > But then, if I type C-M-n from that point, I'd expect the cursor to > jump from the "[" to the "]". Well, it does not. Instead, the cursor > jumps just after "f1()". Why do you expect C-M-n to do that when the brackets are in comments? That's not what C-M-n and its ilk are about: they allow to move by code chunks, not by arbitrary text fragments. Try this with brackets in code, and I think you will see the behavior you expect.
bug-gnu-emacs@HIDDEN
:bug#78865
; Package emacs
.
Full text available.Received: (at 78865) by debbugs.gnu.org; 23 Jun 2025 07:19:29 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 23 03:19:29 2025 Received: from localhost ([127.0.0.1]:53154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uTbSi-0001Kw-T4 for submit <at> debbugs.gnu.org; Mon, 23 Jun 2025 03:19:29 -0400 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:55415) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <dmoncayo@HIDDEN>) id 1uTbSf-0001Jm-Jy for 78865 <at> debbugs.gnu.org; Mon, 23 Jun 2025 03:19:26 -0400 Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-313154270bbso4245883a91.2 for <78865 <at> debbugs.gnu.org>; Mon, 23 Jun 2025 00:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750663159; x=1751267959; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fjt8TlNIex7ZW65oQBqJXPEbPYNMuFrt71KOdYCw2RY=; b=kG+ueALHpG9rpZFyzIwtA8q7lV+PopenxZdEoixKjfCLX7hQ0jNIT11hI/7VV+nkZC XkoVQtzFizyWITScqmmcQOBBgXHE+vRRlKma6LcNdI5BMsOEg0tbBQEXKQ2tII9OCQAZ lBoR8ldi9pJ8hH15Gkvpajb06746Kwv33yFJixZQl1XhLsaHZ8sSECdBWtokX+6AEtKW ydu/0JFv6By66BAV7NQZilEWylqKRW24CjPDpalIPppCt4xPR5kdCHtHF+TzgYBQyqU4 DKE1V2LMi5E2vpmG/ZuuDESP4v2bGotecXtJO/fM4eVnh0BbqejOAHrs9owA6QTwdz1/ vXLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750663159; x=1751267959; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fjt8TlNIex7ZW65oQBqJXPEbPYNMuFrt71KOdYCw2RY=; b=uIDz67Q0G0Mfy2gfsJvzrWlle0hB2G9HNHc4j3O+W+DthKM4t6fQIxeVxKyy3NhHp7 8OS2hmf32/fhv5HiU9H8LSnSqrAXcioT4LTn+fwUddhvFDHLduxCUUwfN88oRB27BBId F9UlBF7D+BWH4SfxjLQZ/KSdtimBSf4ge1AMYtUyJRQXtFBCAVZfGOf1CVJm38Pu2nY6 Y87FMuLcj1YK4jqvNL0A2OMLVxki7F/hC1xBduxLi71SFt2X2F623banmjXSvfOdnqVA pRWKF7ia/oUbnJbZOqdgx+5aj7V+lPKkGMi83Ir7OsFfylgJGFJhi/625x1YqyRP9YPX ufzA== X-Gm-Message-State: AOJu0YzlvLUbfB9CGhAYX1hvfg0a7cz16fpv82VRzxrBRE2AV60UU5I7 RjH0wSxC+c+F54ngfWMde8CCbd8PGip990HoFc3r7ZVaZGSrbdDxaT7kbO5kmtlzb8EDpDWQieF zzDLOtK+gFItZsHrZDPWPZetLcS84pDQ= X-Gm-Gg: ASbGncuGW3Pa8tGtVfYlKIHr8dJRim0TMvOhuqg20PAtbTCaFlS7egtmqrdhBnGZ0Jg /uMMRKLQ/c1DYVDFNy6hKdk7M8/33mw27Cca/nXzza6HE0ax0W2wcXUw/0EG6AlHC66/WRysU0l Tkphqx42SyY0s4vmOCya+yXN0Zy/CGTI6PN35ZInNiKFE= X-Google-Smtp-Source: AGHT+IEc8wQLJZqXW+JwaUwCDDylsi4oQ8MYmJ5OaPE32HoMwCv8vERmfPKEe4CSAAgbRtapMEWidCC01oWRwvrFh+M= X-Received: by 2002:a17:90b:2dc8:b0:313:d79e:1f48 with SMTP id 98e67ed59e1d1-3159d8c6023mr20401441a91.16.1750663158912; Mon, 23 Jun 2025 00:19:18 -0700 (PDT) MIME-Version: 1.0 References: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> <875xgn3sps.fsf@HIDDEN> In-Reply-To: <875xgn3sps.fsf@HIDDEN> From: Dani Moncayo <dmoncayo@HIDDEN> Date: Mon, 23 Jun 2025 09:19:07 +0200 X-Gm-Features: Ac12FXzWVAS6U4yCeJZhOM1FOy9hP6SSMijCQ_z8fRPes0Np48jbfF8n3mCGpZg Message-ID: <CAH8Pv0hzshb5645Kx8Uisu_sCBAD1OvRZVGpMY4iS7YXkMppHQ@HIDDEN> Subject: Re: bug#78865: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands To: Juri Linkov <juri@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78865 Cc: 78865 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Mon, Jun 23, 2025 at 8:42=E2=80=AFAM Juri Linkov <juri@HIDDEN> wrote= : > > > Consider a C source file like the one created with the shell command be= low [1]. > > > > If I visit that file with Emacs and move the cursor just before the > > "[", I see that both square brackets are highlighted -- perfect. > > > > But then, if I type C-M-n from that point, I'd expect the cursor to > > jump from the "[" to the "]". Well, it does not. Instead, the cursor > > jumps just after "f1()". > > Is this in c-mode or c-ts-mode? This was using c-ts-mode. > Are there any differences in this regard > between c-mode or c-ts-mode? I've now tried using c-mode: the highlighting is the same, but pressing C-M-n results in an error: 'No next group'. --=20 Dani Moncayo
bug-gnu-emacs@HIDDEN
:bug#78865
; Package emacs
.
Full text available.Received: (at 78865) by debbugs.gnu.org; 23 Jun 2025 06:42:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 23 02:42:30 2025 Received: from localhost ([127.0.0.1]:52930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uTasw-00047Z-M1 for submit <at> debbugs.gnu.org; Mon, 23 Jun 2025 02:42:30 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]:35653) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1uTasu-000475-FY for 78865 <at> debbugs.gnu.org; Mon, 23 Jun 2025 02:42:28 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 1F989442AC; Mon, 23 Jun 2025 06:42:20 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Dani Moncayo <dmoncayo@HIDDEN> Subject: Re: bug#78865: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands In-Reply-To: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> Organization: LINKOV.NET References: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> Date: Mon, 23 Jun 2025 09:37:51 +0300 Message-ID: <875xgn3sps.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgdduieefvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghofhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepffegteefveelhfeljeefueehieduiedtfffhuddtkeeffffghfevheetgeeukeehnecukfhppeeluddruddvledruddttddrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutddtrdejjedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeekkeeiheesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegumhhonhgtrgihohesghhmrghilhdrtghomh X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 78865 Cc: 78865 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > Consider a C source file like the one created with the shell command below [1]. > > If I visit that file with Emacs and move the cursor just before the > "[", I see that both square brackets are highlighted -- perfect. > > But then, if I type C-M-n from that point, I'd expect the cursor to > jump from the "[" to the "]". Well, it does not. Instead, the cursor > jumps just after "f1()". Is this in c-mode or c-ts-mode? Are there any differences in this regard between c-mode or c-ts-mode?
bug-gnu-emacs@HIDDEN
:bug#78865
; Package emacs
.
Full text available.Received: (at 78865) by debbugs.gnu.org; 22 Jun 2025 22:07:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 22 18:07:36 2025 Received: from localhost ([127.0.0.1]:49960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uTSqd-00053v-8n for submit <at> debbugs.gnu.org; Sun, 22 Jun 2025 18:07:36 -0400 Received: from mout.gmx.net ([212.227.15.15]:34709) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <stephen.berman@HIDDEN>) id 1uTSqa-00052R-Hq for 78865 <at> debbugs.gnu.org; Sun, 22 Jun 2025 18:07:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1750630045; x=1751234845; i=stephen.berman@HIDDEN; bh=BQeUs0GqHMKYFDHJM1cIzg1V7J0YkqkqEkamfFmoKvw=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=N9RM7RtEBWdYpSED6WG4YOle3nJDyniTYjQWVMi32H73R9rGWiD9HdJMTTC07Qk9 qfWVFdhbBitvnpZFgupMHxPm/PpcudIYArlRF/0hkmYX73NBYmhE+gSjKNs2OfAaA ADiVLtbvjNacG7/YM/lmkz/eaaeFYFYhsGh0WnKnlg6O8Eq1s5qOji8k8MgElG8WX /Gg08yp11snjxA/HtGcbJcCcs4VWqUn9IaVRC25UEmwsmFbbOey8edav+04Y28DuP lSOa7z7IBnmvLl++b/RTecb5AuXvNG1roiX7k5q+bBGNSpcg9NJGtVxx6MxNhFM4+ X1sXXH54Y7JpebPaLQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from strobelfs2 ([88.130.48.165]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MdefD-1v34iC1E9Z-00cCdT; Mon, 23 Jun 2025 00:07:25 +0200 From: Stephen Berman <stephen.berman@HIDDEN> To: Dani Moncayo <dmoncayo@HIDDEN> Subject: Re: bug#78865: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands In-Reply-To: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> References: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> Date: Mon, 23 Jun 2025 00:07:24 +0200 Message-ID: <87o6ufmnvn.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:M5VpYE7a3i489HDJJyMD3oOI0FqOC7r65sXGW148NXflGlldeUQ 5AJ/RttwE+amOJatYalNH3wo+899RPE35WMLtxmfUji2nI726mrbp7pTeQpTwWA2Z/DgplI MJBjnaISWMFN0qk8FuBhtVWUgvEyCpmzTYsAbrZaA6VMvZFo327PFncq7I2u8AVmi6gjr8j eQxuw3TwsAQtTsI6yWihg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:DZcN0jc9ghw=;KCIqBWRU5C5LPDnTLc1gftlXygX huQfUy8+qDRrQoo/Wi1C2C/nPx2JMv7rH/Lp8MIvMZe6crXSn49wzLVtzLs9Taa0uwBf1f4ha EFpDZrMUWTghLUawAhqOC0veydOKHPZaAZobkonEPe7WmwmCqhzWQcMjbaupzvC0MZ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<at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On Sun, 22 Jun 2025 20:53:39 +0200 Dani Moncayo <dmoncayo@HIDDEN> wrote: > Consider a C source file like the one created with the shell command below [1]. > > If I visit that file with Emacs and move the cursor just before the > "[", I see that both square brackets are highlighted -- perfect. > > But then, if I type C-M-n from that point, I'd expect the cursor to > jump from the "[" to the "]". Well, it does not. Instead, the cursor > jumps just after "f1()". > > This behavior seems inconsistent to me, and also doesn't allow me to > move between those "comment-marks" I like to put sometimes in my code > to define a kind of logical grouping. `C-M-n' runs the command `forward-list', whose doc string says: "This command assumes point is not in a string or comment." > And BTW, if I change the major mode to text-mode, I get the behavior I > want -- I can even type C-M-u from anywhere inside that "logical > group" and jump to its beginning "[". That's because "//" does not mark a comment in text-mode, which defines no comment syntax by default. But text-mode recognizes "[" and "]" as balanced delimiters, so C-M-n and C-M-u work as expected with them. Steve Berman > Footnote [1]: > $ cat <<eof > file1.c > //[ begin of group foo > > int void f1() > { > //... > } > int void f2() > { > //... > } > > //] end of group foo > eof
bug-gnu-emacs@HIDDEN
:bug#78865
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 22 Jun 2025 18:54:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 22 14:54:05 2025 Received: from localhost ([127.0.0.1]:49778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uTPpM-0005vz-Na for submit <at> debbugs.gnu.org; Sun, 22 Jun 2025 14:54:05 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58072) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <dmoncayo@HIDDEN>) id 1uTPpJ-0005uB-IS for submit <at> debbugs.gnu.org; Sun, 22 Jun 2025 14:54:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dmoncayo@HIDDEN>) id 1uTPpD-0003m4-NR for bug-gnu-emacs@HIDDEN; Sun, 22 Jun 2025 14:53:55 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <dmoncayo@HIDDEN>) id 1uTPpB-0001mw-Q0 for bug-gnu-emacs@HIDDEN; Sun, 22 Jun 2025 14:53:55 -0400 Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-b0db0b6a677so3098290a12.2 for <bug-gnu-emacs@HIDDEN>; Sun, 22 Jun 2025 11:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750618430; x=1751223230; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=0fdegyQo2Juo7DOU4UTlvP7RLEIZi99ZTV80cXteljI=; b=E8M/OA280Z9n0rnfjf8HLpY1qUrC6P/VxItE5YV2kf8jP5z5VtjA73mgau0IkJNLlK x+E7AjTmfm7ew5zOlwgMP3ju938copij+uaOdp84GSVZm+veMyj0eWfewlr2+0PYfwwA 4D3vFu7Mkq8WigdZDyqoq7nA5XsYpZe2tUz4/vbVAdAbLzwKRqi+tmav8R8lZ3KgfLwZ zRru0S9tZr5D1X3xNJ5nYcO4WocKKmm5tgBgDQLBCm/phGomlJFFhrQjOQ+v903oM1Ju 9qvou6U5dvXRp9Juap6kwia3beVZJN7eXOcNy62RBVkW/JDkxZuCMNngNPBXQ5CuF/C1 fH5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750618430; x=1751223230; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0fdegyQo2Juo7DOU4UTlvP7RLEIZi99ZTV80cXteljI=; b=GBS9D0rODTs+VHqPH2xmaoIZhfTlGvd/c0KVUpx2cMb1SscQBVlKl3T2BFivr2Fx/7 nC8xmQzm4SSQaZIbaLqEPpzr8ESb/rOem0LX71mZXVJLxGZppy4BjOMaxmCEddLbiHhM ghFKYyOYKC0mV1zSDQjJzyq//xbubzvZ1GheRafjkiilZ1z/pW+iAe77WKo0qu+HHw2Q 4dMGkQ/ios07Go/3YBnXKjNYLZMjKG+R+tvWwPDk65eFvXNxnPaxy01ddjlVIvlEHXW/ V1AVP2efRo/0WgMW7LXifywVqX4C+chgTwp+WjsZUc0CznsOL7Ome66kZLF/1aGhmD/E BFUQ== X-Gm-Message-State: AOJu0YyK7QjI4QtQTWO/2bKdXGPU6K30+GftFeIA+AGBXiNL8040lnVW GVuoVrPNHP7z0sIHsJ0nZGa1vWCVAelYxTQ2lOwUER1X3FnTXzZrH5cnakAil0Ilv4bDnzjSpLQ pOc4zmJyX0EsBC3KflSRVanmXhB+VdR/Le4UL X-Gm-Gg: ASbGnctu4g/8vKluva2RUnLfxqfDRKnzmT5yyymnb9D8MgRFVaYH/5FOpUAq1i/mk+p K1iWYTshE2tpFvAbMEz66j84MADTmapA4ku4wO72moBddfYg84CcOM64IG5dIc3PGPCB6PEn5Ad +rnbTXi2yspTh2AZTQx2swoHBPZE3XJ+ARAh2vCTHjO6s= X-Google-Smtp-Source: AGHT+IEfsxkNYebUgb97KgiaaqiGDl5RnRk8MAwa2s/EKA3OQEceFppnNNzOX/cCfobrZsJt3P4YUxHPTdUqCWJAby4= X-Received: by 2002:a17:90b:1d8d:b0:313:f6fa:5bb3 with SMTP id 98e67ed59e1d1-3159d8cffa7mr12542167a91.26.1750618430553; Sun, 22 Jun 2025 11:53:50 -0700 (PDT) MIME-Version: 1.0 From: Dani Moncayo <dmoncayo@HIDDEN> Date: Sun, 22 Jun 2025 20:53:39 +0200 X-Gm-Features: Ac12FXzbeWoYB9sCOnSeG_UydpYEgnXDOyptQY6mCrS38B9t7aO7E64F4FhXTCs Message-ID: <CAH8Pv0i0zF3WyVLaurkNU108yKv0T58SCB=8WdtWWr3_x8J92A@HIDDEN> Subject: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN> Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=dmoncayo@HIDDEN; helo=mail-pg1-x530.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Consider a C source file like the one created with the shell command below [1]. If I visit that file with Emacs and move the cursor just before the "[", I see that both square brackets are highlighted -- perfect. But then, if I type C-M-n from that point, I'd expect the cursor to jump from the "[" to the "]". Well, it does not. Instead, the cursor jumps just after "f1()". This behavior seems inconsistent to me, and also doesn't allow me to move between those "comment-marks" I like to put sometimes in my code to define a kind of logical grouping. And BTW, if I change the major mode to text-mode, I get the behavior I want -- I can even type C-M-u from anywhere inside that "logical group" and jump to its beginning "[". -- Dani Moncayo Footnote [1]: $ cat <<eof > file1.c //[ begin of group foo int void f1() { //... } int void f2() { //... } //] end of group foo eof -- In GNU Emacs 31.0.50 (build 31, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2025-06-22 built on C11-Q8YAKWONJX0 Repository revision: e5ad9ae10090ab34a4d71139e6f928c11f0c029c Repository branch: master Windowing system distributor 'Microsoft Corporation', version 11.0.12010000 System Description: Ubuntu 24.04.2 LTS Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM XRANDR GTK3 ZLIB Important settings: value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: C/*l Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t
Dani Moncayo <dmoncayo@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#78865
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.