emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: c.buhtz@posteo.jp
Cc: Emacs orgmode <Emacs-orgmode@gnu.org>
Subject: Re: asterisk allowed for list items
Date: Fri, 29 Apr 2022 20:15:55 +0800	[thread overview]
Message-ID: <87pml06q6c.fsf@localhost> (raw)
In-Reply-To: <78aed94a0114fd29322e6da7581161ec@posteo.de>

c.buhtz@posteo.jp writes:

> I cite from there
> "An asterisk, hyphen, or plus sign character (i.e., *, -, or +)."
>
> I wonder why * is allowed because * also starts a heading. So how does a 
> piece of software/parser decide if a line starting with an * is a 
> heading or a list item?

Headlines always start at beginning of line and have stars followed by space:

* this is a heading
** this is also a heading
**but this is not (no space after stars)
 * this is a list item (star not at bol)

Would you be interested to contribute an example to
https://orgmode.org/worg/dev/org-syntax.html#Items ?

Best,
Ihor


  reply	other threads:[~2022-04-29 12:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29 11:53 asterisk allowed for list items c.buhtz
2022-04-29 12:15 ` Ihor Radchenko [this message]
2022-04-29 12:21   ` c.buhtz
2022-04-29 13:49     ` Ihor Radchenko
2022-04-29 14:26       ` c.buhtz
2022-04-30  5:37         ` Ihor Radchenko
2022-04-29 12:17 ` c.buhtz
2022-04-29 13:04   ` Detlef Steuer
2022-04-29 13:22     ` c.buhtz
2022-04-29 13:59       ` Ihor Radchenko
2022-04-29 13:54   ` Ihor Radchenko

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=87pml06q6c.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=c.buhtz@posteo.jp \
    /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).