From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: movement bindings in c-mode Date: Mon, 23 Jun 2008 17:05:53 +0000 Message-ID: <20080623170553.GC7132@muc.de> References: <20080623141334.GA7132@muc.de> <877icgz1hn.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214239365 17310 80.91.229.12 (23 Jun 2008 16:42:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2008 16:42:45 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org To: Miles Bader , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 23 18:43:29 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KAp8O-000221-70 for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 18:43:16 +0200 Original-Received: from localhost ([127.0.0.1]:33512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAp7Y-0001Rw-UO for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 12:42:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAp7T-0001Ra-Nm for emacs-devel@gnu.org; Mon, 23 Jun 2008 12:42:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAp7R-0001Qo-5x for emacs-devel@gnu.org; Mon, 23 Jun 2008 12:42:18 -0400 Original-Received: from [199.232.76.173] (port=33961 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAp7Q-0001Qe-Vm for emacs-devel@gnu.org; Mon, 23 Jun 2008 12:42:17 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:4420 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KAp7Q-0000SK-QW for emacs-devel@gnu.org; Mon, 23 Jun 2008 12:42:17 -0400 Original-Received: (qmail 1506 invoked by uid 3782); 23 Jun 2008 16:42:11 -0000 Original-Received: from acm.muc.de (pD9E52DCA.dip.t-dialin.net [217.229.45.202]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 23 Jun 2008 18:42:09 +0200 Original-Received: (qmail 10052 invoked by uid 1000); 23 Jun 2008 17:05:53 -0000 Content-Disposition: inline In-Reply-To: <877icgz1hn.fsf@catnip.gol.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99787 Archived-At: Hi, Miles and Stefan, On Mon, Jun 23, 2008 at 11:09:56PM +0900, Miles Bader wrote: > Alan Mackenzie writes: > > 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? > -Miles -- Alan Mackenzie (Nuremberg, Germany).