[Top][All Lists]

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

Re: movement bindings in c-mode

From: Stefan Monnier
Subject: Re: movement bindings in c-mode
Date: Mon, 23 Jun 2008 14:45:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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


reply via email to

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