7 ms·
Okay, including comments it's about 1,200 lines <https://codeberg.org/tmtvl/open-dotfiles/src/branch/main/emacs https://codeberg.org/tmtvl/open-dotfiles/src/bra
by tmtvl 14d ago
Okay, including comments it's about 1,200 lines <https://codeberg.org/tmtvl/open-dotfiles/src/branch/main/emacs https://codeberg.org/tmtvl/open-dotfiles/src/branch/main/ema...>. My user-lisp directory contains Daredevil SKK, Groovy mode, and ICL; those are all available on Microsoft GitHub.
- self_awareness 14d agoThanks. I was looking for a way to reduce my startup times because I was envious of Neovim. It doesn't work for me out of the box (I'm on macOS now), but it seems that there is a lot to steal from. ;)
- tmtvl 13d agoYeah, the way I set read-process-output-max (by reading /proc/sys/fs/pipe-max-size) is probably GNU/Linux-only. The two main ways to reduce startup times are: 1. Don't load too much at startup, use use-package's :defer keyword where ever it makes sense. 2. Set gc-cons-threshold to a very large value during initialisation and turn it back down again once everything's loaded. That said, most-positive-fixnum is probably overkill and I should look for a way to reliably set it to half of my PC's RAM. A less important third way to reduce startup times would be to byte compile everything (possibly even the early-init.el, init.el, and custom.el files, although that does mean you need to recompile whenever you change anything), but that doesn't gain you much.