home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!news.u.washington.edu!ethanb
- From: ethanb@ptolemy.astro.washington.edu (Ethan Bradford)
- Subject: Re: Question: EMACS Tab Settings
- In-Reply-To: dsc3son@nmdsc10.med.navy.mil's message of 6 Nov 92 15:21:07 GMT
- To: dsc3son@nmdsc10.med.navy.mil (Sean O'Neill)
- Message-ID: <ETHANB.92Nov6114918@ptolemy.astro.washington.edu>
- Lines: 21
- Sender: news@u.washington.edu (USENET News System)
- Organization: U. of Washington
- References: <DSC3SON.92Nov6102107@nmdsc10.med.navy.mil>
- Date: Fri, 6 Nov 1992 19:49:18 GMT
-
- You want to set the variable tab-width to 4:
-
- tab-width's value is 8
-
- Documentation:
- *Distance between tab stops (for display of tab characters), in columns.
- Automatically becomes local when set in any fashion.
-
- In article <DSC3SON.92Nov6102107@nmdsc10.med.navy.mil> dsc3son@nmdsc10.med.navy.mil (Sean O'Neill) writes:
-
- I have a question about EMACS tabs. I have a pre-existing document
- that I wish to edit (its a Perl program). The default tab setting in
- EMACS is 8 columns per tab. I would like 4 columns per tab. I used
- the edit-tab-stops function and changed the tabs to what I want. The
- strange thing is only tabs from that point on are effected. I would
- like for all tabs in the current buffer to be shifted over to column
- 4. 'Vi' does this using the ':set tabstop=4' command. All tabs are
- immediately shifted over to column 4. Is there a function that does
- this?
-
- HELP!
-