From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: jit-lock-antiblink-grace Date: Sun, 13 Oct 2019 20:57:58 +0100 Message-ID: References: <20191013120256.GB10125@ACM> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ade1e50594d02b8e" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="124091"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Lars Ingebrigtsen , =?UTF-8?Q?Cl=C3=A9ment_Pit=2DClaudel?= , Stefan Monnier , emacs-devel To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 13 22:04:15 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 1iJk68-000W5n-JL for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 22:04:12 +0200 Original-Received: from localhost ([::1]:42016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJk67-0000gO-4S for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 16:04:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37219) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJk0L-0005Rw-Ao for emacs-devel@gnu.org; Sun, 13 Oct 2019 15:58:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJk0K-0003Ds-24 for emacs-devel@gnu.org; Sun, 13 Oct 2019 15:58:13 -0400 Original-Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]:44503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJk0J-0003Bz-TN for emacs-devel@gnu.org; Sun, 13 Oct 2019 15:58:12 -0400 Original-Received: by mail-io1-xd29.google.com with SMTP id w12so33143559iol.11 for ; Sun, 13 Oct 2019 12:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oELiyPf5Clrn3Vvcy7x0aGKeQlp3oK9XXwi+qjMIbwc=; b=TCr2LVw5tpoYTrv2hGCUZYqclFISRgBmFdO9IPCBggHi9OWvfzNkLktpUvvKs/HHfd sExVSjAHBr34LWJ0ksguUeCQah5i3aHzDuklo5taryrrfOMMvDv8L+0Mqtq5maQG9AQq AqVZ6unShRy28WT44vEwwf5Y2nSgwXqsEE3YjSPuuYISZeiV774j45yTd3T2cknXwrKI pzSgVRHbCbC6LTag29SZEgg3c13MfjU+m2KMpa+5RZuuxLNBwKKkhq5DY4jYWmwTSvxT aMCE7kWHbt+wDBfczpRCzFlQvLEr4H4vOj4dcoG7/YR0jhKcfPsxtUHG0x2aXZzXyaNW H6Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oELiyPf5Clrn3Vvcy7x0aGKeQlp3oK9XXwi+qjMIbwc=; b=tXaQagiqcIT7FBOe/lMg8hHi76KmPBRCwo8ZxjivW/R+4Gtvw1kQdm0UHM+uMy4rrk DnEWXpOicI9P80CdElOC8YqmzbVvR0eqanZSAmXOCi8bchBuBB7/UTfGhsykWptCm2yb rDUv8U2Tzf+yJ59q0KdivyyG4rWlt7pUY1L34+Xkn1kbYAxlBiUDDxw/4kiCv5OfUUlK Id10yn4aEYnvcRPSz4s0lp/9/6CP+R6bTuf+E5z0lhbqZJth0kr1XX2VqyDW0b5Poa/5 I+9JUdtbvewVurHNiQFSvjs6DPRZI1vsysWp9+C+Dqv6qALFSAphxuu65FuSi4Le/pvX 5BzQ== X-Gm-Message-State: APjAAAXfkTQa0L7Ln6XnnMt5Zra9rZVkzIxnga+/hmzkGVchAKE+LVA0 gK1auEPrpKTPpu2akDNKXEb2CD/gW6cDA+P3jR4= X-Google-Smtp-Source: APXvYqzxgz8IkvvdJWe0qbgGvn/HnjSPFeWnjz66Apza2Essge+4P+IZyijvhy7FMtOkGYBdt1wq7E0OFM7AP+WNxK4= X-Received: by 2002:a5d:9e02:: with SMTP id h2mr16391677ioh.137.1570996690476; Sun, 13 Oct 2019 12:58:10 -0700 (PDT) In-Reply-To: <20191013120256.GB10125@ACM> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d29 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:240980 Archived-At: --000000000000ade1e50594d02b8e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Oct 13, 2019 at 1:02 PM Alan Mackenzie wrote: > Before that, I would suggest you turn it into two minor modes, one > working on the current buffer, the other global, just like > font-lock-mode and global-font-lock-mode. Thanks for the suggestion. Currently, my intention is that a variable, a generalized boolean controls this feature. This shouldn't conflict a lot with your proposal of proper global and minor modes for separate (de)activation, but those would come later. > > If you want to try it before that happens see the > > scratch/jit-lock-antiblink-cleaned-up branch. > > I think the mode should be easier to turn on and off, and should not > need font-lock-mode to be reinitialised. Don't worry, that's the way it works right now (no jit-lock-mode reinitialisation needed): just set (or customize) jit-lock-antiblink-grace to a positive number to activate, and to nil to deactivate. It should take effect immediately. -- Jo=C3=A3o T=C3=A1vora --000000000000ade1e50594d02b8e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Oct 13, 2019 at 1:02 PM Alan Mackenzie <acm@muc.de> wrote:

> Before that, I= would suggest you turn it into two minor modes, one
> working on the= current buffer, the other global, just like
> font-lock-mode an= d global-font-lock-mode.

Thanks for the suggestion= .=C2=A0 Currently, my intention is that a variable,
a genera= lized boolean controls this feature.=C2=A0 This shouldn't conflict
=
a lot with your proposal of proper global and minor modes for
separate (de)activation, but those would come later.
=
> > If you want to try it before that happens see the
> >= ; scratch/jit-lock-antiblink-cleaned-up branch.
>
> I think the= mode should be easier to turn on and off, and should not
> need= font-lock-mode to be reinitialised.

Don't wor= ry, that's the way it works right now (no jit-lock-mode
= reinitialisation needed): just set (or customize) jit-lock-antiblink-grace =
to a positive number to activate, and to nil to deactivate. = It should take
effect immediately.

--
= Jo=C3=A3o T=C3=A1vora
--000000000000ade1e50594d02b8e--