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: Indentation. Date: Fri, 27 Oct 2006 11:58:16 -0700 Organization: University of California, Davis Message-ID: References: <1161965854.252710.306610@f16g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161978335 26366 80.91.229.2 (27 Oct 2006 19:45:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Oct 2006 19:45:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 27 21:45:29 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 1GdXZK-0007TL-AD for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Oct 2006 21:40:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GdXZJ-0004I7-S4 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Oct 2006 15:40:41 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!ucdavis!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: moobilenet-58-145.ucdavis.edu Original-X-Trace: skeeter.ucdavis.edu 1161975459 28986 128.120.58.145 (27 Oct 2006 18:57:39 GMT) Original-X-Complaints-To: usenet@ucdavis.edu Original-NNTP-Posting-Date: Fri, 27 Oct 2006 18:57:39 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:oDaCHkGskj5rVvIaeKtx9X3VxHE= Original-Xref: shelby.stanford.edu gnu.emacs.help:142716 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:38337 Archived-At: >>>>> "Sam" == Sam Peterson writes: > (global-set-key "\C-m" 'newline-and-indent) > (global-set-key "\C-m" 'newline) Woops! That second line should be: (global-set-key "\C-j" 'newline) There. -- Sam Peterson skpeterson At nospam ucdavis.edu "if programmers were paid to remove code instead of adding it, software would be much better" -- unknown