From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: On the behavior of `c-beginning-of-defun' Date: 1 Jan 2007 23:30:51 +0100 Message-ID: <20070101234225.GB2094@muc.de> References: <20061230212715.GA1198@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167690687 9880 80.91.229.12 (1 Jan 2007 22:31:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Jan 2007 22:31:27 +0000 (UTC) Cc: bug-cc-mode@gnu.org, xugp@alibaba-inc.com, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 01 23:31:18 2007 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.50) id 1H1VgU-00063y-Lp for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2007 23:31:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1VgT-0007Jt-Ui for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2007 17:31:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H1VgF-0007JU-7a for emacs-devel@gnu.org; Mon, 01 Jan 2007 17:30:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H1VgD-0007J9-Oq for emacs-devel@gnu.org; Mon, 01 Jan 2007 17:30:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1VgD-0007J6-KY for emacs-devel@gnu.org; Mon, 01 Jan 2007 17:30:53 -0500 Original-Received: from [193.149.48.1] (helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H1VgC-0000ct-TJ for emacs-devel@gnu.org; Mon, 01 Jan 2007 17:30:53 -0500 Original-Received: (qmail 85354 invoked by uid 3782); 1 Jan 2007 22:30:51 -0000 Original-Received: from acm.muc.de (p54A3D8EA.dip.t-dialin.net [84.163.216.234]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 01 Jan 2007 23:30:48 +0100 Original-Received: (qmail 5510 invoked by uid 1000); 1 Jan 2007 23:42:26 -0000 Original-Date: Mon, 1 Jan 2007 23:42:26 +0000 Original-To: Herbert Euler Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de 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:64615 Archived-At: Hi, Guanpeng! On Sun, Dec 31, 2006 at 05:40:52PM +0800, Herbert Euler wrote: > And is this a bug too? Hey, have you got any more? ;-) > For the following class definition: > > class a_b::c_d1 : public e_f, public g_h > { > -!-}; > > Suppose -!- represents the location of point. `c-beginning-of-defun' > moves point to > > class a_b::c_d1 : -!-public e_f, public g_h > { > }; > > Rather than > > -!-class a_b::c_d1 : public e_f, public g_h > { > }; That is indeed was a bug. I've just committed a batch of CC Mode bug fixes (updating its version to 5.31.4). This bug seems to have been fixed. Would you try it out again with these updated files, please. > Thanks in advance. > > Regards, > Guanpeng Xu -- Alan Mackenzie (Ittersbach, Germany)