From: Paul Eggert <eggert@cs.ucla.edu>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Subsecond decoded-time again
Date: Sun, 29 Sep 2019 13:19:06 -0500 [thread overview]
Message-ID: <3329e984-2ba2-5749-da39-89983ad49f40@cs.ucla.edu> (raw)
In-Reply-To: <87d0fjdqql.fsf@gnus.org>
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
On 9/29/19 11:14 AM, Lars Ingebrigtsen wrote:
> I think "if t, SEC uses the same resolution as TIME" could possibly be
> expanded upon.
Sure, I installed the attached.
[-- Attachment #2: 0001-src-timefns.c-Fdecode_time-Improve-doc-string.patch --]
[-- Type: text/x-patch, Size: 1148 bytes --]
From 53ebec24c871c5e6adb6aed088199d1b15e0198a Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sun, 29 Sep 2019 13:11:59 -0500
Subject: [PATCH] * src/timefns.c (Fdecode_time): Improve doc string.
---
src/timefns.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/timefns.c b/src/timefns.c
index c1e3141c4c..330d5623f0 100644
--- a/src/timefns.c
+++ b/src/timefns.c
@@ -1472,9 +1472,9 @@ the TZ environment variable. It can also be a list (as from
without consideration for daylight saving time.
The optional FORM specifies the form of the SEC member. If `integer',
-SEC is an integer; if t, SEC uses the same resolution as TIME. An
-omitted or nil FORM is currently treated like `integer', but this may
-change in future Emacs versions.
+SEC is an integer; if t, SEC is an integer or (TICKS . HZ) timestamp
+with the same precision as TIME. An omitted or nil FORM is currently
+treated like `integer', but this may change in future Emacs versions.
To access (or alter) the elements in the time value, the
`decoded-time-second', `decoded-time-minute', `decoded-time-hour',
--
2.20.1
next prev parent reply other threads:[~2019-09-29 18:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-29 11:01 Subsecond decoded-time again Lars Ingebrigtsen
2019-09-29 16:09 ` Paul Eggert
2019-09-29 16:14 ` Lars Ingebrigtsen
2019-09-29 18:19 ` Paul Eggert [this message]
2019-09-29 18:48 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3329e984-2ba2-5749-da39-89983ad49f40@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).