From: Ihor Radchenko <yantar92@gmail.com>
To: c.buhtz@posteo.jp
Cc: Emacs orgmode <Emacs-orgmode@gnu.org>, Timothy <tecosaur@gmail.com>
Subject: Re: Ordered list items and the point
Date: Fri, 29 Apr 2022 22:07:24 +0800 [thread overview]
Message-ID: <8735hwvv8j.fsf@localhost> (raw)
In-Reply-To: <2f2e5acc8b0f79bfdbb4978d5e51cf04@posteo.de>
c.buhtz@posteo.jp writes:
> This is about https://orgmode.org/worg/dev/org-syntax.html#Plain_Lists
>
> Comparing the syntax description and the real world behaviour of my
> Emacs 27 with org from yesterday it seems to me that the syntax
> description is not correct.
>
> I cite "Plain Lists" section:
> "If first item in a plain list has a COUNTER in its BULLET, the plain
> list will be an “ordered plain-list”."
> This is not true in many ways because in the section "Items" a COUNTER
> is described as
> "Either a number or a single letter (a-z)."
To be on the same page, I will also quote what is BULLET:
>> One of the two forms below, followed by either a whitespace character
>> or line ending.
>> - An asterisk, hyphen, or plus sign character (i.e., *, -, or +).
>> - Either the pattern COUNTER. or COUNTER).
>> + COUNTER :: Either a number or a single letter (a-z).
> An ordered list item need to have a point after its digit. Correct is
> "1. item"; incorrect is "1 item". As an alternative to the "." an ")" is
> allowed also.
>
> A letter is not a COUNTER no matter if there is an "." or ")" after it.
> An org-buffer and org-html-export-as-html does not recognize this as a
> list item.
> Do I miss something? Are there any other characters that need to
> considered?
The latter ("1 item") is not an item because it does not have BULLET
even though it contains COUNTER.
Again, if you can think about better way to explain ordered plain lists,
feel free to propose a patch. The fact that you were confused already
shows that the current description is not ideal.
I am also CCing Timothy as he may be interested.
Best,
Ihor
prev parent reply other threads:[~2022-04-29 14:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-29 12:13 Ordered list items and the point c.buhtz
2022-04-29 14:07 ` Ihor Radchenko [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8735hwvv8j.fsf@localhost \
--to=yantar92@gmail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=c.buhtz@posteo.jp \
--cc=tecosaur@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.