emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uptime.el


From: Juri Linkov
Subject: Re: uptime.el
Date: Sat, 16 Feb 2008 02:27:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> + (defvar emacs-startup-time-after-init nil
>
> emacs-after-init-time?
> emacs-init-end-time?
>
>> + (defun emacs-startup-time ()
>> +   "Return a string giving the Emacs startup time."
>
> This might be confused with the time at which Emacs started.
> emacs-init-duration?

Maybe emacs-init-time (for both the variable and command names
to reduce confusion).

>> +   (interactive)
>> +   (let ((str
>> +          (format-seconds "Startup time: %Y, %D, %H, %M, %S"
>
> Hopefully emacs won't take an hour, or even many minutes to start, so
> you can probably just return the number of seconds without formatting it.

But do you expect an instance of Emacs to run years (as can be reported
by emacs-uptime :)?

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]