From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Alan Mackenzie <acm@muc.de>
Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: movement bindings in c-mode
Date: Mon, 23 Jun 2008 14:45:24 -0400 [thread overview]
Message-ID: <jwv8wwwouv4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20080623170553.GC7132@muc.de> (Alan Mackenzie's message of "Mon, 23 Jun 2008 17:05:53 +0000")
>> > I think beginning-of-defun-function should be passed the repeat count
>> > (naturally doing the right thing when that function can't take it).
>> Actually, I just looked at the place where beginning-of-defun-function
>> is called (in `beginning-of-defun-raw'), and it _does_ pass the repeat
>> count (with appropriate handling for old-style callees that don't expect
>> it).
> Well, so it does. I missed that change. Thanks, Stefan!
>> So then this should be simple, right?
> Right. I'll change it.
> Just one small point, though. The doc-string for
> beginning-of-defun-function recommends putting point at the { rather
> than the function header. I think this is unright. Stefan?
It's just a recommendation. It makes it unnecessary to define
end-of-defun-function. But in your case you probably don't want to
follow that recommendation, and define an appropriate
end-of-defun-function to find the end of the body.
Stefan
next prev parent reply other threads:[~2008-06-23 18:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-23 8:37 movement bindings in c-mode Miles Bader
2008-06-23 14:13 ` Alan Mackenzie
2008-06-23 13:57 ` Miles Bader
2008-06-23 14:09 ` Miles Bader
2008-06-23 17:05 ` Alan Mackenzie
2008-06-23 18:36 ` David Hansen
2008-06-23 18:40 ` Lennart Borgman (gmail)
2008-06-27 21:50 ` Alan Mackenzie
2008-06-27 21:49 ` Alan Mackenzie
2008-06-23 18:45 ` Stefan Monnier [this message]
2008-06-24 2:32 ` Miles Bader
2008-06-27 21:41 ` Alan Mackenzie
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv8wwwouv4.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=acm@muc.de \
--cc=bug-cc-mode@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=miles@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).