From: Eli Zaretskii <eliz@gnu.org>
To: Leo Liu <sdl.web@gmail.com>
Cc: 33939@debbugs.gnu.org
Subject: bug#33939: 26.1; Avoid loading libs eagerly or unnecessarily in mhtml-mode/sgml-mode
Date: Sat, 05 Jan 2019 11:47:38 +0200 [thread overview]
Message-ID: <83imz31lmt.fsf@gnu.org> (raw)
In-Reply-To: <m1bm51nn2i.fsf@gmail.com> (message from Leo Liu on Tue, 01 Jan 2019 10:12:05 +0800)
> From: Leo Liu <sdl.web@gmail.com>
> Date: Tue, 01 Jan 2019 10:12:05 +0800
>
> Switching from html-mode I have noticed mhtml-mode can take a second or
> two (unpleasant noticeable delay) to load on my 2013 macbook air. The
> following is a small patch that alleviate the problem. Is it safe for
> emacs-26?
I cannot establish whether these changes are safe for Emacs 26.2,
since they are not really trivial. Perhaps if you told more about
each change, I could make up my mind.
Some of the questions I would like to be able to answer in order to
make the decision:
. which of the 'require's you want to remove take the lion's share
of the load time?
. why was seq-mapcat used originally instead of mapcan, and what is
the semantics of replacing the former by the latter?
. why did you switch the order of eval-when-compile in sgml-mode.el?
Thanks.
next prev parent reply other threads:[~2019-01-05 9:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-01 2:12 bug#33939: 26.1; Avoid loading libs eagerly or unnecessarily in mhtml-mode/sgml-mode Leo Liu
2019-01-05 9:47 ` Eli Zaretskii [this message]
2019-01-06 4:34 ` Leo Liu
2019-01-06 15:25 ` Eli Zaretskii
2019-01-06 23:39 ` Leo Liu
2019-01-07 0:33 ` Leo Liu
2019-01-07 3:37 ` Eli Zaretskii
2019-01-07 4:16 ` Leo Liu
2019-01-07 19:56 ` Eli Zaretskii
2019-01-07 21:20 ` Leo Liu
2019-01-07 22:43 ` Leo Liu
2019-01-08 3:31 ` Eli Zaretskii
2019-01-08 4:40 ` Leo Liu
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=83imz31lmt.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=33939@debbugs.gnu.org \
--cc=sdl.web@gmail.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).