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: Fri, 19 Feb 2010 11:22:55 +0200 Message-ID: <838wapy3yo.fsf@gnu.org> References: <20100218202902.GE2671@muc.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1266571537 12971 80.91.229.12 (19 Feb 2010 09:25:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Feb 2010 09:25:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 19 10:25:34 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 1NiP78-0004wB-IB for ged-emacs-devel@m.gmane.org; Fri, 19 Feb 2010 10:25:34 +0100 Original-Received: from localhost ([127.0.0.1]:43240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiP77-00030r-Ml for ged-emacs-devel@m.gmane.org; Fri, 19 Feb 2010 04:25:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiP6R-0002oH-1r for emacs-devel@gnu.org; Fri, 19 Feb 2010 04:24:51 -0500 Original-Received: from [140.186.70.92] (port=36188 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiP6P-0002nl-NO for emacs-devel@gnu.org; Fri, 19 Feb 2010 04:24:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NiP6P-00018z-8G for emacs-devel@gnu.org; Fri, 19 Feb 2010 04:24:49 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:40115) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiP6P-00018m-1H for emacs-devel@gnu.org; Fri, 19 Feb 2010 04:24:49 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0KY300E000AAE700@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Fri, 19 Feb 2010 11:24:47 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.213.68]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KY300EQX0TAO100@a-mtaout23.012.net.il>; Fri, 19 Feb 2010 11:24:47 +0200 (IST) In-reply-to: <20100218202902.GE2671@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:121221 Archived-At: > Date: Thu, 18 Feb 2010 20:29:02 +0000 > From: Alan Mackenzie > > In a C++ Mode buffer, I create a region containing a template-opener <, > M-w it, then C-y it. > > The C-y puts a syntax-table property on the (copy of) the <, but this > property didn't exist on the original. > > What _was_ on the original was a category property whose symbol had a > syntax-table property. > > This is the root cause of bug 5570 (indentation messed up in C++). > > Would somebody please suggest the part of Emacs I should be looking at > to debug this problem. Can you please give a precise recipe, starting with "emacs -Q", for reproducing the problem? I don't know enough about C++ Mode internals to understand what you say. Thanks.