[Insight-developers] Updated dot emacs configuration for ITK style indentation

Jisung Kim bahrahm@yahoo.com
Fri, 2 May 2003 09:18:59 -0700 (PDT)


My previous configuration has a problem when I mark a
whole file and indent it. This changed the file header
(file revision info. and copyright) indentation. So, I
added a line to the previous configuration (that is
marked with ";;; new " in the following code.

I will update the ITK FAQ too. 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(c-add-style "itk"
             '("stroustrup" 
               (c-basic-offset . 2)
               (c-offsets-alist
                 (c . c-lineup-dont-change) ;;; new
                 (innamespace . 0)
                 (inline-open . 0) 
                 (substatement-open . +)
                 (statement-block-intro . 0) ) ) )

;;;;;;;;;;;;;;;;;;;;;;;;;;;

=====
Jisung Kim
bahrahm@yahoo.com
106 Mason Farm Rd.
129 Radiology Research Lab., CB# 7515
Univ. of North Carolina at Chapel Hill
Chapel Hill, NC 27599-7515

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com