GNU bug report logs - #47306
28.0.50; [PATCH] Add optional FORMAT argument to 'emacs-init-time'

Previous Next

Package: emacs;

Reported by: Gabriel <gabriel376 <at> hotmail.com>

Date: Mon, 22 Mar 2021 00:47:01 UTC

Severity: wishlist

Tags: fixed, moreinfo, patch

Found in version 28.0.50

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Gabriel <gabriel376 <at> hotmail.com>
Cc: 47306 <at> debbugs.gnu.org
Subject: bug#47306: 28.0.50; [PATCH] Add optional FORMAT argument to 'emacs-init-time'
Date: Wed, 24 Mar 2021 10:34:55 +0100
Gabriel <gabriel376 <at> hotmail.com> writes:

> The idea is to provide a flexible way for users to define their own
> format to 'emacs-init-time'. It's very common for user to copy-paste
> this function just to change the format, e.g., to use 2 decimal
> places. For instance, see:
>
> https://www.reddit.com/r/emacs/comments/m8d55l/what_is_your_startup_time/
> https://blog.d46.us/advanced-emacs-startup/
> https://emacs.stackexchange.com/questions/19249/long-pause-during-emacs-startup-prior-to-init-file-running
> https://github.com/emacs-dashboard/emacs-dashboard/issues/57

Ah, I see.  Yes, it definitely looks like there's a use case here, so
I've applied your patch to Emacs 28.

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




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

Previous Next


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