GNU bug report logs - #4637
23.1; (elisp)Time of Day doc

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 5 Oct 2009 00:55:07 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4637 in the body.
You can then email your comments to 4637 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4637; Package emacs. (Mon, 05 Oct 2009 00:55:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 05 Oct 2009 00:55:08 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.1; (elisp)Time of Day doc
Date: Sun, 4 Oct 2009 17:46:21 -0700
The doc for `current-time-string', `current-time-zone', and
`float-time' says the "argument should be a list whose first two
elements are integers."
 
This says nothing about the rest of the list. Does it mean that the
rest is ignored and could be anything (any number of elements of any
types)? If so, please state that clearly.
 
Or should we rather be saying that the argument has the same form as
what is returned by either `current-time' or `file-attributes' (for a
time attribute), both of which are described in detail?
 
IOW, is it any list of at least two numbers, with the elements past #2
being ignored, or is it a list of either two or three numbers? In the
latter case, if three numbers, is the third number (microsecs) used or
ignored? This is not clear, and the doc strings do not clear it up.
 
Also, there are 4 occurrences of the term `file-attributes', but only
three of them are followed by a cross reference to node `Definition of
file-attributes'. Either all four should have the cross reference or
we should include only one cross reference for the whole node.

In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
 





Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Thu, 15 Oct 2009 20:55:05 GMT) Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Thu, 15 Oct 2009 20:55:05 GMT) Full text and rfc822 format available.

Message #10 received at 4637-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 4637-done <at> debbugs.gnu.org
Subject: Re: 23.1; (elisp)Time of Day doc
Date: Thu, 15 Oct 2009 16:45:39 -0400
> The doc for `current-time-string', `current-time-zone', and
> `float-time' says the "argument should be a list whose first two
> elements are integers."

> This says nothing about the rest of the list. Does it mean that the
> rest is ignored and could be anything (any number of elements of any
> types)? If so, please state that clearly.

The microseconds part is ignored.  I've checked in a clarification;
thanks.



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 13 Nov 2009 15:24:25 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.