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

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

Re: Unable to Set Tab Width


From: Pascal Bourguignon
Subject: Re: Unable to Set Tab Width
Date: 21 Mar 2003 21:33:52 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Chris <matrix2468REMOVETHISTOREPLY@cox.net> writes:

> 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!


I have this:

(custom-set-variables
 '(indent-tabs-mode nil)
 '(inhibit-c-tab-always-indent nil)
 '(tab-stop 4 t)
 '(tab-stop-list (quote (4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64)))
 '(tab-width 4)
 '(c-tab-always-indent nil)
)

(add-hook 'shell-mode-hook '(lambda () (set-variable 'tab-width 8)))



-- 
__Pascal_Bourguignon__                   http://www.informatimago.com/
----------------------------------------------------------------------
Do not adjust your mind, there is a fault in reality.


reply via email to

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