Re: tab-size [was: commit]


Subject: Re: tab-size [was: commit]
From: Joaquin Cuenca Abela (e98cuenc@yahoo.com)
Date: Sun Dec 31 2000 - 09:17:50 CST


--- Jesper Skov <jskov@redhat.com> wrote:
> Oh no :) What you want in your .emacs is this then:
>
> (defun abi-c-mode ()
> "C mode with adjusted defaults for use with the
> AbiWord sources."
> (interactive)
> (c++-mode)
> (c-set-style "K&R")
> (setq c-basic-offset 4)
> (setq indent-tabs-mode t)
> (show-paren-mode 1)
> (setq tab-width 4))
>
> (setq auto-mode-alist
> (cons '(".*/abiword/.*\\.[ch].*$" .
> abi-c-mode)
> auto-mode-alist))

pretty nice :) Thanx for the tip.
Could we have that in the developers faq? (Is there
such a faq?)

Cheers,

P.S.: Happy new {year,century,millenium,etc...} to
Martin and all the Australian guys!

--
Joaquín Cuenca Abela
e98cuenc@yahoo.com

__________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/



This archive was generated by hypermail 2b25 : Sun Dec 31 2000 - 09:17:52 CST