Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site mit-eddie.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!mit-eddie!barmar
From: barmar@mit-eddie.UUCP (Barry Margolin)
Newsgroups: net.emacs
Subject: Re: Tabbing in C Mode (Gnu Emacs)
Message-ID: <4628@mit-eddie.UUCP>
Date: Tue, 9-Jul-85 01:02:42 EDT
Article-I.D.: mit-eddi.4628
Posted: Tue Jul  9 01:02:42 1985
Date-Received: Wed, 10-Jul-85 23:38:42 EDT
References: <280@mit-athena.UUCP>
Reply-To: barmar@mit-eddie.UUCP (Barry Margolin)
Organization: MIT, Cambridge, MA
Lines: 19

In article <280@mit-athena.UUCP> martillo@mit-athena.UUCP (Joaquim Martillo) writes:
>In C-mode tabs indent the current line to the proper position  according
>to  level.   If  you  want  to get tabs anywhere else on the line, it is
>hard.  Here is one possible function to do this.
>
>(defun insert-tab (&optional arg)
>...
>(define-key esc-map "\^i" 'insert-tab)	; bind function to M-C-i or 
>					;  C-i


What's wrong with C-q TAB (besides flow control problems, which I know
are not a problem at Athena)?  C-q is quoted-insert, which inserts the
character typed, rather than executing it.  This is true in almost all
the versions of Emacs I have used, and I just verified it in GNU Emacs.
-- 
    Barry Margolin
    ARPA: barmar@MIT-Multics
    UUCP: ..!genrad!mit-eddie!barmar