From unknown Wed Jun 18 00:28:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39956 <39956@debbugs.gnu.org> To: bug#39956 <39956@debbugs.gnu.org> Subject: Status: 26.2; improve display of information of M-x list-timers Reply-To: bug#39956 <39956@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:28:56 +0000 retitle 39956 26.2; improve display of information of M-x list-timers reassign 39956 emacs submitter 39956 ndame severity 39956 normal tag 39956 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 06 11:54:40 2020 Received: (at submit) by debbugs.gnu.org; 6 Mar 2020 16:54:40 +0000 Received: from localhost ([127.0.0.1]:45829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAGFD-0001Ti-UR for submit@debbugs.gnu.org; Fri, 06 Mar 2020 11:54:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:36260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAGFC-0001Tb-NH for submit@debbugs.gnu.org; Fri, 06 Mar 2020 11:54:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59978) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAGFB-0006zZ-HO for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 11:54:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPOOFED_FREEMAIL autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAGFA-0002Xq-AY for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 11:54:37 -0500 Received: from fmfe26.onbox.hu ([46.107.16.231]:44637 helo=web-out.onbox.hu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jAGF9-0002SU-Uy for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 11:54:36 -0500 X-fm-smtp-source: yes Received: from localhost (localhost [94.21.43.27]) by web-out.onbox.hu (Postfix) with SMTP id 48Ytxz6rtsz4j1 for ; Fri, 6 Mar 2020 17:54:31 +0100 (CET) Date: Fri, 6 Mar 2020 16:50:09 +0000 (GMT) From: ndame Message-ID: Subject: 26.2; improve display of information of M-x list-timers MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4135_507178880.1583513409196" To: "bug-gnu-emacs@gnu.org" X-AccountId: 57978162 X-Originating-Ip: 94.21.43.27 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrudduvddgleeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpucfhtffggffotefknfenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffkufggtgfvihesrgdtregstddtudenucfhrhhomhepnhgurghmvgcuoegvmhgrtghsuhhsvghrsehfrhgvvghmrghilhdrhhhuqeenucfkphepleegrddvuddrgeefrddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopedpihhnvghtpeelgedrvddurdegfedrvdejpdhmrghilhhfrhhomhepvghmrggtshhushgvrhesfhhrvggvmhgrihhlrdhhuhdprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 46.107.16.231 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) ------=_Part_4135_507178880.1583513409196 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0195.08 =C2=A0 =C2=A0 5.00 s= avehist-autosave could be more readable like this =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A03m 15.08s =C2=A0 =C2=A0 5m = =C2=A0savehist-autosave Or this one =C2=A0 =C2=A0 =C2=A0 =C2=A026479.43 =C2=A01440.00 run-hooks like this =C2=A0 =C2=A0 =C2=A0 =C2=A07h 21m 19.43s =C2=A01d 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. =C2=A0 ------=_Part_4135_507178880.1583513409196 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
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.
  ------=_Part_4135_507178880.1583513409196-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 07 17:08:36 2020 Received: (at 39956) by debbugs.gnu.org; 7 Mar 2020 22:08:36 +0000 Received: from localhost ([127.0.0.1]:47711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAhca-0004Y3-9I for submit@debbugs.gnu.org; Sat, 07 Mar 2020 17:08:36 -0500 Received: from fmfe12.onbox.hu ([46.107.16.205]:29741 helo=web-out.onbox.hu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAhcY-0004Xn-9Z for 39956@debbugs.gnu.org; Sat, 07 Mar 2020 17:08:34 -0500 X-fm-smtp-source: yes Received: from localhost (localhost [84.236.16.255]) by web-out.onbox.hu (Postfix) with SMTP id 48Zdsl1xt1z87M for <39956@debbugs.gnu.org>; Sat, 7 Mar 2020 23:08:27 +0100 (CET) Date: Sat, 7 Mar 2020 22:03:00 +0000 (GMT) From: ndame To: "39956@debbugs.gnu.org" <39956@debbugs.gnu.org> Message-ID: In-Reply-To: References: Subject: Re: 26.2; improve display of information of M-x list-timers MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21522_1128579090.1583618580485" X-AccountId: 57978162 X-Originating-Ip: 84.236.16.255 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedruddugedgudeiudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdcuhfftgffgofetkffnnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffkjghfufggtghisegrtdersgdttddunecuhfhrohhmpehnuggrmhgvuceovghmrggtshhushgvrhesfhhrvggvmhgrihhlrdhhuheqnecukfhppeekgedrvdefiedrudeirddvheehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheppdhinhgvthepkeegrddvfeeirdduiedrvdehhedpmhgrihhlfhhrohhmpegvmhgrtghsuhhsvghrsehfrhgvvghmrghilhdrhhhupdhrtghpthhtohepfeelleehieesuggvsggsuhhgshdrghhnuhdrohhrgh X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39956 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_Part_21522_1128579090.1583618580485 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =C2=A0 One more thing: it's strange that a buffer displaying timers is so static. I can keep pressing g manually to see the timers working, but it could be m= uch better if emacs updated the timer display automatically every second or so when th= e buffer is=C2=A0 visible. =C2=A0 ------=_Part_21522_1128579090.1583618580485 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit  
One more thing: it's strange that a buffer displaying timers is so static.

I can keep pressing g manually to see the timers working, but it could be much better
if emacs updated the timer display automatically every second or so when the buffer is 
visible.
  ------=_Part_21522_1128579090.1583618580485-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 27 06:05:18 2020 Received: (at 39956) by debbugs.gnu.org; 27 Oct 2020 10:05:18 +0000 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 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=; 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 From: Lars Ingebrigtsen To: ndame Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers References: X-Now-Playing: Klaus Nomi's _Klaus Nomi_: "Wasting My Time" Date: Tue, 27 Oct 2020 11:05:06 +0100 In-Reply-To: (ndame's message of "Fri, 6 Mar 2020 16:50:09 +0000 (GMT)") Message-ID: <87eelkougd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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 d [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39956 Cc: 39956@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 27 06:06:09 2020 Received: (at 39956) by debbugs.gnu.org; 27 Oct 2020 10:06:09 +0000 Received: from localhost ([127.0.0.1]:42988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXLrl-0005JZ-8o for submit@debbugs.gnu.org; Tue, 27 Oct 2020 06:06:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXLrk-0005JN-AP for 39956@debbugs.gnu.org; Tue, 27 Oct 2020 06:06:08 -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=+XdNgg1Xrx/Yz99I6s1Dcqk5zhpFHMnD+/w/QO0GCDk=; b=pxiEbC5jszmQgQfK+7ycc3rFHV 5S7WDcIINYBlMInbSyO5o6B/97pjhn1J/BokMJNtDvzrRNIN+Rb8Wk4Gi4IMLCYjcCFftXOWHVHMX DC71LalD2vQV9j2UtreyM6LzuJ/V5n3w6Gedh6BzmcN8f7OvdkObslwwFSd/0a59HOBg=; 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 1kXLrb-0005nO-Qm; Tue, 27 Oct 2020 11:06:02 +0100 From: Lars Ingebrigtsen To: ndame Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers References: X-Now-Playing: Klaus Nomi's _Klaus Nomi_: "Total Eclipse" Date: Tue, 27 Oct 2020 11:05:58 +0100 In-Reply-To: (ndame's message of "Sat, 7 Mar 2020 22:03:00 +0000 (GMT)") Message-ID: <87a6w8ouex.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: ndame writes: > One more thing: it's strange that a buffer displaying timers is so static. > > I can keep pressing g manually to see the timers working, but it could > be much better if emacs updated the timer disp [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39956 Cc: "39956@debbugs.gnu.org" <39956@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ndame writes: > One more thing: it's strange that a buffer displaying timers is so static. > > I can keep pressing g manually to see the timers working, but it could > be much better if emacs updated the timer display automatically every > second or so when the buffer is visible. It would lead to a lot of jumping around, which would make the buffer hard to work with (when trying to cancel a timer, for instance). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 27 06:23:43 2020 Received: (at 39956) by debbugs.gnu.org; 27 Oct 2020 10:23:43 +0000 Received: from localhost ([127.0.0.1]:43006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXM8k-0007pn-VF for submit@debbugs.gnu.org; Tue, 27 Oct 2020 06:23:43 -0400 Received: from mail-ej1-f43.google.com ([209.85.218.43]:35938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXM8i-0007pa-RF for 39956@debbugs.gnu.org; Tue, 27 Oct 2020 06:23:41 -0400 Received: by mail-ej1-f43.google.com with SMTP id w27so1449747ejb.3 for <39956@debbugs.gnu.org>; Tue, 27 Oct 2020 03:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ZyiI8Q9ZaW+jVpmSJoDGT5SNSJ4fPwiOQAMHaQtXx1M=; b=pAUSk5l9tiUd0KOz5O6Irms61RMrp48dPiujwyaKE0IzDpTaEhd93yG1kII/m2ZTFr yVzgKxzjhpe4hmhK+DqF2jiRsQrVMT1ZELo7PrwVbTn8gXGwqghZjWIBvUD+xJasv+0P ajJ/XgOqfAbgaBOZ7xbnB5NZV+pIvPa8ibI+ND+okx0zt5KSuc24zN4cp0FarENj3N7j uBbEqBdi72qDpERtx+dWxMPrI0OGEd8MK9mnLW+ZJOJW4IiP0FtMB6Gv0IyR24kQSIiL xcKOjR+8b+Y5MBIYHcMXospxDlbJYBon4okNoi510v5ne1FpqOHTES0ox8imT+dgfh1i FdTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ZyiI8Q9ZaW+jVpmSJoDGT5SNSJ4fPwiOQAMHaQtXx1M=; b=Btspjj2ZTBsKewk2OZjMd5mQ00kGSDtiDrJPTNozcnDDHfuMKvDcxOuus6a3XaF3xa mk6nv4coKC8Qd7+TK1uLQRlE4glE90ywK1vb+6GE7epriZRA/55HKrEl03CBmynAaV1F 4Wg47djnKYgpRQDsmXBxts5k7R8GqDYt3WflhqG5v4dPxQPxEQiHiZqVA6A3jL36TyYc rhzD5zi9voGyno5wzmEQd84BPlnT9R9aCZxG9Byq2J4Kf706v+7CgNJQneRvdA+gLbiK pQrHzDHSIKLL9ZBrGaBPPlndlbjbcqtRdP9iC3xGbN7GYWHhk6U4Sj6pj49hb7m9cmWC Phlg== X-Gm-Message-State: AOAM533hGQ2iHuB7YKgEom92Eajry42gtY1V4cW5GtaKl+ph6Svid8Nj lmtiH5wI/a8EAJOnpnoVFIYyhg== X-Google-Smtp-Source: ABdhPJxKI3lpF3c+c4ySb7g1MzMdnN+JHdh93n1aeSax1DYBAf4lc7gD6l1W8OhNHXYwW/JZtKOzMw== X-Received: by 2002:a17:906:1f53:: with SMTP id d19mr1634311ejk.255.1603794214967; Tue, 27 Oct 2020 03:23:34 -0700 (PDT) Received: from localhost ([51.37.250.4]) by smtp.gmail.com with ESMTPSA id qp17sm731491ejb.111.2020.10.27.03.23.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 03:23:34 -0700 (PDT) From: "Basil L. Contovounesios" To: Lars Ingebrigtsen Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers References: <87eelkougd.fsf@gnus.org> Date: Tue, 27 Oct 2020 10:23:33 +0000 In-Reply-To: <87eelkougd.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 27 Oct 2020 11:05:06 +0100") Message-ID: <877drct1ay.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39956 Cc: ndame , 39956@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > ndame 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 05:08:01 2020 Received: (at 39956) by debbugs.gnu.org; 28 Oct 2020 09:08:02 +0000 Received: from localhost ([127.0.0.1]:47102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXhR3-0004x1-HV for submit@debbugs.gnu.org; Wed, 28 Oct 2020 05:08:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXhR0-0004wk-UN for 39956@debbugs.gnu.org; Wed, 28 Oct 2020 05:07:59 -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=NM7vggnnwIs9VVDRFzH7m+a3IrErE3YKqONW72VqGXU=; b=MJQ+rc91Q+aQjS8BHUbzLLBfCF wt9fHNgxUNKoCHg5bh7t9HCQs6MkDttD3TyUM9+fQjr4mH6XBqCqmxxRpOKs4s2Zj2TptGq98VBFB /3kRXrIwn0CyC8APAv5yXXP2R2ICnFhatS2OcavPfkr8racXbEV7SanDGlvCRN8Eop5o=; 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 1kXhQo-000674-Hj; Wed, 28 Oct 2020 10:07:52 +0100 From: Lars Ingebrigtsen To: "Basil L. Contovounesios" Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers References: <87eelkougd.fsf@gnus.org> <877drct1ay.fsf@tcd.ie> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXT0caPWlY4Mir/ //9kTWJkAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QKHAkHFEs0eocAAAGkSURBVCjPVdLBjtowEAbg sVUilVO3otHCfQ/kKcKhHHIKVSba+LSHBRU/BSAt0va0IIi0ObGVE+H/KTsGVLU+JP408cS/E6Lb UIAP96dwGf2L5IYvfyuDG6KAnzdcGmDNzGlvzmgmhA2MI7JoKiXoG2XdV2zuBXtTSNvcvhSK/BSM ZTdknytKNfgTUaHa9ILiWTMPjoKBxsyVZZWXpOi7rg3asuKp4NRtIciKTFAkGXAsp0+xwBgA62X2 thfIFF4tss1v/U6hcK++ZdFH31OvDz+k+LXX0DCkcqM8PozOpCWVPfi8fyhdAC92j7NsVbt4RtHu GY958qM+htirB+MHdsvGL2hFw0nZtEMueELryYtyy/mSWcLhzWtvAS5URTjNowWatuIlCB9pjFr2 1HrQeXYcQc4WRyuVXCX4bOGZjbyHEh9bzJkbQkrReYQz0ZgJRNpZnCh9uKIDnMauJPl2etuE8Dt7 AW7jf8iaGLDmCnWqW2APEx7THrWv3bgJiBpYX6J/xS+P9g5rWUhoEPnOYWXDgRiYtmu799CgGpeJ /BYsu+Y/5JjZYM8ec9AAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMTAtMjhUMDk6MDc6MjArMDA6 MDDpuETQAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTEwLTI4VDA5OjA3OjIwKzAwOjAwmOX8bAAA AABJRU5ErkJggg== X-Now-Playing: He Said's _Take Care_: "Watch Take Care" Date: Wed, 28 Oct 2020 10:07:45 +0100 In-Reply-To: <877drct1ay.fsf@tcd.ie> (Basil L. Contovounesios's message of "Tue, 27 Oct 2020 10:23:33 +0000") Message-ID: <87eeliwwf2.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "Basil L. Contovounesios" writes: > What about format-seconds? > > (format-seconds "%hh %mm %z%ss" 1000) ; => "16m 40s" Nice! I've now redone the list-timers display using this format. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39956 Cc: ndame , 39956@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Basil L. Contovounesios" writes: > What about format-seconds? > > (format-seconds "%hh %mm %z%ss" 1000) ; => "16m 40s" Nice! I've now redone the list-timers display using this format. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 05:08:20 2020 Received: (at control) by debbugs.gnu.org; 28 Oct 2020 09:08:20 +0000 Received: from localhost ([127.0.0.1]:47108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXhRL-0004yL-Td for submit@debbugs.gnu.org; Wed, 28 Oct 2020 05:08:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXhRB-0004xt-V9 for control@debbugs.gnu.org; Wed, 28 Oct 2020 05:08:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jLF27Vr2Q78MDt+WomqDCso72y/m8VLinRiwLZ3V2OQ=; b=SD2v9ao9IOvzCECDaB9qHUiwCK UKW8D8g/vuGOI1ROWx40aJTEwLP54zh6c5AI4y7mf2yw+eD4VU1sFWp1wb+mxebFnONZGjKkei0sX iZ95k/Hs21kdMPdTq0tqNXe2y+ORSuEas7Y6ZEz+yA5HeuuF7T1FypF1TQv2TRbGxhbg=; 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 1kXhR4-00067H-AK for control@debbugs.gnu.org; Wed, 28 Oct 2020 10:08:04 +0100 Date: Wed, 28 Oct 2020 10:08:01 +0100 Message-Id: <87d012wwem.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #39956 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 39956 fixed close 39956 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 39956 fixed close 39956 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 09:39:31 2020 Received: (at 39956) by debbugs.gnu.org; 28 Oct 2020 13:39:31 +0000 Received: from localhost ([127.0.0.1]:47718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXlfm-0005hc-Qe for submit@debbugs.gnu.org; Wed, 28 Oct 2020 09:39:31 -0400 Received: from mail1475c50.megamailservers.eu ([91.136.14.75]:44580 helo=mail118c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXlfl-0005hO-0Z for 39956@debbugs.gnu.org; Wed, 28 Oct 2020 09:39:29 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1603892362; bh=TwSSdvlQSZMgZFInbNfh2U83A8hXYq9Z0AxVc8hqBrM=; h=From:Subject:Date:Cc:To:From; b=M6jJTpPJiwRbSj0LwX1ltQGlfVXsVFBddfCW7lIEW/2+CPk3HiQlMLlGEINnwcYGz KHWIX1ep/f/Y2v5AQxkxozmPQ/3ADFXpoMSSlst7wu4jdpZ+MV022HwehfPiwDpOG8 DuZz4osreB2c6eV7QRBIwHjREIuyIRJmM9zr1FxQ= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-304ee655.032-75-73746f71.bbcust.telenor.se [85.230.78.48]) (authenticated bits=0) by mail118c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 09SDdJSp023784; Wed, 28 Oct 2020 13:39:21 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers Message-Id: <296F7F25-F927-4421-9FF4-B15D18189307@acm.org> Date: Wed, 28 Oct 2020 14:39:19 +0100 To: Lars Ingebrigtsen X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F23.5F99748A.0050:SCFSTAT76743386, ss=1, re=-4.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: -4.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=KaGsTjQD c=1 sm=1 tr=0 a=63Z2wlQ1NB3xHpgKFKE71g==:117 a=63Z2wlQ1NB3xHpgKFKE71g==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=QsOyPMWylGJk4cG66KgA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 39956 Cc: "Basil L. Contovounesios" , ndame , 39956@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) The fractions of a second are gone. Was that intended? I thought it was rather nice to have those, especially when comparing = timers that would otherwise seem to expire simultaneously. Besides, 0.75 = and 0 s are qualitatively rather different. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 11:17:50 2020 Received: (at 39956) by debbugs.gnu.org; 28 Oct 2020 15:17:50 +0000 Received: from localhost ([127.0.0.1]:50146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXnCw-0002RS-5s for submit@debbugs.gnu.org; Wed, 28 Oct 2020 11:17:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXnCu-0002RF-Dl for 39956@debbugs.gnu.org; Wed, 28 Oct 2020 11:17:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46148) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXnCn-0006F8-9G; Wed, 28 Oct 2020 11:17:41 -0400 Received: from [176.228.60.248] (port=2885 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kXnCm-0003cg-NA; Wed, 28 Oct 2020 11:17:41 -0400 Date: Wed, 28 Oct 2020 17:17:39 +0200 Message-Id: <83r1picrcc.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87eeliwwf2.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 28 Oct 2020 10:07:45 +0100) Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers References: <87eelkougd.fsf@gnus.org> <877drct1ay.fsf@tcd.ie> <87eeliwwf2.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39956 Cc: contovob@tcd.ie, emacsuser@freemail.hu, 39956@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Date: Wed, 28 Oct 2020 10:07:45 +0100 > Cc: ndame , 39956@debbugs.gnu.org > > "Basil L. Contovounesios" writes: > > > What about format-seconds? > > > > (format-seconds "%hh %mm %z%ss" 1000) ; => "16m 40s" > > Nice! I've now redone the list-timers display using this format. This loses information, because we only display integral seconds, the fractional seconds are lost. E.g., try the command in "emacs -Q". Can we have the accuracy back, without losing human-readable format? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 06:04:15 2020 Received: (at 39956) by debbugs.gnu.org; 30 Oct 2020 10:04:15 +0000 Received: from localhost ([127.0.0.1]:56113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYRGY-0004VO-Ux for submit@debbugs.gnu.org; Fri, 30 Oct 2020 06:04:15 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYRGW-0004VB-Hx for 39956@debbugs.gnu.org; Fri, 30 Oct 2020 06:04:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=Etg2T8aPVVcZZb+nT8IECT5ibIavf6J5DHCCq97ZLPs=; b=VEcTJkNZckAKJ1bqGF/9Q0KZQD yhgxYn4ohqMryRHBlIbglD4ZtZPP9Pw8Z14nMfEN61MWXHhiVbaMwbXu8a4Ng3ufrdCyXY4EDWu/A xSQrk4zV471RQZJ00+lxIv6aNkXFlBzC3ve2/ZqBsImPAFhI0KBEpcxAwSIFMlr32GIA=; 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 1kYRGL-0005Dg-2h; Fri, 30 Oct 2020 11:04:06 +0100 From: Lars Ingebrigtsen To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers References: <296F7F25-F927-4421-9FF4-B15D18189307@acm.org> X-Now-Playing: Various's _I Wanna Be Kate: The Songs of Kate Bush_: "And Dream Of Sheep (2020 Remaster)" Date: Fri, 30 Oct 2020 11:03:59 +0100 In-Reply-To: <296F7F25-F927-4421-9FF4-B15D18189307@acm.org> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Wed, 28 Oct 2020 14:39:19 +0100") Message-ID: <87pn50m3n4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Mattias EngdegĂ„rd writes: > The fractions of a second are gone. Was that intended? > I thought it was rather nice to have those, especially when comparing > timers that would otherwise seem to expire simultaneously. Besides, > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39956 Cc: "Basil L. Contovounesios" , ndame , 39956@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mattias Engdeg=C3=A5rd writes: > The fractions of a second are gone. Was that intended? > I thought it was rather nice to have those, especially when comparing > timers that would otherwise seem to expire simultaneously. Besides, > 0.75 and 0 s are qualitatively rather different. No, that was unintended. Hm... perhaps `format-second' should get support for fractional seconds? Introducing a new format spec should be easy enough, but what should the format be? %5s means front-padding with spaces so that it's 5 characters wide. What about... %5.2s to front-pad, and have two decimals? Oh, yeah, that's just the normal floating point spec; duh. Should be trivial to implement. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 06:06:45 2020 Received: (at 39956) by debbugs.gnu.org; 30 Oct 2020 10:06:45 +0000 Received: from localhost ([127.0.0.1]:56117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYRIz-0004ZT-Ba for submit@debbugs.gnu.org; Fri, 30 Oct 2020 06:06:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYRIx-0004ZG-Cy for 39956@debbugs.gnu.org; Fri, 30 Oct 2020 06:06:43 -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:Cc:To:From:Sender:Reply-To:Subject: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=GCbi1jjOjuuk8uIN/PK8SVdenNskuMgsj///EARdn9M=; b=rZnuItSf1h0H4xzYqdzOE7N/xP AFoPfeuKuufK4pBM2BvUEmrIJD2pWK4Um89f2uHzLwjYLwInqw3UCgrXaMM0cGQHxjLDZbnHj/uk9 C/qz3/4H49g8c8pq8WxU6urYCPZewB78KEUbXptrpqlwD9KVVCPZx+rlfoP0ZcQdJCx0=; 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 1kYRIp-0005Gj-2p; Fri, 30 Oct 2020 11:06:37 +0100 From: Lars Ingebrigtsen To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= References: <296F7F25-F927-4421-9FF4-B15D18189307@acm.org> <87pn50m3n4.fsf@gnus.org> X-Now-Playing: Various's _I Wanna Be Kate: The Songs of Kate Bush_: "And Dream Of Sheep (2020 Remaster)" Date: Fri, 30 Oct 2020 11:06:33 +0100 In-Reply-To: <87pn50m3n4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 30 Oct 2020 11:03:59 +0100") Message-ID: <87lffom3iu.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > %5s means front-padding with spaces so that it's 5 characters wide. > What about... %5.2s to front-pad, and have two decimals? Oh, yeah, > that's just the normal floating point spec; duh. > > Should [...] Content analysis details: (-1.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.8 MISSING_SUBJECT Missing Subject: header X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Lars Ingebrigtsen writes: > %5s means front-padding with spaces so that it's 5 characters wide. > What about... %5.2s to front-pad, and have two decimals? Oh, yeah, > that's just the normal floating point spec; duh. > > Should [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [95.216.78.240 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: 39956 Cc: "Basil L. Contovounesios" , ndame , 39956@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Lars Ingebrigtsen writes: > %5s means front-padding with spaces so that it's 5 characters wide. > What about... %5.2s to front-pad, and have two decimals? Oh, yeah, > that's just the normal floating point spec; duh. > > Should be trivial to implement. Oops. Ambiguous, since format-seconds unfortunately uses "." to mean "zero-pad". (Instead of having a leading space mean zero-pad, like in `format'.) (while (string-match "%\\.?[0-9]*\\(.\\)" string start) OK, I'll introduce a "," thing to specify decimals. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 07:11:24 2020 Received: (at 39956) by debbugs.gnu.org; 30 Oct 2020 11:11:24 +0000 Received: from localhost ([127.0.0.1]:56289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYSJY-0006LG-D7 for submit@debbugs.gnu.org; Fri, 30 Oct 2020 07:11:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYSJW-0006Ky-PY for 39956@debbugs.gnu.org; Fri, 30 Oct 2020 07:11:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=x03hzjm43Ws2Gop0v7aUpSLYirXZJrIdJONM9b7Zs/I=; b=OvvdAAq0oVFfb24LAXz6MUa9ZM JZn9SIVFM4jiz9iwQC7rbfR1/k7AEq4Q2vyrRCfyztWJPAoONqim3KzVoXOco9B9qNRUHaYhlExpk CCCxeeISKwKrZsdW9yeXZWm6Vz/ILrbLumBR/41hq5hRYtGvI9Pi0mfy7Udu6RiAEJnY=; 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 1kYSJN-0005zi-9e; Fri, 30 Oct 2020 12:11:16 +0100 From: Lars Ingebrigtsen To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers References: <296F7F25-F927-4421-9FF4-B15D18189307@acm.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVTZWjDu72itUv/ //8Wk9QnAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QKHgsLASPRzYUAAAFmSURBVCjPTdDBSsNAEAbg 2ZAt2FMLXQ+eRbBPEaERvG1k/qA5ebCieQoRevDmwV48VTClmad0ZpOKC9nk29mZ3QktiDgnG6Ek FHQ3AGV6nQ+41il75wErm7pn+3YDEHMX4hVsibHynqsCKYx1WMR5EQYgzDlQKFIOAhT5GJnzzJOP tBTNieVC15lEx8EDipmir388GJauATzONI+OKEI5ogeKcIx0ugdxhJb+Q4d6jYrdrQFo9Il0eiDq 0MrSMBHRa7a7aUBcuAQpLq1eghyyVJxaoUZep6JnskEO7gkp0ig+Trp9usOZ0JL69d4bJkJ51q+f EjIhWvaNJDhJDVnbYC/kWnn5yg2hJd/Its7tILQU+AIPLp3UkO5FlW2tvYa8ooyoNzHUNNX/e8WO btjXJLtvoHeciWz1mFfN3cR/KB9H7KwsT0dwswVp5D3hvkpwhtr6HCNWwNOx2g2qcMSbwz2RVvv8 BXnUrdjBIGMXAAAAQXRFWHRjb21tZW50AENSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpH IEpQRUcgdjYyKSwgcXVhbGl0eSA9IDkwCnd1XskAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMTAt MzBUMTE6MTE6MDErMDA6MDDyw4GJAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTEwLTMwVDExOjEx OjAxKzAwOjAwg545NQAAAABJRU5ErkJggg== X-Now-Playing: Tracey Thorn's _Extended Plays 2010-2011_: "You Are a Lover Clock Opera Remix" Date: Fri, 30 Oct 2020 12:11:11 +0100 In-Reply-To: <296F7F25-F927-4421-9FF4-B15D18189307@acm.org> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Wed, 28 Oct 2020 14:39:19 +0100") Message-ID: <87eelgm0j4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Mattias EngdegĂ„rd writes: > The fractions of a second are gone. Was that intended? > I thought it was rather nice to have those, especially when comparing > timers that would otherwise seem to expire simultaneously. Besides, > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39956 Cc: "Basil L. Contovounesios" , ndame , 39956@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mattias Engdeg=C3=A5rd writes: > The fractions of a second are gone. Was that intended? > I thought it was rather nice to have those, especially when comparing > timers that would otherwise seem to expire simultaneously. Besides, > 0.75 and 0 s are qualitatively rather different. Now implemented. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 30 10:51:04 2020 Received: (at 39956) by debbugs.gnu.org; 30 Oct 2020 14:51:04 +0000 Received: from localhost ([127.0.0.1]:59208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYVk7-0006QY-Nf for submit@debbugs.gnu.org; Fri, 30 Oct 2020 10:51:03 -0400 Received: from mail223c50.megamailservers.eu ([91.136.10.233]:49894 helo=mail33c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYVk5-0006Q7-8h for 39956@debbugs.gnu.org; Fri, 30 Oct 2020 10:51:02 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1604069458; bh=QjY0RoHGyVtTJ0DcVHlarymQ+duX0NqhVtjvbNRO8/w=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=nGH/ZDAAx0wgxveEG/x27UJNkNi2u8d/1IE1eP0lZ3G3X09fHATaIlkFzKX/AdSqr +sPJp2LzUqOH+fh+NgrdU321uSRM4p0yENQG7FRfXaIshYsnJZZyt9PpoJXIP2ZKC3 TbXyeSW6Q80qs3oQDeTo72GxC4SjfsthtPVf1PhM= Feedback-ID: mattiase@acm.or Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se [188.150.171.71]) (authenticated bits=0) by mail33c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 09UEotc6021745; Fri, 30 Oct 2020 14:50:57 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#39956: 26.2; improve display of information of M-x list-timers From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <87eelgm0j4.fsf@gnus.org> Date: Fri, 30 Oct 2020 15:50:54 +0100 Content-Transfer-Encoding: 7bit Message-Id: <28669939-8E1F-48FC-9573-08AD1CF92D31@acm.org> References: <296F7F25-F927-4421-9FF4-B15D18189307@acm.org> <87eelgm0j4.fsf@gnus.org> To: Lars Ingebrigtsen X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F28.5F9C2852.0029, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=eaJDgIMH c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=OocQHUDgAAAA:8 a=ogaccHfINNLo4KFxjjAA:9 a=CjuIK1q_8ugA:10 a=3fbLLLLNgwQA:10 a=xUZTl98r3Qw_uB5NK3jt:22 X-Origin-Country: SE X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 30 okt. 2020 kl. 12.11 skrev Lars Ingebrigtsen : > Now implemented. Nice, thank you! Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.3 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 39956 Cc: "Basil L. Contovounesios" , ndame , 39956@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 30 okt. 2020 kl. 12.11 skrev Lars Ingebrigtsen : > Now implemented. Nice, thank you! From unknown Wed Jun 18 00:28:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 28 Nov 2020 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator