emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Leo <sdl.web@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is this a bug in orgstruct-mode
Date: Wed, 19 Aug 2009 10:31:53 +0100	[thread overview]
Message-ID: <DBE639E3-4BC7-4488-BE45-C440307F7C50@gmail.com> (raw)
In-Reply-To: <m0skfon5kr.fsf@cam.ac.uk>


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

  reply	other threads:[~2009-08-19  9:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-16 11:02 Is this a bug in orgstruct-mode Leo
2009-08-18 17:43 ` Leo
2009-08-18 18:59   ` Carsten Dominik
2009-08-18 22:02     ` Leo
2009-08-19  9:31       ` Carsten Dominik [this message]
2009-08-19 10:02         ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DBE639E3-4BC7-4488-BE45-C440307F7C50@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).