all messages for Emacs-related lists mirrored at yhetil.org
 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 21:54:47 +0800	[thread overview]
Message-ID: <878rrovvtk.fsf@localhost> (raw)
In-Reply-To: <6e72ad426d60c28dbc4d0d3f45816834@posteo.de>

c.buhtz@posteo.jp writes:

> Sidenote: As someone who writes software that parse org-content I would 
> suggest to make the whitespace in front of a list item mandatory even 
> for "-" and "+". It would reduce code complexity.

It might probably simplify things for third-party parsers. Not for
org-element. The "^* " vs "^ * " is distinguished without much efforts
on Org side because of hierarchical matching (headlines have higher
priority over lists). Moreover Org is trying to be as back-compatible as
possible, so minor simplification is not sufficient to advocate changing
Org syntax.

Best,
Ihor


      parent reply	other threads:[~2022-04-29 13:56 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
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 [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=878rrovvtk.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 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.