Subject: bug#17128: closed (Re: bug#17128: 24.3.50; `newline-and-indent' should not indent the current line)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 02 Apr 2014 22:48:03 +0000

Your bug report

#17128: 24.3.50; `newline-and-indent' should not indent the current line

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
17128: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17128
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#17128: 24.3.50; `newline-and-indent' should not indent the current line
From: Dmitry Gutov <[email-masked]>
To: Stefan Monnier <[email-masked]>
Cc: [email-masked]
Date: Thu, 03 Apr 2014 01:47:42 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

On 01.04.2014 23:08, Stefan Monnier wrote:

> That's an option, yes.  Alan might like it.

Too bad that discussion is going very slowly.

I'm pulling this patch because it also breaks 
`electric-pair-open-newline-between-pairs'.

Subject: 24.3.50; `newline-and-indent' should not indent the current line
From: Dmitry Gutov <[email-masked]>
To: [email-masked]
Date: Fri, 28 Mar 2014 08:17:28 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch

There's `reindent-then-newline-and-indent' for that.

In GNU Emacs 24.3.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.6)
 of 2014-03-23 on axl
Repository revision: 116830 [email-masked]
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description:	Ubuntu 13.10

=== modified file 'lisp/simple.el'
--- lisp/simple.el	2014-03-25 23:30:08 +0000
+++ lisp/simple.el	2014-03-28 06:15:14 +0000
@@ -611,7 +611,7 @@
 column specified by the function `current-left-margin'."
   (interactive "*")
   (delete-horizontal-space t)
-  (newline nil t)
+  (newline)
   (indent-according-to-mode))
 
 (defun reindent-then-newline-and-indent ()