From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#636: Please fix before the release of 23.1 Date: Sun, 10 Aug 2008 14:55:44 -0400 Message-ID: <33alcg0nj.fsf@fencepost.gnu.org> References: <877ibp4hh3.fsf@vorlon.ganneff.de> <871w1xfmsb.fsf@grepfind.mwolson.org> <87ljzj3oad.fsf_-_@grepfind.mwolson.org> <18590.45488.891078.545308@a1ihome1.kph.uni-mainz.de> <18590.47471.82980.734389@a1ihome1.kph.uni-mainz.de> Reply-To: Glenn Morris , 636@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218395674 9686 80.91.229.12 (10 Aug 2008 19:14:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2008 19:14:34 +0000 (UTC) To: 636@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 10 21:15:25 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KSGNs-0004qY-W7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Aug 2008 21:15:21 +0200 Original-Received: from localhost ([127.0.0.1]:41758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSGMw-0005Bi-Vz for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Aug 2008 15:14:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSGMq-00059S-B5 for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 15:14:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSGMn-000580-N5 for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 15:14:14 -0400 Original-Received: from [199.232.76.173] (port=54380 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSGMn-00057x-Ce for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 15:14:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56257) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSGGD-0000K5-OO for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 15:07:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7AJ7Ost013242; Sun, 10 Aug 2008 12:07:24 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7AJ55lU012083; Sun, 10 Aug 2008 12:05:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 10 Aug 2008 19:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 636 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 636-submit@emacsbugs.donarmstrong.com id=B636.12183946159501 (code B ref 636); Sun, 10 Aug 2008 19:05:05 +0000 Original-Received: (at 636) by emacsbugs.donarmstrong.com; 10 Aug 2008 18:56:55 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7AIuqNA009495 for <636@emacsbugs.donarmstrong.com>; Sun, 10 Aug 2008 11:56:53 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KSG4u-00058y-4N; Sun, 10 Aug 2008 14:55:44 -0400 X-Spook: Kennedy Adriatic PGP eavesdropping Compsec emc Guantanamo X-Ran: V#Bs@)'o{B501i+^mHfLTB#{6{!o.*HzJF_8GolJ,MS>wy1W9kp.]cjMU#:igSYS*jC4uK X-Hue: black X-Attribution: GM In-Reply-To: <18590.47471.82980.734389@a1ihome1.kph.uni-mainz.de> (Ulrich Mueller's message of "Sun, 10 Aug 2008 11:48:31 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 10 Aug 2008 15:14:14 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19249 Archived-At: More info from http://lists.gnu.org/archive/html/emacs-devel/2008-08/msg00416.html Ulrich Mueller wrote: > The problem goes away if I revert the following change: > > 2008-06-27 Alan Mackenzie > > * progmodes/cc-defs.el (c-emacs-features): New feature > 'argumentative-bod-function. > > --- progmodes/cc-defs.el 6 May 2008 07:18:12 -0000 1.57 > +++ progmodes/cc-defs.el 27 Jun 2008 21:12:46 -0000 1.58 > @@ -1440,6 +1440,14 @@ > '1-bit) > list))) > > + ;; In Emacs >= 23, beginning-of-defun will passes its parameter to > + ;; beginning-of-defun-function. Assume end-of-defun does the same. > + (let ((beginning-of-defun-function > + (lambda (&optional arg) > + (not (eq arg nil))))) > + (if (beginning-of-defun 1) > + (setq list (cons 'argumentative-bod-function list)))) > + > (let ((buf (generate-new-buffer " test")) > parse-sexp-lookup-properties > parse-sexp-ignore-comments > @@ -1539,6 +1547,9 @@ > > '8-bit 8 bit syntax entry flags (XEmacs style). > '1-bit 1 bit syntax entry flags (Emacs style). > +'argumentative-bod-function beginning-of-defun passes ARG through > + to a non-null beginning-of-defun-function. It is assumed > + the end-of-defun does the same thing. > 'syntax-properties It works to override the syntax for specific characters > in the buffer with the 'syntax-table property. It's > always set - CC Mode no longer works in emacsen without