home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!decwrl!world!ksr!harsha
- From: harsha@ksr.com (Paul Harsha)
- Newsgroups: comp.emacs
- Subject: Re: BAD, bad, bad TABS in emacs
- Message-ID: <14896@ksr.com>
- Date: 18 Aug 92 14:03:08 EDT
- References: <1992Aug18.115111.17395@lth.se>
- Sender: news@ksr.com
- 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
-
- (setq indent-tabs-mode nil) will change it for the current buffer
-
- (setq-default indent-tabs-mode nil) will change it for all buffers which don't
- already have it defined
-
- >b: search a whole buffer, replacing control-i's with the same scheme
- > of spaces.
-
- M-x untabify
-
- The gnuemacs manual discusses and the info file discuss both of these in
- detail.
-
- -Paul
- --
- Paul Harsha (harsha@ksr.com) Kendall Square Research Corp.
-