From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nimar Arora Newsgroups: gmane.emacs.help Subject: Re: development Date: 06 Dec 2002 14:38:24 -0800 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <7wzn0niu61r.fsf@dlsun92.us.oracle.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039214875 7062 80.91.224.249 (6 Dec 2002 22:47:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2002 22:47:55 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18KRGE-0001pl-00 for ; Fri, 06 Dec 2002 23:47:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KR9e-0003lt-00; Fri, 06 Dec 2002 17:41:06 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!sjc-peer.news.verio.net!news.verio.net!news.sanjose1.Level3.net!Level3.net!news.oracle.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Sender: none@none.com Original-Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.4 Original-NNTP-Posting-Host: 130.35.173.65 Original-X-Trace: news.oracle.com 1039214542 130.35.173.65 (Fri, 06 Dec 2002 14:42:22 PST) Original-NNTP-Posting-Date: Fri, 06 Dec 2002 14:42:22 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:107814 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:4363 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4363 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