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: Sat, 20 Feb 2010 11:25:28 +0200 Message-ID: <83pr40w96f.fsf@gnu.org> References: <20100218202902.GE2671@muc.de> <838wapy3yo.fsf@gnu.org> <20100219122419.GA918@muc.de> <20100219143513.GC918@muc.de> <83r5ogwa8g.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1266658063 7369 80.91.229.12 (20 Feb 2010 09:27:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2010 09:27:43 +0000 (UTC) To: acm@muc.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 20 10:27:39 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 1Nilce-0004os-Lh for ged-emacs-devel@m.gmane.org; Sat, 20 Feb 2010 10:27:37 +0100 Original-Received: from localhost ([127.0.0.1]:47044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NilcX-0001Rb-8I for ged-emacs-devel@m.gmane.org; Sat, 20 Feb 2010 04:27:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NilcS-0001R1-CE for emacs-devel@gnu.org; Sat, 20 Feb 2010 04:27:24 -0500 Original-Received: from [140.186.70.92] (port=60653 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NilcQ-0001Q6-Ll for emacs-devel@gnu.org; Sat, 20 Feb 2010 04:27:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NilcQ-0004o1-4D for emacs-devel@gnu.org; Sat, 20 Feb 2010 04:27:22 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:45359) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NilcP-0004no-Se for emacs-devel@gnu.org; Sat, 20 Feb 2010 04:27:22 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KY400300VFMGO00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sat, 20 Feb 2010 11:27:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.213.68]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KY4002JNVLI0P50@a-mtaout20.012.net.il>; Sat, 20 Feb 2010 11:27:19 +0200 (IST) In-reply-to: <83r5ogwa8g.fsf@gnu.org> 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:121240 Archived-At: > Date: Sat, 20 Feb 2010 11:02:39 +0200 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > I wonder if we could make the code which replaces `category' with what > it stands for, with a slightly less general code that replaces only > those values of `category' that are used for buttons. Or some similar > change which will make that feature more focused on the problem it > needs to solve. 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.