From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kMW+MRFDl1+ofwAA0tVLHw (envelope-from ) for ; Mon, 26 Oct 2020 21:43:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OEmHLRFDl18YFwAAB5/wlQ (envelope-from ) for ; Mon, 26 Oct 2020 21:43:45 +0000 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 644F49404C9 for ; Mon, 26 Oct 2020 21:43:45 +0000 (UTC) Received: from localhost ([::1]:46496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXAHI-0002nW-6m for larch@yhetil.org; Mon, 26 Oct 2020 17:43:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXABQ-0004YV-L7 for emacs-orgmode@gnu.org; Mon, 26 Oct 2020 17:37:40 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:43615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXABL-0001aL-9X; Mon, 26 Oct 2020 17:37:40 -0400 Received: by mail-pf1-x434.google.com with SMTP id a200so6918372pfa.10; Mon, 26 Oct 2020 14:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=567S/kGEe1kLk5HXcXe24CQpcdFkjKu+YuUCVbSs9xA=; b=JyfYEKAixUAdM0GXj4k5ybA8lk+R6nf62tWfa+RCKb1yHpWMTqxQ3Evgj5B7+0lEIQ u4ImCLuITJn0G3dg+VWOJrb6CdK9xnvIRQRJno9phX7++U1nbmYFCfr63jspsnhetdAW rnyotc0WCTBGtecozG1taTbv2sOKpRrXIoWzytAIQ4t5e9Z/zbkodYwflY7wR978HNaR fJca5ozBDvWho39fz75AH2+ZsotpIoI/QU6NrA4Jh7tQAD4oG5f+HuOF9V75CLfsMFVM hck4kMhNoGYfaiXEqaaeCOaruS2TXAcIdjlB1rwd9sV4aJ99n8CCj5+VcGoE9XQaTt1c MfzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=567S/kGEe1kLk5HXcXe24CQpcdFkjKu+YuUCVbSs9xA=; b=EPgswNQHqR9rh6Q+Jx6lCmdpkcSSEVvO/j0xm/Ab1asSyfABS78kT8TcWuJyhfSI5E TJWzV+Xhh01HIjlzPWPEE79h7hG4S9rkDvHN318KG0m4/2dmwkTNBCErA0+SBRxBgJ7W FbtLGxgIoatpzB9AD/lcMCMIxyyPFEdmXIISHdEApOXn03467reVEy3TKBjdsaKGItLs P2D5/zo55Osi49FNdyR+w1W5dYHpJDLYgPBjCnZsddHbGaRi6WahgvAZsCNsrR/iyrEh THpMgjBlnzQH567xIvQtjm9/5qv6gk43aI4F6EOZU9zuvGXCSHUa4jz8o8LbqKPEMIuR OlWA== X-Gm-Message-State: AOAM532pRu2iAMhoUXTTbJWimqeZwHPgWCfhusOyf8A9ol8lb56OSxmY khow0TISSA71ndoACV+Nz2CPypGIzFI= X-Google-Smtp-Source: ABdhPJxE2zlCWej4Vsx2adfhgNsEEhXhyObOC/tJSi85xZ05aZYxJoLG3SRaJ1WervTY18eZe/WGUQ== X-Received: by 2002:a63:1f0f:: with SMTP id f15mr15118985pgf.312.1603748243129; Mon, 26 Oct 2020 14:37:23 -0700 (PDT) Received: from geus3064linuxwsm (97-126-80-198.tukw.qwest.net. [97.126.80.198]) by smtp.gmail.com with ESMTPSA id h190sm156612pfe.53.2020.10.26.14.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 14:37:22 -0700 (PDT) References: <68dc1ea1-52e8-7d9e-fb2d-bcf08c111eca@intrepidus.pl> <874kno7w3v.fsf@gnu.org> <87k0vdkz7c.fsf@gmail.com> <87sga13w62.fsf@nicolasgoaziou.fr> <87r1plj71v.fsf@gmail.com> <87mu093qgn.fsf@nicolasgoaziou.fr> <87o8kpj5mu.fsf@gmail.com> <874kmgka3l.fsf@gmail.com> User-agent: mu4e 1.4.3; emacs 27.1 From: Ken Mankoff To: Tom Gillespie Subject: Re: official orgmode parser In-reply-to: Message-ID: <87r1pkis8d.fsf@gmail.com> Date: Mon, 26 Oct 2020 14:37:22 -0700 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=mankoff@gmail.com; helo=mail-pf1-x434.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastien , =?utf-8?Q?Przemys=C5=82aw_Kami=C5=84ski?= , emacs-orgmode , Nicolas Goaziou Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=JyfYEKAi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: shMOTRbLErCK On 2020-10-26 at 14:00 -07, Tom Gillespie wrote... >> list ::= ('+' string newline)+ sublist? >> sublist ::= (indent list)+ >> >> I think this captures lists? > > Ah yes, I see my mistake here. In order for this to work the parser > has to implement significant whitespace, so whitespace cannot be > parsed into a single token. I think everything works out after that. If we agree that the syntax above captures lists and sublists, then I think we could apply the same methods to the issue of headlines and sub-headlines? -k.