unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Gabriel <gabriel376@hotmail.com>
Cc: 47306@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	[thread overview]
Message-ID: <87czvoevy8.fsf@gnus.org> (raw)
In-Reply-To: <CH2PR01MB587927C402AEBE1A4FCD17008B659@CH2PR01MB5879.prod.exchangelabs.com> (Gabriel's message of "Mon, 22 Mar 2021 20:04:13 -0300")

Gabriel <gabriel376@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





      reply	other threads:[~2021-03-24  9:34 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
2021-03-24  9:34     ` Lars Ingebrigtsen [this message]

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=87czvoevy8.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=47306@debbugs.gnu.org \
    --cc=gabriel376@hotmail.com \
    /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).