From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Insufficient functionality of yank-excluded-properties Date: Sun, 21 Apr 2002 17:52:51 +0000 (UTC) Sender: emacs-devel-admin@gnu.org Message-ID: References: <5x4ri5kl8v.fsf@kfs2.cua.dk> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019411671 7005 127.0.0.1 (21 Apr 2002 17:54:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 21 Apr 2002 17:54:31 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zLXj-0001os-00 for ; Sun, 21 Apr 2002 19:54:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16zLY3-0004IN-00 for ; Sun, 21 Apr 2002 19:54:51 +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 16zLXZ-0001rK-00; Sun, 21 Apr 2002 13:54:21 -0400 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=localhost) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zLW9-0001kz-00 for ; Sun, 21 Apr 2002 13:52:53 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Sun, 21 Apr 2002 17:52:51 +0000 (UTC) Original-To: emacs-devel@gnu.org 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:2950 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2950 Try the following: Do C-h f help RET and copy the contents of the *Help* buffer to another buffer. The mouse highlight of the help buttons is still active, i.e. the mouse-face property hasn't been removed. When Emacs started using text properties, I defined the following `remove-window-text-properties' function and added it to my .emacs file. I have found it very useful -- so useful I put the command on a function key. I use it when doing the kind of copying you give as an example. ;;; Remove text properties ;; I like to remove text properties that facemenu added to region. ;; This provides a keybinding to remove all text properties ;; in the region visible in a window. (defun remove-window-text-properties () "Remove text properties in the region visible in a window." (interactive) (facemenu-remove-all (window-start) (window-end))) (global-set-key [f4] 'remove-window-text-properties) -- Robert J. Chassell bob@rattlesnake.com Rattlesnake Enterprises http://www.rattlesnake.com