From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: end-of-defun acts weirdly in c-mode; also, mark-defun in c-mode Date: Tue, 03 Feb 2009 20:23:58 +0900 Message-ID: References: <20090202202703.GB11077@muc.de> <20090203105035.GB1396@muc.de> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1233660263 17762 80.91.229.12 (3 Feb 2009 11:24:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2009 11:24:23 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Tue Feb 03 12:25:36 2009 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by lo.gmane.org with esmtp (Exim 4.50) id 1LUJPG-0001kr-Px for sf-cc-mode-help@m.gmane.org; Tue, 03 Feb 2009 12:25:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by 3yr0jf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1LUJNx-0000C4-D7; Tue, 03 Feb 2009 11:24:09 +0000 Original-Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.124] helo=mx.sourceforge.net) by 3yr0jf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1LUJNv-0000Bx-Tc for cc-mode-help@lists.sourceforge.net; Tue, 03 Feb 2009 11:24:07 +0000 Received-SPF: pass (1b2kzd1.ch3.sourceforge.com: domain of gnu.org designates 140.186.70.10 as permitted sender) client-ip=140.186.70.10; envelope-from=miles@gnu.org; helo=fencepost.gnu.org; Original-Received: from fencepost.gnu.org ([140.186.70.10]) by 1b2kzd1.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1LUJNt-0005bh-W2 for cc-mode-help@lists.sourceforge.net; Tue, 03 Feb 2009 11:24:07 +0000 Original-Received: from mx10.gnu.org ([199.232.76.166]:33900) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LUJM9-0006Is-8k for bug-cc-mode@gnu.org; Tue, 03 Feb 2009 06:22:17 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LUJNq-000225-TU for bug-cc-mode@gnu.org; Tue, 03 Feb 2009 06:24:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:35140) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LUJNq-00021o-0q; Tue, 03 Feb 2009 06:24:02 -0500 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n13BNwRs003101; Tue, 3 Feb 2009 20:23:58 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay11.aps.necel.com with ESMTP; Tue, 3 Feb 2009 20:23:58 +0900 Original-Received: from dhlpc061 ([10.114.112.240] [10.114.112.240]) by relay11.aps.necel.com with ESMTP; Tue, 3 Feb 2009 20:23:58 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 8645952E27B; Tue, 3 Feb 2009 20:23:58 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: <20090203105035.GB1396@muc.de> (Alan Mackenzie's message of "Tue, 3 Feb 2009 10:50:35 +0000") Original-Lines: 30 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) X-Spam-Score: -5.5 (-----) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -4.0 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [140.186.70.10 listed in list.dnswl.org] X-Headers-End: 1LUJNt-0005bh-W2 X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:5298 gmane.emacs.devel:108671 Archived-At: --=-=-= Alan Mackenzie writes: > I start it with emacs -Q. Regardless of whether there's a blank line at > L7 or not, I cannot get C-M-e to go anywhere but BOL 7. > > Would you please send me your foo.c as an attachment, tell me where to > put point so that C-M-e will fail. Thanks! I've attached a file "bug.c". (1) Start "emacs -Q" (2) Visit "bug.c" (3) Put point at the beginning of the first line marked with a comment (4) Hit C-M-e (5) Point jumps to the beginning of the line which starts defining "fun3" (also marked with a comment) Thanks, -Miles --=-=-= Content-Type: text/x-csrc Content-Disposition: attachment; filename=bug.c Content-Description: bug.c void fun1 () { x = 5; x = 5; x = 5; } void fun2 () { x = 5; x = 5; /* put point at beginning of this line */ x = 5; } void fun3 () /* C-M-e jumps to the beginning of this line */ { x = 5; x = 5; x = 5; } --=-=-= -- Insurrection, n. An unsuccessful revolution. --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com --=-=-=--