From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oDC6KZE1/GTTUAEAauVa8A:P1 (envelope-from ) for ; Sat, 09 Sep 2023 11:06:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oDC6KZE1/GTTUAEAauVa8A (envelope-from ) for ; Sat, 09 Sep 2023 11:06:25 +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 7CE094F559 for ; Sat, 9 Sep 2023 11:06:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Dh5ICfOz; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694250385; 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=OHa75uu5xIk/6Px8mO37vckgdluorBPfmwV7SgcRJpw=; b=mg6WkGFWjAMe1zMDFKJpLMuXeso3a9wDZS2/m7uZqh8iw73fF+LtGOZjJN4FG0yS9uu3UF S9Rku8IFYk9WXDn9gf92QPfjjCrswjRqe9RjM02ScQi1gkZcYzBJ6et7sZAaPvln/7GiEU zRtwJ/sWDoUZGm79ufYrXREnIguILz1LoutS7gdc6cRYIcd8eBZWMTAo1oIYaif2WSc3i1 V1ZNa3pnKa6CKu04Kgs4mx/IioRp6sOE+jAdYUK4IXl/ez6pLze0bUkFzzMJTTNZFThrGx 0CrKmCHGsygc00Le/eJz28XPAJ8AMRTlt5/8SiLqOMyXqclLzPQW0e2YEpEhUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Dh5ICfOz; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694250385; a=rsa-sha256; cv=none; b=GGeBlkvXVD2/CHCgL8h04eeeKuTV3rHr8zkTxI+2dR5td2wCirq6wq9prVxImza0pjK+Yg QC6GZqXpTWdgMaY4cxcK3/CJFbyqYuUlSZXa9avtViSa6lhEi0CxCUkNsImUh0PnFdm2At mhAd1Q68kIuZ1/ZTRR+xi02SbwnAQWpyfM94TJFsMmEU1/9bRN2Xv55+cRboEPdHNehcqa mT/gtg3cGu2Ci+BJaYGFZ87evwY37bTC8jFFWnDzlDVoF4HAsyjdCznJcqx21ccoDzGusu 6lCcrmJbVLyZCZ0go6VQyYPLyMcp2C6ps36ihFvvfqiWBCPI4pVmKRyloYyqEg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qetuS-00042n-22; Sat, 09 Sep 2023 05:05:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qetuQ-00042T-8R for emacs-orgmode@gnu.org; Sat, 09 Sep 2023 05:05:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qetuN-0005uW-Ak for emacs-orgmode@gnu.org; Sat, 09 Sep 2023 05:05:42 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 105CF240027 for ; Sat, 9 Sep 2023 11:05:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694250337; bh=mfF42VufZn7YJR0yqYfUvqWXaqu0pedNXgiHBYj+pNE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=Dh5ICfOzHseJFjaLwq8kq9oRv0EIWwbju1Bplequb8Be1GL6H7/LD9XbBkyivN/BZ Os2u3KEFqKZco8PiFi5GO8YXPQuHeUXGA2JUVWyz7aBn5Mx21SJ+1tsLspanxZidsF HnBoYv3JD7dvubjaT7xcEsgi0IEinanwy8KIGSGfINpqmgsC4ZDSm581j0wxeXzBZu 9t5PtDi61ATCHfeSZ+YgmaQfJ9kC/P4PBKKS0zEEcFVgnfKsc6ieeyxVbT4k5j/02W mRFJbF8/mSaKK2e96ZWCh7CawozsPkXuucfW8Bq+tbQlS7Z5OUf2sZBk8FIGqrbu2M M7mYDuJm99Rjw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RjRsD4Yh1z6tsB; Sat, 9 Sep 2023 11:05:36 +0200 (CEST) From: Ihor Radchenko To: Tom Alexander Cc: emacs-orgmode@gnu.org Subject: Re: Description list with " :: " in the tag. In-Reply-To: <602c44e3-c5f4-4817-916c-13dd152ad4d2@app.fastmail.com> References: <602c44e3-c5f4-4817-916c-13dd152ad4d2@app.fastmail.com> Date: Sat, 09 Sep 2023 09:06:37 +0000 Message-ID: <87wmwz7m1u.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 7CE094F559 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -4.94 X-Spam-Score: -4.94 X-TUID: 5YV9T7P9oFN5 "Tom Alexander" writes: > Emacs version: 29.1 > Org-mode version: 163bafb43dcc2bc94a2c7ccaa77d3d1dd488f1af > > Found a conflict between the documentation and the parser behavior. The org-mode documentation[1] for description list items says that TAG '[...] does not contain the substring " :: "' > > Using this sample document, I have created a plain list item with a tag that contains that substring by wrapping it in a verbatim block: > ``` > - =foo :: bar= :: baz > ``` > (item > ... > ((1 0 "- " nil nil "=foo :: bar=" 23)) > ... > It seems that "TAG-TEXT" is not just text but it can include objects and those objects can include the substring " :: ". It is simpler. Everything after the bullet and before the last " :: " is considered as tag. Everything after the last " :: " is description. Then, tag and description are parsed, allowing objects inside. org-syntax document is inaccurate here - it says that the _first_ " :: " is used as tag:description delimiter, not the _last_. I do not see any benefit changing the current parser. So, we probably need to update org-syntax document instead. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at