[Top][All Lists]

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

Re: [Bug-AUCTeX] Bug#702871: Regarding forward and backward search with

From: candeb
Subject: Re: [Bug-AUCTeX] Bug#702871: Regarding forward and backward search with evince.
Date: Mon, 15 Apr 2013 09:59:00 +0200 (CEST)

You mean you expect me to learn how to use emacs lisp correctly 
rather than use ugly hacks.... ?

Fine.  How about adding a (raise-frame) then ?

----- Mail original -----
De: "Tassilo Horn" <address@hidden>
À: address@hidden
Cc: address@hidden, address@hidden
Envoyé: Vendredi 12 Avril 2013 18:52:18
Objet: Re: Bug#702871: Regarding forward and backward search with evince.

address@hidden writes:


> Let me add some info to my original bug report, regarding forward
> search with evince.  In fact, some odd behaviour persisted (with or
> without my patch), in particular evince remained first in the Alt-Tab
> application list, regardless of swithching between other applications.
> While I couldn't find a reference for the evince DBus API, I decided
> to check what would happen if I replace the timestamp argument with a
> constant zero (or one), and it solved everything (including raising
> and giving focus).

The broken timestamp value was the source of another problem, too.  This
has already been solved by providing 0 as timestamp, so the current Git
version of AUCTeX already contains the fix.

> Can anyone tell me what this parameter even mean?

0 stands for NOW.

> Anyway, raising the emacs window via wmctrl on reverse search, as in
> the previous patch, and replacing the complicated calculation of
> timestamp with some constant in forward search, seems to give a fully
> correct behaviour.

The wmctrl thingy is not acceptable, sorry.


Attachment: 0008-raise-frame-on-search.patch
Description: Text Data

reply via email to

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