From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: end-of-defun acts weirdly in c-mode; also, mark-defun in c-mode Date: Mon, 02 Feb 2009 17:46:36 -0500 Message-ID: References: <20090202202703.GB11077@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233614817 2486 80.91.229.12 (2 Feb 2009 22:46:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2009 22:46:57 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org, Miles Bader To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 02 23:48:10 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 1LU7aK-0006WT-A6 for ged-emacs-devel@m.gmane.org; Mon, 02 Feb 2009 23:48:08 +0100 Original-Received: from localhost ([127.0.0.1]:39285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LU7Z1-0007m3-IC for ged-emacs-devel@m.gmane.org; Mon, 02 Feb 2009 17:46:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LU7Yw-0007le-CH for emacs-devel@gnu.org; Mon, 02 Feb 2009 17:46:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LU7Yu-0007kf-KO for emacs-devel@gnu.org; Mon, 02 Feb 2009 17:46:41 -0500 Original-Received: from [199.232.76.173] (port=46967 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LU7Yu-0007kc-GC for emacs-devel@gnu.org; Mon, 02 Feb 2009 17:46:40 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:56604) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LU7Yr-0007o5-Gb; Mon, 02 Feb 2009 17:46:37 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAPAGh0nO+IQk/2dsb2JhbACBbssahBQGgmw X-IronPort-AV: E=Sophos;i="4.37,367,1231131600"; d="scan'208";a="33229187" Original-Received: from 206-248-132-36.dsl.teksavvy.com (HELO pastel.home) ([206.248.132.36]) by ironport2-out.teksavvy.com with ESMTP; 02 Feb 2009 17:46:36 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 82D788229; Mon, 2 Feb 2009 17:46:36 -0500 (EST) In-Reply-To: <20090202202703.GB11077@muc.de> (Alan Mackenzie's message of "Mon, 2 Feb 2009 20:27:03 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:108647 Archived-At: > `c-mark-function' will mark a construct which lacks a brace block, such > as > int foo (int bar) ; > , whereas C-M-a and C-M-e search for outermost brace blocks ("soon" to be > enhanced to find objects inside C++ namespaces and the like). > I have no idea how useful this marking of a braceless construct is. > _Somebody_ probably uses it. (Hi, Barry Warsaw, are you listening?) Hopefully, end-of-defun-function can be used so that make-defun DTRT. Stefan