From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: M-w, then C-y. C-y inserts text properties that aren't on original. Date: Mon, 22 Feb 2010 17:11:13 -0500 Organization: Censorship Research Center Message-ID: <4B830101.1000703@censorshipresearch.org> References: <20100218202902.GE2671@muc.de> <838wapy3yo.fsf@gnu.org> <20100219122419.GA918@muc.de> <20100219143513.GC918@muc.de> <83r5ogwa8g.fsf@gnu.org> <83pr40w96f.fsf@gnu.org> <20100221215951.GD4407@muc.de> <838walx61v.fsf@gnu.org> <20100222125635.GA2631@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1266876933 3088 80.91.229.12 (22 Feb 2010 22:15:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2010 22:15:33 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 22 23:15:29 2010 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.69) (envelope-from ) id 1NjgYm-00027Z-WE for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2010 23:15:25 +0100 Original-Received: from localhost ([127.0.0.1]:58504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjgYm-0003al-B2 for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2010 17:15:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjgUz-0001tu-4W for emacs-devel@gnu.org; Mon, 22 Feb 2010 17:11:29 -0500 Original-Received: from [140.186.70.92] (port=50126 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjgUx-0001rR-BV for emacs-devel@gnu.org; Mon, 22 Feb 2010 17:11:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjgUv-0007Zw-DN for emacs-devel@gnu.org; Mon, 22 Feb 2010 17:11:27 -0500 Original-Received: from haystack.austinheap.com ([70.32.98.68]:52221 helo=haystacknetwork.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjgUt-0007ZD-BB; Mon, 22 Feb 2010 17:11:23 -0500 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: <20100222125635.GA2631@muc.de> X-Enigmail-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:121285 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Alan. On 2/22/10 7:56 AM, Alan Mackenzie wrote: > On Mon, Feb 22, 2010 at 06:12:12AM +0200, Eli Zaretskii wrote: >>> Date: Sun, 21 Feb 2010 21:59:51 +0000 >>> Cc: emacs-devel@gnu.org >>> From: Alan Mackenzie > >>>> Here's one idea: make a deep search through the properties of the >>>> value of the `category' property, looking for any of the properties >>>> in `yank-excluded-properties'. If found, do the replacement we do >>>> now. > > I've decided to fix the CC Mode problem by ad hoc means, rather than try > to push through a quite big change to TP handling. It also means that the next person who wants to use category properties will be bitten by exactly the same lurking gotcha. It'd be better to employ the yank-excluded-properties approach and fix the problem once and for all. It seems reasonable and somewhat symmetric. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iEYEARECAAYFAkuDAQEACgkQ17c2LVA10VsrTwCeOYbsxkVy80AebVMVyx0QQADS FrUAoKqoslz0ncAENYoJFi5ybiOXYbR5 =rF// -----END PGP SIGNATURE-----