Subject: bug#23123: closed (Re: bug#23123: 25.0.92; why two timers for midnight-mode?)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 27 Mar 2016 15:18:02 +0000

Your bug report

#23123: 25.0.92; why two timers for midnight-mode?

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
23123: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23123
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#23123: 25.0.92; why two timers for midnight-mode?
From: Eli Zaretskii <[email-masked]>
To: Leo Liu <[email-masked]>
Cc: [email-masked]
Date: Sun, 27 Mar 2016 18:16:33 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Leo Liu <[email-masked]>
> Date: Sun, 27 Mar 2016 18:04:34 +0800
> 
> 1. emacs -q
> 2. (midnight-mode 1)
> 3. C-h v timer-list
> 
> ([nil 22263 45044 442656 nil undo-auto--boundary-timer nil nil 0]
>  [nil 22264 4496 995549 86400 run-hooks
>       (midnight-hook)
>       nil 0]
>  [nil 22264 4496 995549 86400 run-hooks
>       (midnight-hook)
>       nil 0])
> 
> There are two timers added by midnight. Bug?

Bug, of course.  What else?  Fixed on the emacs-25 branch.

Thanks.

Subject: 25.0.92; why two timers for midnight-mode?
From: Leo Liu <[email-masked]>
To: [email-masked]
Date: Sun, 27 Mar 2016 18:04:34 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

1. emacs -q
2. (midnight-mode 1)
3. C-h v timer-list

([nil 22263 45044 442656 nil undo-auto--boundary-timer nil nil 0]
 [nil 22264 4496 995549 86400 run-hooks
      (midnight-hook)
      nil 0]
 [nil 22264 4496 995549 86400 run-hooks
      (midnight-hook)
      nil 0])

There are two timers added by midnight. Bug?

Leo