From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: end-of-defun acts weirdly in c-mode; also, mark-defun in c-mode Date: Mon, 02 Feb 2009 17:13:39 +0900 Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233562446 11285 80.91.229.12 (2 Feb 2009 08:14:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2009 08:14:06 +0000 (UTC) Cc: bug-cc-mode@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 02 09:15:20 2009 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 1LTtxf-0003Si-MR for ged-emacs-devel@m.gmane.org; Mon, 02 Feb 2009 09:15:19 +0100 Original-Received: from localhost ([127.0.0.1]:37161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTtwN-0005OG-1f for ged-emacs-devel@m.gmane.org; Mon, 02 Feb 2009 03:13:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTtwI-0005NU-Tq for emacs-devel@gnu.org; Mon, 02 Feb 2009 03:13:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTtwG-0005NI-Gq for emacs-devel@gnu.org; Mon, 02 Feb 2009 03:13:53 -0500 Original-Received: from [199.232.76.173] (port=55626 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTtwG-0005NF-Bh for emacs-devel@gnu.org; Mon, 02 Feb 2009 03:13:52 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:63062) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LTtwC-0005Al-SI; Mon, 02 Feb 2009 03:13:49 -0500 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTtw9-0001H4-IM; Mon, 02 Feb 2009 03:13:46 -0500 Original-Received: from relay21.aps.necel.com ([10.29.19.50]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n128Dd3V002918; Mon, 2 Feb 2009 17:13:40 +0900 (JST) Original-Received: from relay31.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay21.aps.necel.com with ESMTP; Mon, 2 Feb 2009 17:13:40 +0900 Original-Received: from dhlpc061 ([10.114.112.229] [10.114.112.229]) by relay31.aps.necel.com with ESMTP; Mon, 2 Feb 2009 17:13:40 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id EBF0C52E27B; Mon, 2 Feb 2009 17:13:39 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop Original-Lines: 16 X-detected-kernel: by mx20.gnu.org: Solaris 8 (1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:108572 Archived-At: Instead of moving to the end of the current function, it actually seems to move one line further if there's whitespace there. This is inconsistent with the behavior of end-of-defun elsewhere in emacs. Also, since "mark-defun" basically does the right thing in c-mode (except for slightly funny handling of whitespace due to c-mode's wacky end-of-defun behavior), the current c-mode specific binding of C-M-h (c-mark-function) should probably be removed. Thanks, -Miles -- Freebooter, n. A conqueror in a small way of business, whose annexations lack of the sanctifying merit of magnitude.