After upgrading to Emacs 27, I noticed that, for any org document, C-c C-e l o
now behaves on my computer as C-c C-e l p
: i.e., the pdf is correctly produced, but is not displayed anymore on side window.
Even when opening the document with emacs -q
, I have the same behavior, so I guess that the problem is not related to my init file. (However, all my pdfs used to be displayed in Emacs with pdf-tools
and not with the standard doc-view
: don't know if this may be part of the problem.)
Anyway, when I run a C-c C-e l o
on a file essai.org, I have the following output in the *Messages*
buffer:
Processing LaTeX file essai.tex...
PDF file produced.
Running /usr/bin/xdg-open /home/fs/Documents/essai.pdf...done
but no buffer is created and displayed within Emacs for the pdf output. I have no clue for that problem...
Thanks!
usr/bin/xdg-open /home/fs/Documents/essai.pdf
from the command line? – NickD Sep 14 '20 at 19:48xdg-open
is called, but you are expecting the pdf to be opened in an emacs buffer usingdocview
or perhapspdf-tools
. – NickD Sep 14 '20 at 19:51org-file-apps
is still the default value:((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default))
. Don't really understand whyxdg-open
is involved now... – Philopolis Sep 15 '20 at 08:34pdf-tools
is really the problem here, and an identical problem could happen even with good old DocView. Feedbacks of other users having confirmed the issue in this thread would be useful (but I suspect that some of them might not bepdf-tools
-users). – Philopolis Sep 16 '20 at 09:03