help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: beginning-of-defun in cc-mode based languages doesn't work?


From: Alan Mackenzie
Subject: Re: beginning-of-defun in cc-mode based languages doesn't work?
Date: Wed, 08 Dec 2010 15:11:32 -0000
User-agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (FreeBSD/4.11-RELEASE (i386))

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 via email to

[Prev in Thread] Current Thread [Next in Thread]