Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-09-30 23:36:40


Jonathan Graehl <boost_at_[hidden]> writes:

> The Boost style of nested indenting for preprocessor directives is
> nice. I'm using cc-mode for emacs (the sourceforge version), and it
> doesn't seem to directly support this:
>
> #if 1
> # if 2
> # define A 1
> # else
> # endif
> #endif
>
> I found this cc-mode mailing list discussion that confirmed the lack
> of support:
> http://sourceforge.net/mailarchive/forum.php?thread_id=5382045&forum_id=6827
>
> Anyone already got some working elisp for preprocessor autoindent?

Yep, my .emacs is at http://boost-consulting.com/public/.emacs

Enjoy,
Dave

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk