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: Wed, 25 Mar 2020 15:55:47 +0100 Organization: Using Emacs' Org Mode Message-ID: <87lfno4h70.fsf@hillenius.net> References: <83k143zxbm.fsf@gnu.org> <83eeu5j15k.fsf@gnu.org> <874kueb1jj.fsf@hillenius.net> <83tv2ca4bt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="63664"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 39824@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 25 15:56:11 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 1jH7Rz-000GR2-7q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Mar 2020 15:56:11 +0100 Original-Received: from localhost ([::1]:37494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jH7Ry-0007Pp-AZ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Mar 2020 10:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38673) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jH7Rq-0007Pj-W0 for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 10:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jH7Rp-0001KL-Ve for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 10:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51631) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jH7Rp-0001K6-S0 for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 10:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jH7Rp-0004fM-Pq for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 10:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?G=C4=B3s?= Hillenius Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Mar 2020 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39824 X-GNU-PR-Package: emacs Original-Received: via spool by 39824-submit@debbugs.gnu.org id=B39824.158514815517923 (code B ref 39824); Wed, 25 Mar 2020 14:56:01 +0000 Original-Received: (at 39824) by debbugs.gnu.org; 25 Mar 2020 14:55:55 +0000 Original-Received: from localhost ([127.0.0.1]:57604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jH7Ri-0004f0-Up for submit@debbugs.gnu.org; Wed, 25 Mar 2020 10:55:55 -0400 Original-Received: from hillenius.net ([144.76.204.189]:40982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jH7Rg-0004er-Bv for 39824@debbugs.gnu.org; Wed, 25 Mar 2020 10:55:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hillenius.net; s=hillenius; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From:Sender :Reply-To: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=jwj9wxdWQNGB46wxN6JKqfAetPvBrhi2DaABQzLYat4=; b=Yww5OamCzDX6Y917q+JfNvZXBJ UFwy8RtfZ025QOi1n6WX9cwCXLdT6l/3Y2lN2ZG7c52APbRmdNo94VYDHjWYeLwgF3HXVJJ3AU47x SipNiJYFh5uCHwRSvvY24S0uMzKkY4A4nfK5VWnJrNsv03Sk0aQ2hujIJh8Fbu3e6saw=; Original-Received: from [2a01:4f8:200:546b:0:9e15:9e15:1000] (helo=inauditus) by hillenius.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jH7Rc-0002hm-68; Wed, 25 Mar 2020 15:55:50 +0100 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 In-Reply-To: <83tv2ca4bt.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 Mar 2020 16:37:10 +0200") 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:177703 Archived-At: On 25 March 2020 16:37 Eli Zaretskii, wrote: >> From: G=C4=B3s Hillenius >> Date: Tue, 24 Mar 2020 09:27:28 +0100 >>=20 >> Since Sunday, I've been running emacs=C2=B9 from GDB, but there is nothi= ng >> much to report. At startup, init.el sets (run-at-time "10:35" 21600 >> 'org-mobile-push). It ran on Sunday, but not on Monday (yesterday) - >> despite a good night's sleep. >>=20 >> Today (Tuesday), M-x timer-list shows: >>=20 >> -59170.00 360.00 org-mobile-push >>=20 >> and from describe-variable timer-list : >>=20 >> ([t 24184 55076 0 21600 org-mobile-push nil nil 0] > > The time of this timer is 23-Mar-2020 16:35 +0100. This probably > means the timer did run at 10:35 that day, but you seem to say it > didn't. Are you sure? If it didn't run, we might have 2 mysteries > here instead of just one (the second one being how come the timer > didn't run, but the time it should run was updated). It's safe to assume it ran on Monday. (Sorry) [...] > Can you instrument timer-event-handler, such that it will record in > some buffer everything that happens with the timer that calls > org-mobile-push? In particular, is it possible that you put the > machine to sleep while the timer is running? Yes! This'll be fun!