GNU bug report logs - #17128
24.3.50; `newline-and-indent' should not indent the current line

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Fri, 28 Mar 2014 06:19:02 UTC

Severity: normal

Tags: patch

Found in version 24.3.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Subject: bug#17128: closed (Re: bug#17128: 24.3.50; `newline-and-indent'
 should not indent the current line)
Date: Wed, 02 Apr 2014 22:48:03 +0000
[Message part 1 (text/plain, inline)]
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 17128 <at> debbugs.gnu.org.

-- 
17128: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17128
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 17128-done <at> debbugs.gnu.org
Subject: Re: bug#17128: 24.3.50; `newline-and-indent' should not indent the
 current line
Date: Thu, 03 Apr 2014 01:47:42 +0300
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'.

[Message part 3 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; `newline-and-indent' should not indent the current line
Date: Fri, 28 Mar 2014 08:17:28 +0200
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 dgutov <at> yandex.ru-20140322084330-wrwcmwjdbe3mu712
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 ()




This bug report was last modified 11 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.