Tassilo Horn <[email protected]> writes:

> Hi!

Hi,

>> You could ask for the D-Bus existence of such a viewer. For Evince, I
>> would try
>>
>> (member
>>  "org.gnome.evince.Daemon"
>>  (dbus-call-method
>>   :session dbus-service-dbus
>>   dbus-path-dbus dbus-interface-dbus "ListActivatableNames"))
>
> I think that this is not a proper check, because the evince daemon is
> started the first time evince starts (maybe GNOME starts it earlier, but
> not every evince user also uses GNOME), so tex.el would need to be
> loaded after evince was started the first time.

"ListActivatableNames" does not check for running services, but for
service descriptions located in "/usr/share/dbus-1/services".

> Bye,
> Tassilo

Best regards, Michael.

_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to