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 Date: Thu, 11 Mar 2021 22:19:55 +0200 Message-ID: <83zgz9l9xw.fsf@gnu.org> References: <87a6sbg41o.fsf@gnus.org> <87lfatirk1.fsf@gnus.org> <83blbpmy2x.fsf@gnu.org> <837dmdmw60.fsf@gnu.org> <831rclmoy0.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15173"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 11 21:21:41 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 1lKRoR-0003nc-Dc for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Mar 2021 21:21:39 +0100 Original-Received: from localhost ([::1]:55080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKRoQ-0001Oa-FY for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Mar 2021 15:21:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKRmq-0000AP-CY for emacs-devel@gnu.org; Thu, 11 Mar 2021 15:20:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56227) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKRmp-0006IE-HY; Thu, 11 Mar 2021 15:19:59 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2985 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKRmm-000222-Co; Thu, 11 Mar 2021 15:19:58 -0500 In-Reply-To: <831rclmoy0.fsf@gnu.org> (message from Eli Zaretskii on Thu, 11 Mar 2021 22:10:31 +0200) 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:266358 Archived-At: > Date: Thu, 11 Mar 2021 22:10:31 +0200 > From: Eli Zaretskii > Cc: larsi@gnus.org, emacs-devel@gnu.org > > > Would you be OK with the idea of deprecating the use of > > `font-lock-fontify-block' for the specific case where font-lock is > > not enabled? > > I only ever use it in that case to _remove_ the faces from text yanked > from a fontified buffer. So that's another important use case for > M-o M-o. 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.