[Top][All Lists]

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

Re: Pre-load time-date.el

From: Paul Eggert
Subject: Re: Pre-load time-date.el
Date: Thu, 16 Oct 2014 12:33:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

On 10/16/2014 11:42 AM, Eli Zaretskii wrote:
it's seconds-to-time, which is called by timer-set-idle-time,
which in turn is called by run-with-idle-timer.

It strikes me that low-level time primitives should accept counts of seconds (either integers, or floats) in addition to the funky (HIGH LOW USEC PSEC) format that they currently accept.This would be cheap to add at the low level, and would remove the need for many calls to seconds-to-time, including the abovementioned one, and would mean Emacs wouldn't need to preload time-date.el. Also, doing the conversion in C would lessen the amount of timing error introduced by the conversion itself.

reply via email to

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