From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid Date: Thu, 22 Jan 2015 16:33:03 +0100 Message-ID: <8761byespc.fsf@yahoo.fr> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421940858 24564 80.91.229.3 (22 Jan 2015 15:34:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2015 15:34:18 +0000 (UTC) Cc: Peter =?UTF-8?Q?M=C3=BCnster?= , Nicolas Richard , Barry OReilly , 17349@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 22 16:34:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YEJlr-0000J7-3Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jan 2015 16:34:11 +0100 Original-Received: from localhost ([::1]:54379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEJlq-0003yF-F1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jan 2015 10:34:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEJlm-0003wN-Ky for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2015 10:34:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEJli-0006j1-Oy for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2015 10:34:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEJli-0006ib-Ep for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2015 10:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YEJli-0000Iq-0u for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2015 10:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jan 2015 15:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17349 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17349-submit@debbugs.gnu.org id=B17349.14219408021077 (code B ref 17349); Thu, 22 Jan 2015 15:34:01 +0000 Original-Received: (at 17349) by debbugs.gnu.org; 22 Jan 2015 15:33:22 +0000 Original-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 Original-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 Original-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 In-Reply-To: (Stefan Monnier's message of "Fri, 02 May 2014 09:24:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98583 Archived-At: 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