From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: c++ indentation gets messed up quite often Date: Thu, 20 Sep 2012 09:58:13 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1348149616 15451 80.91.229.3 (20 Sep 2012 14:00:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2012 14:00:16 +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 16:00:21 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 1TEhIj-0006it-8r for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 16:00:21 +0200 Original-Received: from localhost ([::1]:60018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEhIe-0005qH-S7 for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 10:00:16 -0400 Original-Received: by 10.66.72.130 with SMTP id d2mr379753pav.33.1348149494978; Thu, 20 Sep 2012 06:58:14 -0700 (PDT) Original-Path: usenet.stanford.edu!4no537380pbn.1!news-out.google.com!t10ni1146248pbh.0!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe19.iad.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) Cancel-Lock: sha1:vrl2ZmcJK/s9lCxFkW6YRov7HD8= Original-Lines: 14 Original-X-Complaints-To: abuse@UsenetServer.com Original-NNTP-Posting-Date: Thu, 20 Sep 2012 13:58:14 UTC X-Received-Bytes: 1239 Original-Xref: usenet.stanford.edu gnu.emacs.help:194504 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:86845 Archived-At: > The indentation gets quite messed up while in the middle of editing a file. > eg: The new code will get indented to the column 0. If you can reproduce this more or less easily, please try and (setq c-debug-parse-state t). You have to do this before loading c-mode, so either do it in your .emacs, or do M-x load-library RET cc-engine RET afterwards for it to take effect. This should hopefully catch the problem right when it shows up and log some debug info in your *Messages* buffer, which you can then send via M-x report-emacs-bug. Stefan