From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Insufficient functionality of yank-excluded-properties Date: Mon, 22 Apr 2002 01:47:19 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200204220747.g3M7lJ401926@aztec.santafe.edu> References: <5x4ri5kl8v.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019461775 24909 127.0.0.1 (22 Apr 2002 07:49:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2002 07:49:35 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zYZq-0006Te-00 for ; Mon, 22 Apr 2002 09:49:34 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16zYaS-00068M-00 for ; Mon, 22 Apr 2002 09:50:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zYZc-0005AK-00; Mon, 22 Apr 2002 03:49:20 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zYXh-0004yE-00; Mon, 22 Apr 2002 03:47:21 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g3M7lJa01418; Mon, 22 Apr 2002 01:47:19 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g3M7lJ401926; Mon, 22 Apr 2002 01:47:19 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: storm@cua.dk In-Reply-To: <5x4ri5kl8v.fsf@kfs2.cua.dk> (storm@cua.dk) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2994 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2994 The reason is that the `category' text property is copied. In this specific case, the category is `help-function-def-button' which has a mouse-face property. This is a hard case to see how to handle correctly. A better solution might be for remove-list-of-text-properties to remove a `category' text property if that category specifies one of the excluded text properties in the list. That might be the right thing to do. In addition, perhaps we should avoid puttin on a `mouse-face' property via `category'. We could change the Help mode code to put on the `mouse-face' property separately. Should we do that?