bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24585: 25.1; avoid hack in ggtags.el to run compilation-auto-jump ti


From: Eli Zaretskii
Subject: bug#24585: 25.1; avoid hack in ggtags.el to run compilation-auto-jump timer
Date: Wed, 05 Oct 2016 13:25:45 +0300

> From: Leo Liu <address@hidden>
> Date: Wed, 05 Oct 2016 15:39:02 +0800
> Cc: address@hidden
> 
> On 2016-10-04 12:18 -0400, Stefan Monnier wrote:
> > That would explain why you want to remove the buffer from specific
> > windows (i.e. hide the buffer), but not why you need to kill it.
> 
> The buffer is not needed by ggtags so kill was chosen. I could change it
> to not kill but this won't fix the crux of the issue i.e.
> 
>   If compilation-auto-jump is run after cleanup it will mess up things
>   for example pop up windows.

Instead of adding another timer, and then dealing with their order
issues, is it possible to reuse the same time for both jobs?  IOW,
just _add_ the new/additional function you need to be done to whatever
the single timer does.  If you do that, you get to control the order
in which things are done by the single timer, because you write the
code of the timer function(s).





reply via email to

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