From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii <eliz@gnu.org> Newsgroups: gmane.emacs.devel Subject: Re: Criticism of jit-lock--antiblink-post-command Date: Wed, 27 Nov 2019 06:45:46 +0200 Message-ID: <83sgmaq64l.fsf@gnu.org> References: <20191126195236.GA5104@ACM> <jwv5zj61i0j.fsf-monnier+emacs@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="167444"; mail-complaints-to="usenet@blaine.gmane.org" Cc: acm@muc.de, joaotavora@gmail.com, emacs-devel@gnu.org To: Stefan Monnier <monnier@iro.umontreal.ca> Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 27 05:53:30 2019 Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org> 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 <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>) id 1iZpKU-000hTM-B2 for ged-emacs-devel@m.gmane.org; Wed, 27 Nov 2019 05:53:30 +0100 Original-Received: from localhost ([::1]:32956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>) id 1iZpKS-00071M-UF for ged-emacs-devel@m.gmane.org; Tue, 26 Nov 2019 23:53:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37641) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@gnu.org>) id 1iZpKB-0006m2-W2 for emacs-devel@gnu.org; Tue, 26 Nov 2019 23:53:13 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@gnu.org>) id 1iZpCs-0007mB-Rj; Tue, 26 Nov 2019 23:45:38 -0500 Original-Received: from [176.228.60.248] (port=1144 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@gnu.org>) id 1iZpCs-0002OV-5L; Tue, 26 Nov 2019 23:45:38 -0500 In-reply-to: <jwv5zj61i0j.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Tue, 26 Nov 2019 15:51:04 -0500) 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." <emacs-devel.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-devel> List-Post: <mailto:emacs-devel@gnu.org> List-Help: <mailto:emacs-devel-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=subscribe> Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org> Xref: news.gmane.org gmane.emacs.devel:242761 Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/242761> > From: Stefan Monnier <monnier@iro.umontreal.ca> > Cc: João Távora <joaotavora@gmail.com>, Eli > Zaretskii <eliz@gnu.org>, > emacs-devel@gnu.org > Date: Tue, 26 Nov 2019 15:51:04 -0500 > > > These are good reasons for making antiblink easy to disable. > > The intention is that when it's not useful it's harmless. > IOW if there's a good reason to turn it off, it's probably a bug. I don't think I agree. A post-command-hook that is not useful just takes CPU cycles, and likewise a timer which does nothing when its function is invoked. And in any case, a feature that changes behavior should have a knob to disable it.