[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recent emacs build made w3m-search slow to load
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Wed, 16 Oct 2019 11:03:13 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 13575
- References: <firstname.lastname@example.org>
On Tue, 15 Oct 2019 22:33:33 +0200, Tomas Nordin wrote:
> (use-package w3m-search
> (add-to-list 'w3m-search-engine-alist
> '("duck" "https://duckduckgo.com/lite/?q=%s"))
> (setq w3m-search-default-engine "duck"))
I don't know what the `use-package' does, but it would probably
load w3m-search.elc that involves loading w3m.elc and others.
It can't be helped that loading w3m.elc takes a certain amount
of time, however
> startup time is 1.8 seconds and if un-commenting it, it is 26.1 seconds.
that's too long. Does it take such a long time even if replacing
that `use-package' form with this?
(setq w3m-search-default-engine "duck"))
take over 20 seconds, too?
w3m.elc has been byte-compiled of cource, hasn't it?
> Emacs repository revision: 15ed1598b5e8aacea2825e6144cb3cce35101134
Now I'm using Emacs of the revision 2912de1 and have no problem
on the Core i5 note PC. Hmm...