From: "Basil L. Contovounesios" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 56260@debbugs.gnu.org, daanturo <daanturo@gmail.com>
Subject: bug#56260: 29.0.50; Provide a way to define shortdoc groups without loading shortdoc.el
Date: Tue, 28 Jun 2022 16:20:33 +0300 [thread overview]
Message-ID: <871qv83owu.fsf@tcd.ie> (raw)
In-Reply-To: <87ilolq7rc.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 28 Jun 2022 14:42:31 +0200")
Lars Ingebrigtsen [2022-06-28 14:42 +0200] wrote:
> daanturo <daanturo@gmail.com> writes:
>
>> Currently to use `define-short-documentation-group`, we must first load
>> `shortdoc.el`, but loading it isn't exactly a cheap task: my startup is
>> slowed down by ~0.0186s.
>>
>> We can achieve this with an autoloaded progn:
>
> I've now done this in Emacs 29. An alternative approach would be to
> move all the definitions of groups out of shortdoc.el into a different
> file so that loading shortdoc.el would be fast.
See also this thread that hypothesised about some alternative
approaches: https://lists.gnu.org/r/emacs-devel/2021-09/msg01719.html
Thanks,
--
Basil
prev parent reply other threads:[~2022-06-28 13:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-27 15:06 bug#56260: 29.0.50; Provide a way to define shortdoc groups without loading shortdoc.el daanturo
2022-06-28 12:42 ` Lars Ingebrigtsen
2022-06-28 13:20 ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors [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=871qv83owu.fsf@tcd.ie \
--to=bug-gnu-emacs@gnu.org \
--cc=56260@debbugs.gnu.org \
--cc=contovob@tcd.ie \
--cc=daanturo@gmail.com \
--cc=larsi@gnus.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).