unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Abdo Haji-Ali <abdo.haji.ali@gmail.com>
Cc: 40814@debbugs.gnu.org
Subject: bug#40814: 26.3; show-paren-mode hightlights parentheses at eol
Date: Fri, 24 Apr 2020 13:37:06 +0300	[thread overview]
Message-ID: <838silb25p.fsf@gnu.org> (raw)
In-Reply-To: <875zdprxwx.fsf@gmail.com> (message from Abdo Haji-Ali on Fri, 24 Apr 2020 11:16:52 +0100)

> 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	other threads:[~2020-04-24 10:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24 10:16 bug#40814: 26.3; show-paren-mode hightlights parentheses at eol Abdo Haji-Ali
2020-04-24 10:37 ` Eli Zaretskii [this message]
2020-04-24 10:55   ` Al Haji-Ali
2021-06-13 12:29     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838silb25p.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=40814@debbugs.gnu.org \
    --cc=abdo.haji.ali@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).