home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!pipex!demon!edscom.demon.co.uk!kevin
- From: kevin@edscom.demon.co.uk (Kevin Broadey)
- Subject: Re: How to do set ts=4
- In-Reply-To: mah@fjmah.att.com's message of 6 Aug 92 21:47:30 GMT
- Message-ID: <KEVIN.92Aug12084534@buffalobill.edscom.demon.co.uk>
- Sender: kevin@edscom.demon.co.uk (Kevin Broadey)
- Organization: EDS-Scicon, Milton Keynes, UK
- References: <MAH.92Aug5141906@fjmah.att.com> <1992Aug6.153913.146@cbfsb.cb.att.com>
- <ETHANB.92Aug6131237@ptolemy.astro.washington.edu>
- <MAH.92Aug6164730@fjmah.att.com>
- Date: Wed, 12 Aug 1992 08:45:34 GMT
- Lines: 23
-
- In article <MAH.92Aug6164730@fjmah.att.com> mah@fjmah.att.com (54628-M. Hargrove) writes:
-
- Thank you both for your replies.
-
- Setting c-indent-level doesn't seem to work in the middle of your
- emacs session (I realize you didn't say it did). My original question
- was how to do :set ts=4. I wasn't specific enough but I did mean
- "how do I do it any time". I have some files where tab stops are
- meant to be at 8 in some places and 4 at other places so I need to
- flip back and forth between 8 and 4.
-
- Messy, I know.
-
- Any more ideas?
-
- You could try "M-x set-variable tab-width 4". This seems to do exactly what I
- think you want. Note that the variable is made buffer-local the moment you do
- anything to it. See also `default-tab-width'.
- --
- Kevin Broadey, EDS-Scicon
- Mail: Wavendon Tower, Wavendon, Milton Keynes, MK17 8LX, England
- E-mail: kbroadey@edscom.demon.co.uk
- Phone: +44 908 284198 or +44 908 585858 ext 4198
-