From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QGIUId8GUWEiXQEAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 01:48:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KN2wHN8GUWFxKAAAB5/wlQ (envelope-from ) for ; Sun, 26 Sep 2021 23:48:47 +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 EED37B365 for ; Mon, 27 Sep 2021 01:48:46 +0200 (CEST) Received: from localhost ([::1]:45518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUdsz-00067T-MT for larch@yhetil.org; Sun, 26 Sep 2021 19:48:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUdsL-000675-JZ for emacs-orgmode@gnu.org; Sun, 26 Sep 2021 19:48:05 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:42987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUdsJ-0004Ee-Uo; Sun, 26 Sep 2021 19:48:05 -0400 Received: by mail-wr1-x435.google.com with SMTP id v17so3492103wrv.9; Sun, 26 Sep 2021 16:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sOMZbW1Gna0OM62req6sI8Pxgf9XNwT3YnFJBNtQ7gQ=; b=iGEUUbUGhB/sbUkZkuntaxKIYJFqFzeiPHkTMi4ufOJV8WOEJ0m/8vMRcW172aHwc9 d4Q05O2y0GG2nJR5Acoq+mkn6MTGLOAvPjhaSFqBTNoXNCMK3HhTl7mw0kqjVBax2x1Z 5esHUcgnWljdNtxVYZXxdQFBGQdn+q5+qnU3w2OYS0spOaighWfJCdX+CZ+bHtJBNzMU 0Idko0i2hA1/NZVsX4M/LuUlUADWI7G78HnJbwws9cqI0DMtBdQDtOJXTr4SyaNfwCue wyYTcn9Z+Cy5aJ1mpMbePpsR6dxcrEGy0HnpN7/UgF9ia8h8UjBTnY2KpyLJ4ai8lthx 984Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sOMZbW1Gna0OM62req6sI8Pxgf9XNwT3YnFJBNtQ7gQ=; b=ph1Y94ky2rm+xpVVlNsSOBICsa0bNBN0W9y16hGFuaFYes7VrPbHvdxYR9qOZaqkLR KGzOMgH/yWC3Z9FbthLVa23arF61kWrf4Uw0URAZ96ifitwmFLbI2isRwSHDql/mcscC YMJEDNEGcS7cuaMXp2AnBwwoOK15d3qy4Ugs7Rp9iNftfcdwUE52T/LuyvfwdIfsJ5d/ OdBXaE8wTc12r/WHFY/OALpTqRzLU7o2LeKFLNkfQBjkK6sM37RTOE++U03SL2iS66VA S59YdjdCn7x14h4mZvAZ1zlZry+utbj7MzI/qNs+Of4q29C1yPPoy3lzbT829Bow4DgM 1zwQ== X-Gm-Message-State: AOAM533fLcGpsts6HaHKr6ejQGABPJU6oXYnxCSkuPZLCrGT1y0gcsgj eLEnPCWM23l1Y0wCCrIL7Lf/c8Mipujvagbt9sqbClfa X-Google-Smtp-Source: ABdhPJwh0rIi6+z/wk8OdBFMNrxoHUZLE0sBKbsLB0YwI7fooFz8zLS+bgTWttUJ1uxSswWWBwFnnxmrJLIGWhLQlgU= X-Received: by 2002:a05:600c:2193:: with SMTP id e19mr13296259wme.38.1632700080321; Sun, 26 Sep 2021 16:48:00 -0700 (PDT) MIME-Version: 1.0 References: <87tumvdno3.fsf@gmail.com> <87fsyft0vv.fsf@nicolasgoaziou.fr> <87zgwmt5wx.fsf@localhost> <874ka7btda.fsf@gnu.org> In-Reply-To: <874ka7btda.fsf@gnu.org> From: Tom Gillespie Date: Sun, 26 Sep 2021 16:47:49 -0700 Message-ID: Subject: Re: Empty headline titles unsupported: Bug? To: Bastien Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=tgbugs@gmail.com; helo=mail-wr1-x435.google.com 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: emacs-orgmode , Sebastian Miele , Ihor Radchenko , Nicolas Goaziou Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632700127; 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=sOMZbW1Gna0OM62req6sI8Pxgf9XNwT3YnFJBNtQ7gQ=; b=nYRGMxKEnVKZdRscbxX9aL1MlcYkLpBrsDgB2wwa2cSoPVpibVsGsB0i7dv42IrfxwB9W2 DLUY5tmKb+Nij/kQz6SvG9WekabkIuXRDlV8EtLdhWCkj1rYVrQd4fObzEVtdHWtHYwGoM 7Du/Io/zFVghFAxRHwg4BwR4bPUqsNPCK68R9CefHiWGPnSfi5/Zm1wtWqFZPY9lPU9Ong /lTuREFjwKKoxyvmIuWBI5ogBEi4/jtATibfnrBf4oN5bT8swv/L7UnUVFhBGQJmnY8eGd LIV4suxHEo1XmcMS4o2P5p+dJM351F0gzdmen3OzgQyRNRFJadHPeaSzacEZhA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632700127; a=rsa-sha256; cv=none; b=k2Vg/9sxHaTl3eD/P3PXJjCrTniL3P/4qcoZs9ejt/dzSNsc6ttBhuwYxXpjuo715uvntU M8OeHK2qn6MUw1/dZjIRTYnctbV0q4GrHnQds+jTxycH+HOuqZBFO13aopOoIE0cDgbMt1 rdBa4u84OLSljRMGUzqbL+Xo1HvttW74fN2LWDLYcvZILIG7SYIvgUAmwnIz0Zl0gqsRfi XAIXtbAED8PgQsEXXzi6FJdlEUHwNKCwBL9HRP0YIc1F3ul0W3uq8sy8qUCABG3GcwvBkp Z2moPjbSSJ18WfLG3bYaucO8l7f3lJPC/R5i3xvpCkLGsdl66szIdzmTlHpyFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iGEUUbUG; 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-Migadu-Spam-Score: -0.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iGEUUbUG; 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-Migadu-Queue-Id: EED37B365 X-Spam-Score: -0.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: v0CCPLwF1/gW Hi Bastien, I am strongly in favor of this change. It simplifies the grammar significantly, and from my work on the laundry lexer and parser, I'm 99% certain that the current behavior is a bug that is the result of gobbling the space after the stars in the headline. The correct implementation peeks 1 char ahead for the space, and then starts parsing again starting with the space. This is because tags MUST be preceded by a space, so if you incorrectly gobble the space after the stars then that space cannot be used as the start for tags. Best, Tom