From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Why flip RET and C-j with electric-indent-mode? Date: Sat, 29 Nov 2014 16:20:01 -0700 Message-ID: <20141129161141445500336@bob.proulx.com> References: <20141128153825244895059@bob.proulx.com> <83tx1ila1w.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1417303236 21281 80.91.229.3 (29 Nov 2014 23:20:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2014 23:20:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 30 00:20:30 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1XurJV-0004bC-9B for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Nov 2014 00:20:29 +0100 Original-Received: from localhost ([::1]:49142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XurJU-0001PJ-Hv for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Nov 2014 18:20:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XurJB-0001PB-Kr for help-gnu-emacs@gnu.org; Sat, 29 Nov 2014 18:20:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XurJ5-0008Bb-GZ for help-gnu-emacs@gnu.org; Sat, 29 Nov 2014 18:20:09 -0500 Original-Received: from joseki.proulx.com ([216.17.153.58]:42683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XurJ5-00089T-8o for help-gnu-emacs@gnu.org; Sat, 29 Nov 2014 18:20:03 -0500 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 449DA21848 for ; Sat, 29 Nov 2014 16:20:01 -0700 (MST) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 2D0E12DC2E; Sat, 29 Nov 2014 16:20:01 -0700 (MST) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <83tx1ila1w.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.17.153.58 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101301 Archived-At: Eli Zaretskii wrote: > Bob Proulx wrote: > > So why did emacs flip RET and C-j with electric-indent-mode? > > Because users nowadays expect that. These days I think users expect mode specific behavior. In c-mode or whatever then that type of electric behavior is rather expected. But in the basic fundamental-mode that type of automatic indention really gets in the way and is not expected. The fundamental-mode should be simple and basic without all of the happy fluff. > "C-h f newline RET" will have a suggestion that you will like, I > think. I think you might be hinting at: To just insert a newline, use M-x electric-indent-just-newline. But no. That isn't a suggestion I like. Obviously I already know that setting this will set things back the way I prefer: (setq electric-indent-mode nil) ; new in 24, default is t, breaks RET/C-j I am simply registering my aggravation with this being the new default for fundamental-mode. Bob