Subject: Re: bug#17349: 24.3.50; display-battery-mode stops updating after closing and reopening lid

From: Peter Münster <[email-masked]>
Date: Thu, 01 May 2014 19:02:56 +0200

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