home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.emacs
- Path: sparky!uunet!ftpbox!mothost!merlin.dev.cdx.mot.com!fendahl.dev.cdx.mot.com!mcook
- From: mcook@fendahl.dev.cdx.mot.com (Michael Cook)
- Subject: Re: BAD, bad, bad TABS in emacs
- Message-ID: <mcook.714152831@fendahl.dev.cdx.mot.com>
- Sender: news@merlin.dev.cdx.mot.com (USENET News System)
- Nntp-Posting-Host: fendahl.dev.cdx.mot.com
- Organization: Motorola Codex, Canton, Massachusetts
- References: <1992Aug18.115111.17395@lth.se>
- Date: Tue, 18 Aug 1992 15:47:11 GMT
- Lines: 25
-
- kurt@dna.lth.se (Kurt Swanson) writes:
-
- >I would like emacs to rid my life of control-i's. Does anyone know of
- >any emacs means to:
-
- >a: redefine the tab key such that it inserts the right number of
- > spaces, i.e. 1-8 depending on the tab stops and current cursor
- > column
-
- Put this in your ~/.emacs:
-
- (setq-default indent-tabs-mode nil)
-
- >and/or
-
- >b: search a whole buffer, replacing control-i's with the same scheme
- > of spaces.
-
- M-< M-> M-x untabify RET
-
- >Any ideas?
- >Kurt Swanson, Dept. of Computer Science,
- >Lunds universitet. Kurt.Swanson@dna.lth.se
-
- Michael.
-