help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c++ indentation gets messed up quite often


From: Stefan Monnier
Subject: Re: c++ indentation gets messed up quite often
Date: Thu, 20 Sep 2012 09:58:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]