unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: "Greenberg\, Adam" <Adam.Greenberg@FMR.COM>
Cc: 14778@debbugs.gnu.org
Subject: bug#14778: 24.3; Woman elapsed time calculation fails.
Date: Wed, 03 Jul 2013 12:06:04 -0400	[thread overview]
Message-ID: <3wzju3y6fn.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <8F6E7A3F1455DF43A98EA4F43D80CFF42580B63FFC@MSGRTPCCRC2WIN.DMN1.FMR.COM> (Adam Greenberg's message of "Wed, 3 Jul 2013 08:57:18 -0400")

"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





  reply	other threads:[~2013-07-03 16:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 12:57 bug#14778: 24.3; Woman elapsed time calculation fails Greenberg, Adam
2013-07-03 16:06 ` Glenn Morris [this message]
2013-07-03 16:11   ` Greenberg, Adam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3wzju3y6fn.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=14778@debbugs.gnu.org \
    --cc=Adam.Greenberg@FMR.COM \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).