help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why flip RET and C-j with electric-indent-mode?


From: Bob Proulx
Subject: Re: Why flip RET and C-j with electric-indent-mode?
Date: Sat, 29 Nov 2014 16:20:01 -0700
User-agent: Mutt/1.5.23 (2014-03-12)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]