httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <scte...@apache.org>
Subject Re: Emacs lore for Apache?
Date Fri, 04 Jul 2008 06:29:29 GMT

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:

[sctemme@legadema] ~ $ 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
sctemme@apache.org
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF




Mime
View raw message