Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!usc!merlin.usc.edu!usc.edu!raulmill
From: raulmill@usc.edu (Raul)
Newsgroups: gnu.emacs
Subject: Re: Use of Tabs in GNU emacs
Message-ID: 
Date: 30 Jul 89 20:54:39 GMT
References: <2939@yunexus.UUCP>
Sender: news@merlin.usc.edu
Organization: Narcoleptic Killer Apes
Lines: 22
In-reply-to: landolt@yunexus.UUCP's message of 26 Jul 89 15:12:00 GMT

Paul Landolt writes:
-> In C-mode, the TAB key performs a lisp-indent command, rather than
-> something similar to tab-to-tab-stop (I looked up the names).

-> All I really want is for my tab key to insert a TAB into the file, and,
-> for the delete key to erase the tab (not just a space or two) in the file.

-> Is there anyway of setting up the environment to handle this?
-> (preferably through the .emacs file)


(define-key c-mode-map ?\C-? 'delete-backward-char)
(define-key c-mode-map ?\C-i 'self-insert-command)
--
Raul Rockwell                                      |
INTERNET:   raulmill@usc.edu                       |
UUCP:       ...uunet!usc!raulmill                  |  55 mph = 82 nc
U.S.SNAIL:  721 E Windsor #4,  GLENDALE CA  91205  |
Raul Rockwell                                      |
INTERNET:   raulmill@usc.edu                       |
UUCP:       ...uunet!usc!raulmill                  |  55 mph = 82 nc
U.S.SNAIL:  721 E Windsor #4,  GLENDALE CA  91205  |