From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Newsgroups: gmane.emacs.help Subject: Re: Unable to Set Tab Width Date: Sat, 22 Mar 2003 04:27:16 GMT Organization: Cox Communications Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048307534 9336 80.91.224.249 (22 Mar 2003 04:32:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2003 04:32:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 22 05:32:12 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 18wag0-0002Q7-00 for ; Sat, 22 Mar 2003 05:32:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18waeJ-0004K0-08 for gnu-help-gnu-emacs@m.gmane.org; Fri, 21 Mar 2003 23:30:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!cox.net!p01!news1.east.cox.net.POSTED!53ab2750!not-for-mail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: 68.10.114.187 Original-X-Complaints-To: abuse@cox.net Original-X-Trace: news1.east.cox.net 1048307236 68.10.114.187 (Fri, 21 Mar 2003 23:27:16 EST) Original-NNTP-Posting-Date: Fri, 21 Mar 2003 23:27:16 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:111308 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:7807 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7807 Thank you! Everyone's comments were very helpful and I was able to set the tab stops as needed. Thanks, Chris Chris wrote: > Despite countless efforts, I cannot set the tab width > in emacs to 2 spaces instead of 4. > > >uname -a > HP-UX host B.11.00 U 9000/785 2007718834 unlimited-user license > > >/usr/local/bin/emacs-21.2.1 > >cat .emacs > (setq default-tab-width 2) > > I thought the above command would set the tab width to 2, > but it is stuck at 4! > > That is all I have in the emacs file. > > I did have that long list of tab stops such as 2 4 6 8 ... > but that didn't help. > > Any suggestions? > > It's driving me nuts while editing perl or java. > > I thought emacs was configurable... no? > > I have the same trouble with a Win32 version of emacs (20.7.1). > > Any help appreciated, > Chris > > > >