GNU bug report logs -
#20778
Flush left indentation in c-mode
Previous Next
Reported by: Bruce Korb <bkorb <at> gnu.org>
Date: Tue, 9 Jun 2015 16:50:04 UTC
Severity: minor
Tags: moreinfo
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Here is a short program that went into this weirdo mode several times
fairly quickly.
Adding #include directives might be involved, but maybe not. Again,
the same symptom:
everything goes flush left until I close out and re-visit the file.
So, when you first visit
the file, I am sure it will indent properly. And just because you
fiddle it, it doesn't mean
it will stop indenting properly. I do not know what the trigger
mechanism is. I just
know it was much more frequent (several times in a few minutes).
Again, "linux" style:
$ cat ../.dir-locals.el
(
(nil . ((indent-tabs-mode . t)
(tab-width . 8)
(show-trailing-whitespace . t)
(fill-column . 132)))
(c-mode . ((c-file-style . "linux")))
)
[fix-tabs.c (text/x-csrc, attachment)]
This bug report was last modified 3 years and 256 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.