all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* enum indentation in GNU style in c-mode is inconsistent
@ 2015-07-26 21:35 David McMackins
  2015-07-27 10:55 ` Alan Mackenzie
  0 siblings, 1 reply; 2+ messages in thread
From: David McMackins @ 2015-07-26 21:35 UTC (permalink / raw)
  To: emacs-devel

As pointed out in an e-mail from last year, the GNU style C indentation
in Emacs is wrong for enumerated types. The user who wrote it said that
the bug should not be fixed because it would case creeping changes in
the GNU code base over a long period of time.

While that is true, one large problem is inconsistency. I have gotten
Emacs into a state where the enum indentation would actually be true to
GNU coding standards through some messing about with opening and closing
braces in a header file, but if I reload c-mode, it goes back to the way
it was before.

I do think this should be fixed, since one of the primary reasons I use
Emacs is its correct indentation in many C styles.

Happy Hacking,

David E. McMackins II
Associate, Free Software Foundation (#12889)

www.mcmackins.org www.delwink.com
www.gnu.org www.fsf.org



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-27 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-26 21:35 enum indentation in GNU style in c-mode is inconsistent David McMackins
2015-07-27 10:55 ` Alan Mackenzie

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.