Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
beginning-of-defun in cc-mode based languages doesn't work?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
cstacy  
View profile  
 More options Jun 3 2010, 3:51 pm
Newsgroups: gnu.emacs.help
From: cstacy <cstacy.goo...@dtpq.com>
Date: Thu, 3 Jun 2010 12:51:00 -0700 (PDT)
Subject: beginning-of-defun in cc-mode based languages doesn't work?
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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Mackenzie  
View profile  
 More options Jun 3 2010, 4:14 pm
Newsgroups: gnu.emacs.help
From: Alan Mackenzie <a...@muc.de>
Date: Thu, 3 Jun 2010 20:14:13 +0000 (UTC)
Local: Thurs, Jun 3 2010 4:14 pm
Subject: Re: beginning-of-defun in cc-mode based languages doesn't work?

cstacy <cstacy.goo...@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).


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »