At Thu, 5 Sep 2002 13:19:47 -0400 (EDT),
Ricardo Colon wrote:
> 
> I need some help with Emacs, since it's driving me nuts.
> 
> I want to set the tab spacing to 4 so that code is always indented 4
> spaces. No matter what I do with my .emacs file. The code in the buffer
> always seems to display in terms of 2-space tabs.
> 
> Are there any emacs experts out there that know how to fix this?
> 
> Thanks.

not sure whether here is the correct ml :)
anyway,

(add-hook 'c-mode-hook
          '(lambda () (setq c-basic-offset 4)))
(add-hook 'c++-mode-hook
          '(lambda () (setq c-basic-offset 4)))


Takashi


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to