all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen <stephenl42@hotmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Cc: "bob@proulx.com" <bob@proulx.com>
Subject: Re: Why flip RET and C-j with electric-indent-mode?
Date: Thu, 11 Dec 2014 16:56:20 +0000	[thread overview]
Message-ID: <DUB118-W400E48A454704954CF4ECAD4630@phx.gbl> (raw)

> 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

well, no

that disables the electric stuff in its entirety - in c-mode, where i spend a lot of time, you lose the other magic keys (comma, semicolon, parens etc etc)

this is the best workaround i've found:
(global-set-key (kbd "RET") 'electric-newline-and-maybe-indent)

also,

> Because users nowadays expect that.

strikes me as a little arrogant. if by "users" you mean "people who have never used emacs before" then yes. but if you mean "people who have been using emacs for 24 years" then no, i NOT "expect that", get off my lawn!

i don't object to change per se, but i am ticked off there was no obvious documented "old behaviour" flag, and that i had to waste my time coming up with an acceptable workaround for this frivolous change.

s.
 		 	   		  


             reply	other threads:[~2014-12-11 16:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-11 16:56 Stephen [this message]
     [not found] <mailman.14910.1417215406.1147.help-gnu-emacs@gnu.org>
2014-11-29  9:34 ` Why flip RET and C-j with electric-indent-mode? jfbu
2014-11-30  4:48   ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2014-11-28 22:56 Bob Proulx
2014-11-28 23:52 ` Drew Adams
2014-11-29  7:50 ` Eli Zaretskii
2014-11-29 23:20   ` Bob Proulx
2014-11-30  1:49     ` Drew Adams
     [not found]   ` <mailman.14976.1417303216.1147.help-gnu-emacs@gnu.org>
2016-04-29 17:57     ` jfiocca0
2016-06-03 23:41       ` Bob Proulx
2016-06-06 17:23         ` Jim Fiocca
2016-06-06 22:08           ` Bob Proulx
2014-11-29 12:31 ` Rasmus
2014-11-30  9:59 ` Andreas Röhler

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

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

  git send-email \
    --in-reply-to=DUB118-W400E48A454704954CF4ECAD4630@phx.gbl \
    --to=stephenl42@hotmail.com \
    --cc=bob@proulx.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.