All of lore.kernel.org
 help / color / mirror / Atom feed
* Tab Spacing in Emacs
@ 2002-09-05 17:19 Ricardo Colon
  2002-09-05 17:24 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Colon @ 2002-09-05 17:19 UTC (permalink / raw)
  To: alsa-devel

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.


					-- Ricardo



-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Tab Spacing in Emacs
  2002-09-05 17:19 Tab Spacing in Emacs Ricardo Colon
@ 2002-09-05 17:24 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2002-09-05 17:24 UTC (permalink / raw)
  To: Ricardo Colon; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-05 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-05 17:19 Tab Spacing in Emacs Ricardo Colon
2002-09-05 17:24 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.