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 oC/VKELUCWQ1IgAASxT56A (envelope-from ) for ; Thu, 09 Mar 2023 13:42:42 +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 UMRyKELUCWTqXQEAauVa8A (envelope-from ) for ; Thu, 09 Mar 2023 13:42:42 +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 61B348BFF for ; Thu, 9 Mar 2023 13:42:42 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fpwlpcpH; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678365762; 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=jjDjC7RTo7ZRBtmD5V3yaYUJUI8v/qGgWCFd2AypPGU=; b=AoOhJ3KBwRXXdPKZ2QsCS9sMpSRiP4yAb7tlHRQfs5snijZCd0XbLJ96Cua9MDyEcGct+P JYDPE62mWkAZFwFsPJSBMz5R8RDSlGOFLU3dzqL8uhPHq6v1yA1G4O6Nok7SDh3rc1wESx FcUz06/wkt3H33heYJhvKBudGWkJdG/S3oYSnzVoiggS+D/uNAmiq6NwRI/Db9k4UmLHtf tk6v3yr2cVxCwTU+kzsVarVEz0NAK684/vmpkQWsS8X48nXaGO+/ane9o6MvpiYpIN29Zv hS3fH66rZ0jNr1s5F++VANbI8QkcJsGkO1Y9UalXBHvJM/mQh+e0y7Rb+hBTog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678365762; a=rsa-sha256; cv=none; b=ffQQJNOe+Kai230Tw+DUFWP3FFQQs9gEJGFBhdXRivdpStc1YFgmi9hWaioeZnWQcS4iYT OXK65Z1+wnZ2c3GiKmJoGxkPRob+L0GhspTYOT7/PX/Gc41mU3UgnoDDJSa6SXOOteBH8L MCXDML5pjix1W5wPTia9xt+gB1uMVB4fMrpk/E64Q11UHK6aQMyaGIiDNOqllT5oQK6nrO cE39b+XIAnWc7OatWRUjx6jwnc6BPri6EtSEGJYlKMIq9ykVHsge88TvTIIkb1uL/kl/N2 PwcQTS8UijaUYyqHF/F404LNcKayJbBPlj7aDBA5kKEyJDu0szMNqjj9NLysEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fpwlpcpH; 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=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paFao-0008RQ-12; Thu, 09 Mar 2023 07:41:58 -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 1paFal-0008PE-B3 for emacs-orgmode@gnu.org; Thu, 09 Mar 2023 07:41:55 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paFai-0001Op-Mb for emacs-orgmode@gnu.org; Thu, 09 Mar 2023 07:41:55 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6744B240304 for ; Thu, 9 Mar 2023 13:41:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1678365710; bh=utFGc834Bk/xYgr+idd+tXoR9X7/+/ZQiGgOl9cmUbk=; h=From:To:Cc:Subject:Date:From; b=fpwlpcpHZAHzC/14q3e7nf9+eIHX7lJJ7y9Mu4swQQhLRIXrdY9XBGu7UNukx5jYo 8DWG5D/ShoSMnbuSXzHSPP/k766IGBem9TnM1FEt84B3mM26v5/Uf4qzDFmobSpNsZ cfNGatL3F0lSq0AkbihrWFFrqSBVZMafV7Ug2fEnV7dqqvsC+hwcn2arXMYZQXCM4Y 0tUcVAY8Dz7MOT8+zwD6xkziSKotVAhtva5KH+O/7m723xydI/9QFjfBNpNs93UL35 G8iUAuZLN5IMYVk8yWqpl3mlEQac5QloxdmRijmNvU7Qn4NwNfMxFOZS+8iQuimr4f KGk1CgreLluGA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PXTMX73BBz9rxH; Thu, 9 Mar 2023 13:41:44 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org 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/)] In-Reply-To: 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> Date: Thu, 09 Mar 2023 12:43:17 +0000 Message-ID: <87y1o6p02i.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 61B348BFF X-Spam-Score: -10.29 X-Migadu-Spam-Score: -10.29 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-TUID: 0EI20NNgUgWB Max Nikulin writes: > 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). Sorry, but we are mis-communicating here. :post-blank can be either nil or a number of spaces/tabs after object. Plain strings always have :post-blank nil. So do line breaks. >> May you elaborate about "newline > tab, tab = 8 spaces"? > > Consider your earlier example: > >>>> Text with newline\\ >>>> [footnote] more text. Try M-: (pp (org-element-parse-buffer)) ---- Text with newline \\ [fn:1] more text. ---- You will get (org-data (:begin 1 :contents-begin 1 :contents-end 42 :end 42 :robust-begin 3 :robust-end 40 :post-blank 0 :post-affiliated 1 :path "/tmp/bug.org" :mode org-data :CATEGORY "bug" :granularity nil) (section (:begin 1 :end 42 :contents-begin 1 :contents-end 42 :robust-begin 1 :robust-end 40 :post-blank 0 :post-affiliated 1 :mode first-section :granularity nil :parent #0) (paragraph (:begin 1 :end 42 :contents-begin 1 :contents-end 42 :post-blank 0 :post-affiliated 1 :mode top-comment :granularity nil :parent #1) #("Text with newline " 0 18 (:parent #2)) (line-break (:begin 19 :end 22 :post-blank 0 :parent #2)) #(" " 0 1 (:parent #2)) (footnote-reference (:label "1" :type standard :begin 23 :end 31 :contents-begin nil :contents-end nil :post-blank 2 :parent #2)) #("more text.\n" 0 11 (:parent #2))))) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at