From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qEVSAfLlbGKWGAEAbAwnHQ (envelope-from ) for ; Sat, 30 Apr 2022 09:32:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oIJPAfLlbGLybAEA9RJhRA (envelope-from ) for ; Sat, 30 Apr 2022 09:32:02 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A18F925824 for ; Sat, 30 Apr 2022 09:32:01 +0200 (CEST) Received: from localhost ([::1]:58318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkhaB-0006U3-TV for larch@yhetil.org; Sat, 30 Apr 2022 03:31:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkhYQ-0006TI-D4 for emacs-orgmode@gnu.org; Sat, 30 Apr 2022 03:30:10 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:43582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkhYN-0004lR-HJ for emacs-orgmode@gnu.org; Sat, 30 Apr 2022 03:30:10 -0400 Received: by mail-pj1-x1032.google.com with SMTP id j8-20020a17090a060800b001cd4fb60dccso9060254pjj.2 for ; Sat, 30 Apr 2022 00:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=EUrvTZSTPwkho46jHch7bPZ0+I7QgChiIsgE2Zxn1wU=; b=gwNJWEVa30BA+qdxvlA1JdNy8R4Rw3f2Hphrm7r91RNb8ZUVHzuPao2FsjO3dwRvjP wTemUHgHmBTS0obsHmdEPbbWVEM1uDrryTyHmEwiSNaLLyBc2M+dkQpicHTHnPmKgA64 FioNsUifDNjy4bVBbQkCNJYm+Y3Eze10d2/27qBuYn18ir7UrLMuIN2tilnvOPtOtaDH U+vnVEFI+Rj7ropDE9sztkJ51DMZlYcphU1mBc1+/9BJdjHvCzCo0msfJS+VX/Xmtszn 9ErbQiaNwHMXnT9KGYQkrXgH87VN+ApdxDhSobzsH1mY7Qfi8F64bX6FCncOuvmGDwxb XN/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=EUrvTZSTPwkho46jHch7bPZ0+I7QgChiIsgE2Zxn1wU=; b=i0sX8Wq2fSrm5tabu3SKJz7gJsxznWYoK9cqiJCQ/GHx/H6uminCSJWKAmBali1SMo 7L4gY8abLf54HtmJR08LSWrO8xBpy0QC3FV5ARfxMfqBdniLb1xnzjI0MFL3T/2d0HUi AjtV5zFZ9fF1+Ye1nOSjTiiOg1sCpQwwgm4WYRPBKGqY1ORYVC/iFKudhuNC2jHXKkLu 1zdrdoZgksySSqUPRluaq4ssJfM1l+FSMa6/fKsNTIkQcDJIcLzsiER5mdHDgaWnHOkN kk51gSNtd5xqdSaJ2CnGsZC1SgNrRNd1RT86wUw7Vb14DU7ISqWAHRNYET0lj/VH+RaB mHEA== X-Gm-Message-State: AOAM532c8/JvhYBYbSx9u8cwjCOzYkI4hZ+eySCrtRrDT7DIC2FmWDtr qt8e7STJGT7rn6Zm7cts160= X-Google-Smtp-Source: ABdhPJyvz03fFeLUa3VJD4/cBWyHZNFGq5k1paEjA6TYrGzTVg/lnN6vWB3G8wWAM56jHRJH5O6GYA== X-Received: by 2002:a17:902:ea08:b0:15d:460b:b3c9 with SMTP id s8-20020a170902ea0800b0015d460bb3c9mr2645884plg.37.1651303805669; Sat, 30 Apr 2022 00:30:05 -0700 (PDT) Received: from localhost ([45.83.130.130]) by smtp.gmail.com with ESMTPSA id k2-20020aa78202000000b0050dc762816esm850734pfi.72.2022.04.30.00.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 00:30:04 -0700 (PDT) From: Ihor Radchenko To: ~buhtz Subject: Re: [PATCH worg] Using asteriks as list item bullets. In-Reply-To: <165124442812.27548.1955860606903453353-0@git.sr.ht> References: <165124442812.27548.1955860606903453353-0@git.sr.ht> Date: Sat, 30 Apr 2022 15:30:53 +0800 Message-ID: <87a6c3ni36.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1032.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-org list , Timothy Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651303921; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EUrvTZSTPwkho46jHch7bPZ0+I7QgChiIsgE2Zxn1wU=; b=M9CF8LW2QBoHCezQIoVSfv7rxz05JpGMrpSv70Gy/anMldCozy+axZEM++CLWN051C/gy4 crw7s+jZuY8cIEueUioZDGkrlBi+hUI5xNoyjXzJUXAJIawV5Ykc4UveMFOe5D/J3YMN5Y ycUUasaZmDAIoBdISo6g/RHVrge1GeXPEDf5cOXty3oCp4uZkgqAaGvSL0ntv6Gl01xADA SKvJ13q6JWMRcvp5Lcm+/2D1MZY6kZJjagpU9PZZmr6xOBMO+GLRCz8sAu1pN7CbcnYmh7 FlNjsyn2l1nrTX8qZCXwCBIQlLpsvNqd/O6925b5e/Zc00arLpP+eKwC2NBFSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651303921; a=rsa-sha256; cv=none; b=H/RFf/h5ngP7nQBqiZyQS7Cg9NI1t4Ow09Y+NtZiMjAldcc8f9RejQkdq/XegIRVUZcAsI 3PiioBvTfXbIdcVX0tE6LmWJt9u0dxbmuQM95SGn6gVKgv05yaihLLq6CXC4XYFl7H7Jpf 9pnfSe6PrpP+K4+rTD0tXCTB3SdhuMJgplY7YOFBomKLm6SEYYCjBPvoj1cFG4BjmV5rad iaILi/6MhG0CvCXQMBI8clFilD+/F0S8WpD1qSJ6oCSOc10svOQAo6RsGdXEkNlAtuBbC+ N4OVbrQU+7NGAOkM8b23gr+CaGJxGhi8cG6ZyRDvEnSy9u4pNBVFxxk+DnRk4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gwNJWEVa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gwNJWEVa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A18F925824 X-Spam-Score: -3.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: BOOj+koSofjv --=-=-= Content-Type: text/plain ~buhtz writes: > From: buhtz > > The text no points to the exception that an asteriks have to have a > whitespace before it when using it as a bullet for a list item. > Otherwise it would be recognized as a heading. > --- > dev/org-syntax.org | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Thanks for the patch. We use the same Org mailing list of worg fixes, so I am CCing emacs-orgmode. I have updated the patch after rewording and changing the commit message to comply with https://orgmode.org/worg/org-contribute.html#commit-messages See the attached. Best, Ihor --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-dev-org-syntax.org-Clarify-item-syntax-for-asterisk-.patch >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 --=-=-=--