From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?G=C4=B3s?= Hillenius Newsgroups: gmane.emacs.bugs Subject: bug#39824: 26.2; timers sometimes stop working when coming back from sleep Date: Sat, 21 Mar 2020 10:23:04 +0100 Organization: Using Emacs' Org Mode Message-ID: <87mu8aqcxz.fsf@hillenius.net> References: <83k143zxbm.fsf@gnu.org> <83eeu5j15k.fsf@gnu.org> <83d09pbeeh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="25433"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 39824@debbugs.gnu.org Cancel-Lock: sha1:tOCtm39g1x9+pQRxcMzLX7ZpxvI= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 21 10:24:15 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 1jFaMY-0006Sa-DB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Mar 2020 10:24:14 +0100 Original-Received: from localhost ([::1]:34564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFaMX-0004z6-Et for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Mar 2020 05:24:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48954) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFaMO-0004yT-1V for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:24:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFaMM-0008CL-QC for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39974) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFaMM-0008CB-NO for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFaMM-0006Oe-KU for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:24:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: =?UTF-8?Q?G=C4=B3s?= Hillenius Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Mar 2020 09:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39824 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158478259624522 (code B ref -1); Sat, 21 Mar 2020 09:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Mar 2020 09:23:16 +0000 Original-Received: from localhost ([127.0.0.1]:45945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFaLb-0006NS-NU for submit@debbugs.gnu.org; Sat, 21 Mar 2020 05:23:15 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:59851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFaLa-0006NK-B4 for submit@debbugs.gnu.org; Sat, 21 Mar 2020 05:23:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48872) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFaLZ-0004wz-1P for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:23:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFaLX-0007nU-Sq for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:23:12 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:34868) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jFaLX-0007mP-MI for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 05:23:11 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jFaLV-0005R6-Np for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2020 10:23:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Operating-System: Debian GNU/Linux Sid X-Homepage: http://www.hillenius.net/ X-GPG-Fingerprint: 340F F9A4 8F6C 18FD D032 0C33 ABA1 CB30 E997 A3AF X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177588 Archived-At: I might have the same issue hereš, I have this in init.el: (run-at-time "10:35" 21600 'org-mobile-push) M-x list-timers shows: -365959.09 360.00 org-mobile-push It is the only timer with a minus sign. M-x org-mobile-push works as intended. I will run emacs -Q and see what I can find out. FWIW: This timer has been in my init el since 2015. It used to temporarily make Emacs stutter for a second or two when it ran every morning, so I would visibly notice it. This stuttering stopped already months ago. At first I thought it was because the timer was set to a moment that the laptop would be asleep, so I adjusted it .. but that has not helped. It's when I noticed this bug report that I thought... 1) GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.14, cairo version 1.16.0) of 2020-03-16, unofficial emacs-snapshot build: http://emacs.secretsauce.net On 6 March 2020 19:07 Eli Zaretskii, wrote: >> Date: Fri, 6 Mar 2020 16:30:24 +0000 (GMT) >> From: ndame >> Cc: "39824@debbugs.gnu.org" <39824@debbugs.gnu.org> >> >> Ok, will do if it happens again. I don't know what triggers it, because >> it happens only occasionally. > > Thanks. > >> The strange thing is it would be a logical explanation that emacs substracts >> the new time from the timer and it makes it go negative (though I haven't >> checked how it is implemented), but usually only one of the timers go >> negative, not all of them, so the bug does not affect all timers when it >> happens. > > AFAICS, Emacs doesn't subtract to compute the "next" time, it actually > _adds_. That's why I asked for data: I don't see any immediate > suspects that could cause what you describe. > > > > -- You will be held hostage by a radical group.