From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii 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 06:12:12 +0200 Message-ID: <838walx61v.fsf@gnu.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1266813385 29387 80.91.229.12 (22 Feb 2010 04:36:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2010 04:36:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 22 05:36:22 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 1NjPed-0000j3-Um for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2010 05:12:20 +0100 Original-Received: from localhost ([127.0.0.1]:52416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjPed-00021d-31 for ged-emacs-devel@m.gmane.org; Sun, 21 Feb 2010 23:12:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjPeX-00020y-Tm for emacs-devel@gnu.org; Sun, 21 Feb 2010 23:12:13 -0500 Original-Received: from [140.186.70.92] (port=46418 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjPeX-00020Q-2b for emacs-devel@gnu.org; Sun, 21 Feb 2010 23:12:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjPeW-0000hS-LZ for emacs-devel@gnu.org; Sun, 21 Feb 2010 23:12:12 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:33420) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjPeW-0000hJ-EC for emacs-devel@gnu.org; Sun, 21 Feb 2010 23:12:12 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0KY800A006BJJN00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Mon, 22 Feb 2010 06:12:10 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.213.68]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KY800A0X6CAH110@a-mtaout21.012.net.il>; Mon, 22 Feb 2010 06:12:10 +0200 (IST) In-reply-to: <20100221215951.GD4407@muc.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:121272 Archived-At: > 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'm not in favour of anything like this. > > The way the current replacement works, it replaces category properties > with "hard" properties. These "hard" properties then foul up future > category properties, should you apply a different category, or change > the properties on the category symbol. > > As Richard said back in 2002, it's a difficult problem to fix, because > there's no general or canonical case. I think a better way would have > been simply to drop category properties. But we've got what we've got, > so why not just stick with it? I thought you wanted to fix the original problem, didn't you? So I suggested one way of having it fixed. If we leave things as they are, the problem you are having will stay as well, no?