From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aEjsF47ua2KFKAEAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 15:56:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GIbWF47ua2LsRAAAauVa8A (envelope-from ) for ; Fri, 29 Apr 2022 15:56:30 +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 E7120CFB4 for ; Fri, 29 Apr 2022 15:56:29 +0200 (CEST) Received: from localhost ([::1]:58412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkR6i-0006Hk-Rh for larch@yhetil.org; Fri, 29 Apr 2022 09:56:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkR4S-0005JM-9K for Emacs-orgmode@gnu.org; Fri, 29 Apr 2022 09:54:08 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:41801) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkR4Q-0000Yf-Ld for Emacs-orgmode@gnu.org; Fri, 29 Apr 2022 09:54:07 -0400 Received: by mail-pf1-x42b.google.com with SMTP id p8so6973658pfh.8 for ; Fri, 29 Apr 2022 06:54:04 -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=gJc/HkfONoS0KVKryF6pcXa+RrYdVHrPR0Ts/I7UXC0=; b=e75TaeAXd9MthFBT1FWTsdH5Mt+Mn4PEBLu93xqmiXeX5cZoJzJa5yk4vS1oMZnv7T 1Mhg6vgTdv10wlCkHGEk366cUcvnp62WYXXIKGof7Dgt+R8Bsdi3RbBoNEf2lhQKesrC bBZ0ZQ5pmkj94Xiw9RkQWfPyfmfCh6NleRnsauq8akEUdb8EsLDtJZvHeb0u2sKZZj2Z xQnlD82FYWhGaB3lyytm+IQPJYZEIztNOTwsUsLkX0Hmd6qo4LRGegf1mp9fe4AOl0RL rpBbrH/2IoHIV5cfCEAHcRfmmvDNUM/OGZuCFMpUtLn9dQcPxaing/92ICIaWzmVFX6E palg== 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=gJc/HkfONoS0KVKryF6pcXa+RrYdVHrPR0Ts/I7UXC0=; b=qz5ybxGkB7/1WZB8N+dwdyJsU0yTQplFTDi20Ss9Q/8kD2GX6aL3Bc3F5zAzotywUw o6peuZNmOnLUG2SoARgmsAYfgP4RK2w4VEcAMgzOMKgnZb9jCZlBgyP7EDIpI522Pu7m Pzs68Kwj+O5OajBZvFEMk6bEwCTYD8zeY4B4TkivgBcUvp8bYUsgfFw+h59a9rzu0ibE t5bz6QeVSl2hEdOmYzaCcVnFiz5DDNX3nGKIUjnW4QDE4uqGtjJmzOMNnQimHjxaGAZ6 KmfyJXAHRq5dsjLmDdz1BNQY/FHjwzF6pvUAZ3nkm4Qp8X/efxVCKVwQwk4Tzh+f92J1 qfBw== X-Gm-Message-State: AOAM5322asTx2RwKK8z0EK+S7cU5uMUPxaNYTPJsMLecxUVhGZcRuHx4 XzVfiD7ruTyAociu/bfU66P6YvnlyIjtEg== X-Google-Smtp-Source: ABdhPJx792nVyCtsRnbzyDvYBINd/n8J3ydyzZKcBUebyt9j0p2t+4+SYtX28WDG9VlxC1Z9Gw3ppg== X-Received: by 2002:a05:6a00:22cf:b0:50d:a485:1c3c with SMTP id f15-20020a056a0022cf00b0050da4851c3cmr5958331pfj.54.1651240443068; Fri, 29 Apr 2022 06:54:03 -0700 (PDT) Received: from localhost ([192.161.60.140]) by smtp.gmail.com with ESMTPSA id g17-20020a625211000000b005056a6313a7sm3101731pfb.87.2022.04.29.06.54.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 06:54:02 -0700 (PDT) From: Ihor Radchenko To: c.buhtz@posteo.jp Subject: Re: asterisk allowed for list items In-Reply-To: <6e72ad426d60c28dbc4d0d3f45816834@posteo.de> References: <78aed94a0114fd29322e6da7581161ec@posteo.de> <6e72ad426d60c28dbc4d0d3f45816834@posteo.de> Date: Fri, 29 Apr 2022 21:54:47 +0800 Message-ID: <878rrovvtk.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42b.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 orgmode 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=1651240589; 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=gJc/HkfONoS0KVKryF6pcXa+RrYdVHrPR0Ts/I7UXC0=; b=irzA1fhgQPxMUn6I6zn3ohL4EbMG0yrU6yNilWWVqOXGQrFF2soVcjJAFO3uR35UmSDf/B JPyzz3C1hw08oAgYWT4KEX8AZx/NEUONDwLS8lgw2DQ7yvWBJY5cP7+wdQmkMgUuGcGUN1 WOXgmLzXiA8by8FYUpJuei6CdJRrHcC9t20XeYVyBICTCgnwr2qsfw/NzfeBSAjdYL1ePn ENOSsOZe5THTMCmy2ZdQp4FdfegyfuLp6ria9Gjgt9A2NhVCd3RXIhoAkgq5hGdtfJ9Gqt Arf+S0AOW+8XPBo3a7c6UYbwFKeklOsrLYhHcTyzFFqnxEhaOdbJZqqtzNNSTw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651240589; a=rsa-sha256; cv=none; b=CVvHhk+J4JIHhluKjdLO8isNjAfgEbprflpIMsus6pnY07BGb+3Zomulr3W7j5EDdDOpUK /FPDyTvHRAJV67XAzg8ZAVw7/0Q/eKkg9Kh35a+nkde8eVXW+tG6M+s5p3XoA6xSthVem0 /ucfBB0HCCLEwFZHFdEwRkMVB8xYKM02J/iZTulYGYj06v47xSfehIUhsSrq1i0rAC6HhX c2mTlehnxz6n4nvXXFrmYMEoIeEL5zmawC/InUqmKBHvbFqqjusd6kgnPmBgD/AxwkX4zq K/cIluQ3YozSchsQHHukKHq3Ky8UglaM8kiqOshvAL6hWnvV+uR4FX9PbcdRRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=e75TaeAX; 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.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=e75TaeAX; 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: E7120CFB4 X-Spam-Score: -3.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: WZESN0klcMXT c.buhtz@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 org-element. The "^* " vs "^ * " is distinguished without much efforts on Org side because of hierarchical matching (headlines have higher priority over lists). Moreover Org is trying to be as back-compatible as possible, so minor simplification is not sufficient to advocate changing Org syntax. Best, Ihor