* bug#34328: [feature request]: autoloading buffers like autoloading elisp files or dynamic modules
@ 2019-02-05 9:44 Zhang Haijun
2019-02-05 16:20 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Haijun @ 2019-02-05 9:44 UTC (permalink / raw)
To: 34328
I use desktop to remember my opened buffers. There are about 220 buffers now. Everytime I start Emacs, I see the most time is spent on loading buffers. The total startup time is about 6s or more, which is too long for me.
I know the lazy-loading feature of desktop. But I don’t like it because:
1. I can’t switch to buffer which is now loaded by desktop.
2. If I quit emacs before all lazy-loading finished, some buffers will not be remembered by desktop.
There may be two solutions:
1. Load multiple buffers concurrently
2. Autoload buffers like autoloading elisp files or dynamic modules
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#34328: [feature request]: autoloading buffers like autoloading elisp files or dynamic modules
2019-02-05 9:44 bug#34328: [feature request]: autoloading buffers like autoloading elisp files or dynamic modules Zhang Haijun
@ 2019-02-05 16:20 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2019-02-05 16:20 UTC (permalink / raw)
To: Zhang Haijun; +Cc: 34328
> From: Zhang Haijun <ccsmile2008@outlook.com>
> Date: Tue, 5 Feb 2019 09:44:35 +0000
>
> There may be two solutions:
> 1. Load multiple buffers concurrently
This cannot be done without very extensive changes in how the Lisp
interpreter works. Currently, we cannot allow more than one Lisp
thread at a time.
> 2. Autoload buffers like autoloading elisp files or dynamic modules
This should be doable, I think. Patches are welcome.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-05 16:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-05 9:44 bug#34328: [feature request]: autoloading buffers like autoloading elisp files or dynamic modules Zhang Haijun
2019-02-05 16:20 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.