Giter Site home page Giter Site logo

Comments (5)

purcell avatar purcell commented on May 23, 2024 1

Here's another thought; you could accelerate the start-up by byte-compiling the init-*.el files, together with any .el files under ~/.emacs.d/site-lisp. (I do the latter, but not the former.) When you change files, you can then run M-x byte-recompile-directory RET ~/.emacs.d RET.

I find it inconvenient to keep the init-*.el files byte-compiled because I change them often, but compiling the contents of ~/.emacs.d/site-lisp provides a very worthwhile speed benefit.

-Steve

from emacs.d.

purcell avatar purcell commented on May 23, 2024

I think there's not much more that can be autoloaded, and I'm always looking for opportunities to do so, so I'll close this issue for now. haskell-site-file is itself an autoloads file, BTW.

from emacs.d.

purcell avatar purcell commented on May 23, 2024

I should add that I personally find up to 10 seconds acceptable, since Emacs shouldn't be constantly closed/reopened anyway. :-)

BTW: since this configuration reopens files from the previous session together with any configuration for the modes those files require, that often explains some of the start-up time. It would be possible to disable the re-opening of previous files if that's an issue for you.

from emacs.d.

redguardtoo avatar redguardtoo commented on May 23, 2024

C-u 0 M-x byte-recompile-directory RET ~/.emacs.d/site-lisp RET looks good

from emacs.d.

purcell avatar purcell commented on May 23, 2024

Ah, neat -- didn't know the initial compilation could be forced that way too.

from emacs.d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.