GNU bug report logs - #54551
show-paren-mode inconsistency

Previous Next

Package: emacs;

Reported by: goncholden <goncholden <at> protonmail.com>

Date: Thu, 24 Mar 2022 20:15:01 UTC

Severity: wishlist

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


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

From: Phil Sainty <psainty <at> orcon.net.nz>
To: goncholden <goncholden <at> protonmail.com>
Cc: 54551 <at> debbugs.gnu.org
Subject: Re: bug#54551: show-paren-mode inconsistency
Date: Fri, 25 Mar 2022 10:34:23 +1300
On 2022-03-25 09:13, goncholden wrote:
> I am using show-paren-mode to highlight watching opening or closing
> parentheses.
> 
> Have seen that putting the cursor on the opening brace highlights the
> closing brace. But putting the cursor does not highlight the opening
> brace. One has to go to the character following the closing brace.

It's consistent, but you're confused because you think that the cursor
indicates a character rather than a position *between* two characters.

If you customize `cursor-⁠type' to the Vertical Bar option you will
have a more literal view of the cursor, and see what `show-⁠paren-⁠mode'
is actually doing.


-⁠Phil





This bug report was last modified 3 years and 151 days ago.

Previous Next


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