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: Fri, 07 Oct 2016 11:02:48 +0300 Message-ID: <831szsk2mv.fsf@gnu.org> References: <83twcrks7q.fsf@gnu.org> <83int5jpde.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475827482 10813 195.159.176.226 (7 Oct 2016 08:04:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2016 08:04:42 +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 Fri Oct 07 10:04:37 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 1bsQ8f-0008TA-It for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Oct 2016 10:04:17 +0200 Original-Received: from localhost ([::1]:32972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsQ8e-0001wm-2U for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Oct 2016 04:04:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsQ8U-0001vC-9H for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 04:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsQ8Q-0008Cv-2o for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 04:04:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsQ8P-0008Cm-VB for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 04:04:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bsQ8P-00009f-PI for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 04:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Oct 2016 08:04:01 +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.1475827382489 (code B ref 24585); Fri, 07 Oct 2016 08:04:01 +0000 Original-Received: (at 24585) by debbugs.gnu.org; 7 Oct 2016 08:03:02 +0000 Original-Received: from localhost ([127.0.0.1]:47221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsQ7S-00007p-Da for submit@debbugs.gnu.org; Fri, 07 Oct 2016 04:03:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsQ7N-000075-Mw for 24585@debbugs.gnu.org; Fri, 07 Oct 2016 04:03:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsQ7G-0006dT-KX for 24585@debbugs.gnu.org; Fri, 07 Oct 2016 04:02:52 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsQ7B-0006Rb-3x; Fri, 07 Oct 2016 04:02:45 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4908 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bsQ79-0005Sb-5F; Fri, 07 Oct 2016 04:02:43 -0400 In-reply-to: (message from Leo Liu on Fri, 07 Oct 2016 10:27:49 +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:124151 Archived-At: > From: Leo Liu > Cc: 24585@debbugs.gnu.org, monnier@IRO.UMontreal.CA > Date: Fri, 07 Oct 2016 10:27:49 +0800 > > compilation-auto-jump timer is fired by the font-locking engine. By my > observation it is possible that compilation-finish-functions (from a > process sentinel) are executed before font-locking even by inserting > > (compilation--ensure-parse (point-max)) > > in ggtags-global-handle-exit. > > Do you see any anomaly in the observation? Not in these general terms, no. > The hack that is now in ggtags.el may not work either. None of the > people that reported https://github.com/leoliu/ggtags/issues/89 have > confirmed the fix. And I personally don't know how to reproduce it. So what is your proposal?