From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.devel Subject: yank-excluded-properties not functioning when font-lock-face set Date: Fri, 09 Feb 2007 14:36:29 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1171057026 1755 80.91.229.12 (9 Feb 2007 21:37:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Feb 2007 21:37:06 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 09 22:37:05 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HFdQW-0005lD-Hq for ged-emacs-devel@m.gmane.org; Fri, 09 Feb 2007 22:37:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFdQW-0003In-4p for ged-emacs-devel@m.gmane.org; Fri, 09 Feb 2007 16:37:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HFdQL-0003G1-D2 for emacs-devel@gnu.org; Fri, 09 Feb 2007 16:36:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HFdQI-0003EB-UV for emacs-devel@gnu.org; Fri, 09 Feb 2007 16:36:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFdQI-0003E8-P4 for emacs-devel@gnu.org; Fri, 09 Feb 2007 16:36:50 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HFdQI-0004qk-8l for emacs-devel@gnu.org; Fri, 09 Feb 2007 16:36:50 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HFdQ9-000150-KC for emacs-devel@gnu.org; Fri, 09 Feb 2007 22:36:42 +0100 Original-Received: from turtle.as.arizona.edu ([128.196.208.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Feb 2007 22:36:41 +0100 Original-Received: from jdsmith by turtle.as.arizona.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Feb 2007 22:36:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: turtle.as.arizona.edu User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:66188 Archived-At: I posted a COMINT problem earlier which David revealed to be a deficiency in yank-excluded-properties. Here's how to reproduce. In *scratch*, type test Select the word and then M-: (add-text-properties (point) (mark) '(read-only t font-lock-face bold)) [Ret] Verify the text is read only. Mark and yank the string, M-w, C-y. Notice that the new text is read-only, despite yank-excluded-properties containing: (read-only invisible intangible field mouse-face help-echo local-map keymap yank-handler follow-link fontified) After experimenting, it appears that *any* text with a font-lock-face property attached to it will ignore yank-excluded-properties upon yanking. JD