Re: asterisk allowed for list items

2022-04-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > Am 29.04.2022 15:49 schrieb Ihor Radchenko: >> Exactly because you are actively trying to understand the syntax, you >> are in unique situation where you can easily see all the "opaque" >> places >> in the syntax description. > > I still don't know if I misunderstand

Re: asterisk allowed for list items

2022-04-29 Thread c . buhtz
Dear Ihor, thanks for your reply. Am 29.04.2022 15:49 schrieb Ihor Radchenko: Exactly because you are actively trying to understand the syntax, you are in unique situation where you can easily see all the "opaque" places in the syntax description. I still don't know if I misunderstand the

Re: asterisk allowed for list items

2022-04-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > Am 29.04.2022 15:04 schrieb Detlef Steuer: >> But *first* it should be easily read- and writable by humans and only >> then easily parseble by parsers! At least imho. > > I agree and understand that this is one of the design principals of Org. > > But even for humans

Re: asterisk allowed for list items

2022-04-29 Thread Ihor Radchenko
c.bu...@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

Re: asterisk allowed for list items

2022-04-29 Thread Ihor Radchenko
c.bu...@posteo.jp writes: > Am 29.04.2022 14:15 schrieb Ihor Radchenko: >> Would you be interested to contribute an example to >> https://orgmode.org/worg/dev/org-syntax.html#Items ? > > Not sure what you mean. Currently I just try to understand the syntax > and get the hard rules for my own

Re: asterisk allowed for list items

2022-04-29 Thread c . buhtz
Dear Detlef Am 29.04.2022 15:04 schrieb Detlef Steuer: But *first* it should be easily read- and writable by humans and only then easily parseble by parsers! At least imho. I agree and understand that this is one of the design principals of Org. But even for humans the current situation is

Re: asterisk allowed for list items

2022-04-29 Thread Detlef Steuer
Am Fri, 29 Apr 2022 12:17:24 + schrieb c.bu...@posteo.jp: > 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. But *first* it should be easily

Re: asterisk allowed for list items

2022-04-29 Thread c . buhtz
Am 29.04.2022 14:15 schrieb Ihor Radchenko: Would you be interested to contribute an example to https://orgmode.org/worg/dev/org-syntax.html#Items ? Not sure what you mean. Currently I just try to understand the syntax and get the hard rules for my own parser. ;) - List item with

Re: asterisk allowed for list items

2022-04-29 Thread c . buhtz
I need to add something here and think the syntax description should be updated about that. A "*" is allowed or recognized as a list item instead as a head only if there is one (or maybe more) whitespace space in front of it. But "-" and "+" also recognized as starts for list items without

Re: asterisk allowed for list items

2022-04-29 Thread Ihor Radchenko
c.bu...@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

asterisk allowed for list items

2022-04-29 Thread c . buhtz
I was looking into https://orgmode.org/worg/dev/org-syntax.html#Items to find out which characters are allowed as "bullets" for unorderd lists. 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