unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Zhang Haijun <ccsmile2008@outlook.com>
To: 34328@debbugs.gnu.org
Subject: bug#34328: [feature request]: autoloading buffers like autoloading elisp files or dynamic modules
Date: Tue, 5 Feb 2019 09:44:35 +0000	[thread overview]
Message-ID: <PS1PR06MB2759A0E1E3B6510111F42D25A86E0@PS1PR06MB2759.apcprd06.prod.outlook.com> (raw)

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



             reply	other threads:[~2019-02-05  9:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-05  9:44 Zhang Haijun [this message]
2019-02-05 16:20 ` bug#34328: [feature request]: autoloading buffers like autoloading elisp files or dynamic modules Eli Zaretskii

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=PS1PR06MB2759A0E1E3B6510111F42D25A86E0@PS1PR06MB2759.apcprd06.prod.outlook.com \
    --to=ccsmile2008@outlook.com \
    --cc=34328@debbugs.gnu.org \
    /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).