From: Takashi Iwai <tiwai@suse.de>
To: Ricardo Colon <rcolon@andrew.cmu.edu>
Cc: alsa-devel@alsa-project.org
Subject: Re: Tab Spacing in Emacs
Date: Thu, 05 Sep 2002 19:24:20 +0200 [thread overview]
Message-ID: <s5hwuq0nyd7.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.GSO.4.44L-027.0209051317310.9688-100000@unix6.andrew.cmu.edu>
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
prev parent reply other threads:[~2002-09-05 17:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-05 17:19 Tab Spacing in Emacs Ricardo Colon
2002-09-05 17:24 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hwuq0nyd7.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=rcolon@andrew.cmu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.