all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: help-gnu-emacs@gnu.org
Subject: Re: beginning-of-defun in cc-mode based languages doesn't work?
Date: Thu, 3 Jun 2010 20:14:13 +0000 (UTC)	[thread overview]
Message-ID: <hu92el$2hvv$1@colin2.muc.de> (raw)
In-Reply-To: 59e2a4b0-99b0-424e-bd3b-22bce169199b@q23g2000vba.googlegroups.com

cstacy <cstacy.google@dtpq.com> wrote:
> It seems that c-m-a never works for me in cc-mode based languages, such
> as csharp-mode.  It always moves to the beginning of the most top-level
> definition, such as namespace.  I expected to move to the beginning ot
> something more local, such as the current function definition.

> (Tried without any init file in most versions of emacs, including 21
> and 22.) I don't think I've ever seen this work (in the last 10
> years...)

> Are my expectations wrong, or what?

This is a longstanding problem which has been fixed in CC Mode 5.32
(which hasn't yet been released).  If you want to play with this version,
download it by following the instructions on
<http://cc-mode.sourceforge.net/anoncvs.php>.

-- 
Alan Mackenzie (Nuremberg, Germany).



      reply	other threads:[~2010-06-03 20:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-03 19:51 beginning-of-defun in cc-mode based languages doesn't work? cstacy
2010-06-03 20:14 ` Alan Mackenzie [this message]

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

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

  git send-email \
    --in-reply-to='hu92el$2hvv$1@colin2.muc.de' \
    --to=acm@muc.de \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.