GNU bug report logs - #78865
31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Sun, 22 Jun 2025 18:55:02 UTC

Severity: normal

Tags: notabug, wontfix

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78865 <at> debbugs.gnu.org
Subject: bug#78865: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands
Date: Mon, 23 Jun 2025 14:03:51 +0200
On Mon, Jun 23, 2025 at 1:17 PM Eli Zaretskii <eliz <at> gnu.org> 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.

-- 
Dani Moncayo




This bug report was last modified 5 days ago.

Previous Next


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