From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id WBI5FlvFNGYtOQAAqHPOHw:P1 (envelope-from ) for ; Fri, 03 May 2024 13:07:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WBI5FlvFNGYtOQAAqHPOHw (envelope-from ) for ; Fri, 03 May 2024 13:07:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nF5gr1B0; 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=1714734427; 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=iC7FGGWqHzuSLynBQOAIYJsdXQwQWgHGFrGa0Q5cnlY=; b=GlYmSzgFa4PN/6cxewmIpeDbfwBH6IHRa1n/jIG6byGIJv6/G0Th/D8QZ7AVmW3D+KghB/ 33jnoNySLXhvLj60iu0JcuWbYxPHtoZd/fGP54TKWE1p7gt1tsD/58fgyUZVifCvxUrPpD 2xR8sYCtANUNOYkSYPeilHe0cClivFs9OTINmMIpMHRlB8RTh2+fs0Sxn5TpETJHSYCoZi fojPwk/Ki23yfc0IgIHoWMDirvYDGuaK5/DnjquvzgYEa8sYOh2KszdXWDQh6NpJ1g9bZT izb0sX9ll5EuMYEotK+rPpneymcz60AMe+loijcEwLSp4TCDHh6b20OhDcn90w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nF5gr1B0; 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=1714734427; a=rsa-sha256; cv=none; b=upK/yLH0M0b4VFaDA0jhWTWREcCNRpR4+o8yE+QWjp8As+347cd9IB6/PJftuBy1Y5io3M R9IOjOiffyfcudX9K8V0INRCsjbFe65B6zxI2IAHznnZIv58LUK8m2TtXZ+OfdiA/OCXSL O/l2Z067jPZUxaKdjkCYREV02u/IneXr6UqLzmJ1L3gnsDKizP3q6eGAJWY5VYHjVxU33s W2lsDAC8xxQkuh0618LoN/kGXanPMyvm03tJEXtennvixFVXh8NY7FkkzwQS2L+pmjSGil ZQcfcJBnmmbR09fIVo2Qrmd3Hol8YfFM/ZYwvf0AyX48nzEvFT7e2KLhTpLWcg== 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 D3067641A5 for ; Fri, 3 May 2024 13:07:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2qk6-0001RP-W2; Fri, 03 May 2024 07:06:19 -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 1s2qk1-0001Id-N6 for emacs-orgmode@gnu.org; Fri, 03 May 2024 07:06:14 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2qjz-0006jI-FZ for emacs-orgmode@gnu.org; Fri, 03 May 2024 07:06:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 86D53240101 for ; Fri, 3 May 2024 13:06:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714734368; bh=ckFLeJ+OxiT2kWU912iTDuh8JS3hvaoWZzNKdOPkfWc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=nF5gr1B0twEWpD3x/DAoj0cgWPb7ZPqeFpgp3BXKDRL0YaqlamDjIg6ihquMuouaO qp/lqBJgYv8XQLO9WIHxODjn5SBsimv5V0GwFCSuMMcwVn3fdLtji2uEb0N2Td8Qhx WwhVVOn/ttVCKWQVk/rX+S9lACuiKrlNA1dO42spCes2jDbcnpsyCItcXR9fofDEgn AcmD5gqvLAfRROF4jcJ4K5iDoynEaemFjJlLXnuePXOGmH+oCCNElZVLQET7VqoK5h 2W99D6bD+Hi7d1Oz03qxuxBRIgNF/2TImHeRVWqCmQPYAgZNWRxXCbxzgROZIQX8T0 qiFxMAiyAzUcg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VW7Jv3NHKz6tyL; Fri, 3 May 2024 13:06:07 +0200 (CEST) From: Ihor Radchenko To: Tom Alexander , Tom Gillespie Cc: Timothy , emacs-orgmode@gnu.org Subject: Re: Consecutive plain list items of different types In-Reply-To: <871qeqzhkz.fsf@localhost> References: <871qeqzhkz.fsf@localhost> Date: Fri, 03 May 2024 11:07:20 +0000 Message-ID: <87wmobtaqf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H4=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-Spam-Score: -9.53 X-Spam-Score: -9.53 X-Migadu-Queue-Id: D3067641A5 X-Migadu-Scanner: mx13.migadu.com X-TUID: 8wjZrGdVgk2w Ihor Radchenko writes: >> but more importantly, based on that description I would expect the following test document to parse into three separate plain lists, but it parses as a single plain list with 3 items: >> >> ``` >> 1. foo >> - bar >> - lorem :: ipsum >> ``` >> >> [1] https://orgmode.org/worg/org-syntax.html#Plain_Lists > > AFAIK, the first item determines the list type in our parser. > Timothy, do you remember why you wrote about different list types being > parsed separately? I see no explanation, except reference to previous discussions with Tom Gillespie. However, searching in the archives, I do not see anything related to plain list parser. Considering that the parser does not distinguish consecutive lists of the same time (unless they are properly separated with double blank), I removed the confusing statement. Fixed. https://git.sr.ht/~bzg/worg/commit/81425d84 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at