From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oKnfHO58LWV6KQEAG6o9tA:P1 (envelope-from ) for ; Mon, 16 Oct 2023 20:11:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oKnfHO58LWV6KQEAG6o9tA (envelope-from ) for ; Mon, 16 Oct 2023 20:11:58 +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 1756E64BDC for ; Mon, 16 Oct 2023 20:11:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fizz.buzz header.s=fm2 header.b=mWUzLpqQ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=hTLDLeIg; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697479918; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pWamhWE5NSX1bLJRu2AIwLE0ejjRXOz+oMU+LjP9FXQ=; b=HDr7YImo0d01VHXa9tpSUWGRPrp3kDSdnd7KZ2rJ9ugzYcUNaILGtMWAOOFDsiPweMW/T8 ziVu2lBBB2uOWjXuDb4eZ3//rvMsWjEXpqxYsVedjgdlisvPE2AyoZgFD2QKCdVEko4Fbf MDDeadN8eVpvSPg89zpRFqANLsMqQ8i+3TxIHkY5g0n/axkq9YRq7LZ8le3YBSInH7d/Rp otRRgs2xZuHgcimHv+kFhNiioTkZvE5DxUwh7Su1LtaXfHsfTw8EsjKfegKXu99KnlwJbv auECMBGEwqCwr/7nYu8BQUwzap6jCYxDzLhLFEd5rSwKFzfT8NGHJgdhfFJm/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697479918; a=rsa-sha256; cv=none; b=ZRlvzho8uocYlEtmgW2nCwsDFdH1HTcvhx/bDZOF6vVzKG4DtQ11IJaNwntqniSPOZH064 4TJ7KvGuEyWcIP0lxo7F0QTcKCFbRiAN/iPZxcQ2LXAQqGXpfl0v2iiiEMZM9b9QpCk+fk M3ed1w8QHstnjAXIaYJrel19uXtXiXu1984YJc7P/FHlIQAuUxVQDnNBRRZeAPIA4NCrtn SCtct/G/zlJBxiHwPdxMS+QKTEWDpBGzyIDDhjHx5XJRilsbQsp2Jtn/Pvl9iZ5lqZjI9C 6R8fTfM5EKycRJBMPXdLu7PdC+rj6c25TdMfwHMrp6OE7ILet1h/OoGYCIlGbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fizz.buzz header.s=fm2 header.b=mWUzLpqQ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=hTLDLeIg; 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=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsRya-0003Qv-VS; Mon, 16 Oct 2023 14:06:01 -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 1qsRyQ-0003QC-FB for emacs-orgmode@gnu.org; Mon, 16 Oct 2023 14:05:52 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsRyJ-00066c-9o for emacs-orgmode@gnu.org; Mon, 16 Oct 2023 14:05:49 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id 100065C057D for ; Mon, 16 Oct 2023 14:05:32 -0400 (EDT) Received: from imap47 ([10.202.2.97]) by compute7.internal (MEProxy); Mon, 16 Oct 2023 14:05:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fizz.buzz; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1697479532; x=1697565932; bh=pWamhWE5NSX1bLJRu2AIwLE0e jjRXOz+oMU+LjP9FXQ=; b=mWUzLpqQgjRkoIXNrCxnhQ2zyLth6Fzoh7xGSMk/2 ruFZ+Z68xhVia9UVtVSqBmAJgFLR6rXbIqA0bbfprJUpcgc5HxBfmcUBGL98/AyJ iVUkHiM9LJxt8foeLcjpLpbIJglog4r41PL6YXHse6na0e+LHjV6U9XT5c0euGNk 8VpMM//Qf5JmCsolrBVt6iw2Jzgjkgbqu66kz5OJ1fq5ImcrR9cKIiFr6mHv3a+G hLmLwbqMc59kX0Y2led+zBElNtJk7cnwvY+7qcjCkPaN4+vbfbRL/aLJAgvVHmce /sRLevO9Y24S2LajBB7tKPaQJ4WFVaRFF7d8imEnWxWqQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1697479532; x=1697565932; bh=pWamhWE5NSX1bLJRu2AIwLE0ejjRXOz+oMU +LjP9FXQ=; b=hTLDLeIgufQcpvSv/wtbMsLDRrNk9OxBQQzzRyy/LQTSNf8V0VJ 9SXNwzBbLwG/T5+03qUC7ucgySl0tgsCTHH4HLtulZ9EMKVKZXkLj93D3WBl6fzk v8LCVbZ6J1/4D749159Ls/Vcs0Ksgd2N92wCHkBRgww1wGwsva/IhmVieqxxlddN WRzDFx4tFkIr2TYhoaxS93gc+ly27D5k5FREik5e0YS59fxUvEjbwjOkAzAEC3pr l/wPtHTQAQ7hvEiD6cVNVAlIO2Rnte3f1NMJ+vHrs7ktCL6bj9YhWL1kcIQigmU/ LlofdFgmKOROKFUCEJpK/Xn3kcxrykTb+MQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjedtgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfvfhomhcutehlvgigrghnuggvrhdfuceothhomhesfhhiiiii rdgsuhiiiieqnecuggftrfgrthhtvghrnhepieehueetkeeujedtgffgteevfeevvdffvd eggeeifefgheelheeltdeggeekgeeknecuffhomhgrihhnpehfihiiiidrsghuiiiinecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhomhesfh hiiiiirdgsuhiiii X-ME-Proxy: Feedback-ID: i589b4368:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7EA91A6007E; Mon, 16 Oct 2023 14:05:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1019-ged83ad8595-fm-20231002.001-ged83ad85 MIME-Version: 1.0 Message-Id: Date: Mon, 16 Oct 2023 14:05:10 -0400 From: "Tom Alexander" To: emacs-orgmode@gnu.org Subject: Incorrect quantity of en-spaces Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=tom@fizz.buzz; helo=out5-smtp.messagingengine.com X-Spam_score_int: 17 X-Spam_score: 1.7 X-Spam_bar: + X-Spam_report: (1.7 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.999, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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-Spam-Score: 0.74 X-Migadu-Queue-Id: 1756E64BDC X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 0.74 X-TUID: PYd2ID0DiFpV The org-mode syntax document describes entities as: > \NAME POST > \NAME{} > Where NAME and POST are not separated by a whitespace character. and POST is defined as: > Either the end of line or a non-alphabetic character. So using the test document: ``` \_ Foo ``` (a backslash, underscore, three spaces, and then the word Foo) I would expect to get only 2 en-spaces but I am getting 3. Looking at org-entities, an underscore with 2 spaces gets 2 en-spaces, whereas an underscore with 3 spaces gets 3 en-spaces, but if we match all 3 spaces as NAME then POST becomes invalid because "F" is neither the end of the line nor a non-alphabetic character, so we can only match the first two spaces as NAME. emacs version: 29.1 org-mode version: 9bbc21df84d507e568a3ebd17e105cdb9e163784 (latest in git) -- Tom Alexander pgp: https://fizz.buzz/pgp.asc