From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Revilak Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#5209: 23.1.90; CC Mode version 5.31.8 does not indent properly when writing new C files Date: Sun, 13 Dec 2009 20:17:58 -0500 Message-ID: <20091214011758.GB1046@srevilak.net> References: <20091213162210.GC376@srevilak.net> <20091213203311.GB3389@muc.de> Reply-To: Steve Revilak , 5209@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1" X-Trace: ger.gmane.org 1260754070 25471 80.91.229.12 (14 Dec 2009 01:27:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2009 01:27:50 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 5209@emacsbugs.donarmstrong.com To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 14 02:27:43 2009 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 1NJzix-0005CJ-3R for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2009 02:27:43 +0100 Original-Received: from localhost ([127.0.0.1]:33829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJziw-0003eC-L7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Dec 2009 20:27:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJzis-0003dt-AE for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2009 20:27:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJzin-0003dF-PN for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2009 20:27:37 -0500 Original-Received: from [199.232.76.173] (port=60549 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJzin-0003d4-Eu for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2009 20:27:33 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55034) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NJzim-000528-Py for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2009 20:27:33 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBE1RSXF003651; Sun, 13 Dec 2009 17:27:30 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nBE1PVmS003428; Sun, 13 Dec 2009 17:25:31 -0800 Resent-Date: Sun, 13 Dec 2009 17:25:31 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Steve Revilak Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 14 Dec 2009 01:25:29 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5209 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12607535472772 (code B ref -1); Mon, 14 Dec 2009 01:25:29 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 Dec 2009 01:19:07 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBE1J3Nm002768 for ; Sun, 13 Dec 2009 17:19:04 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:42815) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NJzaW-0000FG-N9 for emacs-pretest-bug@gnu.org; Sun, 13 Dec 2009 20:19:00 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NJzaV-0004TT-7y for emacs-pretest-bug@gnu.org; Sun, 13 Dec 2009 20:19:00 -0500 Original-Received: from mail1.sea5.speakeasy.net ([69.17.117.3]:50653) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NJzaU-0004TL-QB for emacs-pretest-bug@gnu.org; Sun, 13 Dec 2009 20:18:59 -0500 Original-Received: (qmail 13364 invoked from network); 14 Dec 2009 01:18:56 -0000 Original-Received: from pool-96-233-67-219.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[96.233.67.219]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 14 Dec 2009 01:18:56 -0000 Content-Disposition: inline In-Reply-To: <20091213203311.GB3389@muc.de> User-Agent: Mutt/1.5.19 (2009-01-05) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 13 Dec 2009 20:27:37 -0500 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:33560 gmane.emacs.pretest.bugs:25318 Archived-At: --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >First thing, thanks for such a simple and clear bug report. > >There is a bug in `c-parse-state', one of the low-level functions in CC >mode, which generates and changes a cache of brace and paren positions. > >Would you apply the following patch, and test it, please. If anything is >still wrong, please let me know again. Alan, Glad to help, and thank you for the patch. I applied the patch to lisp/progmodes/cc-engine.el. Afterwards, I rebuilt emacs with=20 make clean make bootstrap make install (perhaps more rebuilding than necessary, but I wanted to make sure that I was getting a consistent build to test with) After rebuilding, I repeated my earlier "Steps to Reproduce", and saw exactly the same behavior that I reported in bug 5209 -- the patch did not correct the indentation issue. Sorry for the bad news :( Steve --4bRzO86E/ozDv8r1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (Darwin) iEYEARECAAYFAkslkkUACgkQX7YJI4BuyDTP2QCeJ0ZTZOAH/Id+mhG54EOf65DW iJIAnjit3rLlhFAU09FO3kRrhKXAQZzN =M8ol -----END PGP SIGNATURE----- --4bRzO86E/ozDv8r1--