all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 24844@debbugs.gnu.org
Subject: bug#24844: 26.0.50; electric-newline-and-maybe-indent
Date: Tue, 01 Nov 2016 22:08:36 +0200	[thread overview]
Message-ID: <83y413m08r.fsf@gnu.org> (raw)
In-Reply-To: <056414e7-d51d-4ce1-6ff3-aae30e213c74@easy-emacs.de> (message from Andreas Röhler on Tue, 1 Nov 2016 20:43:04 +0100)

> Cc: 24844@debbugs.gnu.org
> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
> Date: Tue, 1 Nov 2016 20:43:04 +0100
> 
> In haskell-mode at EOL:
> 
> factors :: Int -> [Int]
> 
> C-j calls
> 
> electric-newline-and-maybe-indent
> 
> and indents wrongly - there is nothing to indent.

So perhaps this is the problem to solve, not the documentation?

> BTW why electric-newline? Isn't the indent the electric action?

I agree that the name is confusing; I guess the "electric-" prefix is
to blame.

> In order to avoid the wrong indent, have to enable electric-indent-mode 
> - doesn't make sense for me.

So I think the bug is the wrong indent you needed to avoid.





  reply	other threads:[~2016-11-01 20:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-01 11:23 bug#24844: 26.0.50; electric-newline-and-maybe-indent Andreas Röhler
2016-11-01 18:45 ` Eli Zaretskii
2016-11-01 19:43   ` Andreas Röhler
2016-11-01 20:08     ` Eli Zaretskii [this message]
2016-11-01 21:04       ` 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=83y413m08r.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24844@debbugs.gnu.org \
    --cc=andreas.roehler@easy-emacs.de \
    /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.