bug-auctex
[Top][All Lists]
Advanced

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

bug#22610: Auctex doesn't work with Atril (Mate's version of evince)


From: Mosè Giordano
Subject: bug#22610: Auctex doesn't work with Atril (Mate's version of evince)
Date: Tue, 9 Feb 2016 23:25:37 +0100

2016-02-09 22:05 GMT+01:00 Antoine Levitt <address@hidden>:
>
>
> On 9 February 2016 at 21:51, Mosè Giordano <address@hidden> wrote:
>>
>> Hi Antoine,
>>
>> 2016-02-09 21:40 GMT+01:00 Antoine Levitt <address@hidden>:
>> > Hi,
>> >
>> > I use Mate (a fork of Gnome), and because of their general renaming of
>> > things, evince is atril, and gnome is mate. Search & replacing evince to
>> > atril and gnome to mate in tex.el makes it work. Could auctex support it
>> > out
>> > of the box?
>>
>> Great, you chose exactly the viewer with most mentions in tex.el!  Did
>> you have to replace also strings like
>>
>>     /org/gnome/evince/Daemon
>>
>> to
>>
>>     /org/mate/atril/Daemon
>>
>> ?
>
>
> Yes. I just did a brutal search & replace. I also had to make one more
> change: there's a change of API apparently, and I had to remove the last
> argument, :uint32 0, in the dbus call
>   (list :struct :int32 (line-number-at-pos) :int32 (1+ (current-column)))
>   :uint32 0))
>
> Here's the full diff to auctex 11.89.1 (the one in ELPA). Tested and working
> with Atril 1.8.1 (the one in linux mint 17.1).

Thank you, please find attached the patch I wrote following what I
suggested in my previous message.  I'm not inclined to change the name
of the viewer entry in `TeX-view-program-list-builtin', so that users
need only to change the new option `TeX-evince-gnome' (better names
welcome) and customizing both `TeX-evince-gnome' and
`TeX-view-program-selection' at the same time may led to strange
situations (but I didn't test this actually).

Tassilo, could you please take a look at the patch?

Bye,
Mosè





reply via email to

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