help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: indentation - always a pita


From: Kai Großjohann
Subject: Re: indentation - always a pita
Date: Wed, 25 Jun 2003 08:14:43 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Harry Putnam <reader@newsguy.com> writes:

> Two spaces per clause and 2 spaces for actions inside clause.
> No tabs at all.

I just had a quick look, but maybe you could check

(setq sh-indentation 2)
(setq-default indent-tabs-mode nil)

(The variable indent-tabs-mode is buffer-local by default.  With
setq-default, most modes will avoid tabs for indentation.  If you
only want to tweak this for shell script mode, then you can do it
with a mode hook.)
-- 
~/.signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]