GNU bug report logs - #34328
[feature request]: autoloading buffers like autoloading elisp files or dynamic modules

Previous Next

Package: emacs;

Reported by: Zhang Haijun <ccsmile2008 <at> outlook.com>

Date: Tue, 5 Feb 2019 09:45:02 UTC

Severity: wishlist

To reply to this bug, email your comments to 34328 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#34328; Package emacs. (Tue, 05 Feb 2019 09:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zhang Haijun <ccsmile2008 <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 05 Feb 2019 09:45:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zhang Haijun <ccsmile2008 <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: [feature request]: autoloading buffers like autoloading elisp files
 or dynamic modules
Date: Tue, 5 Feb 2019 09:44:35 +0000
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



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#34328; Package emacs. (Tue, 05 Feb 2019 16:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 34328 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Zhang Haijun <ccsmile2008 <at> outlook.com>
Cc: 34328 <at> debbugs.gnu.org
Subject: Re: bug#34328: [feature request]: autoloading buffers like autoloading
 elisp files or dynamic modules
Date: Tue, 05 Feb 2019 18:20:13 +0200
> From: Zhang Haijun <ccsmile2008 <at> 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.




This bug report was last modified 6 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.