GNU bug report logs -
#18970
24.3; indent region fails in C++ mode after adding a #include
Previous Next
Reported by: Piotr Sipika <piotr.sipika <at> gmail.com>
Date: Thu, 6 Nov 2014 03:46:02 UTC
Severity: normal
Found in version 24.3
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello, Piotr.
In article <mailman.12996.1415245577.1147.bug-gnu-emacs <at> 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).
This bug report was last modified 10 years and 199 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.