From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uCpVLHamCGR5hQEASxT56A (envelope-from ) for ; Wed, 08 Mar 2023 16:15:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gM9CLHamCGQrnQAAauVa8A (envelope-from ) for ; Wed, 08 Mar 2023 16:15:02 +0100 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 8517744D4C for ; Wed, 8 Mar 2023 16:15:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZvUn-0005fZ-W6; Wed, 08 Mar 2023 10:14:26 -0500 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 1pZvUm-0005f5-F2 for emacs-orgmode@gnu.org; Wed, 08 Mar 2023 10:14:24 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZvUl-000561-5p for emacs-orgmode@gnu.org; Wed, 08 Mar 2023 10:14:24 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pZvUi-0004B3-Lv for emacs-orgmode@gnu.org; Wed, 08 Mar 2023 16:14:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [BUG] No space after footnote with org-export-with-footnotes set to nil [9.6.1 ( @ /Users/test/.emacs.d/elpa/28.0/develop/org-9.6.1/)] Date: Wed, 8 Mar 2023 22:14:12 +0700 Message-ID: References: <5BB5EF8E-6D40-4055-99AE-BF596E5E8C98@gmail.com> <851a585b-ea53-b24f-438b-ffd9b36d29f5@gmail.com> <87v8jh4z2d.fsf@localhost> <9302738a-b351-0422-22ad-e764aade01e5@gmail.com> <87o7p7z9k3.fsf@localhost> <0D66BE43-7FF4-4B96-A1EC-03AF5FCA93B5@gmail.com> <878rgbz7w1.fsf@localhost> <5571340B-0551-4DA1-AFA1-3A7C94C8DDB7@gmail.com> <875ybfz71b.fsf@localhost> <2b73ed2c-214b-36f9-d695-9137a37a88f3@gmail.com> <877cvsfyr1.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Content-Language: en-US In-Reply-To: <877cvsfyr1.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678288502; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=suoqwysqNlhu6bB6jSh3rZNCG5OQnrnL3Vm5t7pUpAs=; b=WKlbJ56wyQuasK4s2mr7q5/TytEx6qvATT0Bl4eIxjJ5tDT5+wfCzrFH3a/g3BfyiVo62O KLRegJKcrEKotRqhxhrzdielOT1aCPe/ho4okZDpAaijiKEnFMTWc5q9XAQ+3uCt8m211r Sc2X6GnRJr4WZprGhRLtER3yta1rTGdtTJZ/m4chJhr4KhY1J80rO77mqrxEKqXDI8pxo8 juW0nfh/c4gTp0fMiSfpAuvt32tmbJKc8AXErzhH4LdNjiB5hra7PCymlPH3XYmNadN9aC 0RdTMyPMQa3qpbFa6sDm79oYCVuswdkOmxPBsaiB0rjJfOT4Ubuil6Oum8YF0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678288502; a=rsa-sha256; cv=none; b=EHB///tdoiZx2iUf2vdOzr7NN7XT1q7R/tBj6AG0mXGl2k6gLUy5xc2Xxucwc/lAVUYvtP p5CxMK7MDqPr10PNaGSqA4/Wv9/NL368FK2hixF4uo5/gnJyq8GV9jjzcpgfYsDHPv/vul qL71DhVFI7UBb3DvT/xBi8Q+WtD8R9fn0DDav6kqf+de7Q2hAHnDC4T2E7LyF9+jDHgu5S HL22xb0GcXF9/4RaINzBP4zKYcdwm8b970rMqo+2mlLzCHCcqzETUn8bI+AfLWi/AXSNHh gFRXDURSFe5uoB2y/oMgDYgWlAOouQh79W5feq8HNtlUfKyKjRLQjYENh7ugFA== Authentication-Results: aspmx1.migadu.com; dkim=none; 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) X-Migadu-Spam-Score: 2.50 X-Spam-Score: 2.50 X-Migadu-Queue-Id: 8517744D4C X-Migadu-Scanner: scn1.migadu.com X-TUID: xdqo3SCg0xJe On 07/03/2023 20:59, Ihor Radchenko wrote: > I agree about the last example, but what about "Heading [0/1] text"? Both "Heading" and "[0/1]" have the same :post-blank " ", so when stripping the statistics cookie use " " :post-blank for "Heading" (retain current value). > Max Nikulin writes: >> On 05/03/2023 20:01, Ihor Radchenko wrote: >>> It might be enough to use spaces if and only if there are no preceding >>> spaces. Or not. One may think of other edge cases. >> >> An idea: retain :post-blank having more spaces. Newline > tab, tab = 8 >> spaces. > > May you elaborate about "newline > tab, tab = 8 spaces"? Consider your earlier example: >>> Text with newline\\ >>> [footnote] more text. Line-break has :post-blank "\n" that is greater than the " " :post-blank value of the footnote reference, so when dropping the footnote retain "\n" from line break. ---- 8< ---- Text [footnote] next line ---- >8 ---- Use "\n " from "[footnote]" because it is greater than " " that is :post-blank of "Text".