From: Gabriel <gabriel376@hotmail.com>
To: 47306@debbugs.gnu.org
Subject: bug#47306: 28.0.50; [PATCH] Add optional FORMAT argument to 'emacs-init-time'
Date: Mon, 22 Mar 2021 20:04:13 -0300 [thread overview]
Message-ID: <CH2PR01MB587927C402AEBE1A4FCD17008B659@CH2PR01MB5879.prod.exchangelabs.com> (raw)
In-Reply-To: <87blbbhvaa.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 22 Mar 2021 19:56:29 +0100")
>> This patch adds an optional argument FORMAT to 'emacs-init-time',
>> similar to 'emacs-uptime'.
>
> I'm not quite sure what the use case is here? `emacs-uptime' uses
> format-seconds, so it's a bit different...
Hi Lars,
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
next prev parent reply other threads:[~2021-03-22 23:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 0:46 bug#47306: 28.0.50; [PATCH] Add optional FORMAT argument to 'emacs-init-time' Gabriel
2021-03-22 18:56 ` Lars Ingebrigtsen
2021-03-22 23:04 ` Gabriel [this message]
2021-03-24 9:34 ` Lars Ingebrigtsen
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=CH2PR01MB587927C402AEBE1A4FCD17008B659@CH2PR01MB5879.prod.exchangelabs.com \
--to=gabriel376@hotmail.com \
--cc=47306@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).