From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#24585: 25.1; avoid hack in ggtags.el to run compilation-auto-jump timer Date: Sat, 05 Sep 2020 14:32:57 +0200 Message-ID: <87a6y4769y.fsf@gnus.org> 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="25747"; 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: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 05 14:34:09 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 1kEXOT-0006Zk-Dz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 14:34:09 +0200 Original-Received: from localhost ([::1]:55028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEXOS-0001Ia-B3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 08:34:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEXOM-0001IA-Ex for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 08:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEXOM-00081k-66 for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 08:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEXOM-0003WJ-1T for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 08:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 12:34: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.159930919013459 (code B ref 24585); Sat, 05 Sep 2020 12:34:01 +0000 Original-Received: (at 24585) by debbugs.gnu.org; 5 Sep 2020 12:33:10 +0000 Original-Received: from localhost ([127.0.0.1]:41762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEXNV-0003V1-Ql for submit@debbugs.gnu.org; Sat, 05 Sep 2020 08:33:10 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:60748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEXNU-0003Um-EF for 24585@debbugs.gnu.org; Sat, 05 Sep 2020 08:33:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QYnEP/7hOc0c2wKxm8l8cWLR7VD2nd96Zsl75o66aVY=; b=KzHGwrHP1tyZ9INj1fIZMNObIu HsYy/WKDBYJ9sO9VUF5SSPmt1TX6gk4uxxH1sMCr8G9tSwmf8jCsAe5WCdIziDzrduYcPciLqiOiJ XNf3FXbvcAXlniBxhBdTANLIXt/b6FofikLRPmyYZgkMcHwWk7JXomQ3Qo9vTOYj9E2M=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEXNL-0003cW-4O; Sat, 05 Sep 2020 14:33:01 +0200 X-Now-Playing: Thomas Mery's _Les couleurs, les ombres_: "Aux =?UTF-8?Q?fen=C3=AAtre?= immenses" In-Reply-To: (Stefan Monnier's message of "Fri, 04 Sep 2020 11:45:31 -0400") 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:187222 Archived-At: Stefan Monnier writes: >>> 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. Me neither. I've now applied the + (when (buffer-live-p buffer) part of the patch, but not the rest. Perhaps Leo can chime in with that the patch was trying to achieve. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no