From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32851: 26.1.50; show-paren-mode disables off-screen-paren-match Date: Thu, 27 Sep 2018 13:43:32 +0300 Message-ID: <83tvmb6x0r.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1538044991 29400 195.159.176.226 (27 Sep 2018 10:43:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Sep 2018 10:43:11 +0000 (UTC) Cc: 32851@debbugs.gnu.org To: Stefan Guath Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 27 12:43:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5TlC-0007Wz-Vz for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Sep 2018 12:43:07 +0200 Original-Received: from localhost ([::1]:34906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5TnJ-0003ja-Dd for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Sep 2018 06:45:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5TnA-0003gY-KG for bug-gnu-emacs@gnu.org; Thu, 27 Sep 2018 06:45:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5Tn4-0006HC-1q for bug-gnu-emacs@gnu.org; Thu, 27 Sep 2018 06:45:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51662) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5Tn3-0006Gy-TW for bug-gnu-emacs@gnu.org; Thu, 27 Sep 2018 06:45:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g5Tn3-0000T9-Mh for bug-gnu-emacs@gnu.org; Thu, 27 Sep 2018 06:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Sep 2018 10:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32851-submit@debbugs.gnu.org id=B32851.15380450511718 (code B ref 32851); Thu, 27 Sep 2018 10:45:01 +0000 Original-Received: (at 32851) by debbugs.gnu.org; 27 Sep 2018 10:44:11 +0000 Original-Received: from localhost ([127.0.0.1]:55920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5TmF-0000Re-Ge for submit@debbugs.gnu.org; Thu, 27 Sep 2018 06:44:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5TmD-0000RR-Vd for 32851@debbugs.gnu.org; Thu, 27 Sep 2018 06:44:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5Tm3-0005fw-Nm for 32851@debbugs.gnu.org; Thu, 27 Sep 2018 06:44:04 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5Tm3-0005fq-JF; Thu, 27 Sep 2018 06:43:59 -0400 Original-Received: from [176.228.60.248] (port=1666 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g5Tm1-0002kC-Of; Thu, 27 Sep 2018 06:43:59 -0400 In-reply-to: (message from Stefan Guath on Thu, 27 Sep 2018 11:35:06 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150704 Archived-At: > From: Stefan Guath > Date: Thu, 27 Sep 2018 11:35:06 +0200 > > When show-paren-mode is enabled, the only respected setting for blink-matching-paren is "any other non-nil > value" which echos matched parens only when they are off-screen. The settings t, 'jump and 'jump-offscreen > are disabled. > > I can understand why the settings t and 'jump are disregarded since it would just be a redundant functionality > of show-paren-mode. But I don't understand why the setting 'jump-offscreen is disregarded. I think it's a better > option than "echo match off screen paren" since i) a jump (i.e. a scroll) gives more context than a one-liner in > the echo area, and ii) it's very convenient to get a semantic based scroll operation automatically. Did you try to remove the condition that show-paren-mode is active? When I try that, I see an unpleasant effect: when blink-matching-paren jumps off-screen, the wrong opening parenthesis is highlighted (although the jump is to the right place). So allowing jump-offscreen and show-paren-mode to coexist will need more changes than just removing the condition.