all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: arash@gnu.org, 51032@debbugs.gnu.org, mardani29@yahoo.es
Subject: bug#51032: 29.0.50; Choices for blink-matching-paren
Date: Wed, 06 Oct 2021 15:06:31 +0300	[thread overview]
Message-ID: <83mtnm2w8o.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkmmWfez6TSi=fwR-6b=uYzq_4gFSwSzHduLV4gv+efR0Vw@mail.gmail.com> (message from Stefan Kangas on Tue, 5 Oct 2021 17:23:22 -0400)

> From: Stefan Kangas <stefan@marxist.se>
> Date: Tue, 5 Oct 2021 17:23:22 -0400
> Cc: Arash Esbati <arash@gnu.org>, 51032@debbugs.gnu.org
> 
> > I wonder if the documentation is correct.  The off-screen position of an
> > open paren is shown in the echo area when the variable is non-nil and
> > not 'jump-offscreen (and of course the open paren is off-screen).
> >
> > I don't see how 'show is treated differently than t.
> 
> Yup, there is no particular behavior associated with `show'.
> 
> Valid choices here include nil, t, `jump', and `jump-offscreen', and
> while the last one will move the cursor off screen, t and jump will only
> show the position in the echo area.

And 'show' (or 'foo', or any other non-nil value) does NOT show the
matching paren in the echo area when that position is off-screen?  It
does here, FWIW.

>  (defcustom blink-matching-paren t
>    "Non-nil means show matching open-paren when close-paren is inserted.
> -If t, highlight the paren.  If `jump', briefly move cursor to its
> -position.  If `jump-offscreen', move cursor there even if the
> -position is off screen.  With any other non-nil value, the
> -off-screen position of the opening paren will be shown in the
> -echo area."
> +In addition, if the opening paren is not visible on screen, show
> +its position in the echo area.
> +
> +The valid values are:
> +
> +  nil               Disable.
> +  non-nil           Highlight the opening paren.
> +  `jump'            Briefly move cursor to its position.
                                              ^^^
What does "its" there allude to?

> +  `jump-offscreen'  Briefly move cursor to its position,

Likewise.

> +                    even if the opening paren is not on screen."

This doesn't update the choices, which is what the original bug report
was about.  And I think the new doc string is incomplete, because you
removed the information about showing matches that are far away in the
echo-area.





  reply	other threads:[~2021-10-06 12:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05 12:18 bug#51032: 29.0.50; Choices for blink-matching-paren Arash Esbati
2021-10-05 14:25 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-05 21:23   ` Stefan Kangas
2021-10-06 12:06     ` Eli Zaretskii [this message]
2021-10-06 18:10       ` Stefan Kangas
2021-10-06 18:23         ` Eli Zaretskii
2021-10-06 18:57           ` Stefan Kangas
2021-10-06 19:05             ` Eli Zaretskii
2021-10-06 20:53               ` Stefan Kangas
2021-10-07  9:02                 ` Arash Esbati
2021-10-07  9:08                   ` martin rudalics
2021-10-07  9:16                     ` Arash Esbati
2021-10-07  9:34                       ` martin rudalics
2021-10-07 10:17                         ` Arash Esbati
2021-10-07 13:49                           ` Eli Zaretskii
2021-10-07  9:39                   ` Eli Zaretskii
2021-10-07 10:20                     ` Arash Esbati
2021-10-07  9:36                 ` Eli Zaretskii
2021-10-07 13:05                   ` Stefan Kangas
2021-10-07 13:20                     ` Eli Zaretskii
2021-10-05 17:10 ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=83mtnm2w8o.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=51032@debbugs.gnu.org \
    --cc=arash@gnu.org \
    --cc=mardani29@yahoo.es \
    --cc=stefan@marxist.se \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.