From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Florian Lindner Newsgroups: gmane.emacs.help Subject: Bind RET to command Date: Thu, 21 Feb 2008 10:21:38 +0000 (UTC) Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Message-ID: NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1203590849 23820 80.91.229.12 (21 Feb 2008 10:47:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Feb 2008 10:47:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 21 11:47:54 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JS8y1-0003hJ-BI for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Feb 2008 11:47:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JS8xU-0006ku-2e for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Feb 2008 05:47:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-mue1.dfn.de!lrz.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: r098153.ga2.swh.mhn.de Original-X-Trace: news.lrz-muenchen.de 1203589298 31941 10.149.98.153 (21 Feb 2008 10:21:38 GMT) Original-X-Complaints-To: newsmaster@lrz-muenchen.de Original-NNTP-Posting-Date: Thu, 21 Feb 2008 10:21:38 +0000 (UTC) User-Agent: Nemo 0.8.185 beta (Mac OS X 10.5.2 [Intel]) Original-Xref: shelby.stanford.edu gnu.emacs.help:156356 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:51728 Archived-At: Hello, I want to indent the current line when changing the line with return. The command AFAIK is reindent-then-newline-and-indent. How can I bind this to return but only in LaTeX mode (Auctex) and python-mode. Thanks, Florian -- I'm using an evaluation license of nemo since 72 days. You should really try it! http://www.malcom-mac.com/nemo