2017-01-04 04:31:36 +08:00
|
|
|
((python-mode . ((indent-tabs-mode . nil)))
|
2016-12-24 10:46:16 +08:00
|
|
|
(autoconf-mode . ((indent-tabs-mode . t)))
|
2019-05-06 01:11:03 +08:00
|
|
|
(c++-mode . ((c-file-style . "k&r")
|
|
|
|
(indent-tabs-mode . nil)
|
|
|
|
(c-basic-offset . 4)
|
|
|
|
(c-file-offsets .
|
|
|
|
((block-close . 0)
|
|
|
|
(brace-list-close . 0)
|
|
|
|
(brace-list-entry . 0)
|
|
|
|
(brace-list-intro . +)
|
|
|
|
(case-label . 0)
|
|
|
|
(class-close . 0)
|
|
|
|
(defun-block-intro . +)
|
|
|
|
(defun-close . 0)
|
|
|
|
(defun-open . 0)
|
|
|
|
(else-clause . 0)
|
|
|
|
(inclass . +)
|
|
|
|
(label . 0)
|
|
|
|
(statement . 0)
|
|
|
|
(statement-block-intro . +)
|
|
|
|
(statement-case-intro . +)
|
|
|
|
(statement-cont . +)
|
|
|
|
(substatement . +)
|
|
|
|
(topmost-intro . 0)))))
|
2016-03-29 05:11:18 +08:00
|
|
|
(c-mode . ((c-file-style . "stroustrup")
|
2016-03-30 06:30:57 +08:00
|
|
|
(indent-tabs-mode . t)
|
|
|
|
(tab-width . 8)
|
|
|
|
(c-basic-offset . 8)
|
|
|
|
(c-file-offsets .
|
|
|
|
((block-close . 0)
|
|
|
|
(brace-list-close . 0)
|
|
|
|
(brace-list-entry . 0)
|
|
|
|
(brace-list-intro . +)
|
|
|
|
(case-label . 0)
|
|
|
|
(class-close . 0)
|
|
|
|
(defun-block-intro . +)
|
|
|
|
(defun-close . 0)
|
|
|
|
(defun-open . 0)
|
|
|
|
(else-clause . 0)
|
|
|
|
(inclass . +)
|
|
|
|
(label . 0)
|
|
|
|
(statement . 0)
|
|
|
|
(statement-block-intro . +)
|
|
|
|
(statement-case-intro . +)
|
|
|
|
(statement-cont . +)
|
|
|
|
(substatement . +)
|
|
|
|
(topmost-intro . 0))))))
|