From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SKRjN1JJZmM6RgEAbAwnHQ (envelope-from ) for ; Sat, 05 Nov 2022 12:30:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gBFzN1JJZmMBJAEA9RJhRA (envelope-from ) for ; Sat, 05 Nov 2022 12:30:26 +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 9458D1597E for ; Sat, 5 Nov 2022 12:30:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orHMg-0007Jc-Aj; Sat, 05 Nov 2022 07:29:30 -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 1orHMe-0007I9-JN for emacs-orgmode@gnu.org; Sat, 05 Nov 2022 07:29:28 -0400 Received: from smtpout01-ext2.partage.renater.fr ([194.254.240.33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orHMb-0003SX-PI for emacs-orgmode@gnu.org; Sat, 05 Nov 2022 07:29:28 -0400 Received: from zmtaauth01.partage.renater.fr (zmtaauth01.partage.renater.fr [194.254.240.25]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id CF5A4647A4; Sat, 5 Nov 2022 12:29:18 +0100 (CET) Received: from zmtaauth01.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPS id C4E9E140129; Sat, 5 Nov 2022 12:29:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTP id B2DEF140055; Sat, 5 Nov 2022 12:29:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth01.partage.renater.fr B2DEF140055 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1667647758; bh=84kLtf+RI1HNY7Z80X7RkgWflNBWO6XyXMMDBfZXT64=; h=MIME-Version:Message-ID:Date:From:To; b=BIAnCAW/lPpPmHVHVruKG0F83f9yIngGbaZwiNXkjd8NAvYqsbxGxcmo4WS3t/XNi SoziP4oqXKx2Gp5dCV44YtHqAhIngYGKwejQk1U8pI+PPK4NN3QIkISYHrckXzOkd0 BEbmI0+JEFKXHU1LUrW00Hr73pY96iUmYXKLD2dFp58tLx0fPMG7nwOlwfvNPpVS3U t94TOWoAWW16JJ49wJHlOz3hFxRVm5EZKbEj66UINN8AtbsP9SlZKn3YVkaz6vTUFc M2QPl/pU2WrfR3yl+gv/kN6FxLeodb4p5JUCp7frHlxpaTnBsXUlvJ4ojhVjMWe6UF xJAAG0SGiOFLA== Received: from zmtaauth01.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth01.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Jac84-CuY2it; Sat, 5 Nov 2022 12:29:18 +0100 (CET) Received: from 90.33.165.216 (unknown [194.254.241.250]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPA id 593A71400EC; Sat, 5 Nov 2022 12:29:18 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25446.18701.932776.360691@gargle.gargle.HOWL> Date: Sat, 5 Nov 2022 12:29:17 +0100 From: Alain.Cochard@unistra.fr To: Ihor Radchenko Cc: alain.cochard@unistra.fr, Org Mode List Subject: Re: Single story around subtree export and footnotes, several issues In-Reply-To: <87pme2f3ef.fsf@localhost> References: <25445.34286.700495.260710@gargle.gargle.HOWL> <87pme2f3ef.fsf@localhost> X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.6 at clamav01 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: -100 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdefgddvkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpeekudehgfefhefhvdekhfdtgfeltdevfedtvdeutedtgeehvdegveekledvgeejteenucffohhmrghinhepghhnuhdrohhrghdpthhhvgdrohhrghenucfkphepudelgedrvdehgedrvdeguddrvdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedtpdhhvghlohepledtrdeffedrudeihedrvdduiedpmhgrihhlfhhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdpnhgspghrtghpthhtohepfedprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhgpdhrtghpthhtoheprghlrghinhdrtghotghhrghrugesuhhnihhsthhrrgdrfhhrpdhrtghpthhtohephigrnhhtrghrledvsehpohhsthgvohdrnhgvth Received-SPF: pass client-ip=194.254.240.33; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout01-ext2.partage.renater.fr X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 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, NICE_REPLY_A=-0.001, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_MSPIKE_H2=-0.001, 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: , Reply-To: alain.cochard@unistra.fr Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667647826; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=84kLtf+RI1HNY7Z80X7RkgWflNBWO6XyXMMDBfZXT64=; b=dg8vor6iDDc4uJfYp/azuWJoHPXjTBB9OeDxmGUxSoGztOY5R/I/J1Du8u9jyFRQsMwthp fQOClIj4wScI5uLdHTEywRkKyBzAvS7BOzUKX/lBfuc9EwPV+SpNm/+5jL8E3B6Zeh+Uc1 N5zS858ydh6D31EBs0KxcMEN+ne61EGPEfIHzXYXenuUOyYUhpgblxZN9cfW6edMYYgJ1o lBji9cZlLJAmCQKyUVKALXlk60DXmXTCfC4zPkkcB2m0Aw99TXJokZsA8gYSr5xBRmIZIp +MdSto0STZzWBWPe9Wf1oS0pPgIrVCNtWz1J5fdL0R/iMjLab/h8TT2FHEztTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667647826; a=rsa-sha256; cv=none; b=axdNfbbQDwql1mr6SgMxjiX0qCAmHqNtRykQqRSGnoWLLQ02YSdR1zfKxVXjLQOCYdp/xt +reWVZN+P/SaBRBDDYb2QZzYjwEoqdQun8TDbAjUApCra2ap2utAyMWm5ho/ze6dasHyI3 C+rxsRefXFyQxHEV7yvJoDtuAvjFFXRC9j5QPK9HRlkJGxJVsIKEsBGNFobBSh3Z2a/5B1 /am5PTLGACnlOR9b9cN/H6NKaYc8o/qrOGhnRIBbII8TproZCnr22gFBEpg1TNsWshEiCY ru5763hSWh7YpEl4aesywQlPJimNtokD6YNDM7ZipmWB/jbY+tJQ3YCRAD+WCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b="BIAnCAW/"; dmarc=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" X-Migadu-Spam-Score: -7.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b="BIAnCAW/"; dmarc=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" X-Migadu-Queue-Id: 9458D1597E X-Spam-Score: -7.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: Oqe+94fMEF+R > Fixed on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/=3Fid=3D= 3e010d81dcabafcdd97199b8122491a74ad9cbed Thanks a lot. I checked that the problem is no longer present for me either.=20 > This is because the error terminated export process in the middle > of it. Org export uses a temporary buffer copy during export. That > buffer is cleaned up to remove commented headings, and whatever > parts of the original buffer that should not be exported. When, > exporting subtree, the buffer may also be narrowed. >=20 > You should not know this when things do not err in the middle, > which is now fixed. Thanks for the explanations; very useful. > Thanks for reporting and for the detailed reproducer! Thanks once more; I spent a whole day on this :-) With non reproducible features in the process (when using the elpa 9.5.5 version) -- sometimes the buffer was narrowed to nothing and then widen to the buffer without only the COMMENTed headline missing; sometimes, after the problem occurred, files with the .org extension further visited were in Fundamental mode ... --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44=20= F-67084 Strasbourg Cedex, France | [ slot available for rent ]