[Top][All Lists]

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

[debbugs-tracker] bug#32902: closed (Add support for (TIMESTAMP . RESOLU

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32902: closed (Add support for (TIMESTAMP . RESOLUTION) Lisp timestamps)
Date: Sun, 07 Oct 2018 06:33:02 +0000

Your message dated Sat, 6 Oct 2018 23:32:00 -0700
with message-id <address@hidden>
and subject line Re: bug#32902: Add support for (TIMESTAMP . RESOLUTION) Lisp 
has caused the debbugs.gnu.org bug report #32902,
regarding Add support for (TIMESTAMP . RESOLUTION) Lisp timestamps
to be marked as done.

(If you believe you have received this mail in error, please contact

32902: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32902
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Add support for (TIMESTAMP . RESOLUTION) Lisp timestamps Date: Mon, 1 Oct 2018 18:00:26 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 The attached patches follow up on a suggestion by Stefan a few weeks ago, by adding support for a new Lisp timestamp format (TIMESTAMP . FREQUENCY), where TIMESTAMP is an integer that counts clock ticks and FREQUENCY is a positive integer that counts ticks per second. For brevity the documentation says (TICKS . HZ) instead of (TIMESTAMP . FREQUENCY).

Although current-time and similar functions continue to return the (HI LO US PS) format, the idea is that Emacs eventually should switch to (TICKS . HZ) as it is a better match for an Emacs with bignums (among other things, it does not lose information), and in the meantime we can better document that the Lisp timestamp format has changed in the past and can change in the future, and that user code should not depend on the exact timestamp format.

Attachment: 0001-Move-timestamp-related-stuff-to-systime.c.patch
Description: Text Data

Attachment: 0002-Coalesce-duplicate-make_lisp_timeval-etc.patch
Description: Text Data

Attachment: 0003-Export-converting-mpz-to-u-intmax.patch
Description: Text Data

Attachment: 0004-New-TICKS-.-HZ-timestamp-format.patch
Description: Text Data

--- End Message ---
--- Begin Message --- Subject: Re: bug#32902: Add support for (TIMESTAMP . RESOLUTION) Lisp timestamps Date: Sat, 6 Oct 2018 23:32:00 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
Eli Zaretskii wrote:
OK, but can we call the new file something like timefns.c?

Sure, that's easy enough. I revamped the patches to do that and installed them into master. Closing the bug report.

--- End Message ---

reply via email to

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