From dak@gnu.org Tue Mar 24 03:04:42 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 24 Mar 2009 10:04:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2OA4d1h026769 for ; Tue, 24 Mar 2009 03:04:40 -0700 Received: from mx10.gnu.org ([199.232.76.166]:34966) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lm3Us-0008LQ-Pg for emacs-pretest-bug@gnu.org; Tue, 24 Mar 2009 06:04:38 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Lm3Up-0004pX-F0 for emacs-pretest-bug@gnu.org; Tue, 24 Mar 2009 06:04:38 -0400 Received: from mail.quinscape.de ([212.29.44.217]:60968) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lm3Uo-0004or-S1 for emacs-pretest-bug@gnu.org; Tue, 24 Mar 2009 06:04:35 -0400 Received: (qmail-ldap/ctrl 13084 invoked from network); 24 Mar 2009 10:04:32 -0000 Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by quinx.quinscape.de (qmail-ldap-1.03) with SMTP for ; 24 Mar 2009 10:04:32 -0000 Received: by lola.quinscape.zz (Postfix, from userid 1001) id 033FA8F85A; Tue, 24 Mar 2009 11:04:31 +0100 (CET) From: David Kastrup To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Misleading function description for float-time Date: Tue, 24 Mar 2009 11:04:31 +0100 Message-ID: <86zlfbck40.fsf@lola.quinscape.zz> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiVirus: checked by AntiVir MailGate (version: 2.1.3-2; AVE: 7.9.0.120; VDF: 7.1.2.206; host: quinscape.de) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: The DOC string for float-time says float-time is a built-in function in `C source code'. (float-time &optional specified-time) Return the current time, as a float number of seconds since the epoch. If specified-time is given, it is the time to convert to float instead of the current time. The argument should have the form (HIGH LOW . IGNORED). Thus, you can use times obtained from `current-time' and from `file-attributes'. specified-time can also have the form (HIGH . LOW), but this is considered obsolete. WARNING: Since the result is floating point, it may not be exact. Do not use this function if precise time stamps are required. [back] However, the argument "IGNORED" is not ignored but rather specifies microseconds that _do_ appear in the resulting time value. While the doc string does not explicitly specify what happens to "IGNORED", its name strongly suggests a different (and undesirable) behavior. In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-01-13 on lisa Windowing system distributor `The X.Org Foundation', version 11.0.10400090 configured using `configure '--prefix=/usr/local/emacs-21' '--without-toolkit-scroll-bars'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Message Minor modes in effect: mml-mode: t gnus-message-citation-mode: t TeX-PDF-mode: t server-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t -- David Kastrup From cyd@stupidchicken.com Tue Mar 24 10:38:40 2009 Received: (at 2768-done) by emacsbugs.donarmstrong.com; 24 Mar 2009 17:38:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2OHcbJJ022075 for <2768-done@emacsbugs.donarmstrong.com>; Tue, 24 Mar 2009 10:38:38 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id B47D957E205; Tue, 24 Mar 2009 13:40:04 -0400 (EDT) From: Chong Yidong To: David Kastrup Cc: 2768-done@debbugs.gnu.org Subject: Re: 23.0.60; Misleading function description for float-time Date: Tue, 24 Mar 2009 13:40:04 -0400 Message-ID: <877i2eyg3v.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > the argument "IGNORED" is not ignored but rather specifies > microseconds that _do_ appear in the resulting time value. While the > doc string does not explicitly specify what happens to "IGNORED", its > name strongly suggests a different (and undesirable) behavior. I've corrected this. Thanks very much for pointing it out. From unknown Sun Aug 17 22:07:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 22 Apr 2009 14:24:06 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator