> A newer style which is better but I feel a little > uncomfortable because it uses 8 as basic offset and tricks > all other offsets in being "halve". > > (defconst apache-java-style > '((c-basic-offset . 8) > (c-comment-only-line-offset 0 . 0) > (indent-tabs-mode . nil) > (c-offsets-alist > (arglist-close . c-lineup-arglist) > (arglist-cont-nonempty . +) > (arglist-intro . +) > (brace-list-intro . *) > (c . c-lineup-C-comments) > (comment-intro . c-lineup-comment) > (cpp-macro-cont . c-lineup-dont-change) > (defun-block-intro . *) > (func-decl-cont . c-lineup-java-throws) > (inclass . *) > (inexpr-class . *) > (inextern-lang . *) > (inher-intro . +) > (inher-cont . c-lineup-java-inher) > (inher-intro . +) > (inlambda . c-lineup-inexpr-block) > (inline-open . 0) > (innamespace . *) > (knr-argdecl-intro . *) > (topmost-intro-cont . +) > (label . 2) > (lambda-intro-cont . *) > (member-init-cont . c-lineup-multi-inher) > (member-init-intro . *) > (objc-method-args-cont . c-lineup-ObjC-method-args) > (objc-method-call-cont . c-lineup-ObjC-method-call) > (statement-block-intro . *) > (statement-case-intro . *) > (statement-case-open . *) > (statement-cont . +) > (stream-op . c-lineup-streamop) > (string . c-lineup-dont-change) > (substatement . *) > (substatement-open 0 nil) > (template-args-cont . (c-lineup-template-args *)) > )) > "apache-java" > ) > > They do differ in indenting "hanging arguments" and the > throws as described above. I personally will go for future > stuff with the 2nd style. >
So is this the version you want to go into the main site? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
