From unknown Sat Jun 21 05:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61568: Problems using reftex from Org mode's latex blocks Resent-From: Alain.Cochard@unistra.fr Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 17 Feb 2023 06:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61568 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 61568@debbugs.gnu.org Cc: Alain Cochard X-Debbugs-Original-To: bug-auctex@gnu.org Reply-To: alain.cochard@unistra.fr Received: via spool by submit@debbugs.gnu.org id=B.16766163546176 (code B ref -1); Fri, 17 Feb 2023 06:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2023 06:45:54 +0000 Received: from localhost ([127.0.0.1]:38317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSuVG-0001bY-4f for submit@debbugs.gnu.org; Fri, 17 Feb 2023 01:45:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:57800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSuVD-0001bQ-W1 for submit@debbugs.gnu.org; Fri, 17 Feb 2023 01:45:52 -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 1pSuVC-0005Ew-7i for bug-auctex@gnu.org; Fri, 17 Feb 2023 01:45:50 -0500 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 1pSuV9-0000vi-RM for bug-auctex@gnu.org; Fri, 17 Feb 2023 01:45:49 -0500 Received: from zmtaauth04.partage.renater.fr (zmtaauth04.partage.renater.fr [194.254.241.26]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id CC05AC0EC0 for ; Fri, 17 Feb 2023 07:45:38 +0100 (CET) Received: from zmtaauth04.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPS id C4DA31C004A; Fri, 17 Feb 2023 07:45:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id B35FB1C0144; Fri, 17 Feb 2023 07:45:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr B35FB1C0144 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1676616338; bh=HwTUQK32uCKZwykqFpredxvPlcBC4isedF5GkvDRIo0=; h=MIME-Version:Message-ID:Date:From:To; b=fUklIFUqC+xPuDge7JtgJBCvwrVGYTgze/H1jn3wYsdtsUqDU+NbhnK+4WL73hE1Y 4Tk7PLP0HZ5rJKnGvj56hE/4YnnobV1dzB/43Xy7O6DpXT1JPxIxlf5y/J8L9NrQWa C/dZsVbavhil9NV+toOJYe2DuWBJ/+iHzMvQIm5XHwOLi/olvuHLfSBfqpEL65JTUe zLzi1eZWOasR5IvIATjosyYHibFZ0Jqu99S3ln2ccTTeDRQHxIXTCeK2tsJ7iA2vxt 9SpESd4IWmUFlRT9AbcyyMPaEHDadMiGQIMz5g6i+gvrd5YGRzQuw0pN3MzbOSi4nF 6Gn49covWKjOQ== Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kaN537aoeqGW; Fri, 17 Feb 2023 07:45:38 +0100 (CET) Received: from 90.33.17.201 (unknown [194.254.241.251]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPA id 6A73E1C004A; Fri, 17 Feb 2023 07:45:38 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25583.8849.841536.885451@gargle.gargle.HOWL> Date: Fri, 17 Feb 2023 07:45:37 +0100 From: Alain.Cochard@unistra.fr 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: gggruggvucftvghtrhhoucdtuddrgedvhedrudeikedgleelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepgggtgffkfffhvffuveforhesthhqredtredtudenucfhrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrnecuggftrfgrthhtvghrnhepjedvffefvdffueeivdekuefhudejgfefgeefjeehhfdvffeghedvuddvgedtjedtnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeduleegrddvheegrddvgedurddvhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdehuddphhgvlhhopeeltddrfeefrddujedrvddtuddpmhgrihhlfhhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdprhgtphhtthhopegsuhhgqdgruhgtthgvgiesghhnuhdrohhrgh 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, 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-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) Hello. When Org mode is enabled, issuing [C-c '] (org-edit-special) within a latex "export block" such as this one #+begin=5Fexport latex \documentclass{article} \begin{document} \section{1} \section{2} \end{document} #+end=5Fexport one is put into a special buffer which is latex aware. If reftex is turned on in that buffer, 'Ref' is added to the modeline. Now, upon [C-c (], one gets RefTeX works only in buffers visiting a file This is disappointing, but I could accept it. However upon [C-c =3D] o= ne gets=20 Wrong type argument: stringp, nil which is much more problematic. Further, a prominent Org contributor thinks it is a reftex bug and that "It is generally expected that major modes do work in non-file buffers in Emacs." (thread https://lists.gnu.org/archive/html/emacs-orgmode/2023-02/msg00388.html)= Hence this message. =20 Regards NB: I am not subscribed to bug-auctex@gnu.org --=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 ] From unknown Sat Jun 21 05:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61568: Problems using reftex from Org mode's latex blocks Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 17 Feb 2023 10:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61568 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: alain.cochard@unistra.fr Cc: 61568@debbugs.gnu.org X-Debbugs-Original-Cc: 61568@debbugs.gnu.org, bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167663048915995 (code B ref -1); Fri, 17 Feb 2023 10:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2023 10:41:29 +0000 Received: from localhost ([127.0.0.1]:38582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSyBF-00049u-91 for submit@debbugs.gnu.org; Fri, 17 Feb 2023 05:41:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:58924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSyBE-00049n-96 for submit@debbugs.gnu.org; Fri, 17 Feb 2023 05:41:28 -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 1pSyBE-0000rt-16 for bug-auctex@gnu.org; Fri, 17 Feb 2023 05:41:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSyBD-00078X-45; Fri, 17 Feb 2023 05:41:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=5WqOCn2H/W2qHOTsGbqZKMY5MuUNFXRAZQrn5LrJvw4=; b=YP5DsOrnVzcuv8 OXEd3XBESz3eVgpJMS0c8D+oUMPd9U0en9kbdMXZD4VHXpbJj8K0A2CSOOZYKqI9Ss4K4OGmMJ3rJ RBg2Lyo2g9fTjg7rzccHcr8MIRZH8mgHW1nM4+TVj36pDJjeY6fTTBHsPMdMg+nQl32yCBuLaYEYE hK2rzuWUKC37t6mXxilqzsQUQo3a9CcvmmmqEJkWbJEA/ZicJPPWdUGS7aYKU0FNs1EnUwcb/fF3k 98aUUSLsZ7hA6KiETdxtKpd6Pla8B3WIWjNfKN1GPlP9680LYlkDJbSfXhvfL95R1NlMjFavX62RA pZRk/hce10spAZE3fRXQ==; Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSyBC-0000C9-TA; Fri, 17 Feb 2023 05:41:26 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 7235E27C0054; Fri, 17 Feb 2023 05:41:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 17 Feb 2023 05:41:26 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeiledgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvfevufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnheptedujefftdevheffveeitdfgvefggfekudefvd etgeevfeetteefkefggefhgeeinecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomhgvsh hmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdelkedq thhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Feb 2023 05:41:25 -0500 (EST) References: <25583.8849.841536.885451@gargle.gargle.HOWL> User-agent: mu4e 1.9.20; emacs 30.0.50 From: Tassilo Horn Date: Fri, 17 Feb 2023 11:23:29 +0100 In-reply-to: <25583.8849.841536.885451@gargle.gargle.HOWL> Message-ID: <877cwg1smk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Alain.Cochard@unistra.fr writes: Hi Alain, > one is put into a special buffer which is latex aware. If reftex is > turned on in that buffer, 'Ref' is added to the modeline. Now, upon > [C-c (], one gets > > RefTeX works only in buffers visiting a file > > This is disappointing, but I could accept it. However upon [C-c =] > one gets > > Wrong type argument: stringp, nil > > which is much more problematic. RefTeX uses (buffer-file-name) at 37 locations for various reasons. Maybe we could get away with having a reftex-buffer-file-name defined as (or (buffer-file-name) (buffer-name)) For the time being, can't you just `C-x C-w /tmp/tmp.tex RET' to make the buffer file-visiting? > Further, a prominent Org contributor thinks it is a reftex bug and > that "It is generally expected that major modes do work in non-file > buffers in Emacs." (thread > https://lists.gnu.org/archive/html/emacs-orgmode/2023-02/msg00388.html) That's generally good, yes. The thing is that RefTeX is a multi-file mode which tries to parse all files belonging to the same document, e.g., when your document looks like main.tex chapters/c1.tex chapters/c2.tex appendix.tex Of course, you don't need that in your very use-case. Bye, Tassilo From unknown Sat Jun 21 05:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61568: Problems using reftex from Org mode's latex blocks Resent-From: Alain.Cochard@unistra.fr Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 17 Feb 2023 11:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61568 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Tassilo Horn Cc: 61568@debbugs.gnu.org, alain.cochard@unistra.fr X-Debbugs-Original-Cc: bug-auctex@gnu.org, alain.cochard@unistra.fr Reply-To: alain.cochard@unistra.fr Received: via spool by submit@debbugs.gnu.org id=B.167663260319456 (code B ref -1); Fri, 17 Feb 2023 11:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2023 11:16:43 +0000 Received: from localhost ([127.0.0.1]:38614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSyjL-00053k-CV for submit@debbugs.gnu.org; Fri, 17 Feb 2023 06:16:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:41026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSyjJ-00053e-L7 for submit@debbugs.gnu.org; Fri, 17 Feb 2023 06:16:41 -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 1pSyjJ-0002kf-C9 for bug-auctex@gnu.org; Fri, 17 Feb 2023 06:16:41 -0500 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 1pSyjH-0002jw-8a; Fri, 17 Feb 2023 06:16:41 -0500 Received: from zmtaauth04.partage.renater.fr (zmtaauth04.partage.renater.fr [194.254.241.26]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id EAF5BC1D72; Fri, 17 Feb 2023 12:16:32 +0100 (CET) Received: from zmtaauth04.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPS id D9A951C0151; Fri, 17 Feb 2023 12:16:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id C5DBA1C0153; Fri, 17 Feb 2023 12:16:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr C5DBA1C0153 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1676632592; bh=bsRYNp+OZS3NKtdLfdp+8Wi/vd3qzc83bdB+jECEd2Y=; h=MIME-Version:Message-ID:Date:From:To; b=kYl1Z+Q6MqasPwBA406i1vKxxUWXJvHkZp0JueKx2kMPonANVrMgVlOk15bZDE9FX oyrzHFax05EZjx1eakDuxjHONEMRWICP51oqKyI5IJkPE2xMcLwlkROTqUmH2aIHyx I3GmmR+hnz73O2GesuTbJ+aoT/0xBsLaG/o3Iyyy4XQPYXld2nkAzqU1B5iBEj5UZD Qyd7Mmnuak4xxgS++9Ss/0eLvDI9sgPchbVi9zw48ugQ5/k7cpFd7hNevqMhR7ieYL 0N7Pgowh84TsNUHWkKD9iHOF6V12NSVKDbE33ZWqPLDhgXqWnWnxQZG6Ni0IqWr1y8 R6RbK2TB2E6Zg== Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZeZ357rxrTNz; Fri, 17 Feb 2023 12:16:32 +0100 (CET) Received: from 130.79.11.24 (unknown [194.254.241.249]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPA id 826A11C0151; Fri, 17 Feb 2023 12:16:32 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25583.25104.271149.256836@gargle.gargle.HOWL> Date: Fri, 17 Feb 2023 12:16:32 +0100 From: Alain.Cochard@unistra.fr In-Reply-To: <877cwg1smk.fsf@gnu.org> References: <25583.8849.841536.885451@gargle.gargle.HOWL> <877cwg1smk.fsf@gnu.org> X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.6 at clamav04 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeiledgvdegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpedtvefftdeuhfeifeevgeejhffffffftdduvdegfeduudfghfetgfeuffdvhfffgeenucfkphepudelgedrvdehgedrvdeguddrvdegleenuceurggutfgvphhuthfkphepudelgedrvdehgedrvdeguddrvdegleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvgeelpdhhvghlohepudeftddrjeelrdduuddrvdegpdhmrghilhhfrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepsghughdqrghutghtvgigsehgnhhurdhorhhgpdhrtghpthhtoheprghlrghinhdrtghotghhrghrugesuhhnihhsthhrrgdrfhhrpdhrtghpthhtohepthhsughhsehgnhhurdhorhhg 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: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 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.351, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_LOW=-0.7, 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Thanks a lot for the prompt reply and for the explanations. I don't know how to use your trick C-x C-w /tmp/tmp.tex RET If I do that and modify /tmp/tmp.tex, then I no longer have access to that temporary Org buffer (at least I don't know how; that buffer disappears from the *Buffer List* one gets with 'M-x buffer-menu'). The normal usage is to exit from that temporary buffer after having modified it, falling back to the initial Org file with the modified latex block. --=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 ] From unknown Sat Jun 21 05:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61568: Problems using reftex from Org mode's latex blocks Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 17 Feb 2023 12:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61568 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: alain.cochard@unistra.fr Cc: 61568@debbugs.gnu.org X-Debbugs-Original-Cc: 61568@debbugs.gnu.org, bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167663552924866 (code B ref -1); Fri, 17 Feb 2023 12:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2023 12:05:29 +0000 Received: from localhost ([127.0.0.1]:38639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSzUX-0006T0-35 for submit@debbugs.gnu.org; Fri, 17 Feb 2023 07:05:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:45640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSzUU-0006Sk-Sb for submit@debbugs.gnu.org; Fri, 17 Feb 2023 07:05:27 -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 1pSzUR-0004N0-QD for bug-auctex@gnu.org; Fri, 17 Feb 2023 07:05:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSzUP-0001p9-I7; Fri, 17 Feb 2023 07:05:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=gHXM7fLSnWJlOQa0ezJ5Y1LchmHrFhv5ANeio74+bmQ=; b=Fq70wLfyOVSuxz X1tZeqfstNoZXztSniMjIA0/Yl0WT2JVUwblDGP1gZLMlmVSyUtdpq/2V/haQWzbnrraIcbOxvIwV 3iB8c1y5g8knBMeV8hVmHkcKJm5H1Jg7dpbdLo+33Pw4p3ByiMRqa6z2BtR4jXejGxWYYe1MCLkTM 2Ltd7P4HCRu+ayR+VnrwpQVbHYJNfc8aLufojXowtJxb1TdjugSoyjUe8RnICluzAHb1eG+g5mAA0 CaLykFBYv6TXzV60peA7OjAiXDL99JD0cidZX1JVip7aDBGNskJHK+xDHVzldtjEaFhEJsl3dwVIb mCmwwOa5HieKmspojPZw==; Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSzUL-0003Fl-5R; Fri, 17 Feb 2023 07:05:21 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id DEEE627C0054; Fri, 17 Feb 2023 07:05:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 17 Feb 2023 07:05:14 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeiledgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvfevufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepudejtdehuddvleffjeekteegvdehleehvdeufe fhueekkeekhedvgfeggeffvefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlih hthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgr shhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Feb 2023 07:05:13 -0500 (EST) References: <25583.8849.841536.885451@gargle.gargle.HOWL> <877cwg1smk.fsf@gnu.org> <25583.25104.271149.256836@gargle.gargle.HOWL> User-agent: mu4e 1.9.20; emacs 30.0.50 From: Tassilo Horn Date: Fri, 17 Feb 2023 12:50:53 +0100 In-reply-to: <25583.25104.271149.256836@gargle.gargle.HOWL> Message-ID: <8735741oqw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Alain.Cochard@unistra.fr writes: Hi Alain, > I don't know how to use your trick > > C-x C-w /tmp/tmp.tex RET > > If I do that and modify /tmp/tmp.tex, then I no longer have access to > that temporary Org buffer (at least I don't know how; that buffer > disappears from the *Buffer List* one gets with 'M-x buffer-menu'). It's still the very same buffer. It just got a new name. > The normal usage is to exit from that temporary buffer after having > modified it, falling back to the initial Org file with the modified > latex block. Does that exiting not work anymore after writing the buffer to a file? Ah, indeed, after writing to a file, it seems the org-binding C-c ' is gone (and also the header line explaining the bindings). However, I was able to take over my edits by manually doing M-x org-edit-src-exit RET. Not very comfortable but should do the trick for the time being. Bye, Tassilo From unknown Sat Jun 21 05:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61568: Problems using reftex from Org mode's latex blocks Resent-From: Alain.Cochard@unistra.fr Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Fri, 17 Feb 2023 16:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61568 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Tassilo Horn Cc: 61568@debbugs.gnu.org, alain.cochard@unistra.fr X-Debbugs-Original-Cc: 61568@debbugs.gnu.org, alain.cochard@unistra.fr, bug-auctex@gnu.org Reply-To: alain.cochard@unistra.fr Received: via spool by submit@debbugs.gnu.org id=B.167664983823884 (code B ref -1); Fri, 17 Feb 2023 16:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2023 16:03:58 +0000 Received: from localhost ([127.0.0.1]:41150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT3DK-0006DA-0m for submit@debbugs.gnu.org; Fri, 17 Feb 2023 11:03:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:42942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT3DI-0006D2-FH for submit@debbugs.gnu.org; Fri, 17 Feb 2023 11:03:56 -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 1pT3DI-0003V1-18 for bug-auctex@gnu.org; Fri, 17 Feb 2023 11:03:56 -0500 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 1pT3DD-0000kO-Kf; Fri, 17 Feb 2023 11:03:55 -0500 Received: from zmtaauth03.partage.renater.fr (zmtaauth03.partage.renater.fr [194.254.240.26]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id 5652A67DBD; Fri, 17 Feb 2023 17:03:43 +0100 (CET) Received: from zmtaauth03.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTPS id 4862A80162; Fri, 17 Feb 2023 17:03:43 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTP id 31EDA80073; Fri, 17 Feb 2023 17:03:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth03.partage.renater.fr 31EDA80073 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1676649823; bh=b8Ww8Hghx69fL+mVv0oONpUAKf2MMa1HawZtrbtOu9I=; h=MIME-Version:Message-ID:Date:From:To; b=isBiegwhqDIIOjmhIfwx0RyemYMV1d0uY6XT2HxGR2pSZ9Lkjoik0r3FHduVjZlu8 dlZcEUqW4GYfNP5svqGZeZQcFAxbz8U5uLz8wzaYE6zN7TDNn+mdjaWtcP4sgkhnUA D/ikJXd8FWArSBtYHMrptnxhc18zEM5XsC4JvORLyKO9K7Mf8OtC5qJgduyboc7Li7 TZN+nnDs9JAsvurD4dqBcHHIv0ufSzc6qaZ4EIz9busye+Yh9nbsMbLH1ritiNksPM wz9K6o40LlIYxwWgNqD6Rpp0p/3jL05hu4DBcEVFmcSZGJ4w06PO3Q0Cq9XIjlJQCO s2/eS9f38CCEw== Received: from zmtaauth03.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth03.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1U0QbHLCZN9R; Fri, 17 Feb 2023 17:03:43 +0100 (CET) Received: from 90.33.17.201 (unknown [194.254.241.251]) by zmtaauth03.partage.renater.fr (Postfix) with ESMTPA id C01D58016D; Fri, 17 Feb 2023 17:03:42 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25583.42334.170115.484372@gargle.gargle.HOWL> Date: Fri, 17 Feb 2023 17:03:42 +0100 From: Alain.Cochard@unistra.fr In-Reply-To: <8735741oqw.fsf@gnu.org> References: <25583.8849.841536.885451@gargle.gargle.HOWL> <877cwg1smk.fsf@gnu.org> <25583.25104.271149.256836@gargle.gargle.HOWL> <8735741oqw.fsf@gnu.org> X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.6 at clamav04 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeiledgkeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpedtvefftdeuhfeifeevgeejhffffffftdduvdegfeduudfghfetgfeuffdvhfffgeenucfkphepudelgedrvdehgedrvdeguddrvdehudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedupdhhvghlohepledtrdeffedrudejrddvtddupdhmrghilhhfrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrpdhnsggprhgtphhtthhopeegpdhrtghpthhtohepsghughdqrghutghtvgigsehgnhhurdhorhhgpdhrtghpthhtohepieduheeikeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegrlhgrihhnrdgtohgthhgrrhgusehunhhishhtrhgrrdhfrhdprhgtphhtthhopehtshguhhesghhnuhdrohhrgh 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: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 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.256, 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Tassilo Horn writes on Fri 17 Feb 2023 12:50: > Ah, indeed, after writing to a file, it seems the org-binding C-c ' > is gone (and also the header line explaining the bindings). > However, I was able to take over my edits by manually doing M-x > org-edit-src-exit RET. Not very comfortable but should do the > trick for the time being. Indeed. I would never have thought about that by myself. Thank you.=20= --=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 ] From unknown Sat Jun 21 05:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61568: Problems using reftex from Org mode's latex blocks Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Tue, 05 Mar 2024 09:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61568 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: Alain.Cochard@unistra.fr Cc: 61568@debbugs.gnu.org, Tassilo Horn Received: via spool by 61568-submit@debbugs.gnu.org id=B61568.170963169224215 (code B ref 61568); Tue, 05 Mar 2024 09:42:02 +0000 Received: (at 61568) by debbugs.gnu.org; 5 Mar 2024 09:41:32 +0000 Received: from localhost ([127.0.0.1]:46194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhRIi-0006IU-3R for submit@debbugs.gnu.org; Tue, 05 Mar 2024 04:41:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhRIf-0006I3-Mf for 61568@debbugs.gnu.org; Tue, 05 Mar 2024 04:41:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhRHy-0002xZ-WD; Tue, 05 Mar 2024 04:40:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=KEYPh7SiCKVu2fhtyiPAuiqcDjK3ZgZPwmHEFfurJCc=; b=aeBx1Rk3SHHIMPkGpQLd HBe1lwkqrZqaMZSxcR97IsSVrMhdBJ5RhueyfuyyFBu4bpytALFIX53gbX5N5kjD54oGIu5J2Y2rS yyVx04hb+VFo/Nb6R2BXtKfWix1UUbMBNSWPUFM8Fxc75H3QqNq6yU/yXg5xUUOQDifprKMmhUAsL FupjmkdqVfA1Fr1e7/o3ZAYdLI47C1iVFUzoSflWmygEN1y6QJXLOfV1DqUwEI2b+8QPrRZHm/74S aeQieCfTbBAJPIWMmmWySuO5XENHXjkL78WHoHlDwNc9VHArRLvzjjzeGgw71tWrbIdWgHDta6nD5 AlTXyg2lnTIw/Q==; From: Arash Esbati In-Reply-To: <25583.42334.170115.484372@gargle.gargle.HOWL> (Alain Cochard's message of "Fri, 17 Feb 2023 17:03:42 +0100") References: <25583.8849.841536.885451@gargle.gargle.HOWL> <877cwg1smk.fsf@gnu.org> <25583.25104.271149.256836@gargle.gargle.HOWL> <8735741oqw.fsf@gnu.org> <25583.42334.170115.484372@gargle.gargle.HOWL> Date: Tue, 05 Mar 2024 10:40:41 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Alain.Cochard@unistra.fr writes: > Tassilo Horn writes on Fri 17 Feb 2023 12:50: > > > Ah, indeed, after writing to a file, it seems the org-binding C-c ' > > is gone (and also the header line explaining the bindings). > > However, I was able to take over my edits by manually doing M-x > > org-edit-src-exit RET. Not very comfortable but should do the > > trick for the time being. > > Indeed. I would never have thought about that by myself. Thank you. It seems we have a working solution, therefore I'm closing this report. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 05 04:41:30 2024 Received: (at control) by debbugs.gnu.org; 5 Mar 2024 09:41:30 +0000 Received: from localhost ([127.0.0.1]:46192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhRIf-0006IE-PI for submit@debbugs.gnu.org; Tue, 05 Mar 2024 04:41:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhRIe-0006I1-AL for control@debbugs.gnu.org; Tue, 05 Mar 2024 04:41:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhRI3-0002xw-Kr for control@debbugs.gnu.org; Tue, 05 Mar 2024 04:40:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=3IfRdM2kMVRUATZbjI9nTbUnVqhZCvJwsm/hTnIWsT4=; b=sPm+h8cb1AtD7y +FAOLO2sLtOQAbJaleWNfPIea0uTrBfs8hW2//CoTsdYbaOKKJUVMr/LUtJhpG6h2QNLlntyk6UHg r6Sj0ZShZfJTL5clL5HtFCXQsS+NH8EPiZG2DO66Fhk+buS6Vyrz1ngvDq0OB+6LI8GBwmIABWuGw GSnWGHDU7XWbfrZWLnWLdf/C8YM45qWHwx5noNu2B2QAqJB35Uu7cGM/dSp/8CrfhGqa3o2/zvuXH jxAETMi4jhozya1gByBXN8CEIiSrl446RatNwoTEqeR34oHgXgY5n/vGNHuMDnYDQ+AOWSA2EFwXf M8mfDkSj7qhiEetm9Jng==; From: Arash Esbati To: control@debbugs.gnu.org Subject: control message for bug #61568 Date: Tue, 05 Mar 2024 10:40:49 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 61568 quit