From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Suggested experimental test Date: Tue, 23 Mar 2021 09:18:09 +0200 Message-ID: <83pmzq8hji.fsf@gnu.org> References: <831ba60af0cbfdd95686@heytings.org> <87mtuxj8ue.fsf@gnus.org> <9088e12cb3de3d30abf1@heytings.org> <8735wnjsum.fsf@gnus.org> <87tup3hwat.fsf_-_@gnus.org> <834kh39fvj.fsf@gnu.org> <87tup3gfwy.fsf@gnus.org> <831rc79est.fsf@gnu.org> <87lfafgfcv.fsf@gnus.org> <87czvrge4s.fsf@gnus.org> <87czvqgat6.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21741"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca, Stephan.Mueller@microsoft.com To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 23 08:19:13 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lObJp-0005XB-Hx for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Mar 2021 08:19:13 +0100 Original-Received: from localhost ([::1]:36212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lObJo-0007f0-H8 for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Mar 2021 03:19:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lObIm-0007BS-PH for emacs-devel@gnu.org; Tue, 23 Mar 2021 03:18:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49200) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lObIk-0000kB-8V; Tue, 23 Mar 2021 03:18:07 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2188 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lObIi-00065S-4F; Tue, 23 Mar 2021 03:18:05 -0400 In-Reply-To: <87czvqgat6.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 22 Mar 2021 22:04:05 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266859 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , gregory@heytings.org, > Stephan.Mueller@microsoft.com, emacs-devel@gnu.org > Date: Mon, 22 Mar 2021 22:04:05 +0100 > > > RET is supposed to be bound to `newline` by default, pretty > > much everywhere. There are many modes which still bind RET to > > `newline-and-indent`, but that's a historical accident that we should > > fix because it disregards the user's choice to enable or disable > > `electric-indent(-local)-mode`. > > And I had a > > (global-set-key "\C-m" 'newline-and-indent) > > at 3% in my .emacs file, which makes about 15 years old, I think, and I > had no idea that it was there. I think this is because originally C-j was bound to newline-and-indent (and RET to newline). newline-and-indent is very handy in editing in PL modes, but keyboards with a separate LFD key are long gone. So when the modern keyboards became omnipresent, people tended to rebind RET to newline-and-indent, so that (a) that could invoke it easily and naturally, and (b) to work similarly to the few other editors that had such a functionality. But then came the electric-indent thingy, and the simple world we had then was lost forever...