From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: jit-lock-antiblink-grace Date: Sat, 30 Nov 2019 21:22:36 +0200 Message-ID: <83y2vxmao3.fsf@gnu.org> References: <83k198ly94.fsf@gnu.org> <83sgnuh5cq.fsf@gnu.org> <87k17qozii.fsf@gmail.com> <83wobps0zy.fsf@gnu.org> <20191125184650.GA4496@ACM> <20191125192628.GC4496@ACM> <20191125201115.GD4496@ACM> <83d0deseo7.fsf@gnu.org> <87r21ptc02.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="225613"; mail-complaints-to="usenet@blaine.gmane.org" Cc: acm@muc.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 30 20:23:28 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ib8L1-000wZ5-Gw for ged-emacs-devel@m.gmane.org; Sat, 30 Nov 2019 20:23:27 +0100 Original-Received: from localhost ([::1]:37484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ib8L0-0000at-Dy for ged-emacs-devel@m.gmane.org; Sat, 30 Nov 2019 14:23:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51081) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ib8KW-0000Xn-93 for emacs-devel@gnu.org; Sat, 30 Nov 2019 14:22:57 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ib8KV-0005Xo-8Q; Sat, 30 Nov 2019 14:22:55 -0500 Original-Received: from [176.228.60.248] (port=3540 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ib8KU-0001pv-DW; Sat, 30 Nov 2019 14:22:54 -0500 In-reply-to: <87r21ptc02.fsf@gmail.com> (message from =?utf-8?B?Sm/Do28g?= =?utf-8?B?VMOhdm9yYQ==?= on Sat, 30 Nov 2019 19:11:57 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242920 Archived-At: > From: João Távora > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org, acm@muc.de > Date: Sat, 30 Nov 2019 19:11:57 +0000 > > a. You want to make a string region in a non-string buffer of 10 lines > between line 3 and 7. > b. You go to line 7 and type a quote > c. You go to line 3 and type a quote > > Previously, after step b) you would get lines 8, 9, and 10 (and 7 > partially) string-fontified "immediately". > > Now, after step b), and _if stay on the same line_, it takes 2 seconds > for lines 7-10 to be string-fontified. If you leave line 7 in your > journey to line 3 before those 2 seconds are up, 7-10 are immediately > string-fontified (and the old and new version become identical in > behaviour). So how is this a problem, if at worst we get the old behavior? > +** New customizable variable 'jit-lock-antiblink-grace'. > +When typing strings, this helps avoid "blinking", an oscillation > +between string and non-string fontification. The variable holds a > +number of seconds (default is 2) before a potentially unwanted > +fontification starts. Set to nil to deactivate. ^^^^^^^^^^^^^^^^^^^^^^^^ "Deactivate" is not self-explanatory here, because the text didn't mention any "activation". I suggest this instead: Set to nil to get back the old behavior. Thanks.