[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: <87pnixeoki.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me>
In [emacs-w3m:13574]
On Tue, 15 Oct 2019 22:33:33 +0200, Tomas Nordin wrote:
> (use-package w3m-search
> :config
> (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?
(progn
(require 'w3m-search)
(add-to-list 'w3m-search-engine-alist
'("duck" "https://duckduckgo.com/lite/?q=%s"))
(setq w3m-search-default-engine "duck"))
Does just
(require 'w3m)
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...