From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Default behaviour of RET. Date: Thu, 24 Oct 2013 09:35:22 -0400 Message-ID: References: <8361sqli02.fsf@gnu.org> <1730ebf3-db44-498c-b2a9-4d288d83a946@default> <87k3h6xuen.fsf@yandex.ru> <1878e4fa-50f2-4655-a4ff-30d1db708ee8@default> <5D2595BD-AC11-4FB6-B363-31EBE28A0AE0@mit.edu> <20131022005911.63239c56@forcix.kollektiv-hamburg.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1382621739 27097 80.91.229.3 (24 Oct 2013 13:35:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2013 13:35:39 +0000 (UTC) Cc: chad , "emacs-devel@gnu.org devel" , Jorgen Schaefer To: Josh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 24 15:35:43 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VZL4f-00019n-LF for ged-emacs-devel@m.gmane.org; Thu, 24 Oct 2013 15:35:41 +0200 Original-Received: from localhost ([::1]:54436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZL4f-0001Cz-5N for ged-emacs-devel@m.gmane.org; Thu, 24 Oct 2013 09:35:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZL4R-0001By-U6 for emacs-devel@gnu.org; Thu, 24 Oct 2013 09:35:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZL4K-0000cI-4h for emacs-devel@gnu.org; Thu, 24 Oct 2013 09:35:27 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:20326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZL4K-0000b7-1G for emacs-devel@gnu.org; Thu, 24 Oct 2013 09:35:20 -0400 Original-Received: from ceviche.home ([24.201.53.56]) by VL-VM-MR003.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0MV600H69DQVTLC0@VL-VM-MR003.ip.videotron.ca> for emacs-devel@gnu.org; Thu, 24 Oct 2013 09:35:19 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id D61FE6609A; Thu, 24 Oct 2013 09:35:22 -0400 (EDT) In-reply-to: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 24.201.245.36 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164509 Archived-At: > binding of newline-and-indent would become useless, but it seems to me > that a keymap-based electric-mode implementation could remap those > commands such that hitting return (->newline-and-indent) would trigger > reindentation while keeping non-indenting newline functionality available > on C-j (->newline). Yes, the plan would be indeed to make C-j perform a newline-without-indent when electric-indent-mode is enabled. > electric-mode's effect on newline's behavior when called > programmatically. That's been fixed already. Stefan