From: Arash Esbati <arash@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: 51032@debbugs.gnu.org, mardani29@yahoo.es
Subject: bug#51032: 29.0.50; Choices for blink-matching-paren
Date: Thu, 07 Oct 2021 11:02:23 +0200 [thread overview]
Message-ID: <86czohtdgg.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkmmzEPwsBR0qON7apqEgmdQMPyGL3PdWuZ0Lyy4fjv_duQ@mail.gmail.com> (Stefan Kangas's message of "Wed, 6 Oct 2021 16:53:40 -0400")
Stefan Kangas <stefan@marxist.se> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>> I'm not talking about the doc string here, I'm talking about the
>> values in the value menu that the defcustom will show the user when
>> the user customizes this variable.
I think the values in the value menu are Ok, the only misleading part of
docstring was
With any other non-nil value, the off-screen position of the opening
paren will be shown in the echo area.
which is now (almost) fixed.
> It's short enough, so I pasted its current definition below:
>
> (defcustom blink-matching-paren t
> "Non-nil means show matching open-paren when close-paren is inserted.
> 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.
> `jump-offscreen' Briefly move cursor to its position,
> even if the opening paren is not on screen."
> :type '(choice
> (const :tag "Disable" nil)
> (const :tag "Highlight" t)
> (const :tag "Move cursor" jump)
> (const :tag "Move cursor, even if off screen" jump-offscreen))
> :group 'paren-blinking)
Thanks Stefan. May I suggest the following:
(defcustom blink-matching-paren t
"Non-nil means show matching open-paren when close-paren is inserted.
Valid values are:
nil Disable.
t Highlight the opening paren if on screen,
show the position in the echo area if off screen.
`jump' Briefly move cursor to the opening paren if on screen,
show the position in the echo area if off screen.
`jump-offscreen' Briefly move cursor to the opening paren,
even if the position is off screen."
:type '(choice
(const :tag "Disable" nil)
(const :tag "Highlight" t)
(const :tag "Move cursor" jump)
(const :tag "Move cursor, even if off screen" jump-offscreen))
:group 'paren-blinking)
Best, Arash
next prev parent reply other threads:[~2021-10-07 9:02 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
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 [this message]
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
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=86czohtdgg.fsf@gnu.org \
--to=arash@gnu.org \
--cc=51032@debbugs.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 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).