[Home]History of EditingEmacsSource

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Revision 3 . . October 26, 2017 3:46 pm by KimK [Replaced by newer version. Marked for deletion. ]
Revision 2 . . (edit) January 5, 2011 4:31 pm by MichaelHaberler

Difference (from prior major revision) (no other diffs)

Changed: 1c1
Marked for deletion.

Changed: 3,4c3

Style conventions

A longish text can be found in emc2/src/CodingStyle? - see http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/CodingStyle;h=cefda34b2d9386697115781c4fdb526580446f2a;hb=02d9bfa0d7ff1e3feb586bf0c83ab64b5f0b3f3c
Replaced by http://wiki.linuxcnc.org/cgi-bin/wiki.pl?EditingLinuxCNCSource

Changed: 6c5

Editing with Emacs

Will a super-administrator please delete this entry. Thanks!

Removed: 8,19d6
I found the following settings in .emacs gives acceptable results (default indentation of 2 characters is unusable):

(setq c-default-style
'((other . "gnu")))
(setq c-basic-offset 4)


I gave up on using Eclipse for source code editing - I didnt find a reasonable combination of settings which gives reproducible results


Please add.

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
Published under a Creative Commons License