unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: [External] : indentation
Date: Tue, 27 Apr 2021 17:54:23 +0000	[thread overview]
Message-ID: <SA2PR10MB4474C3AD24A1BD1B3F78E4FCF3419@SA2PR10MB4474.namprd10.prod.outlook.com> (raw)
In-Reply-To: <jwvwnsnll9m.fsf-monnier+emacs@gnu.org>

> > This "modernization" was yet another attempt to make Emacs
> > seem more like other apps some people might be used to.
> 
> Huh?  This modernization was pretty much a unilateral choice made by
> yours truly, and I have no idea what "other apps" do in this regard, so
> the intention was definitely not what you state.

And yet you said things like this, as motivation for the change:

  "because most people don't use C-j but use RET instead"

and

  "I'm obviously not the only, because it's very common for
   text editors to 'auto-indent on RET' (either by default,
   or via a config setting).

And others who supported the change gave similar reasons:

  "Every IDE does that [what `newline-and-indent' does] when
   the user presses RET." (Dmitry)

  "The days when keyboards had an LFD key that produced C-j
   are long gone.  Nowadays, keyboards have only the RET key,
   and users expect it to indent in programming modes, at
   least by default.  As things are now, I need to customize
   every programming mode I use to do that.  I think it's
   time for a change." (Eli)

The main argument in favor of this default change was, IMO,
modernization ("time for a change"), to align Emacs default
behavior with what users of other apps had come to expect.
I say that after reviewing the various discussions about
making such a change.

And no, it was not a unilateral choice by you.  There was
quite a long discussion (more than one), with many voices
pro and con before a decision was made.

> I know full well that it disagrees with some users, but
> there has been surprisingly few complaints over this change,

It's easy enough to turn it off - that's the point.  The
default doesn't matter a lot.  But to say that few people
complained about the change is wrong - misleading, IMHO.

Once _changed_, few complain about most default changes
that are easy for an individual user to remedy/reverse.
That was the case here.

Just turn it off by default and Bob's your uncle, if you
don't want electric indenting by default.  That's the
answer for Petr.



  reply	other threads:[~2021-04-27 17:54 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27  7:03 indentation ptlo
2021-04-27  7:25 ` indentation Philip Kaludercic
2021-04-27 15:45   ` indentation ptlo
2021-04-27 16:06     ` indentation Colin Baxter
2021-04-27 18:43       ` indentation Thibaut Verron
2021-04-27 19:00         ` indentation Colin Baxter
2021-04-27 19:20           ` indentation Thibaut Verron
2021-04-27 20:02             ` indentation Colin Baxter
2021-04-28  8:36               ` indentation Thibaut Verron
2021-04-27  9:30 ` indentation Gregory Heytings
2021-04-27  9:47   ` indentation Joost Kremers
2021-04-27 16:55     ` indentation Stefan Monnier
2021-04-27 22:12       ` indentation Gregory Heytings
2021-04-27 15:01 ` [External] : indentation Drew Adams
2021-04-27 17:04   ` Stefan Monnier
2021-04-27 17:54     ` Drew Adams [this message]
2021-04-27 20:23       ` Stefan Monnier
2021-04-27 22:28         ` Stefan Monnier
2021-04-27 17:07 ` indentation Stefan Monnier
2021-04-27 18:29   ` indentation ptlo
2021-04-27 20:31     ` indentation Stefan Monnier
2021-04-28  6:32       ` indentation ptlo
2021-04-28  6:42         ` indentation Joost Kremers
2021-04-28 14:14         ` indentation Stefan Monnier
2021-04-29  7:14           ` indentation ptlo
2021-04-29 13:43             ` indentation Stefan Monnier
2021-04-29 14:23               ` indentation Emanuel Berg via Users list for the GNU Emacs text editor
2021-04-29 21:38                 ` on interface and behavior (Was: Re: indentation) Wayne Harris via Users list for the GNU Emacs text editor
2021-04-30  7:53                   ` Eli Zaretskii
2021-05-01 13:30                     ` on interface and behavior Wayne Harris via Users list for the GNU Emacs text editor
2021-04-30  7:05               ` indentation ptlo
2021-04-30  7:58                 ` indentation Philip Kaludercic
2021-04-30  8:54                   ` indentation ptlo
2021-04-30  9:09                     ` indentation Thibaut Verron
2021-04-30  9:18                       ` indentation ptlo
2021-04-30 16:49                 ` [External] : indentation Drew Adams
2021-04-30 19:05                 ` indentation Jean Louis
2021-04-30 19:59                   ` indentation Stefan Monnier
2021-04-30 21:58                 ` indentation Emanuel Berg via Users list for the GNU Emacs text editor
2021-04-29 21:14           ` indentation Wayne Harris via Users list for the GNU Emacs text editor
2021-04-30 20:17             ` indentation Tassilo Horn
2021-05-01 13:43               ` indentation Wayne Harris via Users list for the GNU Emacs text editor
2021-05-02  7:20                 ` indentation Tassilo Horn
2021-05-04 21:03                   ` indentation Wayne Harris via Users list for the GNU Emacs text editor
2021-05-05  1:46                     ` indentation Stefan Monnier via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SA2PR10MB4474C3AD24A1BD1B3F78E4FCF3419@SA2PR10MB4474.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).