Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

11 views
Skip to first unread message

cstacy

unread,
Jun 3, 2010, 3:51:00 PM6/3/10
to
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?

Alan Mackenzie

unread,
Jun 3, 2010, 4:14:13 PM6/3/10
to

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

0 new messages