Rui Paulo <[EMAIL PROTECTED]> writes: > I think this should be mentioned in the developer's handbook because, > IIRC, the sample .emacs file in there is bogus and doesn't really > respect style(9).
(defun des-knf () (interactive) (c-set-style "bsd") ;; Basic indent is 8 spaces (setq c-basic-offset 8) (setq tab-width 8) ;; Continuation lines are indented 4 spaces (c-set-offset 'arglist-cont 4) (c-set-offset 'arglist-cont-nonempty 4) (c-set-offset 'statement-cont 4) (c-set-offset 'cpp-macro-cont 8) ;; Labels are flush to the left (c-set-offset 'label [0]) ;; Fill column (setq fill-column 74)) DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
