# HG changeset patch # User Oleksandr Gavenko # Date 1240044312 -10800 # Node ID 23d028bad418df93c36bbc093443d19147007328 # Parent 5a3df58678d2179db5fc14914480355936ae7864 More regular indent. diff -r 5a3df58678d2 -r 23d028bad418 .emacs-my --- a/.emacs-my Sat Apr 18 11:42:35 2009 +0300 +++ b/.emacs-my Sat Apr 18 11:45:12 2009 +0300 @@ -811,31 +811,35 @@ (setq c-echo-syntactic-information-p t) (defconst my-c-style - '((c-tab-always-indent . t) + '((c-tab-always-indent . t) (c-comment-only-line-offset . 4) - (c-hanging-braces-alist . ((substatement-open after) - (brace-list-open))) - (c-hanging-colons-alist . ((member-init-intro before) - (inher-intro) - (case-label after) - (label after) - (access-label after))) - (c-cleanup-list . (scope-operator - empty-defun-braces - defun-close-semi)) - (c-offsets-alist . ((arglist-intro . ++) - (arglist-close . c-lineup-arglist) - (arglist-cont-nonempty . ++) - (statement-block-intro . +) - (inline-open . 0) - (inexpr-class . 0) - (statement-cont . ++) - (label . 0) - (substatement-open . 0) - (case-label . 0) - (block-open . 0) - (comment-intro . 0) - (knr-argdecl-intro . -))) + (c-hanging-braces-alist + . ((substatement-open after) + (brace-list-open))) + (c-hanging-colons-alist + . ((member-init-intro before) + (inher-intro) + (case-label after) + (label after) + (access-label after))) + (c-cleanup-list + . (scope-operator + empty-defun-braces + defun-close-semi)) + (c-offsets-alist + . ((arglist-intro . ++) + (arglist-close . c-lineup-arglist) + (arglist-cont-nonempty . ++) + (statement-block-intro . +) + (inline-open . 0) + (inexpr-class . 0) + (statement-cont . ++) + (label . 0) + (substatement-open . 0) + (case-label . 0) + (block-open . 0) + (comment-intro . 0) + (knr-argdecl-intro . -))) (c-echo-syntactic-information-p . t)) "My C Programming Style")