Xref: utzoo comp.emacs:9385 gnu.emacs.vms:179 gnu.emacs.gnews:88 Path: utzoo!attcan!uunet!fernwood!oracle!news From: jlange@oracle.com (Jim Lange) Newsgroups: comp.emacs,gnu.emacs.vms,gnu.emacs.gnews Subject: Re: How do I set the tab-width in emacs? Message-ID: Date: 24 Oct 90 20:38:27 GMT References: <1216@esacs.UUCP> Sender: news@oracle.com Organization: Oracle Corp., Belmont CA Lines: 24 In article <1216@esacs.UUCP> nick@esacs.UUCP (Nick Tsivranidis) writes: I would like to set the tab-width in c-mode (or all modes) to 4. There is a variable (tab-width) which will do what I want, but I can't get this to work from my .emacs file. I tried something like: (setq tab-width 4) In order for the tab-width variable to be recognized, the variable indent-tabs-mode must also be set to nil (this tells emacs to use spaces instead of tabs when indenting). Along the same lines, is there any on-line info on all the user settable variables of emacs (i.e. things I can set in my .emacs). The command M-x edit-options will display all user setable variables and allow you to interactively redefine them. C-h m will give help on this special 'Options' mode, but just browsing through the variables and descriptions will tell you what you want to know. Also, I believe there is an info node (C-h i) that lists all the variables. Jim Lange Oracle Corporation