From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Peterson Newsgroups: gmane.emacs.help Subject: Re: indent-tab-mode Date: 11 Oct 2006 04:57:20 -0700 Organization: University of California, Davis Message-ID: References: <87psddujj8.fsf@baldur.nicundtas.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160570603 5950 80.91.229.2 (11 Oct 2006 12:43:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Oct 2006 12:43:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 11 14:43:20 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GXdP2-0001ho-IA for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Oct 2006 14:41:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXdP1-0007R4-Se for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Oct 2006 08:41:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!ucdavis!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: lect14.cs.ucdavis.edu Original-X-Trace: skeeter.ucdavis.edu 1160567840 7467 169.237.5.137 (11 Oct 2006 11:57:20 GMT) Original-X-Complaints-To: usenet@ucdavis.edu Original-NNTP-Posting-Date: Wed, 11 Oct 2006 11:57:20 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:142364 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37985 Archived-At: Gary Wessle writes: > then how can I indent-while-typing this code Use C-j to carriage return or put the following in your .emacs: (global-set-key "\C-m" 'newline-and-indent) (global-set-key "\C-j" 'newline) -- Sam Peterson skpeterson AT nospam ucdavis.edu "if programmers were paid to remove code instead of adding it, software would be much better" -- unknown