all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 17349@debbugs.gnu.org
Subject: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid
Date: Sun, 17 Apr 2022 13:06:19 +0200	[thread overview]
Message-ID: <87a6ckas0k.fsf@gnus.org> (raw)
In-Reply-To: <87tx9gl4nt.fsf@yahoo.fr> (Nicolas Richard's message of "Sat, 26 Apr 2014 13:19:02 +0200")

Nicolas Richard <theonewiththeevillook@yahoo.fr> 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





  parent reply	other threads:[~2022-04-17 11:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-26 11:19 bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid Nicolas Richard
2014-04-26 14:49 ` 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 ` Lars Ingebrigtsen [this message]
2022-04-17 20:45   ` bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid 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=87a6ckas0k.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=17349@debbugs.gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /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.