2012-10-13 19:35:28 +00:00
|
|
|
(add-to-list 'c-style-alist
|
|
|
|
'("epita"
|
2016-03-04 10:25:28 +00:00
|
|
|
(show-trailing-whitespace t)
|
|
|
|
(indent-tabs-mode . nil)
|
2012-10-13 19:35:28 +00:00
|
|
|
(c-basic-offset . 2)
|
|
|
|
(c-comment-only-line-offset . 0)
|
|
|
|
(c-hanging-braces-alist . ((substatement-open before after)))
|
|
|
|
(c-offsets-alist . ((topmost-intro . 0)
|
|
|
|
(substatement . +)
|
|
|
|
(substatement-open . 0)
|
|
|
|
(case-label . +)
|
|
|
|
(access-label . -)
|
|
|
|
(inclass . ++)
|
|
|
|
(inline-open . 0)))))
|
|
|
|
|
|
|
|
(c-add-style
|
|
|
|
"e"
|
|
|
|
'("gnu"
|
|
|
|
(show-trailing-whitespace t)
|
|
|
|
(indent-tabs-mode . nil)
|
|
|
|
(tab-width . 8)
|
|
|
|
(c-offsets-alist .
|
|
|
|
((defun-block-intro . 3)
|
|
|
|
(statement-block-intro . 3)
|
|
|
|
(case-label . 1)
|
|
|
|
(statement-case-intro . 3)
|
|
|
|
(inclass . 3)
|
|
|
|
))))
|
2014-06-11 10:05:51 +00:00
|
|
|
|
|
|
|
(c-add-style
|
|
|
|
"novaquark"
|
|
|
|
'("stroustrup"
|
|
|
|
(show-trailing-whitespace t)
|
|
|
|
(indent-tabs-mode . nil)
|
|
|
|
(tab-width . 8)))
|