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 ms5.migadu.com with LMTPS id iJrsCW6IZWPWBAAAbAwnHQ (envelope-from ) for ; Fri, 04 Nov 2022 22:47: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 mp12.migadu.com with LMTPS id QFL6CW6IZWOSOgAAauVa8A (envelope-from ) for ; Fri, 04 Nov 2022 22:47: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 EE8CE3D212 for ; Fri, 4 Nov 2022 22:47:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1or4Vn-0006lA-UC; Fri, 04 Nov 2022 17:46:03 -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 1or4N0-0000cH-0j for emacs-orgmode@gnu.org; Fri, 04 Nov 2022 17:36:58 -0400 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1or4Mw-0002ls-V1 for emacs-orgmode@gnu.org; Fri, 04 Nov 2022 17:36:57 -0400 Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 9F6A3C298D for ; Fri, 4 Nov 2022 22:36:47 +0100 (CET) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id 99694A0126 for ; Fri, 4 Nov 2022 22:36:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id 858CDA0138 for ; Fri, 4 Nov 2022 22:36:47 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr 858CDA0138 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1667597807; bh=8y8TNac/JdoEZSZKtXH8Xk45UFpn4BKCzHpKWL92bog=; h=MIME-Version:Message-ID:Date:From:To; b=ZBcLtbmHwpP1ZuMbxNKBe2s8yu9BY6XPcuYlVZw5sAQLlJK5oVZp8mgdXw3qntXob 7nvAz7C1TVhtuNaciyYFWmFkR6HJRD1V4ZWmgetzum+Mh71ptt06b1Tc+drucLqdt0 nXUisMwBjWwqz7DDz4qsVf2ybkBMygud9tNhS4Tt7ZqsBXPVrCXEO4Z8odmWNi7AEE UilrmRm/rARebxPDx0MKHcawBcGcF3yGmynuW7Xh+yCLeovZ8JOZNjNW3nWnu9XwrC Eb3AdfjQVc0JdDASdKqSmyOXewbwZOQbUrOM0cYM/OsrRQMqoOG62pnQJ0F4fbBiw2 nQCOKrRTXtB0A== Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pIFmSdX8XP_t for ; Fri, 4 Nov 2022 22:36:47 +0100 (CET) Received: from 90.33.165.216 (unknown [194.254.241.251]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id 288C5A0126 for ; Fri, 4 Nov 2022 22:36:47 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25445.34286.700495.260710@gargle.gargle.HOWL> Date: Fri, 4 Nov 2022 22:36:46 +0100 From: Alain.Cochard@unistra.fr To: Org Mode List Subject: Single story around subtree export and footnotes, several issues X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.6 at clamav03 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: -100 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvgedrvddugddugeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepgggtgffkfffhvffuofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpeeugeduhfffhfffhfejjefggfdvleduledtvdffteekheejtdfhtefftdfhgedtleenucffohhmrghinhepuggvsghughefrdhorhhgnecukfhppeduleegrddvheegrddvgedurddvhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdehuddphhgvlhhopeeltddrfeefrdduieehrddvudeipdhmrghilhhfrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrgh Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.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_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_LOW=-0.7, 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=1667598445; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8y8TNac/JdoEZSZKtXH8Xk45UFpn4BKCzHpKWL92bog=; b=Ab/NCWs+cNxS1vg9ufy+wyTKBx4qSYRGXSfpti6g/AE99ysyfAbmxbSczshpFHAmmuqx9W Y1R7U9Bj9oG51xPKBocHUbBvck+EqF6xtDv5XsD+I6CYsp3NxNTd1ws+z1qUUnlgHNr7IT D0BP/OHre61nek7e0ZeU5I0sfNmB/17kd1lT3FUkvPtxMfVaQqmxkpue2kFE4E3QxJT/dN 7BRRD3mcrGnrGDpuc0z3aQgCLVXv3MbFk7XN/0itnkg1j1S0HuVowmvcd6lj0oUJivMr4H y4nSV1kNl/sVQ6cyRmmbfGd3U6nMSGKHIIhl3KX5FJgJpSFs2be6KUbE3w/ogw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667598445; a=rsa-sha256; cv=none; b=QcG3Ip6U0o2Zcq3n72uE1xQPvitYEge5AQs3X6h+quzxe0WYxL9zgavFxcaVW8H08CXkfT lCmUMmefAmDRUT8mcYS3ujynCfkRk1NN1jCnPcJFsSppEiAfDbw2BLQG1xDMuAvNETfujr tVQuQWCMt+F/bPdLLybpzKeWxIrQpC6anXReRl/Frcf6ZHmrv2qpCBt4WuSlPeDhJfcgKY XN/aTtD/DTZWbDirCBNtV+Rk79DShok3qm3k7zRTm9FboC0TBgujXpFd01f0QgBfV4ke+A juWJxJiPvAqExg64RplgKggOWuR4v3WwOdmarDniYQWEE39bL1LejqFsHiPOuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=ZBcLtbmH; 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: -5.70 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=ZBcLtbmH; 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: EE8CE3D212 X-Spam-Score: -5.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: 09FbKV1eaupn Hello. I have this file: #+STARTUP: fnlocal=20 * headline 1=20 1st call to footnote 1[fn:1] [fn:1] footnote 1 body * subtree to be exported 2nd call to footnote 1[fn:1] call to footnote 2[fn:2] [fn:2] footnote 2 body * COMMENT commented headline nothing - 1st issue I use 'emacs -Q'=20 GNU Emacs 27.2 (build 1, x86=5F64-redhat-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of 2021-08-07 Org mode version 9.4.4 (release=5F9.4.4 @ /usr/share/emacs/27.2/lisp= /org/) and visit the file with 'C-x C-f'. I export the subtree with 'C-c C-e C-s l o' on the "subtree to be exported" headline and get the dreadful Wrong type argument: consp, nil - 2nd issue If I delete the 1st line (#+STARTUP: fnlocal) and export the subtree again, it gives the same error message, but, if I save the file with 'C-x C-s', revisit it with 'C-x C-v ' and export the subtree again, then I get a pdf which is as initially expected, in particular with the line '2nd call to footnote 1^1 call to footnote 2^2' and both footnotes. - 3rd issue =20 I quit emacs, restart it with 'emacs -Q' and revisit the original file. I delete the two lines with '[fn:2]', and export the subtree again; I get the pdf file I expect with "2nd call to footnote 1^1" and the footnote. - 4th issue I quit emacs, restart it with 'emacs -Q', do 'M-x toggle-debug-on-error', revisit the original file and export the subtree again. (I get a Backtrace which is about 21000 characters so I ommit it so far.) But the buffer is narrowed; I only see: =20 2nd call to footnote 1[fn:1] call to footnote 2[fn:2] [fn:2] footnote 2 body - 5th issue After widening it with 'C-x n w', I apparently see my original file, but if I do 'C-x s', and answer 'y' to the following question (debug3.org is the name of my file): Save file /home/cochard/Org/debug3.org=3F (y, n, !, ., q, C-r, C-f, = d or C-h) then, using for example 'cat debug3.org' from a terminal, I can see that the last two lines of the file, i.e., * COMMENT commented headline nothing have disapeared. Nothing makes sense for me. Thanks in advance for any explanation. --=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 ]