From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Remove obsolete fast-lock and lazy-lock libraries Date: Sun, 9 Aug 2020 16:40:58 +0000 Message-ID: <20200809164058.GC26635@ACM> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12217"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, Jeff Norden , emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 09 18:41:36 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 1k4oO8-00035j-IJ for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Aug 2020 18:41:36 +0200 Original-Received: from localhost ([::1]:58230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4oO7-00010T-JE for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Aug 2020 12:41:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4oNb-0000ai-Sz for emacs-devel@gnu.org; Sun, 09 Aug 2020 12:41:03 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:38595 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1k4oNZ-0000Sz-O4 for emacs-devel@gnu.org; Sun, 09 Aug 2020 12:41:03 -0400 Original-Received: (qmail 4908 invoked by uid 3782); 9 Aug 2020 16:40:59 -0000 Original-Received: from acm.muc.de (p2e5d5e8f.dip0.t-ipconnect.de [46.93.94.143]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Sun, 09 Aug 2020 18:40:58 +0200 Original-Received: (qmail 27298 invoked by uid 1000); 9 Aug 2020 16:40:58 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/09 11:03:43 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:253552 Archived-At: Hello, Stefan. On Sun, Aug 09, 2020 at 09:28:47 -0700, Stefan Kangas wrote: > Jeff Norden writes: > > If someone has an ancient .emacs that contains > > (setq font-lock-support-mode 'fast-lock-mode) > > would the best thing be to just use jit-lock-mode instead? If I'm reading > > the patch correctly, it would make setting the support-mode to fast-lock > > equivalent to setting it to nil. > Sure, that makes sense. I could change that before pushing. This doesn't make sense, I think. font-lock-support-mode is a function, and if a user has this set to a non-existent function, the correct response is surely to tell her with an error message, rather than executing a different function. The only reason anybody nowadays would set f-l-s-m to 'fast-lock-mode would be for debugging. Let's not make that debugging any more difficult than it already is. > Best regards, > Stefan Kangas -- Alan Mackenzie (Nuremberg, Germany).