From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Copying preserves font-lock-face Date: Sun, 24 Sep 2006 23:17:29 -0400 Message-ID: References: <17684.33575.513181.276604@kahikatea.snap.net.nz> <45155CE0.6040200@gmx.at> <17686.8709.23521.874061@kahikatea.snap.net.nz> <4516532E.8040906@gmx.at> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1159154304 14041 80.91.229.2 (25 Sep 2006 03:18:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2006 03:18:24 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 25 05:18:23 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GRgz5-0002Ad-UM for ged-emacs-devel@m.gmane.org; Mon, 25 Sep 2006 05:18:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRgz5-0005lf-BE for ged-emacs-devel@m.gmane.org; Sun, 24 Sep 2006 23:18:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GRgyI-0005MK-M8 for emacs-devel@gnu.org; Sun, 24 Sep 2006 23:17:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GRgyI-0005M8-7e for emacs-devel@gnu.org; Sun, 24 Sep 2006 23:17:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRgyI-0005M5-3W for emacs-devel@gnu.org; Sun, 24 Sep 2006 23:17:30 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GRh2c-0008UC-7N for emacs-devel@gnu.org; Sun, 24 Sep 2006 23:21:58 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GRgyH-000726-1P; Sun, 24 Sep 2006 23:17:29 -0400 Original-To: martin rudalics In-reply-to: <4516532E.8040906@gmx.at> (message from martin rudalics on Sun, 24 Sep 2006 11:43:10 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60187 Archived-At: `font-lock-face' is used by major modes that "manually" implement fontification. They set up `font-lock-face' properties. Font Lock mode uses `char-property-alias-alist' to cause `font-lock-face' properties to be displayed as if they were `face' properties. So I guess we need to get rid of `font-lock-face' properties when yanking, at least usually. However, in buffers where all faces are assigned "manually", perhaps we should instead convert them to `face' properties.