[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15561: periodic timer stops running
From: |
Peter Münster |
Subject: |
bug#15561: periodic timer stops running |
Date: |
Wed, 05 Mar 2014 18:13:33 +0100 |
User-agent: |
Gnus/5.13001 (真 Gnus v0.10) Emacs/24.3.50 (gnu/linux) |
Perhaps related:
The following function make some beeps for some seconds. It is called
from a timer. Sometimes, the `cancel-timer' does not work, and emacs
continues to beep.
--8<---------------cut here---------------start------------->8---
(defun org-notify-action-ding (plist)
"Make noise."
(let ((timer (run-with-timer 0 1 'ding)))
(run-with-timer (or (plist-get plist :duration) 3) nil
'cancel-timer timer)))
--8<---------------cut here---------------end--------------->8---
Or is this another problem/bug?
TIA for any help,
--
Peter
- bug#15561: periodic timer stops running, Peter Münster, 2014/03/02
- bug#15561: periodic timer stops running, Barry OReilly, 2014/03/03
- Message not available
- bug#15561: periodic timer stops running, Peter Münster, 2014/03/04
- bug#15561: periodic timer stops running,
Peter Münster <=
- bug#15561: periodic timer stops running, Barry OReilly, 2014/03/12
- Message not available
- bug#15561: periodic timer stops running, Peter Münster, 2014/03/25
- bug#15561: periodic timer stops running, Barry OReilly, 2014/03/25
- bug#15561: periodic timer stops running, Paul Eggert, 2014/03/25