GNU bug report logs -
#14778
24.3; Woman elapsed time calculation fails.
Previous Next
Reported by: "Greenberg, Adam" <Adam.Greenberg <at> FMR.COM>
Date: Wed, 3 Jul 2013 15:43:02 UTC
Severity: normal
Tags: notabug
Found in version 24.3
Done: "Greenberg, Adam" <Adam.Greenberg <at> FMR.COM>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 14778-done <at> debbugs.gnu.org (full text, mbox):
Glen:
Thanks for the quick follow-up. I researched this further and discovered that the ancient bison-mode.el (http://ftp.sunet.se/pub/gnu/emacs-lisp/incoming/bison-mode.el) that I use includes make-regexp.el and that defines its own time-since function. The time-date.el time-since delivered with 24.3 is correct. When I rename the make-regexp.el version woman works as advertised. Please accept my apologies for wasting your time.
Adam
-----Original Message-----
From: Glenn Morris [mailto:rgm <at> gnu.org]
Sent: Wednesday, July 03, 2013 12:06 PM
To: Greenberg, Adam
Cc: 14778 <at> debbugs.gnu.org
Subject: Re: bug#14778: 24.3; Woman elapsed time calculation fails.
"Greenberg, Adam" wrote:
> Emacs reports this error: Invalid time specification whenever I
> execute woman. For example m-x woman hostname (invoke woman to view
> the hostname man page).
I cannot reproduce this. Does it happen with emacs -Q?
> The error occurs in the line:
> (setq time (float-time (time-since start-time)))
>
> The error is that time-since returns the value of a time difference
> (already a float value) not a time value.
Not for me it doesn't. What does the following return for you:
(time-since before-init-time)
For me it returns eg
(0 123 804775 342000)
What does
C-h f time-since
say?
> In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.9)
> of 2013-07-01 on vlelayerdev3
This bug report was last modified 11 years and 330 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.