emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timer errors in last few days (bignump change?)


From: Paul Eggert
Subject: Re: Timer errors in last few days (bignump change?)
Date: Wed, 5 Sep 2018 15:34:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Kaushal Modi wrote:
In the last 2-3 days, this new error starts popping up frequently.

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
   timer-next-integral-multiple-of-time((63065 20560) 60)
   display-time-event-handler()
   apply(display-time-event-handler nil)
   timer-event-handler([t 23440 6080 0 60 display-time-event-handler nil nil
0])

timer-next-integral-multiple-of-time accepts TIME and SECS (integer) as
arguments, and the values (63065 20560) and 60 seem fine (or not?).

I don't see how the first argument of timer-next-integral-multiple-of-time could be (63065 20560). display-time-event-handler passes the value returned by current-time, and that value is always a list of four integers. Is it possible that you've redefined current-time, or redefined display-time-event-handler?

(63065 20560) corresponds to 2100-12-21 05:00:00 UTC, which is pretty far in the future, and it seems unlikely you'd want to set alarms for that timestamp.

What platform are you running on? What is time_t on that platform, exactly? How did you configure Emacs? Perhaps this is related to the year-2100 problems on DOS and MS-Windows. I don't know much about those problems, though. See:

https://en.wikipedia.org/wiki/Time_formatting_and_storage_bugs#Year_2100



reply via email to

[Prev in Thread] Current Thread [Next in Thread]