2/14/2024 0 Comments Emacs shortcutsSeems a lot more polished and stable (don't really care about startup time, but it saves about a second from 2.5 to 1.5 with essentially the same feature set). Heard a lot of good things about Doom and installed it last night. Tried Spacemacs and loved it at first, but there were quite a few niggles that annoyed me - many standard Emacs ways to config things and packages clashed with the layers system (admittedly the Spacemacs guys say that you should write a layer to add features, but that seemed over the top) - window management in mu4e was a disaster. With 'which-key' and EVIL mode the current incarnations are awesome. I have recently defected back to Emacs after leaving the Emacs camp for vim in the late 90s. You can write custom autoload declarations if necessary (but ELPA packages tend to take care of that).įor run-time performance problems, my best tip is to learn all about the profiler: C-h i g (elisp)Profiling. If you are requireing libraries at init time, but don't actually need them until some later point, then you can improve your start-up time by relying on autoloading to load things on demand, and using with-eval-after-load to defer the evaluation of any dependent code until that point. The only really easy thing I can think of to give tips about is regarding loading. I could say things like "avoid running expensive code more frequently than necessary", but that's probably not particularly helpful. No small set of tips can cover all the possibilities. An Emacs configuration is a software program written in a general-purpose programming language - and as with any other language, you can write a slow elisp program in any number of ways. Now that annoys some people and I think those attitudes are part of the reason for the popularity of posts like the recent "out of the box emacs" and more philosophical takes like Prot's videos.Īgain, it's really hard to say. I wasn't sure where to fit it in, but I think part of the reasoning behind the popular definition of "vanilla emacs" is nearly no one considers Emacs without a large configuration as something worth talking about. I think there is some value in viewing it that way, but in practice most don't and the definitions used and language formed reflect that. I usually hear "emacs with default config" or "emacs -Q" to describe what you (and probably some others) describe as "vanilla emacs". I get what you mean, but that definition allows for no difference between my custom config and dooms custom config so that's not the definition that is used. "vanilla emacs configured with things I need" is what everyone is using The changing definition of the word literally for instance. Language and meaning is arrived at by popular usage. This is the only useful way to define it, as anything beyond that can mean anything at all, (And the subject of this thread should have been something along the lines of "Doom emacs vs hand-rolled config".) Someone interested in "the performance of emacs with $most-used-mode" (where that mode is not going to get enabled by default) should be asking about "the performance of emacs with $most-used-mode", or "the performance of vanilla emacs plus $most-used-mode", but definitely not just "the performance of vanilla emacs". "vanilla emacs configured with things I need" is what everyone is using - it describes every Emacs configuration (and therefore a vast range of performance characteristics). This is the only useful way to define it, as anything beyond that can mean anything at all, and hence the term would cease to have any meaning. The term "vanilla" is used to mean "out of the box" behaviours. which, at that point, is no longer vanilla emacs. I think most people mean "vanilla emacs configured with things I need". Vanilla emacs means no configuration at all
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |