unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: "Eric M. Ludlam" <eric@siege-engine.com>
Cc: XEmacs-Beta@xemacs.org,
	Andreas Roehler <andreas.roehler@online.de>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: simplifying beginning-of-defun
Date: Tue, 29 Sep 2009 06:50:40 +0000	[thread overview]
Message-ID: <20090929065040.GA1803@muc.de> (raw)
In-Reply-To: <1254103488.6168.152.camel@projectile.siege-engine.com>

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).




  parent reply	other threads:[~2009-09-29  6:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-26 17:52 simplifying beginning-of-defun Andreas Roehler
2009-09-26 21:44 ` Stefan Monnier
2009-09-27  8:10   ` Andreas Roehler
2009-09-27 18:40     ` Stefan Monnier
2009-09-28  6:50       ` Andreas Roehler
2009-09-28 22:46         ` Stefan Monnier
2009-09-29  6:53           ` Andreas Roehler
2009-09-29  8:29           ` Andreas Roehler
2009-09-27 10:26   ` Andreas Roehler
2009-09-27 11:17     ` Eric M. Ludlam
2009-09-27 18:53       ` Stefan Monnier
2009-09-27 20:07         ` Eric M. Ludlam
2009-09-27 22:52           ` Stefan Monnier
2009-09-28  2:04             ` Eric M. Ludlam
2009-09-28  4:06               ` Stefan Monnier
2009-09-28 11:20                 ` Eric M. Ludlam
2009-09-29  6:50               ` Alan Mackenzie [this message]
2009-09-27 19:06 ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090929065040.GA1803@muc.de \
    --to=acm@muc.de \
    --cc=XEmacs-Beta@xemacs.org \
    --cc=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=eric@siege-engine.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).