[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c++ indentation gets messed up quite often
From: |
Lowell Gilbert |
Subject: |
Re: c++ indentation gets messed up quite often |
Date: |
Thu, 20 Sep 2012 12:21:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) |
Stefan Monnier <monnier@iro.umontreal.ca> 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