From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-insert-heading adds extra newlines [9.0.4 (release_9.0.4-222-g63aaff.dirty @ /home/kyle/.emacs.d/modules/org-mode/lisp/)] Date: Fri, 17 Feb 2017 21:52:36 +0100 Message-ID: <87efyw7d63.fsf@nicolasgoaziou.fr> References: <1edb4abc-6286-61de-4aae-14dc062d691f@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cepWD-0007a4-Cu for emacs-orgmode@gnu.org; Fri, 17 Feb 2017 15:52:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cepWC-0005CX-HX for emacs-orgmode@gnu.org; Fri, 17 Feb 2017 15:52:41 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:57594) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cepWC-0005C1-An for emacs-orgmode@gnu.org; Fri, 17 Feb 2017 15:52:40 -0500 In-Reply-To: <1edb4abc-6286-61de-4aae-14dc062d691f@gmail.com> (Kyle Sherman's message of "Sat, 4 Feb 2017 19:15:28 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Kyle Sherman Cc: emacs-orgmode@gnu.org Hello, Kyle Sherman writes: > When pressing M-return, which calls `org-insert-heading', in addition to > adding the new heading under the current one (and splitting if not at > the end > of the line) it also now adds an additional newline after the new > heading. It > didn't used to do this. > > This is the commit where this functionality changed: > > 68d8f860cd0b898a02f60ec3b4781f4ddf7d2627 > > If this was intentional, I do wish you would change it back as it > continuously > adds more and more newlines if I keep adding headings. Fixed. Thank you. Regards, -- Nicolas Goaziou