From a977621a19d3786bf256fb20a8b142fc859e429d Mon Sep 17 00:00:00 2001 Message-Id: From: buhtz Date: Fri, 29 Apr 2022 16:56:31 +0200 Subject: [PATCH] dev/org-syntax.org: Clarify item syntax for asterisk bullet * dev/org-syntax.org (Items): Mention that headline syntax match takes precedence over item syntax for constructs like "^* heading, not an item with =*= bullet". Provide an example. Reported in https://list.orgmode.org/orgmode/78aed94a0114fd29322e6da7581161ec@posteo.de/ --- dev/org-syntax.org | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev/org-syntax.org b/dev/org-syntax.org index 650390cd..f9dcfe4c 100644 --- a/dev/org-syntax.org +++ b/dev/org-syntax.org @@ -428,7 +428,10 @@ *** Items + 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 =+=). + - An asterisk (=*=), hyphen (=-=), or plus sign (=+=) character. + Note that asterisk =*= character starting at the beginning of + line and followed by whitespace cannot be an item as it would + match a [[#Headings][heading]]. - Either the pattern =COUNTER.= or =COUNTER)=. + COUNTER :: Either a number or a single letter (a-z). + COUNTER-SET (optional) :: An instance of the pattern =[@COUNTER]=. @@ -452,6 +455,8 @@ *** Items - item 3. [@3] set to three + [-] tag :: item contents + * item, note whitespace in front +,* not an item, but heading - heading takes precedence #+end_example *** Plain Lists -- 2.35.1