I am trying to get my LaTeX View command to work properly in Emacs, but for some reason I just can make it happen.
Whenever I hit C-CC-C and enter the View command, Emacs automatically suggests TeX-evince-sync-view
. However when I confirm that command, the minibuffer hangs until it eventually spits out:
D-Bus error: "Message recipient disconnected from message bus without replying"
I have tried exporting my DBUS_SESSION_BUS_ADDRESS
environment variable, but if Emacs is able to connect to DBus as it seems to be (given the error message), this shouldn't be the issue. I've also had a look here and a few other pages, but I couldn't get rid of that error.
In the meantime, whenever I want to run a View command, I have to erase the default TeX-evince-sync-view
and manually type in evince document.pdf
which gets annoying after while. I have also tried making this other command the default View command, but no matter what I do about this, Emacs still gives me TeX-evince-sync-view
every time.
A few other things:
- I am using Emacs 25.3.1 on Arch Linux
- My AuCTeX version is 12.1.1 (used to be 11.92.0, but nothing changed after the upgrade).
- I don't have any View-related config in my
~/.emacs
. - I have upgraded all my packages just in case before asking here.
Any ideas? Ideally I'd like TeX-evince-sync-view
to work, but if it doesn't I'd like the simple evince
command to pop up as the default.