bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54634: 29.0.50; Off-by-one highlighting


From: Eli Zaretskii
Subject: bug#54634: 29.0.50; Off-by-one highlighting
Date: Wed, 30 Mar 2022 14:36:35 +0300

> Date: Wed, 30 Mar 2022 08:36:38 +0200
> From:  Rudolf Adamkovič via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 1. emacs -Q
> 2. type M-: (setq show-paren-style ‘expression) RET
> 3. type M-: (set show-paren-priority 0) RET
> 4. type (foo)
> 5. type C-a to move to the beginning of the line
> 6. type C-M-@ to highlight the expression "(foo)"
> 
> EXPECTED:
> 
> The entire expression "(foo)" has active region highlight drawn over it
> (matching what gets copied on M-w).
> 
> ACTUAL:
> 
> "(" has the parenthesis highlight and "foo)" has the active region
> highlight (NOT matching what gets copied on M-w).

I don't think this is a bug, it's actually a (subtle) feature.  Your
expectations are inaccurate, and the actual behavior is not only
intended, but IMNSHO also makes more sense than what you expected,
because under your expected behavior would not show the matching
parentheses.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]