From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Remove obsolete fast-lock and lazy-lock libraries Date: Mon, 10 Aug 2020 17:02:48 +0300 Message-ID: <83y2mm4n07.fsf@gnu.org> References: <83364v5j28.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6499"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, jnorden@tntech.edu, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 10 16:03:57 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k58P6-0001Yo-RY for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Aug 2020 16:03:56 +0200 Original-Received: from localhost ([::1]:33696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k58P5-0006Si-RV for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Aug 2020 10:03:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k58OF-0005d1-Oc for emacs-devel@gnu.org; Mon, 10 Aug 2020 10:03:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50648) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k58OE-0004iu-Lk; Mon, 10 Aug 2020 10:03:02 -0400 Original-Received: from [176.228.60.248] (port=2245 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k58OE-000721-4M; Mon, 10 Aug 2020 10:03:02 -0400 In-Reply-To: (message from Stefan Monnier on Mon, 10 Aug 2020 00:02:01 -0400) 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253587 Archived-At: > From: Stefan Monnier > Date: Mon, 10 Aug 2020 00:02:01 -0400 > Cc: stefankangas@gmail.com, jnorden@tntech.edu, emacs-devel@gnu.org > > >> IMNSHO, that variable should not be a defcustom any more and we > >> shouldn't encourage users to touch it. IOW we should mark it obsolete. > > Could you please elaborate on your rationale for this? > > AFAIK the only use for it is debugging. > In non-debugging contexts, font-lock-with-jit-lock should "always" give > better behavior than font-lock-without-jit-lock. OK, but why does that mean we should demote it from being a defcustom? People who need to debug font-lock are also users, and being unable to change the value through "M-x set-variable" is an annoyance, at least for me. Do you see any harm in keeping it as a defcustom?