GNU bug report logs - #20778
Flush left indentation in c-mode

Previous Next

Packages: cc-mode, emacs;

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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Bruce Korb <bruce.korb <at> gmail.com>
Cc: 20778 <at> debbugs.gnu.org
Subject: bug#20778: Flush left indentation in c-mode
Date: Mon, 16 Aug 2021 15:05:01 +0200
Bruce Korb <bruce.korb <at> gmail.com> writes:

> 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).

(I'm going through old bug reports that unfortunately got no response at
the time.)

I tried reproducing this bug in Emacs 28, but I was unable to.  But as
you say, it may be difficult to trigger.

Are you still seeing this issue in recent Emacs versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.