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

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

bug#40814: 26.3; show-paren-mode hightlights parentheses at eol


From: Eli Zaretskii
Subject: bug#40814: 26.3; show-paren-mode hightlights parentheses at eol
Date: Fri, 24 Apr 2020 13:37:06 +0300

> From: Abdo Haji-Ali <abdo.haji.ali@gmail.com>
> Date: Fri, 24 Apr 2020 11:16:52 +0100
> 
> In the following text:
> 
> ```
>    Some text (other text)
> ```
> 
> If `show-paren-mode` is on, `show-paren-when-point-in-periphery` is true and 
> the point is anywhere before 'S', the parenthesis at the *end* of the line is 
> highlighted. Is this intentional?

Looks like it is.  From the option's doc string:

  If non-nil, show parens when point is in the line’s periphery.
  The periphery is at the beginning or end of a line or in any
  whitespace there.

What you describe seems to fit the "any whitespace there" part.

maybe this text is confusing in some way?  What did you expect to see
as the effect of this option?

Thanks.





reply via email to

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