From: Dmitry Gutov <dgutov@yandex.ru>
To: 17128@debbugs.gnu.org
Subject: bug#17128: 24.3.50; `newline-and-indent' should not indent the current line
Date: Fri, 28 Mar 2014 08:17:28 +0200 [thread overview]
Message-ID: <87k3beetjb.fsf@yandex.ru> (raw)
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@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 ()
next reply other threads:[~2014-03-28 6:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-28 6:17 Dmitry Gutov [this message]
2014-03-28 14:17 ` bug#17128: 24.3.50; `newline-and-indent' should not indent the current line Stefan Monnier
2014-04-01 5:37 ` Dmitry Gutov
2014-04-01 20:08 ` Stefan Monnier
2014-04-02 22:47 ` Dmitry Gutov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k3beetjb.fsf@yandex.ru \
--to=dgutov@yandex.ru \
--cc=17128@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).