🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188902

Spaces rather than tabs in C-mode

#188902
From: Andrew Torda
Date: Wed, 12 Jun 1991 07:12
13 lines
982 bytes
I prefer spaces to tabs in my C source.
On a per-buffer basis, I can do it through edit-options, but how do I
do it forever in every buffer ?

I tried
   (setq indent-tabs-mode nil)
and
   (setq c-mode-hook (setq indent-tabs-mode nil))
but I keep getting tabs.

Many thanks for any advice.
--
Andrew Torda, ETH, Zurich
Technical Details
Message-ID: <1991Jun12.091208@igc.ethz.ch>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!cernvax!chx400!bernina!igc.ethz.ch!torda

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,8186fa06f7bea60f,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-06-12 15:39:17 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!cernvax!chx400!bernina!igc.ethz.ch!torda
From: torda@igc.ethz.ch (Andrew Torda )
Newsgroups: gnu.emacs.help
Subject: Spaces rather than tabs in C-mode
Keywords: tabs spaces c-mode
Message-ID: <1991Jun12.091208@igc.ethz.ch>
Date: 12 Jun 91 07:12:08 GMT
Sender: news@bernina.ethz.ch (USENET News System)
Reply-To: torda@igc.ethz.ch (Andrew Torda )
Organization: InformatikgestutzteChemie, ETH, Zurich
Lines: 13
Nntp-Posting-Host: hermitage