Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 32851) by debbugs.gnu.org; 27 Sep 2018 11:15:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 27 07:15:36 2018 Received: from localhost ([127.0.0.1]:55934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1g5UGe-0001M1-9F for submit <at> debbugs.gnu.org; Thu, 27 Sep 2018 07:15:36 -0400 Received: from [85.112.160.81] (port=43101 helo=mail.automata.se) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefan@HIDDEN>) id 1g5UGc-0001Lo-HS for 32851 <at> debbugs.gnu.org; Thu, 27 Sep 2018 07:15:35 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.automata.se (Postfix) with ESMTP id 77E543C0B5 for <32851 <at> debbugs.gnu.org>; Thu, 27 Sep 2018 13:15:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at lux2.netcamp.se Received: from mail.automata.se ([127.0.0.1]) by localhost (lux2.netcamp.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JmYPKOBuVfDz for <32851 <at> debbugs.gnu.org>; Thu, 27 Sep 2018 13:15:21 +0200 (CEST) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mail.automata.se (Postfix) with ESMTPSA id D23A43A124 for <32851 <at> debbugs.gnu.org>; Thu, 27 Sep 2018 13:15:21 +0200 (CEST) Received: by mail-wm1-f50.google.com with SMTP id c14-v6so5488685wmb.4 for <32851 <at> debbugs.gnu.org>; Thu, 27 Sep 2018 04:15:21 -0700 (PDT) X-Gm-Message-State: ABuFfohZZXxKyZANxn6egH7Z0y/1fdNz7Fz7vfwzCK3w7XLoiLvguH4o x+vQ+Ri+yL8Pqx7cxtFm9ZbeUqXPTgNuLLiNyuU= X-Google-Smtp-Source: ACcGV61nkL00hOrRUmD8DNtaEdR2rC6zyOSsVDe41faOLuxpR/FfI0ubAbRovusu9pWPTydi+364caWTIqEa9xtKeaE= X-Received: by 2002:a1c:e12:: with SMTP id 18-v6mr7312666wmo.30.1538046921304; Thu, 27 Sep 2018 04:15:21 -0700 (PDT) MIME-Version: 1.0 References: <CAD__r-8hUDM-z2QMgFuXcoSxcCCiTcMupgKBfSa_SFV7QbgP5Q@HIDDEN> <83tvmb6x0r.fsf@HIDDEN> In-Reply-To: <83tvmb6x0r.fsf@HIDDEN> From: Stefan Guath <stefan@HIDDEN> Date: Thu, 27 Sep 2018 13:15:04 +0200 X-Gmail-Original-Message-ID: <CAD__r-8oJjFiEhZEN=DNjd3Cw0eTS39KbWu0tPPJ9TaX6iL2PQ@HIDDEN> Message-ID: <CAD__r-8oJjFiEhZEN=DNjd3Cw0eTS39KbWu0tPPJ9TaX6iL2PQ@HIDDEN> Subject: Re: bug#32851: 26.1.50; show-paren-mode disables off-screen-paren-match To: eliz@HIDDEN Content-Type: multipart/alternative; boundary="0000000000006472a10576d8742c" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Yes, if I comment out the line "(not show-paren-mode)" in the function blink-matching-open, I observe the same thing. During the short time that the point is temporarily moved to the correct matching paren, the old/previous highlighted parens are still visible. If they could be updated before the jump rather than after, then the problem would be solved. But as you say, that would require more changes to the code. To be honest, the execution paths in this piece of code is not obvious to me, so I'm rather puzzled where to begin... [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HTML_MESSAGE BODY: HTML included in message 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 32851 Cc: 32851 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) --0000000000006472a10576d8742c Content-Type: text/plain; charset="UTF-8" Yes, if I comment out the line "(not show-paren-mode)" in the function blink-matching-open, I observe the same thing. During the short time that the point is temporarily moved to the correct matching paren, the old/previous highlighted parens are still visible. If they could be updated before the jump rather than after, then the problem would be solved. But as you say, that would require more changes to the code. To be honest, the execution paths in this piece of code is not obvious to me, so I'm rather puzzled where to begin... On Thu, Sep 27, 2018 at 12:43 PM Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Stefan Guath <stefan@HIDDEN> > > 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. > --0000000000006472a10576d8742c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Yes, if I comment out th= e line "(not show-paren-mode)" in the function blink-matching-ope= n, I observe the same thing. During the short time that the point is tempor= arily moved to the correct matching paren, the old/previous highlighted par= ens are still visible. If they could be updated before the jump rather than= after, then the problem would be solved. But as you say, that would requir= e more changes to the code. To be honest, the execution paths in this piece= of code is not obvious to me, so I'm rather puzzled where to begin...<= br></div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Thu= , Sep 27, 2018 at 12:43 PM Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN= ">eliz@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> = From: Stefan Guath <<a href=3D"mailto:stefan@HIDDEN" target=3D"_bla= nk">stefan@HIDDEN</a>><br> > Date: Thu, 27 Sep 2018 11:35:06 +0200<br> > <br> > When show-paren-mode is enabled, the only respected setting for blink-= matching-paren is "any other non-nil<br> > value" which echos matched parens only when they are off-screen. = The settings t, 'jump and 'jump-offscreen<br> > are disabled.<br> > <br> > I can understand why the settings t and 'jump are disregarded sinc= e it would just be a redundant functionality<br> > of show-paren-mode. But I don't understand why the setting 'ju= mp-offscreen is disregarded. I think it's a better<br> > option than "echo match off screen paren" since i) a jump (i= .e. a scroll) gives more context than a one-liner in<br> > the echo area, and ii) it's very convenient to get a semantic base= d scroll operation automatically.<br> <br> Did you try to remove the condition that show-paren-mode is active?<br> When I try that, I see an unpleasant effect: when blink-matching-paren<br> jumps off-screen, the wrong opening parenthesis is highlighted<br> (although the jump is to the right place).<br> <br> So allowing jump-offscreen and show-paren-mode to coexist will need<br> more changes than just removing the condition.<br> </blockquote></div> --0000000000006472a10576d8742c--
bug-gnu-emacs@HIDDEN
:bug#32851
; Package emacs
.
Full text available.Received: (at 32851) by debbugs.gnu.org; 27 Sep 2018 10:44:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 27 06:44:11 2018 Received: from localhost ([127.0.0.1]:55920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1g5TmF-0000Re-Ge for submit <at> debbugs.gnu.org; Thu, 27 Sep 2018 06:44:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1g5TmD-0000RR-Vd for 32851 <at> debbugs.gnu.org; Thu, 27 Sep 2018 06:44:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1g5Tm3-0005fw-Nm for 32851 <at> debbugs.gnu.org; Thu, 27 Sep 2018 06:44:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1g5Tm3-0005fq-JF; Thu, 27 Sep 2018 06:43:59 -0400 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 <eliz@HIDDEN>) id 1g5Tm1-0002kC-Of; Thu, 27 Sep 2018 06:43:59 -0400 Date: Thu, 27 Sep 2018 13:43:32 +0300 Message-Id: <83tvmb6x0r.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Stefan Guath <stefan@HIDDEN> In-reply-to: <CAD__r-8hUDM-z2QMgFuXcoSxcCCiTcMupgKBfSa_SFV7QbgP5Q@HIDDEN> (message from Stefan Guath on Thu, 27 Sep 2018 11:35:06 +0200) Subject: Re: bug#32851: 26.1.50; show-paren-mode disables off-screen-paren-match References: <CAD__r-8hUDM-z2QMgFuXcoSxcCCiTcMupgKBfSa_SFV7QbgP5Q@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32851 Cc: 32851 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) > From: Stefan Guath <stefan@HIDDEN> > 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.
bug-gnu-emacs@HIDDEN
:bug#32851
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 27 Sep 2018 09:42:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 27 05:42:02 2018 Received: from localhost ([127.0.0.1]:55899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1g5So6-0007K9-Ga for submit <at> debbugs.gnu.org; Thu, 27 Sep 2018 05:42:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefan@HIDDEN>) id 1g5So4-0007Ji-TH for submit <at> debbugs.gnu.org; Thu, 27 Sep 2018 05:42:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <stefan@HIDDEN>) id 1g5Snz-0005gE-27 for submit <at> debbugs.gnu.org; Thu, 27 Sep 2018 05:41:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44739) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <stefan@HIDDEN>) id 1g5Sny-0005gA-UM for submit <at> debbugs.gnu.org; Thu, 27 Sep 2018 05:41:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <stefan@HIDDEN>) id 1g5Sny-0003tY-7e for bug-gnu-emacs@HIDDEN; Thu, 27 Sep 2018 05:41:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <stefan@HIDDEN>) id 1g5Snv-0005fe-21 for bug-gnu-emacs@HIDDEN; Thu, 27 Sep 2018 05:41:54 -0400 Received: from [85.112.160.81] (port=47545 helo=mail.automata.se) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <stefan@HIDDEN>) id 1g5Snu-0005f8-Qh for bug-gnu-emacs@HIDDEN; Thu, 27 Sep 2018 05:41:50 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.automata.se (Postfix) with ESMTP id 153F33A124 for <bug-gnu-emacs@HIDDEN>; Thu, 27 Sep 2018 11:35:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at lux2.netcamp.se Received: from mail.automata.se ([127.0.0.1]) by localhost (lux2.netcamp.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8YGPbw3kM4Xk for <bug-gnu-emacs@HIDDEN>; Thu, 27 Sep 2018 11:35:24 +0200 (CEST) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mail.automata.se (Postfix) with ESMTPSA id E6C3E3A123 for <bug-gnu-emacs@HIDDEN>; Thu, 27 Sep 2018 11:35:23 +0200 (CEST) Received: by mail-wr1-f50.google.com with SMTP id b11-v6so1791576wru.9 for <bug-gnu-emacs@HIDDEN>; Thu, 27 Sep 2018 02:35:23 -0700 (PDT) X-Gm-Message-State: ABuFfoiiqP1vhx8M28W/g6ICPnE/p1MV6XyA3XBw6Vmk4oHHNtNjVQeR mjQ64UJQtH3dvuNK1six63969D/61/3QrwbQwG4= X-Google-Smtp-Source: ACcGV600t4wSogya2TsLL0U+dVaDa0rIqfjxk6idejZQ7TXvfNAGP8BAsPpX5uXo8OqL2Hobim0jcqS/Q++TTvzgytM= X-Received: by 2002:adf:e882:: with SMTP id d2-v6mr7839504wrm.43.1538040923401; Thu, 27 Sep 2018 02:35:23 -0700 (PDT) MIME-Version: 1.0 From: Stefan Guath <stefan@HIDDEN> Date: Thu, 27 Sep 2018 11:35:06 +0200 X-Gmail-Original-Message-ID: <CAD__r-8hUDM-z2QMgFuXcoSxcCCiTcMupgKBfSa_SFV7QbgP5Q@HIDDEN> Message-ID: <CAD__r-8hUDM-z2QMgFuXcoSxcCCiTcMupgKBfSa_SFV7QbgP5Q@HIDDEN> Subject: 26.1.50; show-paren-mode disables off-screen-paren-match To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary="000000000000e3b4370576d70efc" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) --000000000000e3b4370576d70efc Content-Type: text/plain; charset="UTF-8" SUMMARY When show-paren-mode is enabled, the setting (setq blink-matching-paren 'jump-offscreen) is disabled, which is annoying. DESCRIPTION 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. --000000000000e3b4370576d70efc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div>SUMMARY<br></div><d= iv>When show-paren-mode is enabled, the setting (setq blink-matching-paren = 'jump-offscreen) is disabled, which is annoying.<br></div><div><br></di= v><div>DESCRIPTION</div><div>When show-paren-mode is enabled, the only resp= ected setting for blink-matching-paren is "any other non-nil value&quo= t; which echos matched parens only when they are off-screen. The settings t= , 'jump and 'jump-offscreen are disabled.<br></div><div><br></div><= div>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&#= 39;t understand why the setting 'jump-offscreen is disregarded. I think= it's a better option than "echo match off screen paren" sinc= e 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 oper= ation automatically.<br></div><br></div></div></div> --000000000000e3b4370576d70efc--
Stefan Guath <stefan@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#32851
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.