help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: development


From: Nimar Arora
Subject: Re: development
Date: 06 Dec 2002 14:38:24 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.4

McClain,

Here's the basic customization I use. I like the Kernighan & Ritchie
editing style but prefer an offset of 2 spaces. Hope, this helps.

Thanks,

Nimar

      ;; C-Customization
      (c-add-style "myc"
        '("k&r" (c-basic-offset . 2)
       ))
      (add-hook 'c-mode-hook '(lambda () 
        (c-set-style "myc")
        (lazy-lock-mode)
        (setq comment-column 45)
       ))
      (setq-default c-hungry-delete-key t) ; delete through all white spaces



reply via email to

[Prev in Thread] Current Thread [Next in Thread]