From: "Peter Münster" <pmlists@free.fr>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: Barry OReilly <gundaetiapo@gmail.com>, 17349@debbugs.gnu.org
Subject: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid
Date: Thu, 01 May 2014 15:56:17 +0200 [thread overview]
Message-ID: <87tx991u2m.fsf@micropit.roche-blanche.homenet.org> (raw)
In-Reply-To: <8738gzkxte.fsf@yahoo.fr> (Nicolas Richard's message of "Sun, 27 Apr 2014 09:59:09 +0200")
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
next prev parent reply other threads:[~2014-05-01 13:56 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 [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tx991u2m.fsf@micropit.roche-blanche.homenet.org \
--to=pmlists@free.fr \
--cc=17349@debbugs.gnu.org \
--cc=gundaetiapo@gmail.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).