From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#24585: 25.1; avoid hack in ggtags.el to run compilation-auto-jump timer Date: Fri, 04 Sep 2020 11:45:31 -0400 Message-ID: References: <83twcrks7q.fsf@gnu.org> <83int5jpde.fsf@gnu.org> <87imctbtfc.fsf@gnus.org> <87lfhp8u1j.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7160"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 24585@debbugs.gnu.org, Leo Liu To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 04 17:54:48 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEE35-0001k0-8T for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Sep 2020 17:54:47 +0200 Original-Received: from localhost ([::1]:52404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEE34-0001QL-5E for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Sep 2020 11:54:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEDuc-0002ON-DV for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2020 11:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEDuc-0007sV-3w for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2020 11:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEDuc-0007de-1e for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2020 11:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24585 X-GNU-PR-Package: emacs Original-Received: via spool by 24585-submit@debbugs.gnu.org id=B24585.159923434829343 (code B ref 24585); Fri, 04 Sep 2020 15:46:01 +0000 Original-Received: (at 24585) by debbugs.gnu.org; 4 Sep 2020 15:45:48 +0000 Original-Received: from localhost ([127.0.0.1]:40400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEDuN-0007dD-Up for submit@debbugs.gnu.org; Fri, 04 Sep 2020 11:45:48 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:24347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEDuM-0007cz-7o for 24585@debbugs.gnu.org; Fri, 04 Sep 2020 11:45:46 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 8129E440B5B; Fri, 4 Sep 2020 11:45:40 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BAB16440B31; Fri, 4 Sep 2020 11:45:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1599234338; bh=UVeBcf7jmppsEcdB90XYZkcvJr79Dv9NEWxiAC2pmW4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ArYTf+uuceAl8yAJ85/BYP5vP13++rdL/hC8TVfQ9dE05EcyK26K7GnnagkIkJVNb I5bFygxvFIdcxsnmsyFbb58kdsMgG2mM5FcpOrRBsWbv4XdNNIMNt4XWIEGpLY0BI+ dCNzlZLx019EyAKAaRFzYsJU+mqaI0b6hym00KD+uB3gWp/w8WPipgdNqaxiZ5YLh9 SnTxZeduQKJBFCqwl0kKp5qNSh95gz+b73pO7V7JGjRZvOLE+EFvwl6pJCtLFypdIM NiphsVD06uwpwNKrM4eIlEARxELfNWOhpGFVUvpZ/vc7QBrLtQ7s00wqvfKc8xxPJE k0ndq4yw2cSnQ== Original-Received: from alfajor (unknown [45.72.232.131]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4C5AB12078F; Fri, 4 Sep 2020 11:45:38 -0400 (EDT) In-Reply-To: <87lfhp8u1j.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 04 Sep 2020 17:02:00 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187152 Archived-At: >> This was too long ago and got moved to write-only swap space, and >> I haven't had time to dig into it now to recover the lost context, but >> I can see a potential case where it makes a difference, which is if the >> timer is set multiple times before it gets a chance to be run: with the >> new code only one of the timers will actually be executed. > > That's true; I didn't think about that. But wouldn't a more obvious fix > be to cancel the previous timer, if there's already a timer in-flight? Could be. I don't even know if this effect was the one intended in any case. Stefan