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: font-lock-fontify-block Date: Thu, 11 Mar 2021 21:25:27 +0100 Message-ID: <87eeglh1zc.fsf@gnus.org> References: <87a6sbg41o.fsf@gnus.org> <87lfatirk1.fsf@gnus.org> <83blbpmy2x.fsf@gnu.org> <837dmdmw60.fsf@gnu.org> <831rclmoy0.fsf@gnu.org> <83zgz9l9xw.fsf@gnu.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="39098"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 11 21:26:34 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 1lKRtB-000A1t-LF for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Mar 2021 21:26:33 +0100 Original-Received: from localhost ([::1]:60192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKRtA-0003uI-OW for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Mar 2021 15:26:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKRsQ-0003S5-5E for emacs-devel@gnu.org; Thu, 11 Mar 2021 15:25:46 -0500 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:39658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKRsK-0000Oe-0k; Thu, 11 Mar 2021 15:25:45 -0500 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=VgWDWWLpVrQwYQjKClqPGK4VD0LW0Z7IL9+j+iPqmo8=; b=iMaRFwSbXPfmUNKezb8UB1Vxyw qpxLm4rU9Yc/7KZw7YzwfhUnLr/K5M7+THyMnmi8X1FhcFlArXEyh17JkqiIwMPCEbrrn40Fznoh0 lwV74ryv/DnzpCKlPz9KYyYEvLVDnkAKhTg9xhnfjrtyqHsmW3wgZExkRYYDZm+x9zYU=; 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 1lKRs9-0004HU-B4; Thu, 11 Mar 2021 21:25:35 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEUnHCIDAwSfnZnK ubIiXps/SFnt6+NEcKRVjL2Jg32hWkWMHiNiHx66knD///9cMeLqAAAAAWJLR0QOb70wTwAAAAd0 SU1FB+UDCxQWNUv4pxgAAAGNSURBVDjL5dIxSyNBFAfwt8U0usUu+AlWr0h7G1YRrrgwIZZ7mscR sFuYs0kXGWsv51l7qIxYXgonpvKqnSk2hU3yCiFdDr+Ls6IgaworObg/U73fPIbHG/DCxYHwjRCt RlG0xtu8AkESx3FWPzjmrzuc1I8O61UQ4hFa36qQZCdRbe173K/C1ZVS6jfvvXojz7XWf5o/21UA nwjY5+bKmwd8X1DR4oB4yl4iXiaBRKyrU/y1n36VUh4cfpS815I9vgUia3oBgM+QN5G7bEV9LlsN EP00TCGlABE5nuN2tiokL2HjC0OWQgHA2piynQ941uOyAd376Acy39UBwXVtl4fzBmxO8zs2JSjC YIDMLaOjknV5lEDXGg98WxCAnsVu5Z/0fCRiAeJvDjC5JhqTnmXZXFtjp3PtYGiB8hKWjL4fGjM1 xpCDLvnWlB3esnkMkaV85GC8dF0sD5/BkosZ3gjIwoAmlLt7uqwacmjzmYBacbvb0ZOLDl5c4oA6 aoCnqGrqH/0M/y94i+vBAzsC5gfpP+ZRAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAzLTExVDIw OjIyOjUzKzAwOjAwVdNn4QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMy0xMVQyMDoyMjo1Mysw MDowMCSO310AAAAASUVORK5CYII= X-Now-Playing: Depeche Mode's _Stripped_: "But not tonight" In-Reply-To: <83zgz9l9xw.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Mar 2021 22:19:55 +0200") 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:266360 Archived-At: Eli Zaretskii writes: > Actually, I see I've misremembered: this is handy not when > font-lock-mode is off, but when it's on and I yank text from another > mode. A typical use case is when I yank from some program fragment > into a text-mode buffer: the original fontification is left alone > until I type M-o M-o. That does sound quite useful, yes -- that's something I bump into from time to time, but has never known what to do about. So we should probably give it a new default key binding (if we decide to free up `M-o'). In a couple of test cases here, though, `font-lock-fontify-buffer' seems to give more dependable results. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no