From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51032: 29.0.50; Choices for blink-matching-paren Date: Wed, 06 Oct 2021 15:06:31 +0300 Message-ID: <83mtnm2w8o.fsf@gnu.org> References: <86o8831x7o.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9896"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arash@gnu.org, 51032@debbugs.gnu.org, mardani29@yahoo.es To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 06 14:09:31 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mY5jn-0002Ps-61 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Oct 2021 14:09:31 +0200 Original-Received: from localhost ([::1]:55958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY5jm-0004Iz-0i for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Oct 2021 08:09:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY5hP-0002rQ-Fu for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2021 08:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mY5hO-0006Ia-Tz for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2021 08:07:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mY5hO-0005kp-J0 for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2021 08:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Oct 2021 12:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51032 X-GNU-PR-Package: emacs Original-Received: via spool by 51032-submit@debbugs.gnu.org id=B51032.163352200822097 (code B ref 51032); Wed, 06 Oct 2021 12:07:02 +0000 Original-Received: (at 51032) by debbugs.gnu.org; 6 Oct 2021 12:06:48 +0000 Original-Received: from localhost ([127.0.0.1]:42853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY5h9-0005kL-Vg for submit@debbugs.gnu.org; Wed, 06 Oct 2021 08:06:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY5h7-0005k7-85 for 51032@debbugs.gnu.org; Wed, 06 Oct 2021 08:06:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47266) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY5h1-00064h-Mh; Wed, 06 Oct 2021 08:06:39 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3981 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY5gz-000562-K5; Wed, 06 Oct 2021 08:06:38 -0400 In-Reply-To: (message from Stefan Kangas on Tue, 5 Oct 2021 17:23:22 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216547 Archived-At: > From: Stefan Kangas > Date: Tue, 5 Oct 2021 17:23:22 -0400 > Cc: Arash Esbati , 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.