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

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

bug#18970: 24.3; indent region fails in C++ mode after adding a #include


From: Alan Mackenzie
Subject: bug#18970: 24.3; indent region fails in C++ mode after adding a #include
Date: 6 Nov 2014 11:54:29 -0000
User-agent: tin/2.2.0-20131224 ("Lochindaal") (UNIX) (FreeBSD/8.4-RELEASE (amd64))

Hello, Piotr.
In article <mailman.12996.1415245577.1147.bug-gnu-emacs@gnu.org> you wrote:
> 1. Edited a C++ header file in a buffer.
> 2. Switched to another buffer.
> 3. Went back to buffer in #1, above.
> 4. Added a #include to the top of the buffer.
> 5. Indentation for all code blocks following the include, when using
> TAB, resets to line 0.

This bug will be dependent on the exact contents of the file, or at least
the first few hundred or thousand bytes in it.  Is there any chance you
could post the file as it was just before you edited it in step 1., and
say exactly what keys you used for 1. - 4.?

Thanks!

> In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
> of 2014-03-07 on lamiak, modified by Debian
> Windowing system distributor `The X.Org Foundation', version 11.0.11501000
> System Description:     Ubuntu 14.04.1 LTS

[ ... ]

-- 
Alan Mackenzie (Nuremberg, Germany).






reply via email to

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