From: Mark Wooding Date: Thu, 20 May 2021 17:46:06 +0000 (+0100) Subject: el/dot-emacs.el: Rename the Trustonic C styles. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/28082234ed759ee7725d4acc07a0efa075683253 el/dot-emacs.el: Rename the Trustonic C styles. It seems that the bizarre indentation of argument lists was a perversion specific to Alec. Don't do this by default any more. Rename the `basic' version to be `mdw-trustonic-c', and make the strange perversion be `mdw-trustonic-alec-c'. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index c1beb94..705143e 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -2130,16 +2130,16 @@ (defun-open . (add 0 c-indent-one-line-block)) (statement-cont . +) (statement-case-intro . +))) -(mdw-define-c-style mdw-trustonic-basic-c (mdw-c) +(mdw-define-c-style mdw-trustonic-c (mdw-c) (c-basic-offset . 4) - (comment-column . 0) (c-indent-comment-alist (anchored-comment . (column . 0)) (end-block . (space . 1)) (cpp-end-block . (space . 1)) (other . (space . 1))) (c-offsets-alist (access-label . -2))) -(mdw-define-c-style mdw-trustonic-c (mdw-trustonic-basic-c) +(mdw-define-c-style mdw-trustonic-alec-c (mdw-trustonic-c) + (comment-column . 0) (c-offsets-alist (arglist-cont-nonempty . mdw-c-indent-arglist-nested))) (defun mdw-set-default-c-style (modes style)