From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Subsecond decoded-time again Date: Sun, 29 Sep 2019 13:19:06 -0500 Message-ID: <3329e984-2ba2-5749-da39-89983ad49f40@cs.ucla.edu> References: <87v9tbnz83.fsf@gnus.org> <6e4d5d00-847b-4d5e-09d5-63b13b5c1c97@cs.ucla.edu> <87d0fjdqql.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------14833341BFC8B7AD84500311" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="61204"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 29 20:19:27 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEdn4-000Fnj-Pa for ged-emacs-devel@m.gmane.org; Sun, 29 Sep 2019 20:19:26 +0200 Original-Received: from localhost ([::1]:41488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEdn2-0005o4-TE for ged-emacs-devel@m.gmane.org; Sun, 29 Sep 2019 14:19:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38424) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEdmu-0005nv-5p for emacs-devel@gnu.org; Sun, 29 Sep 2019 14:19:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEdms-00045W-Te for emacs-devel@gnu.org; Sun, 29 Sep 2019 14:19:15 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:54504) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iEdms-00042l-Mh for emacs-devel@gnu.org; Sun, 29 Sep 2019 14:19:14 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B539716021D; Sun, 29 Sep 2019 11:19:12 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 59E2yr-QS8tG; Sun, 29 Sep 2019 11:19:12 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EDAE1160227; Sun, 29 Sep 2019 11:19:11 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id mlmazdmd9c3l; Sun, 29 Sep 2019 11:19:11 -0700 (PDT) Original-Received: from [192.168.134.23] (unknown [208.184.3.186]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id AF07B16021D; Sun, 29 Sep 2019 11:19:11 -0700 (PDT) In-Reply-To: <87d0fjdqql.fsf@gnus.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240395 Archived-At: This is a multi-part message in MIME format. --------------14833341BFC8B7AD84500311 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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. --------------14833341BFC8B7AD84500311 Content-Type: text/x-patch; name="0001-src-timefns.c-Fdecode_time-Improve-doc-string.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-src-timefns.c-Fdecode_time-Improve-doc-string.patch" >From 53ebec24c871c5e6adb6aed088199d1b15e0198a Mon Sep 17 00:00:00 2001 From: Paul Eggert 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 --------------14833341BFC8B7AD84500311--