unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ndame <emacsuser@freemail.hu>
To: 39956@debbugs.gnu.org
Subject: bug#39956: 26.2; improve display of information of M-x list-timers
Date: Fri, 6 Mar 2020 16:50:09 +0000 (GMT)	[thread overview]
Message-ID: <AyVqrQ.UXCvsDrlVPQl.6Sylilev45PvMQcpPZ@freemail.hu> (raw)

[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]


I've been developing a package lately which uses several timers, and
because of that I use M-x list-timers often. I don't see in the NEWS of 27
changes related to this, so I list some problems.

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.

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



The latter also demonstrates an other problem: if you only see
run-hooks as the function then you have no idea what will actually
run. It's not trivial to find the source. So if the function has args
then they should also be displayed, at least in some shortened form
with the too long part cut off if the args are too long.
 

[-- Attachment #2: Type: text/html, Size: 1494 bytes --]

             reply	other threads:[~2020-03-06 16:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06 16:50 ndame [this message]
     [not found] ` <handler.39956.B.15835136805690.ack@debbugs.gnu.org>
2020-03-07 22:03   ` bug#39956: 26.2; improve display of information of M-x list-timers ndame
2020-10-27 10:05     ` Lars Ingebrigtsen
2020-10-27 10:05 ` Lars Ingebrigtsen
2020-10-27 10:23   ` Basil L. Contovounesios
2020-10-28  9:07     ` Lars Ingebrigtsen
2020-10-28 15:17       ` Eli Zaretskii
2020-10-28 13:39 ` Mattias Engdegård
2020-10-30 10:03   ` Lars Ingebrigtsen
2020-10-30 10:06     ` bug#39956: (no subject) Lars Ingebrigtsen
2020-10-30 11:11   ` bug#39956: 26.2; improve display of information of M-x list-timers Lars Ingebrigtsen
2020-10-30 14:50     ` Mattias Engdegård

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=AyVqrQ.UXCvsDrlVPQl.6Sylilev45PvMQcpPZ@freemail.hu \
    --to=emacsuser@freemail.hu \
    --cc=39956@debbugs.gnu.org \
    /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).