[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54551: show-paren-mode inconsistency
From: |
goncholden |
Subject: |
bug#54551: show-paren-mode inconsistency |
Date: |
Fri, 25 Mar 2022 04:29:01 +0000 |
------- Original Message -------
On Friday, March 25th, 2022 at 4:20 PM, goncholden <goncholden@protonmail.com>
wrote:
> ------- Original Message -------
>
> On Friday, March 25th, 2022 at 12:12 PM, Phil Sainty psainty@orcon.net.nz
> wrote:
>
> > On 2022-03-25 11:48, goncholden wrote:
>
> > > Consider the following command
> > > (setq initial-frame-alist '((width . 72) (height . 26)) ).
> > > Would be instructive that when one puts the cursor in the space
> > > between (width . 72) and (height . 26), the entire (width . 72)
> > > (height . 26) would be highlighted.
> > That wouldn't make any sense for show-paren-mode.
> > The cursor (point) is either between the ")" and " " characters, or
> > else between the " " and "(" characters. Those are the only two
> > possibilities, and in each case you would expect show-paren-mode to
> > highlight the adjacent expression (to the left or to the right of the
> > cursor, respectively).
> I use the block colouring of the cursor, meaning that your valid description
> in not so intuitive. Would it be possible to include a different
> interpretation
> depending on the type of cursor display one is using?
> > > But (setq show-paren-when-point-inside-paren t) does not do that.
> > It's not documented as doing that, so there's not reason to expect
> > that it might.
> > I think you're looking for this library:
> > https://www.emacswiki.org/emacs/HighlightSexp
> Will try it out and report back about it.
Is HighlightSexp only relevant for use with lisp-mode-hook and
emacs-lisp-mode-hook ?
- bug#54551: show-paren-mode inconsistency, goncholden, 2022/03/24
- bug#54551: show-paren-mode inconsistency, Eli Zaretskii, 2022/03/24
- bug#54551: show-paren-mode inconsistency, goncholden, 2022/03/24
- bug#54551: show-paren-mode inconsistency, Phil Sainty, 2022/03/24
- bug#54551: show-paren-mode inconsistency, goncholden, 2022/03/25
- bug#54551: show-paren-mode inconsistency,
goncholden <=
- bug#54551: show-paren-mode inconsistency, Phil Sainty, 2022/03/25
- bug#54551: show-paren-mode inconsistency, goncholden, 2022/03/25
- bug#54551: show-paren-mode inconsistency, Phil Sainty, 2022/03/25
- bug#54551: show-paren-mode inconsistency, Eli Zaretskii, 2022/03/25
- bug#54551: show-paren-mode inconsistency, goncholden, 2022/03/25
- bug#54551: show-paren-mode inconsistency, Eli Zaretskii, 2022/03/25
- bug#54551: show-paren-mode inconsistency, goncholden, 2022/03/25
- bug#54551: show-paren-mode inconsistency, Eli Zaretskii, 2022/03/25
- bug#54551: show-paren-mode inconsistency, Stephen Berman, 2022/03/25
- bug#54551: show-paren-mode inconsistency, Phil Sainty, 2022/03/25