From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta Subject: Re: simplifying beginning-of-defun Date: Tue, 29 Sep 2009 06:50:40 +0000 Message-ID: <20090929065040.GA1803@muc.de> References: <4ABE54F9.7090107@online.de> <4ABF3DCB.3060602@online.de> <1254050248.6168.30.camel@projectile.siege-engine.com> <1254082041.6168.65.camel@projectile.siege-engine.com> <1254103488.6168.152.camel@projectile.siege-engine.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254213246 8794 80.91.229.12 (29 Sep 2009 08:34:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Sep 2009 08:34:06 +0000 (UTC) Cc: XEmacs-Beta@xemacs.org, Andreas Roehler , Stefan Monnier , emacs-devel@gnu.org To: "Eric M. Ludlam" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 29 10:33:58 2009 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 1MsY9h-0005UP-By for ged-emacs-devel@m.gmane.org; Tue, 29 Sep 2009 10:33:53 +0200 Original-Received: from localhost ([127.0.0.1]:57567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsY9g-0004nv-Ne for ged-emacs-devel@m.gmane.org; Tue, 29 Sep 2009 04:33:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsY9b-0004nh-VU for emacs-devel@gnu.org; Tue, 29 Sep 2009 04:33:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsY9X-0004me-6T for emacs-devel@gnu.org; Tue, 29 Sep 2009 04:33:47 -0400 Original-Received: from [199.232.76.173] (port=54535 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsY9X-0004mb-2p for emacs-devel@gnu.org; Tue, 29 Sep 2009 04:33:43 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:1298 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MsY9W-00025Y-Hh for emacs-devel@gnu.org; Tue, 29 Sep 2009 04:33:42 -0400 Original-Received: (qmail 42456 invoked by uid 3782); 29 Sep 2009 06:46:57 -0000 Original-Received: from acm.muc.de (pD9E23C22.dip.t-dialin.net [217.226.60.34]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Tue, 29 Sep 2009 08:46:55 +0200 Original-Received: (qmail 2016 invoked by uid 1000); 29 Sep 2009 06:50:41 -0000 Content-Disposition: inline In-Reply-To: <1254103488.6168.152.camel@projectile.siege-engine.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:115780 gmane.emacs.xemacs.beta:30621 Archived-At: Hi, Eric! On Sun, Sep 27, 2009 at 10:04:48PM -0400, Eric M. Ludlam wrote: [ .... ] > In this C++ example: > namespace foo { > int myfcn() { > return 1; > } > } > If the cursor is on the "return", beginning-of-defun-raw gets completely > lost, cc-mode jumps to namespace, and CEDET jumps to the i in int. As a matter of interest, the c-beginning-of-defun in the upcoming CC Mode 5.32 now also jumps to the "int". (There will, of course, be an option variable for people who really, really want to carry on going back to "namespace".) I'm hoping to release this sometime next decade. > Eric -- Alan Mackenzie (Nuremberg, Germany).