Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 27 Oct 2020 11:05:06 +0100

ndame <[email-masked]> writes:

> The first thing which wasn't obvious first that the Next column displays
> the time in seconds, but the Repeat column uses minutes, though it's
> not indicated anywhere in the header that they use different units.

This has been changed in Emacs 28 to be consistent (in seconds).

> 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?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no