[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35310: 11.91; AUCTeX/Evince: server does not start, poor direct sear

From: Ikumi Keita
Subject: bug#35310: 11.91; AUCTeX/Evince: server does not start, poor direct search, inverse search does not work
Date: Sun, 21 Apr 2019 22:36:01 +0900

Hi Cédric,

>>>>> Cédric Martínez Campos <address@hidden> writes:
> *** What happens ***
> 1) Open a .tex file with Emacs/AUCTeX.
> 2) Compile (C-c C-c).
> 3) View pdf output (C-c C-v).
>>> No Evince server is started.
>>> Evince opens the pdf file.
>>> Focus is captured by Evince.
> 3) Move to some line (in Emacs).
> 4) View pdf output (C-c C-v).
>>> A new Evince instance is opened for that file.
>>> The new Evince instance moves to the page (not the line) corresponding to 
>>> the cursor position in Emacs.
>>> Focus is captured by the new Evince instance.
> 5) On Evince "control+left click" some line.
>>> Nothing happens and Winter Is Coming.

It seems that your emacs does not support dbus, or it actually does but
is not aware of that.  What are the return values of `(featurep
'dbusbind)' and `(TeX-evince-dbus-p "gnome" "evince")'?  I.e., what
responses are displayed in echo area when you place the cursor just
after the closing parenthes above and type C-x C-e?

> Ubuntu release: Ubuntu 18.04.2 LTS (fully updated as per today)
> Emacs  : GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)
>  of 2017-09-22, modified by Debian
> Package: 11.91

Your emacs and AUCTeX are a bit out of date.  The customize option
`TeX-view-evince-keep-focus' was introduced in AUCTeX 11.92, so your
following expectation will be satisfied by that option after your emacs
begins to support dbus:

> *** What is to be expected ***
> 4) View pdf output (C-c C-v).
>>> Focus is still on Emacs instance.

By the way,
>>> No Evince server is started.
>>> An Evince server for that file is started.
What do you mean by "Evince server"?  If you are talking about the
"server" in `TeX-source-correlate-start-server', then it refers to
"emacs server", which accepts connection requests from emacsclient.

Ikumi Keita

reply via email to

[Prev in Thread] Current Thread [Next in Thread]