From unknown Sat Aug 09 13:23:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17349 <17349@debbugs.gnu.org> To: bug#17349 <17349@debbugs.gnu.org> Subject: Status: 24.3.50; display-battery-mode stops updating after closing and reopening lid Reply-To: bug#17349 <17349@debbugs.gnu.org> Date: Sat, 09 Aug 2025 20:23:53 +0000 retitle 17349 24.3.50; display-battery-mode stops updating after closing an= d reopening lid reassign 17349 emacs submitter 17349 Nicolas Richard severity 17349 normal tag 17349 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 26 07:19:28 2014 Received: (at submit) by debbugs.gnu.org; 26 Apr 2014 11:19:28 +0000 Received: from localhost ([127.0.0.1]:59019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We0dj-0006Mr-65 for submit@debbugs.gnu.org; Sat, 26 Apr 2014 07:19:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46953) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We0dg-0006Mh-1C for submit@debbugs.gnu.org; Sat, 26 Apr 2014 07:19:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1We0dY-0007c8-58 for submit@debbugs.gnu.org; Sat, 26 Apr 2014 07:19:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We0dY-0007c4-2h for submit@debbugs.gnu.org; Sat, 26 Apr 2014 07:19:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We0dR-0002gB-Qc for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 07:19:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1We0dL-0007YX-HV for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 07:19:09 -0400 Received: from mailrelay002.isp.belgacom.be ([195.238.6.175]:50320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We0dL-0007YJ-BV for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 07:19:03 -0400 X-Belgacom-Dynamic: yes Received: from 2.152-246-81.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([81.246.152.2]) by relay.skynet.be with ESMTP; 26 Apr 2014 13:19:02 +0200 From: Nicolas Richard To: bug-gnu-emacs@gnu.org Subject: 24.3.50; display-battery-mode stops updating after closing and reopening lid Date: Sat, 26 Apr 2014 13:19:02 +0200 Message-ID: <87tx9gl4nt.fsf@yahoo.fr> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I use display-battery-mode to display remaining battery percentage in the modeline. It sometimes happens that the percentage never changes (I usually notice this when I re-open the lid). It seems that the timer doesn't get triggered anymore : timer-list is a variable defined in `C source code'. Its value is ([t 21337 29946 782082 60 battery-update-handler nil nil 770389] [nil 21339 22389 552723 3600 url-cookie-write-file nil nil 255341]) I guess it doesn't run because (timer--triggered (car timer-list)) => t ; and indeed, (setf (timer--triggered (car timer-list)) nil) made it work again. IIUC, it is the job of timer-event-handler to put that back to nil. Any idea why it sometimes doesn't work ? In GNU Emacs 24.3.50.7 (i686-pc-linux-gnu, GTK+ Version 2.24.20) of 2014-04-10 on LDLC-portable Windowing system distributor `The X.Org Foundation', version 11.0.11405000 System Description: Ubuntu 13.10 Configured using: `configure 'CFLAGS=-g3 -O2'' Important settings: value of $LANG: fr_BE.UTF-8 locale-coding-system: utf-8-unix -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 26 10:50:06 2014 Received: (at 17349) by debbugs.gnu.org; 26 Apr 2014 14:50:07 +0000 Received: from localhost ([127.0.0.1]:59214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We3vZ-0005mf-39 for submit@debbugs.gnu.org; Sat, 26 Apr 2014 10:50:05 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:32918) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We3vT-0005m2-1I for 17349@debbugs.gnu.org; Sat, 26 Apr 2014 10:49:59 -0400 Received: by mail-ob0-f172.google.com with SMTP id wo20so5559730obc.31 for <17349@debbugs.gnu.org>; Sat, 26 Apr 2014 07:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=JbJva0RZGL8GfZ20kCC1L1jdMgv7pVl7Mg27FpqEEqI=; b=hwxiGf4UChV+C0eleec4dmtrxapsyr5EX7V2Z/Z3LwRGRnV5aZFLEHzt0m0UsabM10 ASXNlPTd4G9jrWqKWeGoGxRySa13yrjHVVl04OiBw0eg9Brtky1EZUpo5DR/JEIFPLrx 1trAzdt9IG79mCT9cAx2v5g3QkiRNqo+mXR1nqi/FDN1Zs826uSJb1dCRy6UNi847khW 7f+SZXQmRJahbqxCO9Tn23Ic3bAb02Ovb6dlDQ/Do9JefpjkkG/fvjQxkaouw7oCdqZz s2IELxeBHP1hQtduS7RW+1CnKO9f9ClY364RCuxiZEOlPPR0mgTfud08UywKw0+hahfC 3UyA== MIME-Version: 1.0 X-Received: by 10.182.102.99 with SMTP id fn3mr2021138obb.57.1398523798231; Sat, 26 Apr 2014 07:49:58 -0700 (PDT) Received: by 10.76.6.44 with HTTP; Sat, 26 Apr 2014 07:49:58 -0700 (PDT) Date: Sat, 26 Apr 2014 10:49:58 -0400 Message-ID: Subject: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid From: Barry OReilly To: theonewiththeevillook@yahoo.fr, =?UTF-8?Q?Peter_M=C3=BCnster?= , 17349@debbugs.gnu.org Content-Type: multipart/alternative; boundary=089e013d0d683421c404f7f332e8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17349 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e013d0d683421c404f7f332e8 Content-Type: text/plain; charset=UTF-8 > I use display-battery-mode to display remaining battery percentage > in the modeline. It sometimes happens that the percentage never > changes (I usually notice this when I re-open the lid). Sounds just like the problem Peter describes at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15561#62 --089e013d0d683421c404f7f332e8 Content-Type: text/html; charset=UTF-8
> I use display-battery-mode to display remaining battery percentage
> in the modeline. It sometimes happens that the percentage never
> changes (I usually notice this when I re-open the lid).

Sounds just like the problem Peter describes at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15561#62

--089e013d0d683421c404f7f332e8-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 26 16:35:28 2014 Received: (at 17349) by debbugs.gnu.org; 26 Apr 2014 20:35:28 +0000 Received: from localhost ([127.0.0.1]:59346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We9Jn-0008B7-Hi for submit@debbugs.gnu.org; Sat, 26 Apr 2014 16:35:27 -0400 Received: from mailrelay009.isp.belgacom.be ([195.238.6.176]:64465) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We9Jl-0008Au-2O for 17349@debbugs.gnu.org; Sat, 26 Apr 2014 16:35:26 -0400 X-Belgacom-Dynamic: yes Received: from 41.233-178-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([91.178.233.41]) by relay.skynet.be with ESMTP; 26 Apr 2014 22:35:23 +0200 From: Nicolas Richard To: Barry OReilly Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: Date: Sat, 26 Apr 2014 22:35:23 +0200 In-Reply-To: (Barry OReilly's message of "Sat, 26 Apr 2014 10:49:58 -0400") Message-ID: <87d2g3lth0.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17349 Cc: theonewiththeevillook@yahoo.fr, Peter =?utf-8?Q?M=C3=BCnster?= , 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Barry OReilly writes: >> I use display-battery-mode to display remaining battery percentage >> in the modeline. It sometimes happens that the percentage never >> changes (I usually notice this when I re-open the lid). > > Sounds just like the problem Peter describes at > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15561#62 Very much, indeed (he doesn't mention a laptop, though). (I'm now running a piece of advice to check whether timer-event-handler is run when the problem appears, but I did not use my laptop a lot the last few hours.) -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 26 16:49:51 2014 Received: (at 17349) by debbugs.gnu.org; 26 Apr 2014 20:49:51 +0000 Received: from localhost ([127.0.0.1]:59356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We9Xi-0000D0-Mm for submit@debbugs.gnu.org; Sat, 26 Apr 2014 16:49:51 -0400 Received: from smtp08.smtpout.orange.fr ([80.12.242.130]:42062 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We9Xf-0000Cl-Mw for 17349@debbugs.gnu.org; Sat, 26 Apr 2014 16:49:48 -0400 Received: from micropit.couberia.selfip.net ([2.2.212.209]) by mwinf5d16 with ME id ukpl1n00D4Xdq4q03kplJo; Sat, 26 Apr 2014 22:49:46 +0200 X-ME-Helo: micropit.couberia.selfip.net X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy X-ME-Date: Sat, 26 Apr 2014 22:49:46 +0200 X-ME-IP: 2.2.212.209 Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id 30AC2A60C6C; Sat, 26 Apr 2014 22:49:45 +0200 (CEST) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: Nicolas Richard Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87d2g3lth0.fsf@yahoo.fr> Date: Sat, 26 Apr 2014 22:49:45 +0200 Message-ID: <874n1f4xzq.fsf@micropit.couberia.selfip.net> User-Agent: Gnus/5.13001 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.10) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17349 Cc: Barry OReilly , 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Sat, Apr 26 2014, Nicolas Richard wrote: > Very much, indeed (he doesn't mention a laptop, though). But I mention suspend to ram: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15561#32 Perhaps it's related to suspend and wakeup events? > (I'm now running a piece of advice to check whether timer-event-handler > is run when the problem appears, but I did not use my laptop a lot the > last few hours.) Could you send it please? Perhaps it would make sense to use this advice here on my emacs too. -- Peter From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 27 03:59:28 2014 Received: (at 17349) by debbugs.gnu.org; 27 Apr 2014 07:59:28 +0000 Received: from localhost ([127.0.0.1]:59506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeJzk-0005IA-7L for submit@debbugs.gnu.org; Sun, 27 Apr 2014 03:59:28 -0400 Received: from mailrelay008.isp.belgacom.be ([195.238.6.174]:58482) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeJzi-0005Hz-NN for 17349@debbugs.gnu.org; Sun, 27 Apr 2014 03:59:27 -0400 X-Belgacom-Dynamic: yes Received: from 41.233-178-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([91.178.233.41]) by relay.skynet.be with ESMTP; 27 Apr 2014 09:59:11 +0200 From: Nicolas Richard To: Peter =?utf-8?Q?M=C3=BCnster?= Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> Date: Sun, 27 Apr 2014 09:59:09 +0200 In-Reply-To: <874n1f4xzq.fsf@micropit.couberia.selfip.net> ("Peter \=\?utf-8\?Q\?M\=C3\=BCnster\=22's\?\= message of "Sat, 26 Apr 2014 22:49:45 +0200") Message-ID: <8738gzkxte.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17349 Cc: Nicolas Richard , Barry OReilly , 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Peter M=C3=BCnster writes: >> (I'm now running a piece of advice to check whether timer-event-handler >> is run when the problem appears, but I did not use my laptop a lot the >> last few hours.) > > Could you send it please? Perhaps it would make sense to use this advice > here on my emacs too. Sure ; although it's less useful that what its description promises. (defun yf/checktimer-after (timer) (when (eq battery-update-timer timer) (message "Ran battery update timer. current time: %s triggered-p: %s" (decode-time) (timer--triggered timer)))) (defun yf/checktimer-before (timer) (when (eq battery-update-timer timer) (message "Running battery update timer. current time: %s triggered-p: %= s" (decode-time) (timer--triggered timer)))) (advice-add 'timer-event-handler :before 'yf/checktimer-before) (advice-add 'timer-event-handler :after 'yf/checktimer-after) (defun yf/checktimer-warn () (when (timer--triggered battery-update-timer) (warn "battery-update-timer has trigger flag to t."))) (add-hook 'post-command-hook 'yf/checktimer-warn) --=20 Nico. From debbugs-submit-bounces@debbugs.gnu.org Thu May 01 09:56:32 2014 Received: (at 17349) by debbugs.gnu.org; 1 May 2014 13:56:32 +0000 Received: from localhost ([127.0.0.1]:47430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfrTT-00063O-IV for submit@debbugs.gnu.org; Thu, 01 May 2014 09:56:32 -0400 Received: from smtp04.smtpout.orange.fr ([80.12.242.126]:50462 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfrTN-000634-4h for 17349@debbugs.gnu.org; Thu, 01 May 2014 09:56:26 -0400 Received: from micropit.roche-blanche.homenet.org ([2.14.209.216]) by mwinf5d59 with ME id wdwH1n00R4ggeh603dwJob; Thu, 01 May 2014 15:56:18 +0200 X-ME-Helo: micropit.roche-blanche.homenet.org X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy X-ME-Date: Thu, 01 May 2014 15:56:18 +0200 X-ME-IP: 2.14.209.216 Received: by micropit.roche-blanche.homenet.org (Postfix, from userid 1000) id 64007A60D24; Thu, 1 May 2014 15:56:17 +0200 (CEST) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: Nicolas Richard Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> Date: Thu, 01 May 2014 15:56:17 +0200 In-Reply-To: <8738gzkxte.fsf@yahoo.fr> (Nicolas Richard's message of "Sun, 27 Apr 2014 09:59:09 +0200") Message-ID: <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> User-Agent: Gnus/5.13001 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.10) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17349 Cc: Barry OReilly , 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Sun, Apr 27 2014, Nicolas Richard wrote: > (defun yf/checktimer-after (timer) > (when (eq battery-update-timer timer) > (message "Ran battery update timer. current time: %s triggered-p: %s" > (decode-time) (timer--triggered timer)))) > (defun yf/checktimer-before (timer) > (when (eq battery-update-timer timer) > (message "Running battery update timer. current time: %s triggered-p: %s" > (decode-time) (timer--triggered timer)))) > (advice-add 'timer-event-handler :before 'yf/checktimer-before) > (advice-add 'timer-event-handler :after 'yf/checktimer-after) > > (defun yf/checktimer-warn () > (when (timer--triggered battery-update-timer) > (warn "battery-update-timer has trigger flag to t."))) > (add-hook 'post-command-hook 'yf/checktimer-warn) Thanks. It happened again: Before timer. current time: (0 46 15 1 5 2014 4 t 7200) triggered-p: t [t 21346 20504 204460 20 org-notify-process nil nil 225188] After timer. current time: (0 46 15 1 5 2014 4 t 7200) triggered-p: nil [nil 21346 20524 204460 20 org-notify-process nil nil 225188] Before timer. current time: (20 46 15 1 5 2014 4 t 7200) triggered-p: t [t 21346 20524 204460 20 org-notify-process nil nil 225188] After timer. current time: (20 46 15 1 5 2014 4 t 7200) triggered-p: nil [nil 21346 20544 204460 20 org-notify-process nil nil 225188] Before timer. current time: (40 46 15 1 5 2014 4 t 7200) triggered-p: t [t 21346 20544 204460 20 org-notify-process nil nil 225188] That means, that there is no "after-timer" event. It happened exactly when I was hitting C-g repeatedly. What should I do now please? -- Peter From debbugs-submit-bounces@debbugs.gnu.org Thu May 01 13:03:08 2014 Received: (at 17349) by debbugs.gnu.org; 1 May 2014 17:03:08 +0000 Received: from localhost ([127.0.0.1]:47618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfuO3-00038p-LA for submit@debbugs.gnu.org; Thu, 01 May 2014 13:03:07 -0400 Received: from smtp03.smtpout.orange.fr ([80.12.242.125]:49452 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfuO1-00038H-6H for 17349@debbugs.gnu.org; Thu, 01 May 2014 13:03:06 -0400 Received: from micropit.roche-blanche.homenet.org ([2.14.209.216]) by mwinf5d26 with ME id wh2w1n00M4ggeh603h2xBT; Thu, 01 May 2014 19:02:58 +0200 X-ME-Helo: micropit.roche-blanche.homenet.org X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy X-ME-Date: Thu, 01 May 2014 19:02:58 +0200 X-ME-IP: 2.14.209.216 Received: by micropit.roche-blanche.homenet.org (Postfix, from userid 1000) id A039AA60C2B; Thu, 1 May 2014 19:02:56 +0200 (CEST) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: Nicolas Richard Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> Date: Thu, 01 May 2014 19:02:56 +0200 In-Reply-To: <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> ("Peter =?utf-8?Q?M=C3=BCnster=22's?= message of "Thu, 01 May 2014 15:56:17 +0200") Message-ID: <877g65bfen.fsf@micropit.roche-blanche.homenet.org> User-Agent: Gnus/5.13001 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.10) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17349 Cc: Barry OReilly , 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi, I can reproduce the problem now: 1.) Create file /tmp/test.el : --8<---------------cut here---------------start------------->8--- ; path of org-notify.el (modify here): (add-to-list 'load-path "~/emacs/packages/org-mode/contrib/lisp/") (require 'org-notify) (setq org-agenda-files '("/tmp/todo.org")) (with-current-buffer (find-file (car org-agenda-files)) (dotimes (var 1000) (insert "* TODO a todo item\n DEADLINE: <2014-12-12 Thu 12:12>\n"))) (org-notify-start 2) (run-with-timer 3 3 (lambda () (when (timer--triggered org-notify-timer) (warn "org-notify-timer has trigger flag to t.")))) --8<---------------cut here---------------end--------------->8--- 2.) Be sure, that keys are repeated: "xset r rate 250 50" 3.) Run emacs: "emacs -Q -l /tmp/test.el" 4.) Press Ctrl-g, and keep the 2 keys pressed for some seconds. 5.) A warning appears: "Warning (emacs): org-notify-timer has trigger flag to t." Can you reproduce it? -- Peter From debbugs-submit-bounces@debbugs.gnu.org Fri May 02 07:04:40 2014 Received: (at 17349) by debbugs.gnu.org; 2 May 2014 11:04:40 +0000 Received: from localhost ([127.0.0.1]:47962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgBGh-0006Lh-4F for submit@debbugs.gnu.org; Fri, 02 May 2014 07:04:39 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:8070) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgBGc-0006LS-8g for 17349@debbugs.gnu.org; Fri, 02 May 2014 07:04:35 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtgGAC97Y1OkD4Xx/2dsb2JhbABZhxOnUgEBAQEBBAGWVIM2gSd0giYBBSNWEAsaAgUhAgIPAQRJE4gsAQMGC6VfUZwGAUoMhkYXgSqELIF/hhU1MweCb4FKBJ97jCSBdYFBOw Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3.ulb.ac.be) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 02 May 2014 13:04:33 +0200 From: Nicolas Richard To: Peter =?utf-8?Q?M=C3=BCnster?= Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> <877g65bfen.fsf@micropit.roche-blanche.homenet.org> Date: Fri, 02 May 2014 13:05:20 +0200 In-Reply-To: <877g65bfen.fsf@micropit.roche-blanche.homenet.org> ("Peter \=\?utf-8\?Q\?M\=C3\=BCnster\=22's\?\= message of "Thu, 01 May 2014 19:02:56 +0200") Message-ID: <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17349 Cc: Nicolas Richard , Barry OReilly , 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Peter M=C3=BCnster writes: > I can reproduce the problem now: Thanks for the test case. I'll admit I am a little puzzled by all of this. Consider this alternative test case: (setq watchtimer (run-at-time nil 5 (lambda () (message "Sitting...") (slee= p-for 2) (message "Sat")))) (defun warnme () (when (timer--triggered watchtimer) (message "timer has trigger flag to t.") (remove-hook 'post-command-hook 'warnme))) (add-hook 'post-command-hook 'warnme) Then you can see that loading this file and hitting C-g C-g C-g will say: "timer has trigger flag to t." I have these questions : 1. Is this the problem that I have been seeing with display-battery-mode? I don't recall hammering C-g when I noticed my problem. 1bis. Is this the problem that you have been seeing too ? 2. Why does it take three C-g to get out of the sleep-for that is called from within the timer ? (e.g. I can do M-: (sleep-for 2) RET C-g and I get immediate control) 3. Why aren't these C-g caught by the condition-case in timer-event-handler ? Or alternatively: 3bis. Why are these three "C-g" special ? It is not mentionned in (info "(e= macs) Quitting") AFAICT. --=20 Nico. From debbugs-submit-bounces@debbugs.gnu.org Fri May 02 07:25:06 2014 Received: (at 17349) by debbugs.gnu.org; 2 May 2014 11:25:06 +0000 Received: from localhost ([127.0.0.1]:47967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgBaT-0006yi-O0 for submit@debbugs.gnu.org; Fri, 02 May 2014 07:25:06 -0400 Received: from smtp09.smtpout.orange.fr ([80.12.242.131]:36331 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgBaQ-0006y2-0C for 17349@debbugs.gnu.org; Fri, 02 May 2014 07:25:03 -0400 Received: from micropit.roche-blanche.homenet.org ([2.14.209.216]) by mwinf5d69 with ME id wzQu1n0094ggeh603zQvBS; Fri, 02 May 2014 13:24:55 +0200 X-ME-Helo: micropit.roche-blanche.homenet.org X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy X-ME-Date: Fri, 02 May 2014 13:24:55 +0200 X-ME-IP: 2.14.209.216 Received: by micropit.roche-blanche.homenet.org (Postfix, from userid 1000) id 28A82A60C67; Fri, 2 May 2014 13:24:54 +0200 (CEST) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: Nicolas Richard Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> <877g65bfen.fsf@micropit.roche-blanche.homenet.org> <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> Date: Fri, 02 May 2014 13:24:54 +0200 Message-ID: <87vbtoa0e1.fsf@micropit.roche-blanche.homenet.org> User-Agent: Gnus/5.13001 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.10) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17349 Cc: Barry OReilly , 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Fri, May 02 2014, Nicolas Richard wrote: > Consider this alternative test case: Yes, much better! > I have these questions : I don't know. I have the same questions... -- Peter From debbugs-submit-bounces@debbugs.gnu.org Fri May 02 08:13:37 2014 Received: (at 17349) by debbugs.gnu.org; 2 May 2014 12:13:37 +0000 Received: from localhost ([127.0.0.1]:48040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgCLQ-00013r-Lq for submit@debbugs.gnu.org; Fri, 02 May 2014 08:13:36 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:63459) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgCLO-00013Z-1z for 17349@debbugs.gnu.org; Fri, 02 May 2014 08:13:34 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N4Y00F004FXJB00@a-mtaout21.012.net.il> for 17349@debbugs.gnu.org; Fri, 02 May 2014 15:13:27 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4Y00F9D4MFBSA0@a-mtaout21.012.net.il>; Fri, 02 May 2014 15:13:27 +0300 (IDT) Date: Fri, 02 May 2014 15:13:44 +0300 From: Eli Zaretskii Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid In-reply-to: <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83zjj0js3r.fsf@gnu.org> References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> <877g65bfen.fsf@micropit.roche-blanche.homenet.org> <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17349 Cc: gundaetiapo@gmail.com, pmlists@free.fr, 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Nicolas Richard > Date: Fri, 02 May 2014 13:05:20 +0200 > Cc: Nicolas Richard , > Barry OReilly , 17349@debbugs.gnu.org > > 3bis. Why are these three "C-g" special ? It is not mentionned in (info "(emacs) > Quitting") AFAICT. Maybe because of the "emergency escape" feature, although that requires 2 C-g's in a row, not 3, and AFAIK only works on a TTY. From debbugs-submit-bounces@debbugs.gnu.org Fri May 02 09:25:00 2014 Received: (at 17349) by debbugs.gnu.org; 2 May 2014 13:25:00 +0000 Received: from localhost ([127.0.0.1]:48177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgDSV-0003TG-SG for submit@debbugs.gnu.org; Fri, 02 May 2014 09:25:00 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:58093) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgDSU-0003Sv-7O for 17349@debbugs.gnu.org; Fri, 02 May 2014 09:24:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVPO+K9B/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF44SaAeEOASpGYFqgXGBWyE X-IPAS-Result: ArYGAIDvNVPO+K9B/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF44SaAeEOASpGYFqgXGBWyE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="61307437" Received: from 206-248-175-65.dsl.teksavvy.com (HELO pastel.home) ([206.248.175.65]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 02 May 2014 09:24:51 -0400 Received: by pastel.home (Postfix, from userid 20848) id 6BA54602CA; Fri, 2 May 2014 09:24:51 -0400 (EDT) From: Stefan Monnier To: Nicolas Richard Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid Message-ID: References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> <877g65bfen.fsf@micropit.roche-blanche.homenet.org> <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> Date: Fri, 02 May 2014 09:24:51 -0400 In-Reply-To: <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> (Nicolas Richard's message of "Fri, 02 May 2014 13:05:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17349 Cc: Barry OReilly , Peter =?windows-1252?Q?M=FCnster?= , 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > 2. Why does it take three C-g to get out of the sleep-for that is called > from within the timer ? (e.g. I can do M-: (sleep-for 2) RET C-g and I > get immediate control) Not sure, but timers are run with inhibit-quit, so the fact that C-g is (partly) ignored is very normal. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 15 05:42:27 2014 Received: (at 17349) by debbugs.gnu.org; 15 Jun 2014 09:42:27 +0000 Received: from localhost ([127.0.0.1]:48133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ww6xG-0008LR-TG for submit@debbugs.gnu.org; Sun, 15 Jun 2014 05:42:27 -0400 Received: from smtp06.smtpout.orange.fr ([80.12.242.128]:39813 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ww6xE-0008LB-33 for 17349@debbugs.gnu.org; Sun, 15 Jun 2014 05:42:25 -0400 Received: from micropit.roche-blanche.homenet.org ([2.14.205.202]) by mwinf5d29 with ME id EZiH1o0074NY18J03ZiHKs; Sun, 15 Jun 2014 11:42:17 +0200 X-ME-Helo: micropit.roche-blanche.homenet.org X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy X-ME-Date: Sun, 15 Jun 2014 11:42:17 +0200 X-ME-IP: 2.14.205.202 Received: by micropit.roche-blanche.homenet.org (Postfix, from userid 1000) id CF3C7A60D0C; Sun, 15 Jun 2014 11:42:16 +0200 (CEST) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: 17349@debbugs.gnu.org Subject: timer vanishes Date: Sun, 15 Jun 2014 11:42:16 +0200 Message-ID: <87bntubjbb.fsf@micropit.roche-blanche.homenet.org> User-Agent: Gnus/5.130012 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.12) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17349 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi, Perhaps related to this bug: Sometimes, a periodic timer is no more in the timer list. For example this one: [nil 21405 35231 77383 9000 gnus-demon-run-callback (pm/rescan-news 900 9000) nil 39000] I have to restart it with this command: (gnus-demon-add-handler 'pm/rescan-news 150 15) TIA for any solutions or workarounds, -- Peter From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 17 09:33:56 2014 Received: (at 17349) by debbugs.gnu.org; 17 Jun 2014 13:33:56 +0000 Received: from localhost ([127.0.0.1]:50161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WwtWJ-0000e2-IU for submit@debbugs.gnu.org; Tue, 17 Jun 2014 09:33:55 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:48214) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WwtWD-0000dh-FO for 17349@debbugs.gnu.org; Tue, 17 Jun 2014 09:33:49 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsUAR8SFA0LDSQTh2UDCQjKXQ2HLxeMXoE0aAeEOAEDlmEGjlKDYIFqgXGBWyE X-IPAS-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsUAR8SFA0LDSQTh2UDCQjKXQ2HLxeMXoE0aAeEOAEDlmEGjlKDYIFqgXGBWyE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="67096453" Received: from 75-119-224-253.dsl.teksavvy.com (HELO pastel.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Jun 2014 09:33:39 -0400 Received: by pastel.home (Postfix, from userid 20848) id 8BEBF60D53; Tue, 17 Jun 2014 09:33:39 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid Message-ID: References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> <877g65bfen.fsf@micropit.roche-blanche.homenet.org> <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> <83zjj0js3r.fsf@gnu.org> Date: Tue, 17 Jun 2014 09:33:39 -0400 In-Reply-To: <83zjj0js3r.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 02 May 2014 15:13:44 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17349 Cc: pmlists@free.fr, Nicolas Richard , gundaetiapo@gmail.com, 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >>>>> "Eli" == Eli Zaretskii writes: >> From: Nicolas Richard >> Date: Fri, 02 May 2014 13:05:20 +0200 >> Cc: Nicolas Richard , >> Barry OReilly , 17349@debbugs.gnu.org >> >> 3bis. Why are these three "C-g" special ? It is not mentionned in (info "(emacs) >> Quitting") AFAICT. > Maybe because of the "emergency escape" feature, although that > requires 2 C-g's in a row, not 3, and AFAIK only works on a TTY. No, it does seem to be 3 (quoting src/keyboard.c): { /* Else request quit when it's safe. */ int count = NILP (Vquit_flag) ? 1 : force_quit_count + 1; force_quit_count = count; if (count == 3) { immediate_quit = 1; Vinhibit_quit = Qnil; } Vquit_flag = Qt; } -- Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 27 06:28:02 2014 Received: (at 17349) by debbugs.gnu.org; 27 Jun 2014 10:28:02 +0000 Received: from localhost ([127.0.0.1]:34347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0TNx-0007O3-AY for submit@debbugs.gnu.org; Fri, 27 Jun 2014 06:28:02 -0400 Received: from smtp04.smtpout.orange.fr ([80.12.242.126]:57565 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0TNu-0007Ni-Bt for 17349@debbugs.gnu.org; Fri, 27 Jun 2014 06:27:59 -0400 Received: from micropit.roche-blanche.homenet.org ([2.11.168.102]) by mwinf5d59 with ME id KNTq1o00W2CtZay03NTqRZ; Fri, 27 Jun 2014 12:27:52 +0200 X-ME-Helo: micropit.roche-blanche.homenet.org X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy X-ME-Date: Fri, 27 Jun 2014 12:27:52 +0200 X-ME-IP: 2.11.168.102 Received: by micropit.roche-blanche.homenet.org (Postfix, from userid 1000) id 58159A60C4C; Fri, 27 Jun 2014 12:27:50 +0200 (CEST) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: Stefan Monnier Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> <877g65bfen.fsf@micropit.roche-blanche.homenet.org> <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> <83zjj0js3r.fsf@gnu.org> Date: Fri, 27 Jun 2014 12:27:50 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 17 Jun 2014 09:33:39 -0400") Message-ID: <87mwcybqah.fsf@micropit.roche-blanche.homenet.org> User-Agent: Gnus/5.130012 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.12) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17349 Cc: Nicolas Richard , Eli Zaretskii , gundaetiapo@gmail.com, 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi, Do you think, that this will be fixed soon? If not, I'll install a workaround with crond and emacsclient. -- Peter From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 27 08:04:57 2014 Received: (at 17349) by debbugs.gnu.org; 27 Jun 2014 12:04:57 +0000 Received: from localhost ([127.0.0.1]:34382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0Utk-0003Qf-P4 for submit@debbugs.gnu.org; Fri, 27 Jun 2014 08:04:57 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:64216) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0Utj-0003QX-Ds for 17349@debbugs.gnu.org; Fri, 27 Jun 2014 08:04:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkkFAAhdrVOkD4Xx/2dsb2JhbABbhyenRgEBAQEBAQaWLoMyCgGBH3WEBAEFI1YQCxoCBSECAg8BBEkTiC0BAwYLphaBcpQbAUoMhlEXgSuEOYIIhixoB4J3gUwBBKFDjQuCAIFEOw Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3.ulb.ac.be) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 27 Jun 2014 14:04:54 +0200 From: Nicolas Richard To: Peter =?utf-8?Q?M=C3=BCnster?= Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> <877g65bfen.fsf@micropit.roche-blanche.homenet.org> <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> <83zjj0js3r.fsf@gnu.org> <87mwcybqah.fsf@micropit.roche-blanche.homenet.org> Date: Fri, 27 Jun 2014 14:06:28 +0200 In-Reply-To: <87mwcybqah.fsf@micropit.roche-blanche.homenet.org> ("Peter \=\?utf-8\?Q\?M\=C3\=BCnster\=22's\?\= message of "Fri, 27 Jun 2014 12:27:50 +0200") Message-ID: <87oaxeeeuz.fsf@geodiff-mac3.ulb.ac.be> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17349 Cc: Nicolas Richard , gundaetiapo@gmail.com, Stefan Monnier , 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Peter M=C3=BCnster writes: > Do you think, that this will be fixed soon? If not, I'll install a > workaround with crond and emacsclient. Since I added some advices to warn me in case of a problem, I didn't see the problem happen anymore... I'm not sure there's causation between these facts. --=20 Nico. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 22 04:43:43 2015 Received: (at 17349) by debbugs.gnu.org; 22 Jan 2015 09:43:43 +0000 Received: from localhost ([127.0.0.1]:52292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YEEIg-0006c8-MK for submit@debbugs.gnu.org; Thu, 22 Jan 2015 04:43:42 -0500 Received: from smtp08.smtpout.orange.fr ([80.12.242.130]:25151 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YEEIe-0006bt-15 for 17349@debbugs.gnu.org; Thu, 22 Jan 2015 04:43:41 -0500 Received: from micropit.roche-blanche.homenet.org ([86.214.174.139]) by mwinf5d43 with ME id ixjX1p01n30pVly03xjXKw; Thu, 22 Jan 2015 10:43:33 +0100 X-ME-Helo: micropit.roche-blanche.homenet.org X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy X-ME-Date: Thu, 22 Jan 2015 10:43:33 +0100 X-ME-IP: 86.214.174.139 Received: by micropit.roche-blanche.homenet.org (Postfix, from userid 1000) id 16C782F6F; Thu, 22 Jan 2015 10:43:31 +0100 (CET) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: Stefan Monnier Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> <877g65bfen.fsf@micropit.roche-blanche.homenet.org> <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> <83zjj0js3r.fsf@gnu.org> <87mwcybqah.fsf@micropit.roche-blanche.homenet.org> Date: Thu, 22 Jan 2015 10:43:31 +0100 In-Reply-To: <87mwcybqah.fsf@micropit.roche-blanche.homenet.org> ("Peter =?utf-8?Q?M=C3=BCnster=22's?= message of "Fri, 27 Jun 2014 12:27:50 +0200") Message-ID: <87sif3kv5o.fsf@roche-blanche.net> User-Agent: Gnus/5.130012 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.12) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17349 Cc: Nicolas Richard , Eli Zaretskii , gundaetiapo@gmail.com, 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Fri, Jun 27 2014, Peter Münster wrote: > Do you think, that this will be fixed soon? If not, I'll install a > workaround with crond and emacsclient. Works quite nicely since some months: --8<---------------cut here---------------start------------->8--- (defun pm/start-timer (sym func &rest args) (cl-pushnew (list sym func args) pm/timer-list) (apply func args)) (defun pm/gnus-demon-add-handler (sym period idle) (pm/start-timer sym 'gnus-demon-add-handler sym period idle)) (defun pm/timer-running-p (func) (dolist (timer (append timer-list timer-idle-list)) (if (or (eq (timer--function timer) func) (and (eq (timer--function timer) 'gnus-demon-run-callback) (eq (car (timer--args timer)) func))) (return (not (timer--triggered timer)))))) (defun pm/check-timers () (dolist (e pm/timer-list) (lexical-let ((entry e) (timer (first e))) (unless (pm/timer-running-p timer) (if (display-graphic-p) (notifications-notify :title "Timer is dead!" :body (symbol-name timer) :timeout (* 55 60 1000) :actions '("delete" "delete entry" "restart" "restart timer") :on-action (lambda (id key) (pm/timer-action entry key))) (message "Timer is dead: %s" timer)))))) --8<---------------cut here---------------end--------------->8--- And once per hour, crond executes "emacsclient -e '(pm/check-timers)'" When a timer is dead, I just need to restart it with a mouse-click. -- Peter From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 22 10:33:21 2015 Received: (at 17349) by debbugs.gnu.org; 22 Jan 2015 15:33:22 +0000 Received: from localhost ([127.0.0.1]:53048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YEJl3-0000HJ-Ic for submit@debbugs.gnu.org; Thu, 22 Jan 2015 10:33:21 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:26039) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YEJl1-0000H4-7v for 17349@debbugs.gnu.org; Thu, 22 Jan 2015 10:33:19 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag8FAFEXwVSkD4Xx/2dsb2JhbABahmWxPQEBAQEBAQaVaYJPAoFYAQEBAQF9hA0BBXkQCAMhJQ8BBEmIKgEUwEWNOwGFPAEBAQEBBQEBAQEehgWCKoZiaAeEKQWXf4EUhQ+FY4YvIoIygT09gnQBAQE Received: from mathsrv4.ulb.ac.be (HELO localhost) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 22 Jan 2015 16:32:54 +0100 From: Nicolas Richard To: Stefan Monnier Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87d2g3lth0.fsf@yahoo.fr> <874n1f4xzq.fsf@micropit.couberia.selfip.net> <8738gzkxte.fsf@yahoo.fr> <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> <877g65bfen.fsf@micropit.roche-blanche.homenet.org> <87eh0cwidr.fsf@geodiff-mac3.ulb.ac.be> Date: Thu, 22 Jan 2015 16:33:03 +0100 In-Reply-To: (Stefan Monnier's message of "Fri, 02 May 2014 09:24:51 -0400") Message-ID: <8761byespc.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17349 Cc: Barry OReilly , Nicolas Richard , Peter =?utf-8?Q?M?= =?utf-8?Q?=C3=BCnster?= , 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I use tramp and recentf. Also, I often reopen the lid of my laptop while having no internet access (namely, in the train). And that's usually when the battery problem appears for me. Could all of that be related ? 1. recentf-auto-cleanup-timer (an idle timer) is ran and wants to check if the files still exists. For tramp buffers, this tends to hang emacs because lack of internet. 2. meanwhile, battery-update-timer (a normal timer) is ran too 3. ??? (something happens, e.g. perhaps user hits C-g because emacs seems hung) 4. battery-update-timer is left in the "triggered" state. Is it possible that two timers interfere ? How would I check this ? It's a rare problem for me, so I would need something that is not too invasive. -- Nicolas From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 17 07:06:31 2022 Received: (at 17349) by debbugs.gnu.org; 17 Apr 2022 11:06:31 +0000 Received: from localhost ([127.0.0.1]:35073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ng2jf-0006GF-Iz for submit@debbugs.gnu.org; Sun, 17 Apr 2022 07:06:31 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ng2je-0006Fx-7l for 17349@debbugs.gnu.org; Sun, 17 Apr 2022 07:06:30 -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=svWLg6bNrZYmjSb43KleDCVF8spAfsBtuGWDtJa0q1g=; b=nSH9PBmaVOFN5KBalH+AWL1pgt VERSqThimqJRISR6YUBXb7JmRfbNKxs3zpFvOgd0+4zwPd1Tytzen5J1RrTw7l2DoYz4P3kpQSLD2 wJo1VJcJJGofTC8RUAQ/ipBgFn78pAg7uE41CKWeUiBbs+YACz/FGhmlfzr5m2H3/HQ8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ng2jU-0004G6-9u; Sun, 17 Apr 2022 13:06:24 +0200 From: Lars Ingebrigtsen To: Nicolas Richard Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87tx9gl4nt.fsf@yahoo.fr> Date: Sun, 17 Apr 2022 13:06:19 +0200 In-Reply-To: <87tx9gl4nt.fsf@yahoo.fr> (Nicolas Richard's message of "Sat, 26 Apr 2014 13:19:02 +0200") Message-ID: <87a6ckas0k.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Nicolas Richard writes: > I use display-battery-mode to display remaining battery percentage in > the modeline. It sometimes happens that the percentage never changes (I > usually notice this when I re-open the lid). > > It [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17349 Cc: 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Nicolas Richard writes: > I use display-battery-mode to display remaining battery percentage in > the modeline. It sometimes happens that the percentage never changes (I > usually notice this when I re-open the lid). > > It seems that the timer doesn't get triggered anymore : > > timer-list is a variable defined in `C source code'. > Its value is > ([t 21337 29946 782082 60 battery-update-handler nil nil 770389] > [nil 21339 22389 552723 3600 url-cookie-write-file nil nil 255341]) > > I guess it doesn't run because (timer--triggered (car timer-list)) => t > ; and indeed, (setf (timer--triggered (car timer-list)) nil) made it > work again. (I'm going through old bug reports that unfortunately weren't resolved at the time.) I think I recall these timer issues being fixed recentlyish (or at least some other problem with timers not being triggered after a sleep). Are you still seeing this issue with recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 17 07:06:37 2022 Received: (at control) by debbugs.gnu.org; 17 Apr 2022 11:06:37 +0000 Received: from localhost ([127.0.0.1]:35076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ng2jk-0006GX-Sk for submit@debbugs.gnu.org; Sun, 17 Apr 2022 07:06:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ng2jj-0006G6-PQ for control@debbugs.gnu.org; Sun, 17 Apr 2022 07:06:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8jnfNesEeP9C6QSvHLjdBeHW67RVkI3ZUZMyKF0r69g=; b=QF0xYcpJU7JL16gvsgPTZ8SeBd YMUQLrYFiHOGFV5o7Q8ckgXMWdd1ZoRcL2XE/hXzUxBdkIN7t+jEgK81FHXlzH8ZT8acFckVx0T+R C7REvpTE6FXokD/RzKpaTSxpiq7EiJ8jbMciTiRf66yqpEh9A6laU6UHBKCyw15+7MnY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ng2jc-0004GG-0E for control@debbugs.gnu.org; Sun, 17 Apr 2022 13:06:29 +0200 Date: Sun, 17 Apr 2022 13:06:27 +0200 Message-Id: <878rs4as0c.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17349 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 17349 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 17349 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 17 16:45:42 2022 Received: (at 17349) by debbugs.gnu.org; 17 Apr 2022 20:45:42 +0000 Received: from localhost ([127.0.0.1]:37373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngBmA-0001Uk-Bv for submit@debbugs.gnu.org; Sun, 17 Apr 2022 16:45:42 -0400 Received: from sonic306-20.consmr.mail.ir2.yahoo.com ([77.238.176.206]:42414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngBm6-0001US-WD for 17349@debbugs.gnu.org; Sun, 17 Apr 2022 16:45:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1650228332; bh=FzhlCq/Tn4zgqfLUBsVXVrZZkmrCvGQLw4IoftfbeXY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=Te7iWSsqoRVqCo/axabdZSH8K3pFdHYS/0FTzyPrr1LEBdHFXxRj1n8cdOyogLf/EiiU11oDwz9/VFCfhUipinlxTxiHwpec7zM7jsIBrNepAONaevLolzarUBN9SIxP3wqyHRfrg0JCUA6I9MbQJzjtLBU8IL991F7YbG6Rfna1HTvjknmzZeFaeWaEkJ3O/KcQS+TPaZpbSpKVujvYMFhtMmxZT8Y6K4c5/5ADc7TkNCq4vg8xGIkB/purbBDI9jbl1xSC8wVouDvlUfr8VUHN1baW48JuM5o0pjLyk/5Mg2nzzqaQlQl4hCbNnNyBO4XO0QYgYHtQrTc7lZ44Wg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1650228332; bh=mYKNuG0fZPqKvdZG5vRyh2IC/UWlEI3dTRNh4NfyowO=; h=X-Sonic-MF:Date:Subject:To:From:From:Subject; b=jnkwtZOw2Y6UyPh+/59ueI7JgSWC99Yfa0Y+uV82kXHQSjGa8vVbjq2KZbHl7IKS6QnmRc14fsFQ0sZliUUTvER+/k9f9lJtQLUiZt2mnCaS3ie9P7IqwCOevfIvch/fx+WgJfIBeQiMWXnRhpHIweSpSQ/vKBg5qmO8ayEiTHnb/RlSgHZnCIGH77qQeiVw6IkG/c8o5VkNRNpxcrMP9xviRtP5mYLfbfVmpyRt95lEsSHjgfrTPxFk6bi8NFv3qTV128xKxK1EtU92PO3UahRTgqk4t2yIdRu+K+7RC5cgjHPW5tj6EEKBwiIm5+UGyMm4GxadjQPtNZnC79gtRQ== X-YMail-OSG: gYKXbrMVM1kgnX9SpPWfX4jQ41Rvv4fdf1WKq3qpc6SyeYy1xf2348G0V1FdRoT _xDonfCDNyD4UjCVQUWmMz1VzB5k4PmbbUSWNm6yHJYOfmekFFbFNWIvvbdwEPUYL76ZoBU49FkI vcMDD.Lx1VKP.nk.zOGCk3y9f_gD48rjD7kkiXxotwgnju3e02agyX_9_Pu_PDZQQEt4i1XBMxQ7 uZ_d641SCbsW6ar_QHHYfngXu4J6Q6L2SpYqm79Z4yT7HlnnutUQ8RDjC_NakIAuzX5UpTccwWyI j.Uo_41.sNjbY3CkkrAnZuDbHEA.oA6AAhinkUfNJynLOhIfgSn4SQ7jpkDwSaKtEF5HrKxNPZZS OlS8gcbNSTxRHj1VjqwGyDguXxfTvC6j5QjUVWvDBxoKEZkhhBJOFBDJSEa0PbwMeEYBiMkQuS3v eVH7tdE.BJKxu4ZYoRDIDyyBZ4OJEd.bdVX9OtjYlWnKIRHZPkDWo7qx7PNFiqM8ucOEhP2o_rM9 kTpBWts6L6ymN8RvJhpwBZ_2iZk75LLw3Xx2suymLf96PM2BTIEiVk5TYnKu4YlsC_KLm1fPI.RG KUXQA3dYu8wqSoEgDPtoGSIYsWq2n_7mwyn9t1Ik8OZw2ZRsP1O2IPZQv8mZas8_p6cAQqf8.dTJ gllX1FxvVlWp7o62r.Un02cqFPLYFY_t3O7_bTvKtHPnY_el_aCNftEVxmhN1oMdZIL7fxTxKT4P QHJYL3kW.YYyfSkAF4cuN_68syDY4lGl20Ew8xlS915kVfIa9zJydM2GNXCJO6Z0PVSPV7vgd9RR KxYbDEaAfWpEJwXXql8snJzwxoUb3bLw1UcOb6b4wCxG6.LahFHjVyVT33_Gb9AD3BcoHnrNLE1h 5Ey3iylk0827AEtAqnkuAHVI8X9UZOj_kEgDL1CuTSG8229XlfiloQ7vYlBY3H2M0iHRpYTZrfLy O4jhUipv7glkMGsAbc9KOzeWWhfNjUwnDFc4Mr.b8XLTKmhO6AvUp7aVItUVNFoRGynvumD13nJz jkvoQso172.Yy6hgvLTkKYMEovE96NVzGaCgKeXWsJHvf0k7dk8rQliBrxjpm4Nz7OwVu269fo4j RzGd35z2TLEJH_MUlz5HhdgEvMGMGTWDEYHaL1S_TJdK1SPyPXIJJgpX5h8R4gT6C182aOBKM3vX gMk1.Cq6.uYetWwPVzqBPJIs1sqXfCnIF5wDbMOaHygbHWeCzlOzSo3nUqbd7O1qSb3pEX3LZCcU NsUSaARO4N_qu9BRYZ38zichSeZHFTPGDxbDsDgzZGpWv_B7_J3JYQTf8nPAaVV.SpWLx2S63Ctp TctfBBLq4zvH3wAzFpPguxabrSNO5e5FhZoDaPT1DjryqqKLTOgkFMZ8CRaID32o14_PXIgBvM2Z 54P6kMir1sD5Z40bN2O0PGxPu5Ln_469QNee1Yh6ZykyMB9JB1RuqRjmLsc_KDPW0eqiofo3CJGr bW6R9qOIiih5pj4DMLAiJQin41hvKfvx7eJyB97oWhOdZ1oMZcnqjBNcLyUdqLoDe22EobC2AAdh JNlDc7wv0Prtx9vR8UgZEFwHfRcxGj9ij94NQOdRTJoxUJvjpkqvJG7KrQdyyqQVfhT4eKtVwBV9 EA73JghEs.1_DOqse9CUj4tKJonLChA9E7RhFNPiGmg6zMv6NB_TrtUwfhhVppJfo53lVXU2gWbv 24EegvUj7jF0htrweQ1OaU4mwQzIBBnFKUM3RguVUIkyI3UaSNMkrTnWuo_SaHKuuTlf_6HLudCQ H8iiXFySm9cBfKTNEEkOcib0RGqj5pSbd_.1HnPIwbLY64haWd0ctkrVcpID8pq9RoofxQBh2ItQ N7CJmhUzxanMaFdxrizRxpa6ScLV5Zjq5PaV_O1NdQ3Sl9KpidtPr_f6.m87eKpOhlgLGsoruIFc 8GuUQkMgYk.srzsVo2dIxKtTN_9MuBbmKrYjv8iow6Dlk6azDEHiy6C0fhJwmsw03lSmQwZhehOt RGzYDueiZ4FTDAuxh75lM5u34SUl4hiqUnh71GzxIkLCD4BLN89Ga8Cp1CHIPPj3vl.yezg7zuiV DpZsSVtDMw.1YwTlWahyIXHK1vDeCnHXZna5kfUTnPdAx8iaggPMpzdd3BZEDj4bgo_o4js..B9p xDqcGsp74sKww9HdbB8FssGtDFfUtXEf0h0P7rjGc1xDxG68uh2WHMo9mGmDDWhP298cFXkVwQFm bK9A130amf2vR8SnGnOcAyCnY6fuVs0YaLtgeatmbaJ8oHuRXOO4HOg2p1No- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ir2.yahoo.com with HTTP; Sun, 17 Apr 2022 20:45:32 +0000 Received: by hermes--canary-production-ir2-765f846db-sbfzb (VZM Hermes SMTP Server) with ESMTPA ID 6a89967eb2907bdba874c1564d52132b; Sun, 17 Apr 2022 20:45:27 +0000 (UTC) Message-ID: Date: Sun, 17 Apr 2022 22:45:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid Content-Language: fr To: Lars Ingebrigtsen References: <87tx9gl4nt.fsf@yahoo.fr> <87a6ckas0k.fsf@gnus.org> From: Nicolas Richard In-Reply-To: <87a6ckas0k.fsf@gnus.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.20048 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 488 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 17349 Cc: 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > (I'm going through old bug reports that unfortunately weren't > resolved at the time.) Thank you. > I think I recall these timer issues being fixed recentlyish (or at > least some other problem with timers not being triggered after a > sleep). Are you still seeing this issue with recent Emacs versions? No, but my laptop usage is mostly inexistent now and my current laptop tends to crash randomly when waking up anyway (unrelated to emacs) so I can't really test. -- Nicolas From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 18 05:07:22 2022 Received: (at 17349) by debbugs.gnu.org; 18 Apr 2022 09:07:22 +0000 Received: from localhost ([127.0.0.1]:37937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngNLt-0003B2-TP for submit@debbugs.gnu.org; Mon, 18 Apr 2022 05:07:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngNLr-0003Ak-J4 for 17349@debbugs.gnu.org; Mon, 18 Apr 2022 05:07:20 -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=ZOBIg0J8uLFQ5+nkzhmJ1vMt/C9qXWMII008lS4EV5I=; b=brR3aamWqNSfnklGHG4oJX6Uep 30AnrIfoHbn8Fg/TMpIWoYX2TMZa7P3poPNy5dhzS2To/89qKFLfUmQsG+U8kBjk8s83XV7HvJcs1 o6dpfb3p4gNALJ09XY7cSYy8GiFqUW2V73LiuHhah+TDjfwuBoASU7QxQP1FcD7RqL5s=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ngNLj-0008S6-8R; Mon, 18 Apr 2022 11:07:13 +0200 From: Lars Ingebrigtsen To: Nicolas Richard Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid References: <87tx9gl4nt.fsf@yahoo.fr> <87a6ckas0k.fsf@gnus.org> Date: Mon, 18 Apr 2022 11:07:07 +0200 In-Reply-To: (Nicolas Richard's message of "Sun, 17 Apr 2022 22:45:26 +0200") Message-ID: <87ilr6lpz8.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Nicolas Richard writes: > No, but my laptop usage is mostly inexistent now and my current laptop > tends to crash randomly when waking up anyway (unrelated to emacs) so > I can't really test. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17349 Cc: 17349@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Nicolas Richard writes: > No, but my laptop usage is mostly inexistent now and my current laptop > tends to crash randomly when waking up anyway (unrelated to emacs) so > I can't really test. OK; I'm closing this bug report, then. If somebody else can reproduce this problem, please respond to the debbugs address and we'll reopen it (or open a new bug report). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 18 05:07:33 2022 Received: (at control) by debbugs.gnu.org; 18 Apr 2022 09:07:33 +0000 Received: from localhost ([127.0.0.1]:37940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngNM5-0003BR-64 for submit@debbugs.gnu.org; Mon, 18 Apr 2022 05:07:33 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngNM2-0003BE-QJ for control@debbugs.gnu.org; Mon, 18 Apr 2022 05:07:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QK0NTpAWH4nqImSR+wEcRfVK69XBjpCBRiIVFTzMaCU=; b=pqM1IRLa/E1yXV5dPGZgKxkQx0 NIMYJ1Mi2i+rkedtkD3B9MO1T6MVLypVBM9yv6NvxvIMvdNQ3pkATZd3sNtR81oSz8oFjvSG5n6rt RHQnViPoJJ/wYA6UVVYl0lT0vwDxxsTsqr9IiO27m6CtnaG0/v+i4a1qRkKVa4X92K0Y=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ngNLv-0008SH-7L for control@debbugs.gnu.org; Mon, 18 Apr 2022 11:07:25 +0200 Date: Mon, 18 Apr 2022 11:07:21 +0200 Message-Id: <87h76qlpyu.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17349 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 17349 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 17349 quit From unknown Sat Aug 09 13:23:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 16 May 2022 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator