From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Is this a bug in orgstruct-mode Date: Wed, 19 Aug 2009 10:31:53 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdhWU-0003uo-5C for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 05:32:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdhWP-0003uU-Bl for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 05:32:01 -0400 Received: from [199.232.76.173] (port=48483 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdhWP-0003uR-5U for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 05:31:57 -0400 Received: from ey-out-1920.google.com ([74.125.78.144]:62575) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdhWO-0007NK-LO for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 05:31:56 -0400 Received: by ey-out-1920.google.com with SMTP id 5so1175237eyb.24 for ; Wed, 19 Aug 2009 02:31:55 -0700 (PDT) In-Reply-To: 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: Leo Cc: emacs-orgmode@gnu.org On Aug 18, 2009, at 11:02 PM, Leo wrote: > On 2009-08-18 19:59 +0100, Carsten Dominik wrote: >> Hi Leo, >> >> this is actually in the FAQ: >> >> http://orgmode.org/worg/org-faq.php#blank-line-after-headlines-and-list-items >> >> - Carsten > > The bug I am reporting is that when there is a blank line preceding > the > FIRST heading or list item, the second one will have a blank line. The > FAQ seems to address when there is a blank line preceding the second > heading or list item, the third one will have a blank line. The > behaviour in the FAQ is smart and desirable. > > In my view the blank line preceding the FIRST heading or list item is > not part of that heading or list item and base behaviour on that is > wrong. I don't think it is either wrong or right. When creating the second headline, Org has no way of guessing what you want, to it makes a choice, and I opted for a simple algorithm that looks only above the previous sibling, in this case the first list item. I don't see why the other choice would be any better. Anyone else want to weigh in on tis issue? - Carsten > > Do you still think this is a non-bug? > > Thanks. > > Leo > > -- > Emacs uptime: 1 day, 7 hours, 39 minutes, 7 seconds