From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: What about putting CC Mode 5.32 into Emacs? Date: Wed, 12 Oct 2011 15:48:22 +0000 Message-ID: <20111012154822.GA2870@acm.acm> References: <20111008131416.GE2783@acm.acm> <87d3e7gqbl.fsf@stupidchicken.com> <874nzfsetz.fsf@interalia.com> <20111011191637.GA3083@acm.acm> <87ehyj5afo.fsf@maru.md5i.com> <87ty7eqoqr.fsf@interalia.com> <87aa965jlx.fsf@maru.md5i.com> <87aa96ql5a.fsf@interalia.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1318434788 3526 80.91.229.12 (12 Oct 2011 15:53:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 15:53:08 +0000 (UTC) Cc: Michael Welsh Duggan , emacs-devel@gnu.org To: Burton Samograd Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 12 17:53:04 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 1RE179-0004uJ-OU for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 17:53:03 +0200 Original-Received: from localhost ([::1]:56766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE179-0007ei-CS for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 11:53:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE175-0007eY-W2 for emacs-devel@gnu.org; Wed, 12 Oct 2011 11:53:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RE174-0006On-8s for emacs-devel@gnu.org; Wed, 12 Oct 2011 11:52:59 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:44290 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE173-0006Nt-OI for emacs-devel@gnu.org; Wed, 12 Oct 2011 11:52:58 -0400 Original-Received: (qmail 14477 invoked by uid 3782); 12 Oct 2011 15:52:55 -0000 Original-Received: from acm.muc.de (pD951B5D7.dip.t-dialin.net [217.81.181.215]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 12 Oct 2011 17:52:52 +0200 Original-Received: (qmail 3252 invoked by uid 1000); 12 Oct 2011 15:48:22 -0000 Content-Disposition: inline In-Reply-To: <87aa96ql5a.fsf@interalia.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 193.149.48.1 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:145029 Archived-At: Hello again, Burton. On Wed, Oct 12, 2011 at 09:34:09AM -0600, Burton Samograd wrote: > "Michael Welsh Duggan" writes: > >> 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. I can assure you there's been no "change for change's sake" in the indentation code. Have a wee look at cc-engine.el (for example, c-guess-basic-syntax) and you'll understand why. ;-) > > Definitely not. I don't recall all the performance problems the caching > > code was added to support, but they were very real, and there were a > > fair number of complaints because of them. I applaud the work Alan has > > done to attempt to improve cc-mode, although I do worry about the > > complexity of the current system. > Which is unfortuate as *I* have never seen or had a problem with the > previous CC modes... Again, this is open source and if I really wanted > I could roll back in my own version, if I could find it. There are old versions of CC mode available from . > CC mode was one of those things I've always taken for granted since it > "just worked". It will just work again. > -- > Burton Samograd -- Alan Mackenzie (Nuremberg, Germany).