From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-insert-heading rewritten from scratch Date: Tue, 03 Sep 2013 15:38:16 +0200 Message-ID: <87zjru2fg7.fsf@gmail.com> References: <6570EFE0-1DCA-44D1-AAD9-BE51A278EE58@gmail.com> <87txj0d3y8.fsf@ericabrahamsen.net> <2CBE3492-5A45-48D6-AF3B-A81D0C322009@gmail.com> <877gf2nd2y.fsf@gmail.com> <87a9jxlzsa.fsf@gmail.com> <7F861E6F-B668-4D9E-A684-37610C5BF93D@gmail.com> <878uze3v0x.fsf@gmail.com> <145CF774-77B2-4FCE-B52D-998D9EEC468F@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGqo8-0007A6-G8 for emacs-orgmode@gnu.org; Tue, 03 Sep 2013 09:38:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGqnz-0001Lk-Op for emacs-orgmode@gnu.org; Tue, 03 Sep 2013 09:38:12 -0400 Received: from mail-ea0-x22b.google.com ([2a00:1450:4013:c01::22b]:53903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGqnz-0001LZ-Hv for emacs-orgmode@gnu.org; Tue, 03 Sep 2013 09:38:03 -0400 Received: by mail-ea0-f171.google.com with SMTP id n15so3005142ead.16 for ; Tue, 03 Sep 2013 06:38:02 -0700 (PDT) In-Reply-To: <145CF774-77B2-4FCE-B52D-998D9EEC468F@gmail.com> (Carsten Dominik's message of "Tue, 3 Sep 2013 15:25:16 +0200") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Eric Abrahamsen , emacs-orgmode@gnu.org Carsten Dominik writes: > Hmmm, I thought you just asked me to implement exactly what you see, > namely that M-RET will not remove empty lines above the cursor - only > add them. Did I misunderstand? I think so. M-RET should not remove (or add) anything when it has no information whatsoever about what the user want, namely when behaviour is set to `auto' _and_ number of blank lines (or lack thereof) cannot be deduced from other headlines. When `org-blank-before-new-entry' is set to t (respectively nil), the message is pretty clear. There are no heuristics involved and the function can add (respectively remove) blank lines to its heart's contents. Sorry if I wasn't clear enough. Regards, -- Nicolas Goaziou