emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: bva@alexanderonline.org
Cc: emacs-orgmode@gnu.org
Subject: Re: Blank lines in numbered lists need a space after the dot.
Date: Tue, 6 May 2008 09:20:55 +0200	[thread overview]
Message-ID: <93D591D8-B3C1-4BAA-8AA3-34F5FB460FE0@science.uva.nl> (raw)
In-Reply-To: <6318E344-422A-4D47-8481-40AD5A901009@alexanderonline.org>


[-- Attachment #1.1: Type: text/plain, Size: 2558 bytes --]

Hi Ben,

you correctly analyzed that this has something to do with the space  
character after the the dot.  Org considers a number with a dot as an  
ordered list bullet only if it is followed by a space character.   
Otherwise, any number like 1.23 at the beginning of a line would be  
considered a bullet.

The reason why Bernt could not reproduce it is because you use `org- 
cycle-include-plain-lists' (you forgot to mention that...) and he  
probably does not.

- Carsten

On May 5, 2008, at 11:40 PM, bva@alexanderonline.org wrote:
> This is odd, but since I've not yet taken the time to update my org- 
> mode to the latest version, perhaps this is a non issue.  Would  
> someone with an up-to-date version try this out.
>
> org-version reports: Org-mode version 5.23a
>
> version reports:  GNU Emacs 22.1.50.1 (powerpc-apple-darwin7.9.0,  
> Carbon Version 1.6.0) of 2007-10-02 on applecore.inf.ed.ac.uk -  
> Aquamacs Distribution 1.2a
>
>
> I have the following list under a headline, with blank entries:
>
> *** Vacation Days
>   1. <2008-03-20 Thu>
>   2.
>   3.
>   4.
>   5.
>   6.
>
> If I (fold and then) unfold the headline to "CHILDREN", I see the  
> following:
>
> *** Vacation Days
>   1. <2008-03-20 Thu>...
>   3.
>   4. ...
>   6.
>
> This looks odd to me: item number 2 is folded, as is item number 5.   
> It looks like an out of sequence list, so I tried to renumber it  
> using C-c C-c.  Then I see:
>
> *** Vacation Days
>   1. <2008-03-20 Thu>...2.
>   3.
>   4. ...5.
>   6.
>
> In recreating this, I discovered my inconsistency which seems to  
> cause this: line items number 2 and 5 do not have a space after  
> their period. Add some spaces, and there is no weirdness.  Take all  
> the spaces away, and then "CHILDREN" folded headlines look like:
>
> *** Vacation Days
>   1. <2008-03-20 Thu>...
>
> Now that I know that what looked like an 'out of sequence' list is  
> just folded in a weird way, I'm over it.  I can certainly add the  
> place holder space when I create blank line items manually (they are  
> added automatically when I use M-<return>.  But it is curious, and  
> probably unexpected behavior.  Is this easy to fix or has it already  
> been fixed in the current update?
>
> Maybe no fix is required.
>
> -Ben
>
> (And thanks again for org-mode, and the mailing list too!)
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[-- Attachment #1.2: Type: text/html, Size: 3173 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2008-05-06  7:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05 21:40 Blank lines in numbered lists need a space after the dot bva
2008-05-05 22:14 ` Bernt Hansen
2008-05-06  7:20 ` Carsten Dominik [this message]
2008-05-06 12:54   ` Bernt Hansen

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=93D591D8-B3C1-4BAA-8AA3-34F5FB460FE0@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bva@alexanderonline.org \
    --cc=emacs-orgmode@gnu.org \
    /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).