From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lowell Gilbert Newsgroups: gmane.emacs.help Subject: Re: c++ indentation gets messed up quite often Date: Thu, 20 Sep 2012 12:21:12 -0400 Message-ID: <44boh0u0lj.fsf@be-well.ilk.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1348158314 1779 80.91.229.3 (20 Sep 2012 16:25:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2012 16:25:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 20 18:25:18 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TEjYz-00087R-KR for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 18:25:17 +0200 Original-Received: from localhost ([::1]:58092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEjYv-00049y-2h for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 12:25:13 -0400 Original-Received: by 10.68.212.168 with SMTP id nl8mr554308pbc.5.1348158074082; Thu, 20 Sep 2012 09:21:14 -0700 (PDT) Original-Path: usenet.stanford.edu!4no665010pbn.1!news-out.google.com!t10ni2351184pbh.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 20 Sep 2012 11:21:12 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) Cancel-Lock: sha1:XJiFnsS4CRQqs22mFHYXJ36iVn0= Original-Lines: 22 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 66.92.78.145 Original-X-Trace: sv3-847ImoFls1n/+W2M4uLcb8BOBATseaWPCOq0xPyC/+mQ2JQ1iYPxwnkjitlstqz3dukLsI6ZVDa4EXD!SfrCXEaxJ+HqUZjizEvuHGqmQKxUnaIljBqIPSfkCUjjdjJjKmO2aE8V3qoWgeO+wryQEuLd7Kwn!v9ww5/Y9 X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2086 Original-Xref: usenet.stanford.edu gnu.emacs.help:194507 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86848 Archived-At: Stefan Monnier writes: >> If I restart emacs, i can then correctly indent the line and things >> are back to normal. Bug ? > > Yes, it's a bug. CC-mode's maintainer has fixed a few problems in that > area since 24.1, so 24.2 might work better for you, but there has been > further fixes since, so you might want to try a recent snapshot of the > Emacs trunk. Also, those problems are difficult to track down and fix > because they're usually difficult to reproduce, but there are some flags > you can set that make CC-mode do extra work to double-check what it does > so that any problem is caught early and results in useful > debug information. > > IOW, please try the Emacs trunk and if you still bump into such > problems, use M-x report-emacs-bug. 24.2 isn't any better on this (for me) than 24.1. Unfortunately, it only recurs on the order of dozens of hours, so I haven't been able to do much in the way of diagnostics on it. - Lowell