GNU bug report logs - #39956
26.2; improve display of information of M-x list-timers

Previous Next

Package: emacs;

Reported by: ndame <emacsuser <at> freemail.hu>

Date: Fri, 6 Mar 2020 16:55:02 UTC

Severity: normal

Tags: fixed

Found in version 26.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 39956 <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: ndame <emacsuser <at> freemail.hu>, 39956 <at> debbugs.gnu.org
Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers
Date: Tue, 27 Oct 2020 10:23:33 +0000
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> ndame <emacsuser <at> freemail.hu> writes:
>
>> Generally, the best solution could be to use days, hours, minutes,
>> seconds format, instead of displaying floating point values.
>>
>> E.g this line
>>
>>              195.08     5.00 savehist-autosave
>>
>> could be more readable like this
>>
>>              3m 15.08s     5m  savehist-autosave
>>
>> Or this one
>>
>>        26479.43  1440.00 run-hooks
>>
>> like this
>>
>>        7h 21m 19.43s  1d run-hooks
>
> Yes, that would be nicer.  Anybody else got an opinion here?  And does
> Emacs have a nice format-seconds-human-readable function somewhere?

What about format-seconds?

  (format-seconds "%hh %mm %z%ss" 1000) ; => "16m 40s"

-- 
Basil




This bug report was last modified 4 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.