From: Alan Mackenzie <acm@muc.de>
Cc: bug-cc-mode@gnu.org, bug-gnu-emacs@gnu.org
Subject: Re: c-mark-function goes too far
Date: 10 Jan 2007 21:44:34 +0100 [thread overview]
Message-ID: <20070110215652.GB1136@muc.de> (raw)
In-Reply-To: <E1H4iSn-0007OP-J7@fencepost.gnu.org>
Hi, Miles, Richard and Emacs!
On Wed, Jan 10, 2007 at 01:46:17PM -0500, Richard Stallman wrote:
> Languages like Java have it much worse -- even isolated braces are
> indented because functions are always methods within a class, so Emacs
> function-oriented commands basically never do the right thing.
> What about the commands that CC mode provides in Java mode?
> Do they work better in these cases?
No, not at the moment.
This enhancement (making C-M-[ae] jump to the beginning/end of a
function/method/... contained within a class/namespace/...) has been at
the top of the CC Mode TODO list for some time. It's been asked for by
quite a lot of people. The feature almost made it into CC Mode 5.31 at
the end of 2005.
It isn't actually that hard an enhancement, particularly after the
recent refactoring of c-\(beginning\|end\)-of-defun. Amending the CC
Mode and Emacs manuals will likely be more work than fixing the code.
Just as soon as I've got "all" the bugs fixed for 5.31.4 and released
it, I'll get this into a quick 5.32 release (with one other new
feature).
--
Alan.
next prev parent reply other threads:[~2007-01-10 20:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-07 2:24 c-mark-function goes too far Pete Klammer
2007-01-07 23:31 ` Eric Hanchrow
[not found] ` <mailman.2837.1168213818.2155.bug-gnu-emacs@gnu.org>
2007-01-09 23:53 ` Miles Bader
2007-01-10 18:46 ` Richard Stallman
2007-01-10 20:44 ` Alan Mackenzie [this message]
2007-01-11 4:55 ` Miles Bader
2007-01-11 5:10 ` Richard Stallman
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=20070110215652.GB1136@muc.de \
--to=acm@muc.de \
--cc=bug-cc-mode@gnu.org \
--cc=bug-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.