On Jul 3, 2008, at 9:08 PM, Tim Bray wrote:

I ran into a showstopper NetBeans problem and until it's fixed, am switching to Emacs for my module dev work. Any apache/emacs lore would be appreciated. Will one of the string arguments to c-style Do The Right Thing? Any other goodies for my .emacs?


See he emacs-style file in the root of the source tree:

[EMAIL PROTECTED] ~ $ cat asf/httpd/trunk/emacs-style
(add-hook 'c-mode-hook
          (function (lambda ()
                        (c-set-offset 'inclass' ++)
                        (c-set-offset 'defun-block-intro' ++)
                        (c-set-offset 'statement-block-intro' ++)
                        (c-set-offset 'substatement' ++)
                        (c-set-offset 'brace-list-intro' ++)
                        (c-set-offset 'statement-case-intro' ++)
                        (c-set-offset 'inextern-lang' 0)
                        )))
(setq c++-mode-hook c-mode-hook)
(setq-default indent-tabs-mode nil)

I have this in my ~/.emacs.

S.

--
Sander Temme
[EMAIL PROTECTED]
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to