From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83twcrks7q.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475663246 11391 195.159.176.226 (5 Oct 2016 10:27:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2016 10:27:26 +0000 (UTC) Cc: 24585@debbugs.gnu.org, monnier@IRO.UMontreal.CA To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 05 12:27:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brjPy-00020m-Dg for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2016 12:27:18 +0200 Original-Received: from localhost ([::1]:47804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brjPx-00084z-1l for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2016 06:27:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brjPl-000838-UB for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 06:27:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brjPi-00083K-MT for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 06:27:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brjPi-00083C-JK for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 06:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1brjPi-0002R8-BK for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2016 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2016 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24585 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24585-submit@debbugs.gnu.org id=B24585.14756631709233 (code B ref 24585); Wed, 05 Oct 2016 10:27:02 +0000 Original-Received: (at 24585) by debbugs.gnu.org; 5 Oct 2016 10:26:10 +0000 Original-Received: from localhost ([127.0.0.1]:45186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brjOs-0002Or-26 for submit@debbugs.gnu.org; Wed, 05 Oct 2016 06:26:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brjOp-0002OB-7P for 24585@debbugs.gnu.org; Wed, 05 Oct 2016 06:26:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brjOg-0007hF-VD for 24585@debbugs.gnu.org; Wed, 05 Oct 2016 06:26:02 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brjOg-0007gu-Rw; Wed, 05 Oct 2016 06:25:58 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4844 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1brjOd-0003MU-68; Wed, 05 Oct 2016 06:25:57 -0400 In-reply-to: (message from Leo Liu on Wed, 05 Oct 2016 15:39:02 +0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124089 Archived-At: > From: Leo Liu > Date: Wed, 05 Oct 2016 15:39:02 +0800 > Cc: 24585@debbugs.gnu.org > > 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).