When I use C-a
to compile a source tex file, its final step is to call Evince to display the pdf (through xdg-open
, I believe). However, in my computer this makes Emacs freeze for many seconds and finish with the following message:
LaTeX: successfully formatted {16} pages
error in process sentinel: dbus-call-method: D-Bus error: "Message recipient disconnected from message bus without replying"
error in process sentinel: D-Bus error: "Message recipient disconnected from message bus without replying"
Unable to load color "unspecified-fg"
I'd rather disable the call to Evince completely than bothering trying to fix this. And I don't want to abandon C-a
in favor or C-c
because then I'd have to type Return to compile.
How can I rebind TeX-command-Show
to something that won't freeze Emacs?