[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40814: 26.3; show-paren-mode hightlights parentheses at eol
From: |
Lars Ingebrigtsen |
Subject: |
bug#40814: 26.3; show-paren-mode hightlights parentheses at eol |
Date: |
Sun, 13 Jun 2021 14:29:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Al Haji-Ali <abdo.haji.ali@gmail.com> writes:
> would highlight `(paren)` only if the point is at the end of the line,
> not the beginning. This would also be consistent with the following
> case
>
> (paren1) some other text (paren2)
>
> where, correctly, (paren1) is highlighted if the point is in the
> beginning of the line and (paren2) is highlighted if the point is in
> the end of the line.
Looking at the code and the documentation, as far as I can tell, this is
working as designed (even if it's slightly eccentric). With this
setting, when point is in the "periphery" of a line, it'll highlight the
closest parens -- if those parens are also in the "periphery". Which is
what the manual says:
@vindex show-paren-when-point-in-periphery
@code{show-paren-when-point-in-periphery}, when non-@code{nil}, causes
highlighting also when point is in whitespace at the beginning or end
of a line, and there is a paren at, respectively, the first or last,
or the last, non-whitespace position on the line.
So I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#40814: 26.3; show-paren-mode hightlights parentheses at eol,
Lars Ingebrigtsen <=