From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master 2399541: Remove font-lock toggle from font-lock-update Date: Thu, 25 Mar 2021 10:09:07 +0100 Message-ID: <87czvna9cc.fsf@gnus.org> References: <20210324143048.23515.75257@vcs0.savannah.gnu.org> <20210324143050.40C6E20D10@vcs0.savannah.gnu.org> <8786a8e8fa731c1bd1ef@heytings.org> <87h7l0blrc.fsf@gnus.org> <87czvobksy.fsf@gnus.org> <87r1k4a1c0.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29345"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Gregory Heytings , "Paul W. Rankin" , "Paul W. Rankin via Emacs development discussions." To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 25 10:10:42 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 1lPM0n-0007WZ-TB for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Mar 2021 10:10:41 +0100 Original-Received: from localhost ([::1]:58488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPM0m-0004Je-UW for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Mar 2021 05:10:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPLzU-0003cV-20 for emacs-devel@gnu.org; Thu, 25 Mar 2021 05:09:20 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:38388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPLzS-0000cj-HV for emacs-devel@gnu.org; Thu, 25 Mar 2021 05:09:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9WL3lOvb8eJPsIoOwEAaC/pGyyRjLJ/k6fQmRaX3IQE=; b=aYdx0PXx7fLsinVE63Vpmdtoi0 n4wEv1p4DB72SkEqUMkTR8WFosKL8rdkgOvjKL3u22i5odz7S7fUvl7sGM3NGiiq1CCYNBg0WMU+e I4G862JAs9LjmIG0/HaVth3OAylj0qW6CvKpfI4F20gSSLsby9e1JfrmV56PszH3aLxA=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lPLzI-0002n2-Mr; Thu, 25 Mar 2021 10:09:14 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAM1BMVEX+/v7t6+fT0Mzj 4NyloJySjoqyrqpwbGlOSkhEQD5jX1xBPTvDvrqBfXk6NjWGgX7///+SN3VMAAAAAWJLR0QQlbIN LAAAAAd0SU1FB+UDGQkHCK6nZy4AAAFESURBVEjH7ZTNcsMgDIQtoT8EJu//tl2SQ2fcQNNTL9Zw svWZXWnHx3HXXf9V9OYZc2H6HCBRMWMqRJ8BZmh9NlP5BGD04zEXc3el3wGZnyUWD1SN8hvA/MIi VdQ9k/YAyctHC+0Hi56pe8DmBdSjeYdx8zyddwDN7xXNEcJEHCMeKjtAdKryaGncyWoLVy9rwFSP gmGOSDFhDVjR6GtAiQ3z8dFSkI+zYlaetgbgj7PW2gYkcccqMNjQJUDMkDFGa82tm2JzD0iSJVA6 xoTuNupcW0bkadrWkgivOkaJk48T/bCj3mgJHDoj9wJ0XhA1PXyzhzNthq4NmPUn4D52mza4dPGK ceY80BTX9F0EupUitSWCPS8YdVwUXcPHZiKIEiwAamNcs/cj3s9CRHD09LDj2APfOynIxruXy9/J XXf9rb4APsgKcuR//qQAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDMtMjVUMDk6MDc6MDgrMDA6 MDBAIZa8AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTAzLTI1VDA5OjA3OjA4KzAwOjAwMXwuAAAA AABJRU5ErkJggg== X-Now-Playing: Liquid Idiot's _Idiot Orchestra_: "Coco And The Shakedown" In-Reply-To: (Stefan Monnier's message of "Wed, 24 Mar 2021 18:07:02 -0400") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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:267008 Archived-At: Stefan Monnier writes: > I'd much prefer a longer `font-lock-fontify-diwm` which tries to > reproduce more or less the same behavior as your favorite, but by > explicitly testing the different circumstances you care about. Sure. It could, for instance, refontify the region (if selected) instead of the entire buffer. And probably a lot of other DWIM-ish niceness. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no