emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Blank lines in numbered lists need a space after the dot.
@ 2008-05-05 21:40 bva
  2008-05-05 22:14 ` Bernt Hansen
  2008-05-06  7:20 ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: bva @ 2008-05-05 21:40 UTC (permalink / raw)
  To: emacs-orgmode

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!)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Blank lines in numbered lists need a space after the dot.
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Bernt Hansen @ 2008-05-05 22:14 UTC (permalink / raw)
  To: bva@alexanderonline.org; +Cc: emacs-orgmode

"bva@alexanderonline.org" <bva@alexanderonline.org> writes:

> 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

It works fine for me.

GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-04-27 on raven, modified by Debian
Org-mode version 6.02b

-Bernt

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Blank lines in numbered lists need a space after the dot.
  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
  2008-05-06 12:54   ` Bernt Hansen
  1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2008-05-06  7:20 UTC (permalink / raw)
  To: bva; +Cc: emacs-orgmode


[-- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Blank lines in numbered lists need a space after the dot.
  2008-05-06  7:20 ` Carsten Dominik
@ 2008-05-06 12:54   ` Bernt Hansen
  0 siblings, 0 replies; 4+ messages in thread
From: Bernt Hansen @ 2008-05-06 12:54 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: bva, emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> 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.

That's correct - I do not :)

-Bernt

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-06 12:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2008-05-06 12:54   ` Bernt Hansen

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).