From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: Is this a bug in orgstruct-mode Date: Wed, 19 Aug 2009 11:02:39 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mdi0I-0007gs-B1 for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 06:02:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mdi0D-0007Tf-Bn for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 06:02:49 -0400 Received: from [199.232.76.173] (port=34660 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mdi0D-0007T6-3h for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 06:02:45 -0400 Received: from ppsw-7.csi.cam.ac.uk ([131.111.8.137]:36952) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mdi0B-0005ow-V0 for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 06:02:44 -0400 In-Reply-To: (Carsten Dominik's message of "Wed, 19 Aug 2009 10:31:53 +0100") 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: Carsten Dominik Cc: emacs-orgmode@gnu.org On 2009-08-19 10:31 +0100, Carsten Dominik wrote: >> 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? I think it is completely fine to leave it as it is. -- Emacs uptime: 1 day, 19 hours, 42 minutes, 30 seconds