From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien 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: 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 ) 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 ) 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 ; 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 Cc: emacs-orgmode@gnu.org, Carsten Dominik Hi Jason, Jason Dunsmore 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