httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <stodd...@raleigh.ibm.com>
Subject Re: emacs mode?
Date Fri, 04 Feb 2000 16:30:36 GMT

> Does someone have the CC-mode setting for the standard Apache coding style
> lying around? They aren't referenced from the style guide on
dev.apache.org.
>
>

Here is what I use. Your mileage may vary :-)

;;;---------------------------------------------------------------------
;;; Load cc-mode
;;; cc-mode includes mode support for C, C++, Objective C and Java
;;; First, set the indent style...
(load "cc-mode")

;;;---------------------------------------------------------------------
;;; C language mode personalization parameters for me
(setq c-mode-hook '(lambda ()
       (setq indent-tabs-mode nil)
       (setq c-file-style "bsd");
       ))
;;;---------------------------------------------------------------------
;;; C++ language mode personalization parameters for me
(setq c++-mode-hook '(lambda ()
       (setq indent-tabs-mode nil)
       (setq c-file-style "bsd");
       ))

Bill


Mime
View raw message