unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4637: 23.1; (elisp)Time of Day doc
@ 2009-10-05  0:46 ` Drew Adams
  2009-10-15 20:55   ` bug#4637: marked as done (23.1; (elisp)Time of Day doc) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2009-10-05  0:46 UTC (permalink / raw)
  To: bug-gnu-emacs

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)'
 







^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#4637: marked as done (23.1; (elisp)Time of Day doc)
  2009-10-05  0:46 ` bug#4637: 23.1; (elisp)Time of Day doc Drew Adams
@ 2009-10-15 20:55   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-10-15 20:55 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 846 bytes --]

Your message dated Thu, 15 Oct 2009 16:45:39 -0400
with message-id <878wfcjsi4.fsf@stupidchicken.com>
and subject line Re: 23.1; (elisp)Time of Day doc
has caused the Emacs bug report #4637,
regarding 23.1; (elisp)Time of Day doc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4637: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4637
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 4091 bytes --]

From: "Drew Adams" <drew.adams@oracle.com>
To: <bug-gnu-emacs@gnu.org>
Subject: 23.1; (elisp)Time of Day doc
Date: Sun, 4 Oct 2009 17:46:21 -0700
Message-ID: <05DE305EC24445608371F11CF7F0007F@us.oracle.com>

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)'
 




[-- Attachment #3: Type: message/rfc822, Size: 1835 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 4637-done@emacsbugs.donarmstrong.com
Subject: Re: 23.1; (elisp)Time of Day doc
Date: Thu, 15 Oct 2009 16:45:39 -0400
Message-ID: <878wfcjsi4.fsf@stupidchicken.com>

> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-15 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <878wfcjsi4.fsf@stupidchicken.com>
2009-10-05  0:46 ` bug#4637: 23.1; (elisp)Time of Day doc Drew Adams
2009-10-15 20:55   ` bug#4637: marked as done (23.1; (elisp)Time of Day doc) Emacs bug Tracking System

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).