* Not all reftex commands within latex block generate appropriate message
@ 2023-02-15 12:15 Alain.Cochard
2023-02-15 12:30 ` Fraga, Eric
0 siblings, 1 reply; 6+ messages in thread
From: Alain.Cochard @ 2023-02-15 12:15 UTC (permalink / raw)
To: emacs-orgmode
Issued after 'org-edit-special' within a latex block (like the one
below) the command 'reftex-toc' generates the dreadful
reftex-TeX-master-file: Wrong type argument: stringp, nil
Only after some debugging time and trying
reftex-label
did I understand what I presume is the reason:
reftex-access-scan-info: RefTeX works only in buffers visiting a file
#+begin_export latex
\documentclass{article}
\begin{document}
\section{1}
\section{2}
\end{document}
#+end_export
--
EOST (École et Observatoire des Sciences de la Terre)
ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr
5 rue René Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex, France | [ slot available for rent ]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Not all reftex commands within latex block generate appropriate message
2023-02-15 12:15 Not all reftex commands within latex block generate appropriate message Alain.Cochard
@ 2023-02-15 12:30 ` Fraga, Eric
2023-02-15 13:18 ` Alain.Cochard
0 siblings, 1 reply; 6+ messages in thread
From: Fraga, Eric @ 2023-02-15 12:30 UTC (permalink / raw)
To: Alain.Cochard@unistra.fr; +Cc: emacs-orgmode
On Wednesday, 15 Feb 2023 at 13:15, Alain.Cochard@unistra.fr wrote:
> did I understand what I presume is the reason:
>
> reftex-access-scan-info: RefTeX works only in buffers visiting a file
I think this is indeed likely to be the reason.
Similar issues arise with, for instance, ledger in that some of the
capabilities of ledger-mode assume that there is a file behind the
buffer. Not sure there is any solution to this other than tangling your
code to a file and visiting that file.
--
: Eric S Fraga, with org release_9.6.1-250-ge6353d in Emacs 30.0.50
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Not all reftex commands within latex block generate appropriate message
2023-02-15 12:30 ` Fraga, Eric
@ 2023-02-15 13:18 ` Alain.Cochard
2023-02-16 13:00 ` Ihor Radchenko
0 siblings, 1 reply; 6+ messages in thread
From: Alain.Cochard @ 2023-02-15 13:18 UTC (permalink / raw)
To: Fraga, Eric; +Cc: Alain.Cochard@unistra.fr, emacs-orgmode
Fraga, Eric writes on Wed 15 Feb 2023 12:30:
> I think this is indeed likely to be the reason.
Thanks for the confirmation. I was hoping that someone can arrange so
that the self explanatory message is shown each time, not the cryptic
one :-)
--
EOST (École et Observatoire des Sciences de la Terre)
ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr
5 rue René Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex, France | [ slot available for rent ]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Not all reftex commands within latex block generate appropriate message
2023-02-15 13:18 ` Alain.Cochard
@ 2023-02-16 13:00 ` Ihor Radchenko
2023-02-17 6:49 ` Alain.Cochard
0 siblings, 1 reply; 6+ messages in thread
From: Ihor Radchenko @ 2023-02-16 13:00 UTC (permalink / raw)
To: alain.cochard; +Cc: Fraga, Eric, emacs-orgmode
Alain.Cochard@unistra.fr writes:
> Fraga, Eric writes on Wed 15 Feb 2023 12:30:
>
> > I think this is indeed likely to be the reason.
>
> Thanks for the confirmation. I was hoping that someone can arrange so
> that the self explanatory message is shown each time, not the cryptic
> one :-)
I'd say that it is reftex bug. It is generally expected that major modes
do work in non-file buffers in Emacs.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Not all reftex commands within latex block generate appropriate message
2023-02-16 13:00 ` Ihor Radchenko
@ 2023-02-17 6:49 ` Alain.Cochard
2023-02-17 16:40 ` Alain.Cochard
0 siblings, 1 reply; 6+ messages in thread
From: Alain.Cochard @ 2023-02-17 6:49 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: alain.cochard, Fraga, Eric, emacs-orgmode
Ihor Radchenko writes on Thu 16 Feb 2023 13:00:
> I'd say that it is reftex bug. It is generally expected that major
> modes do work in non-file buffers in Emacs.
Thanks. I have sent a message to bug-auctex@gnu.org.
--
EOST (École et Observatoire des Sciences de la Terre)
ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr
5 rue René Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex, France | [ slot available for rent ]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Not all reftex commands within latex block generate appropriate message
2023-02-17 6:49 ` Alain.Cochard
@ 2023-02-17 16:40 ` Alain.Cochard
0 siblings, 0 replies; 6+ messages in thread
From: Alain.Cochard @ 2023-02-17 16:40 UTC (permalink / raw)
To: alain.cochard; +Cc: Ihor Radchenko, Fraga, Eric, emacs-orgmode
Alain.Cochard@unistra.fr writes on Fri 17 Feb 2023 07:49:
> I have sent a message to bug-auctex@gnu.org.
I got answers. See this thread:
https://lists.gnu.org/archive/html/bug-auctex/2023-02/threads.html#00035
--
EOST (École et Observatoire des Sciences de la Terre)
ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr
5 rue René Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex, France | [ slot available for rent ]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-02-17 16:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-15 12:15 Not all reftex commands within latex block generate appropriate message Alain.Cochard
2023-02-15 12:30 ` Fraga, Eric
2023-02-15 13:18 ` Alain.Cochard
2023-02-16 13:00 ` Ihor Radchenko
2023-02-17 6:49 ` Alain.Cochard
2023-02-17 16:40 ` Alain.Cochard
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.