From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: 17349@debbugs.gnu.org
Subject: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid
Date: Sat, 26 Apr 2014 13:19:02 +0200 [thread overview]
Message-ID: <87tx9gl4nt.fsf@yahoo.fr> (raw)
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.
next reply other threads:[~2014-04-26 11:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-26 11:19 Nicolas Richard [this message]
2014-04-26 14:49 ` bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid Barry OReilly
2014-04-26 20:35 ` Nicolas Richard
2014-04-26 20:49 ` Peter Münster
2014-04-27 7:59 ` Nicolas Richard
2014-05-01 13:56 ` Peter Münster
2014-05-01 17:02 ` Peter Münster
2014-05-02 11:05 ` Nicolas Richard
2014-05-02 12:13 ` Eli Zaretskii
2014-06-17 13:33 ` Stefan Monnier
2014-06-27 10:27 ` Peter Münster
2014-06-27 12:06 ` Nicolas Richard
2015-01-22 9:43 ` Peter Münster
2014-05-02 13:24 ` Stefan Monnier
2015-01-22 15:33 ` Nicolas Richard
2014-05-02 11:24 ` Peter Münster
2014-06-15 9:42 ` bug#17349: timer vanishes Peter Münster
2022-04-17 11:06 ` bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid Lars Ingebrigtsen
2022-04-17 20:45 ` Nicolas Richard via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-18 9:07 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tx9gl4nt.fsf@yahoo.fr \
--to=theonewiththeevillook@yahoo.fr \
--cc=17349@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.