From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: indentation - always a pita Date: Wed, 25 Jun 2003 08:14:43 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <847k7afzu4.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1056524652 32106 80.91.224.249 (25 Jun 2003 07:04:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2003 07:04:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 25 09:04:06 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19V4CB-000821-00 for ; Wed, 25 Jun 2003 08:55:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19V4CD-0007IZ-Uf for gnu-help-gnu-emacs@m.gmane.org; Wed, 25 Jun 2003 02:55:57 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!lucy.is.informatik.uni-duisburg.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: lucy.is.informatik.uni-duisburg.de (134.91.35.216) Original-X-Trace: fu-berlin.de 1056523990 28472441 134.91.35.216 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:i8QTVEgAzyGrITpqcZ8fWyi2sBY= Original-Xref: shelby.stanford.edu gnu.emacs.help:114709 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11200 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11200 Harry Putnam 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