From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: keymap in yank-excluded-properties Date: Fri, 23 Aug 2002 18:29:49 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200208232229.g7NMTor08563@rum.cs.yale.edu> References: <20020822.173129.01368056.Takaaki.Ota@am.sony.com> <20020823.152121.01367723.Takaaki.Ota@am.sony.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030141787 13583 127.0.0.1 (23 Aug 2002 22:29:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 Aug 2002 22:29:47 +0000 (UTC) Cc: miles@gnu.org, miles@lsi.nec.co.jp, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17iMw6-0003Wy-00 for ; Sat, 24 Aug 2002 00:29:46 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17iNPf-0007WK-00 for ; Sat, 24 Aug 2002 01:00:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iMxJ-0000sa-00; Fri, 23 Aug 2002 18:31:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17iMwF-0000rR-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 18:29:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17iMwC-0000rF-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 18:29:54 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iMwB-0000qw-00; Fri, 23 Aug 2002 18:29:51 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g7NMTor08563; Fri, 23 Aug 2002 18:29:50 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Tak Ota Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6816 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6816 > > [BTW, if it's decided that this _is_ a good feature, please call the > > property something like `yank-preserved-properties' (actually I'm rather > > fond of `yankable-properties') and make it a list of property names or t.] > > Sorry that the diff makes the change look complicated but what I > proposed was an introduction of a new text property > `yank-preserve-all-properties' instead of a new variable > `yankable-properties' that holds properties to preserve. The actual Miles didn't propose a variable. He just suggested a more general property with a different name and which includes yours as a special case. > proposed change is an insertion of the following single line with a > corresponding closing parenthesis at the end. > > (unless (text-property-any start end 'yank-preserve-all-properties t) Use the -b and -w switches to diff to make the diff more human readable (and a bit less computer-usable, but it's OK in this case). Stefan