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: 'M-o' ('facemap-keymap') has now been removed until March 10th 2021 Date: Wed, 24 Mar 2021 19:09:49 +0200 Message-ID: <83sg4kjx5u.fsf@gnu.org> References: <32A55BBD-1A3F-4EC4-817F-7C3408C22A65@bydasein.com> <22aaf0faddac64397c7d@heytings.org> <4B2A00EB-8C04-4B9D-BA86-692D67207AFD@bydasein.com> <22aaf0faddc2bf87fd3a@heytings.org> <0009872A-AD9D-4B08-B714-BFEDDAAF9125@bydasein.com> <8786a8e8faf45a989904@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6823"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "Paul W. Rankin" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 24 18:12:37 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 1lP73d-0001e6-L7 for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Mar 2021 18:12:37 +0100 Original-Received: from localhost ([::1]:60530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lP73c-0005pN-Cw for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Mar 2021 13:12:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lP70z-0005C8-R2 for emacs-devel@gnu.org; Wed, 24 Mar 2021 13:09:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60217) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lP70y-0000uE-Vk; Wed, 24 Mar 2021 13:09:52 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1882 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lP70y-0001mQ-94; Wed, 24 Mar 2021 13:09:52 -0400 In-Reply-To: (emacs-devel@gnu.org) 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:266971 Archived-At: > Date: Wed, 24 Mar 2021 19:09:33 +1000 > Cc: emacs-devel@gnu.org > From: "Paul W. Rankin" via "Emacs development discussions." > > > I'm curious how you will explain to the author of font-lock-fontify-buffer that his command has no bugs, when he thinks it has and would like to obsolete it. The first message is at https://lists.gnu.org/archive/html/emacs-devel/2021-03/msg00581.html . > > Thanks for the link. I've looped in Stefan so he can tell me I'm wrong, but... > > I think the issue you describe, where yanked text includes previous text properties without font-lock-mode active is expected behaviour. You can control this behaviour with the variable `yank-excluded-properties'. (Eli I'm surprised you didn't use this?) Of course I use yank-excluded-properties! But manually tweaking that variable each time I intend to yank some text (which would require first to find out which properties are in that text) is much less convenient than typing "M-o M-o", don't you agree? And adding face properties permanently to yank-excluded-properties would get in the way of the use cases where I do want faces to be copied. Btw, the "without font-lock-mode active" part is not the situation I was talking about. Remember: global-font-lock-mode is now t by default, so bumping into a buffer where font-lock-mode isn't active is quite hard...