From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alpesh Mote Newsgroups: gmane.emacs.help Subject: emacs tab settings Date: Fri, 02 Jul 2004 16:26:23 +0530 Organization: In-Reality Software Pvt Ltd Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1088765783.3948.17.camel@invi-inr-04> Reply-To: alpesh@in-reality.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1088765469 17094 80.91.224.253 (2 Jul 2004 10:51:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jul 2004 10:51:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 02 12:51:02 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BgLdG-0000V9-00 for ; Fri, 02 Jul 2004 12:51:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgLf4-0000EU-GL for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jul 2004 06:52:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BgLex-0000Df-UJ for help-gnu-emacs@gnu.org; Fri, 02 Jul 2004 06:52:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BgLew-0000DO-9B for help-gnu-emacs@gnu.org; Fri, 02 Jul 2004 06:52:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgLew-0000DL-5V for help-gnu-emacs@gnu.org; Fri, 02 Jul 2004 06:52:46 -0400 Original-Received: from [203.199.113.69] (helo=vmail.vsnl.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BgLcm-0000em-6g for help-gnu-emacs@gnu.org; Fri, 02 Jul 2004 06:50:32 -0400 Original-Received: from invi-inr-04 ([127.0.0.1]) by vmail.vsnl.com (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0I08002EA0S4Q9@vmail.vsnl.com> for help-gnu-emacs@gnu.org; Fri, 02 Jul 2004 16:20:29 +0530 (IST) Original-Received: from ([203.124.166.130]) by vmail.vsnl.com (InterScan E-Mail VirusWall Unix); Fri, 02 Jul 2004 16:20:29 +0530 (IST) Original-To: help-gnu-emacs@gnu.org X-Mailer: Ximian Evolution 1.4.5 (1.4.5-1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19419 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19419 I want to set the following indentation setting in my .emacs file could you please help me with the same. The vi equivalent of the same is; :se ts=8 :se softtabstop=4 :se shiftwidth=4 :autocmd FileType xml set softtabstop=2 :autocmd FileType xml set shiftwidth=2 :autocmd FileType tool set softtabstop=2 :autocmd FileType tool set shiftwidth=2 :autocmd FileType make set shiftwidth=8 :autocmd FileType make set shiftwidth=8 cheers -- Alpesh Software Engineer In-Reality Software Pvt Ltd