🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189382

Indenting using spaces?

#189382
From: M}rten Hedman INF
Date: Mon, 25 Feb 1991 13:12
23 lines
1422 bytes
I am doing some programming in occam-2 and the compiler we have
doesn't like TAB-characters in the sourcefile at all. I write my code
using indented-text-mode as occam uses indentation for delimiting
block-contructs. This gives the following questions:

Is there 
  - a easy way to make the function indent-relative use spaces instead
    of tabs or 
  - does anyone have a function that works like indent-relative using spaces?

The alternative would be to force emacs to do (untabify (point-min)
(point-max)) before saving the file. Is there a hook to which I can
bind this function. 

If someone has written a major-mode for occam, please post it or
inform me where it can be obtained by ftp.

Thanks in advance

Marten Hedman			Graduate Student
mhedman@abo.fi (InterNet)	Department of Computer Science
mhedman@finabo (Bitnet)		University of Abo Akademi
				Turku, Finland
Technical Details
Message-ID: <MHEDMAN.91Feb25151253@aton.abo.fi>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!news.funet.fi!ra!mhedman

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,928f71f9f3244e1b,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-02-25 06:21:10 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!news.funet.fi!ra!mhedman
From: mhedman@aton.abo.fi (M}rten Hedman INF)
Newsgroups: gnu.emacs.help
Subject: Indenting using spaces?
Message-ID: <MHEDMAN.91Feb25151253@aton.abo.fi>
Date: 25 Feb 91 13:12:53 GMT
Sender: news@ra.abo.fi
Distribution: gnu.emacs.help
Organization: Abo Akademi University
Lines: 23