From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Newsgroups: gmane.emacs.help Subject: Re: Why flip RET and C-j with electric-indent-mode? Date: Thu, 11 Dec 2014 16:56:20 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1418323112 10637 80.91.229.3 (11 Dec 2014 18:38:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 18:38:32 +0000 (UTC) Cc: "bob@proulx.com" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 19:38:25 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 1Xz8d7-0006zE-A1 for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 19:38:25 +0100 Original-Received: from localhost ([::1]:53121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz8d6-0007AY-TS for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 13:38:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz7Lq-0002RY-Hj for help-gnu-emacs@gnu.org; Thu, 11 Dec 2014 12:16:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz7Lj-0006WZ-2C for help-gnu-emacs@gnu.org; Thu, 11 Dec 2014 12:16:30 -0500 Original-Received: from dub004-omc4s18.hotmail.com ([157.55.2.93]:59594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz7Li-0006VX-SV for help-gnu-emacs@gnu.org; Thu, 11 Dec 2014 12:16:22 -0500 Original-Received: from DUB118-W40 ([157.55.2.71]) by DUB004-OMC4S18.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Thu, 11 Dec 2014 08:56:21 -0800 X-TMN: [4iBtlwS7EgUqdWt/b7u/rV34Tw5VZTsP] X-Originating-Email: [stephenl42@hotmail.com] Importance: Normal X-OriginalArrivalTime: 11 Dec 2014 16:56:21.0278 (UTC) FILETIME=[63B953E0:01D01563] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 157.55.2.93 X-Mailman-Approved-At: Thu, 11 Dec 2014 13:37:20 -0500 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:101525 Archived-At: > But no. That isn't a suggestion I like. Obviously I already know=0A= > that setting this will set things back the way I prefer:=0A= >=0A= > (setq electric-indent-mode nil) =3B new in 24=2C default is t=2C breaks R= ET/C-j=0A= =0A= well=2C no=0A= =0A= that disables the electric stuff in its entirety - in c-mode=2C where i spe= nd a lot of time=2C you lose the other magic keys (comma=2C semicolon=2C pa= rens etc etc)=0A= =0A= this is the best workaround i've found:=0A= (global-set-key (kbd "RET") 'electric-newline-and-maybe-indent)=0A= =0A= also=2C=0A= =0A= > Because users nowadays expect that.=0A= =0A= strikes me as a little arrogant. if by "users" you mean "people who have ne= ver used emacs before" then yes. but if you mean "people who have been usin= g emacs for 24 years" then no=2C i NOT "expect that"=2C get off my lawn!=0A= =0A= i don't object to change per se=2C but i am ticked off there was no obvious= documented "old behaviour" flag=2C and that i had to waste my time coming = up with an acceptable workaround for this frivolous change.=0A= =0A= s.=0A= =