From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#39956: 26.2; improve display of information of M-x list-timers Date: Tue, 27 Oct 2020 11:05:06 +0100 Message-ID: <87eelkougd.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15047"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 39956@debbugs.gnu.org To: ndame Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 27 11:10:58 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXLwQ-0003lR-Mq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 11:10:58 +0100 Original-Received: from localhost ([::1]:59518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXLwP-0002Lm-8u for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 06:10:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXLre-0005xO-GW for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 06:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXLre-0002dR-5F for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 06:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXLrd-0005J3-Vi for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 06:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Oct 2020 10:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39956 X-GNU-PR-Package: emacs Original-Received: via spool by 39956-submit@debbugs.gnu.org id=B39956.160379311820342 (code B ref 39956); Tue, 27 Oct 2020 10:06:01 +0000 Original-Received: (at 39956) by debbugs.gnu.org; 27 Oct 2020 10:05:18 +0000 Original-Received: from localhost ([127.0.0.1]:42982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXLqw-0005I0-0F for submit@debbugs.gnu.org; Tue, 27 Oct 2020 06:05:18 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:55708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXLqu-0005Hn-94 for 39956@debbugs.gnu.org; Tue, 27 Oct 2020 06:05:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mJPeSq29rqZs2gA83Z1ZEktaR2DrIj0RsoCtWIlj938=; b=PuEpcgxvMeD2j+am7FaRCrSgPf 7GCCVJe7BPHSRboGblOrHjgHVRrsFc8ZUJpOjMM1TLyWg66ntdfh4h9jiPs+px5Bex9ZHGzK5H+X1 vKqpyixj+tDN6HDTHxwA4LfLfF+ZjQ29CQdJ12oNZQQ6Dh8/ORgzCD7zkl0DcV1U5MUM=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXLqm-0005mg-73; Tue, 27 Oct 2020 11:05:10 +0100 X-Now-Playing: Klaus Nomi's _Klaus Nomi_: "Wasting My Time" In-Reply-To: (ndame's message of "Fri, 6 Mar 2020 16:50:09 +0000 (GMT)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191726 Archived-At: ndame 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