GNU bug report logs - #55202
27.1 Feature request: Show parens when point is anywhere inside of them

Previous Next

Package: emacs;

Reported by: José Júnior <jjnilton <at> gmail.com>

Date: Sun, 1 May 2022 02:34:01 UTC

Severity: wishlist

Found in version 27.1

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: José Júnior <jjnilton <at> gmail.com>
Cc: 55202 <at> debbugs.gnu.org
Subject: Re: bug#55202: 27.1 Feature request: Show parens when point is
 anywhere inside of them
Date: Mon, 02 May 2022 10:04:20 +0200
José Júnior <jjnilton <at> gmail.com> writes:

> I didn't know how to answer, so I looked how other editors do. I found two behaviors: 
>
> 1. Unless the point is right by the parens, it should highlight the curly braces. So in
> this case it would highlight the curly braces.
>
> With the point in these places would highlight the parens, otherwise would highlight
> the curly braces:
>
> {|(|foobar}|)| 
>
> 2. Ignore and don't highlight anything.

I guess 2) seems more consistent, but I don't have much of an opinion.
Choosing one or the other of the parentheses seems a bit arbitrary. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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