From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Questioning the new behavior of `open-line'. Date: Wed, 11 Nov 2015 22:11:19 +0200 Message-ID: <83si4cjnyw.fsf@gnu.org> References: <87vb98csu1.fsf@red-bean.com> <87h9kscqig.fsf@red-bean.com> <83vb98jqwp.fsf@gnu.org> <87k2poba1s.fsf@red-bean.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1447272715 32129 80.91.229.3 (11 Nov 2015 20:11:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2015 20:11:55 +0000 (UTC) Cc: bruce.connor.am@gmail.com, emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 11 21:11:47 2015 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 1ZwbkA-0000gE-MB for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2015 21:11:46 +0100 Original-Received: from localhost ([::1]:42737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwbkA-0007mK-L0 for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2015 15:11:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwbjw-0007m4-CJ for emacs-devel@gnu.org; Wed, 11 Nov 2015 15:11:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zwbjr-0004lL-Aq for emacs-devel@gnu.org; Wed, 11 Nov 2015 15:11:32 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:37420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwbjr-0004lH-2h for emacs-devel@gnu.org; Wed, 11 Nov 2015 15:11:27 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NXO006002FX1Y00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Wed, 11 Nov 2015 22:11:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXO006PE2R12N00@a-mtaout20.012.net.il>; Wed, 11 Nov 2015 22:11:25 +0200 (IST) In-reply-to: <87k2poba1s.fsf@red-bean.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:194129 Archived-At: > From: Karl Fogel > Cc: bruce.connor.am@gmail.com, emacs-devel@gnu.org > Date: Wed, 11 Nov 2015 13:39:11 -0600 > > John Wiegley writes: > > Eli Zaretskii writes: > >> People who don't like electric-indent-mode can just turn it off, can't they? > >> Why argue about defaults when they can be so easily changed? > > > >This is more about people who want to use electric-indent-mode, but don't want > >it changing previous defaults in a way that doesn't seem to be related to > >electric-indent-mode. > > > >I can imagine a new user experiencing this and having no clue that > >electric-indent-mode is the reason: Because it is enabled by default for them > >in 25.1 -- they never consciously turned it on to notice the difference in > >behavior -- so they wouldn't know it's coming from that source. > > That's exactly what happened to me, yes. > > >Why is something like this being enabled by default, again? Or did I misread? > >I would expect any kind of automated behavior like this to be opt-in. > > You didn't misread -- the new behavior is (currently) the default. I'm proposing we revert to the old behavior. Which old behavior? The old behavior was that electric-indent-mode was not turned on by default. Is that what you mean? > Even people who use electric indent all the time would probably be surprised by the new default behavior. And there's no real advantage to this new default, since one can achieve the same effect just by putting point in column 0 before running `open-line'. > > So Eli, I think what John said is right: this isn't about `electric-indent-mode'. It's about `open-line', and a new behavior of `open-line' that isn't what most users would expect even if they are conscious of & like `electric-indent-mode'. Maybe I'm missing something, but I think this behavior doesn't happen when electric-indent-mode is off, which it was in previous versions of Emacs. Isn't that true?