From mboxrd@z Thu Jan  1 00:00:00 1970
From: Bastien <bastien.guerry@wikimedia.fr>
Subject: Re: [PATCH] Preserve trailing blank lines
Date: Mon, 07 Feb 2011 09:17:07 +0100
Message-ID: <87bp2o1cos.fsf@gnu.org>
References: <87mxngqh1o.fsf@riotblast.dunsmor.com>
	<078486EA-3EAD-4E6B-B428-D0DC477DFCB3@gmail.com>
	<87wrmchht6.fsf@riotblast.dunsmor.com> <87k4i3qg27.fsf@gnu.org>
	<87oc73xzu3.fsf@riotblast.dunsmor.com>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from [140.186.70.92] (port=45405 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PmMHS-0002VI-UY
	for emacs-orgmode@gnu.org; Mon, 07 Feb 2011 03:17:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bastienguerry@googlemail.com>) id 1PmMHR-0004bB-QC
	for emacs-orgmode@gnu.org; Mon, 07 Feb 2011 03:17:06 -0500
Received: from mail-ww0-f41.google.com ([74.125.82.41]:35330)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bastienguerry@googlemail.com>) id 1PmMHR-0004b1-Iw
	for emacs-orgmode@gnu.org; Mon, 07 Feb 2011 03:17:05 -0500
Received: by wwi18 with SMTP id 18so2535649wwi.0
	for <emacs-orgmode@gnu.org>; Mon, 07 Feb 2011 00:17:04 -0800 (PST)
In-Reply-To: <87oc73xzu3.fsf@riotblast.dunsmor.com> (Jason Dunsmore's message
	of "Wed, 26 Jan 2011 12:52:04 -0600")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: Jason Dunsmore <emacs-orgmode@dunsmor.com>
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>

Hi Jason,

Jason Dunsmore <emacs-orgmode@dunsmor.com> writes:

> Convention 1: Newline above headings
> Convention 2: Newline after bodies
>
> I just tested these configurations and Org examples out with the patch
> and it seems to work well.  I've been using the patch on my systems for
> a while now and haven't noticed any bad side-effects.

I'm back to this patch -- thanks for the clear explanations.

However, with your patch, I get a weird behavior.

Config:

,----
| (setq org-blank-before-new-entry '((heading . nil)
|                                    (plain-list-item . nil)))
`----

Test file:

,----
| * Section
| 
| ** Subsection 1
| Body
| 
| ** Subsection 2
| Body
`----

Trying to move Subsection 1 down (with org-metadown):

,----
| * Section
| Body              <<<<<< ??
| 
| ** Subsection 2
| 
| ** Subsection 1
| Body
`----

Are you able to reproduce this?  

-- 
 Bastien