Comments (5)
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.
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.
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.
C-u 0 M-x byte-recompile-directory RET ~/.emacs.d/site-lisp RET
looks good
from emacs.d.
Ah, neat -- didn't know the initial compilation could be forced that way too.
from emacs.d.
Related Issues (20)
- strange character HOT 2
- How to disable auto-completion? HOT 3
- custom theme not work in init-local HOT 1
- about : init-python.el HOT 2
- about:init-org.el HOT 2
- Corfu-doc has been merged into Corfu HOT 1
- mc/mark-next-like-this not working HOT 2
- Lost fringe indicators left window HOT 1
- presses one key to turn into many keys HOT 7
- About flymake-flycheck HOT 10
- Got error message, about function of sanityinc/make-read-only, pp-display-expression in .el file in emacs 29.0.60 HOT 3
- Won't load after init-local.el is created and/or removed HOT 2
- Using wdired to change file name, got error message. HOT 6
- projectile configuration make projectile's candidate display error in emacs 29 HOT 3
- support for copilot HOT 2
- keybinding issues with paredit HOT 4
- Disable Parenthese and quote autocompletion when the cursor is just before a word or characters HOT 8
- Multiple Python flymake checkers HOT 4
- treesit config not load on startup HOT 1
- treesit-extra-load-path error when start emacs HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs.d.