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: font-lock-fontify-block (was: 'M-o' ('facemap-keymap') has now been removed until March 10th 2021) Date: Thu, 11 Mar 2021 19:34:31 +0200 Message-ID: <837dmdmw60.fsf@gnu.org> References: <87a6sbg41o.fsf@gnus.org> <87lfatirk1.fsf@gnus.org> <83blbpmy2x.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2179"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 11 18:42:12 2021 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 1lKPK6-0000PC-8U for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Mar 2021 18:42:10 +0100 Original-Received: from localhost ([::1]:52826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKPK5-0002YT-AW for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Mar 2021 12:42:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKPCh-0003w1-BD for emacs-devel@gnu.org; Thu, 11 Mar 2021 12:34:31 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48547) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKPCh-0005EN-29; Thu, 11 Mar 2021 12:34:31 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4781 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKPCf-0000T4-MN; Thu, 11 Mar 2021 12:34:30 -0500 In-Reply-To: (message from Stefan Monnier on Thu, 11 Mar 2021 12:12:47 -0500) 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:266341 Archived-At: > From: Stefan Monnier > Date: Thu, 11 Mar 2021 12:12:47 -0500 > Cc: Lars Ingebrigtsen , emacs-devel@gnu.org > > > IMO, font-lock-fontify-block should have a keybinding. IME, it's too > > important to be left without one. > > Wow, I didn't expect that. I was instead about to ask for details about > the mentions of `font-lock-fontify-block' since I view it as a command > which "should" be a no-op (barring bugs, obviously). > > I'd be quite interested to know more about those existing use cases (they > may point to other misgivings of mine, as well). When I edit code, I sometimes see it mis-fontified when I'm half-way through editing a syntactic construct. Unlike some others, I don't expect font-lock to do a 110% perfect job in every situation, and prefer a casual M-o M-o to having font-lock definition for a mode perfected to a point where it becomes unbearably sluggish.