From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Burton Samograd Newsgroups: gmane.emacs.devel Subject: Re: What about putting CC Mode 5.32 into Emacs? Date: Wed, 12 Oct 2011 08:16:28 -0600 Message-ID: <87ty7eqoqr.fsf@interalia.com> References: <20111008131416.GE2783@acm.acm> <87d3e7gqbl.fsf@stupidchicken.com> <874nzfsetz.fsf@interalia.com> <20111011191637.GA3083@acm.acm> <87ehyj5afo.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318431718 11971 80.91.229.12 (12 Oct 2011 15:01:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 15:01:58 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: "Michael Welsh Duggan" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 12 17:01:54 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RE0Jd-0008NP-J2 for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 17:01:53 +0200 Original-Received: from localhost ([::1]:33939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE0Jd-0003I2-4L for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 11:01:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE07Q-00074b-Ly for emacs-devel@gnu.org; Wed, 12 Oct 2011 10:49:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RE07M-00032U-GE for emacs-devel@gnu.org; Wed, 12 Oct 2011 10:49:16 -0400 Original-Received: from [209.89.22.115] (port=41542 helo=CgyExchg.Interalia.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE07K-00031v-IL for emacs-devel@gnu.org; Wed, 12 Oct 2011 10:49:12 -0400 Original-Received: from bsamograd-ubuntu ([10.0.0.170]) by CgyExchg.Interalia.ca with Microsoft SMTPSVC(6.0.3790.4675); Wed, 12 Oct 2011 08:17:06 -0600 In-Reply-To: <87ehyj5afo.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Tue, 11 Oct 2011 20:18:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-OriginalArrivalTime: 12 Oct 2011 14:17:06.0752 (UTC) FILETIME=[9F415C00:01CC88E9] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-Received-From: 209.89.22.115 X-Mailman-Approved-At: Wed, 12 Oct 2011 11:01:51 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145019 Archived-At: "Michael Welsh Duggan" writes: > Alan Mackenzie writes: > >> Hello, Burton. >> >> On Tue, Oct 11, 2011 at 09:55:20AM -0600, Burton Samograd wrote: >> >>> I certainly hope that 5.32 fixes the indentation issues that I have >>> been experiencing with the lastest builds of emacs. It's been quite >>> unreliable and annoying, although I haven't put up the effort to write >>> a bug report as I am running bzr emacs... >> >> At the moment, that seems unlikely, since nearly all of 5.32's code is >> already in bzr Emacs. Sorry. >> >> A bug report would be welcome. Please create the meat of this with C-c >> C-b from your buffer - that dumps the entire CC Mode configuration and >> often assists massively in tracking down a bug. > > Have you looked at bug 9560 recently? > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9560 No I haven't, but I did just look it over. > > I have added as much debugging information as I could. I currently have > an emacs -Q on my home machine which is in a bad-indentation state. I > can leave it up for a few days. It sounds a bit different than what I've been experiencing. From memory, it seems like when I'm editing code in a function, it loses the idea that I am in a function and loses a level of indentation for all code below a certain point. Sometimes going up a few lines before the problem and re-indenting every line fixes it, but it can take a couple of tries to get it to actually work. Other times I have to go to near the start of the function and re-indent everything. Sometimes nothing works and I just re-indent it manually. I don't want to complain without offering a solution, but in the 15+ years I've been using emacs I have *never* had a problem with C code indentation and have grown to rely on it to help me find syntax errors in my code. Why it has unreliable is beyond me when it's worked so well for so long...I hope this wasn't just change for the sake of change. -- Burton Samograd