gcmh
corfu
gcmh | corfu | |
---|---|---|
7 | 44 | |
105 | 1,029 | |
0.0% | - | |
0.0 | 8.9 | |
over 3 years ago | 4 days ago | |
Emacs Lisp | Emacs Lisp | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gcmh
-
The original magic Emacs garbage collection hack
cf. https://github.com/emacsmirror/gcmh (the author's [=Andrea Corallo's] Emacs package "GCMH - the Garbage Collector Magic Hack")
-
is it just me, or LSP mode is very slow in emacs?
A lot of people use way higher values than 800 KB without any problems. As a matter of fact, I've been using 256 MB for a very long time, haven't noticed any issues with it. So I wouldn't call 1 GB madness, it can be perfectly fine in some cases, especially if one uses gcmh, so it has a high chance that GCs will happen when the user doesn't interact with emacs (I also setup emacs to do GC when emacs loses focus. This means that GC pause is invisible most of the time for me). I strongly prefer very rare, short GC pauses than microstuttering all the time. Also, some operations apply a lot of pressure to the memory system, and do hundreds of GCs with the default setting, so most of the CPU time is spent in the GC when these operations run. Increasing gc-cons-threshold makes such operations much faster which means less pauses.
-
Setting up a fundraiser for multi-threaded Emacs, any thoughts on this?
One possible solution is to switch to a LSP approach. You should also take a look at the garbage-collector-magic-hack package: https://github.com/emacsmirror/gcmh
-
Chosing an Emacs Distro on M1 OS X
If you experience some lag, my first advice would be to install the GCMH package. It basically changes the garbage-collection rules to ensure that most garbage collection will happen in small bouts while Emacs is idle. After installing it I've never had my Emacs lag on me. This wouldn't address the retina-display issues you mentioned, but I've never experienced those with emacs-plus.
-
Will we be ever seeing multithreading in emacs?
I've seen gcmh recommended as a library that configures the garbage collector for you. Not sure if it is truly a "one size fits all" solution though.
- make emacs run 100% faster and snappier
-
Configuring emacs
I’d add that for 1) beacon is a good package. For 2), this may be an issue where you have multiple emacs configuration files. This is a serious problem. 3) be patient, and use the magic GC hack. To add to that, you should probably set the GC threshold to be high. 4) projectile? 5)emacs -nw.
corfu
- Does eglot support autocomplete candidates with the same name?
-
anybody here do completion-on-demand, instead of automagically (dwim) ?
You could try corfu. It has auto-completion disabled by default and works most places with M-Tab. Or you could set a longish corfu-auto-delay (0.75s say), and let auto popup only when you stop to ponder a while.
- is it just me, or LSP mode is very slow in emacs?
-
Code completion candidates displayed in minibuffer
Corfu supports this. Or at least it allows you to move completions to the mini buffer which I find quiet useful.
-
Returning emacs user - what packages are common now?
A substantial section of the community is using corfu instead of company, but I wouldn't say company is out of date by any means. In emacs 29 eglot will be a built in, which might act as a replacement for lsp-mode depending on what functionality you need.
-
Why does elpaca make emacs startup so much faster?
Wow, interesting that my response is getting down voted. It seems not enough that I give away my work for free. Nevertheless I appreciate support from the community, as other Emacs package developers. The support is actually helpful. To clarify, publishing my configuration would translate into quite a bit of work, requiring separation of private and public bits.
-
How do I take priority from Evil's escape key?
I am currently using evil and corfu, but I want to configure such that pressing a single escape will invoke corfu-quit when its UI is active (because pressing "C-g" is harder).
-
Emacs lags when making the auto completion pop-up with corfu
A few days ago I found an unexplained slowness when using Corfu on Emacs 29 with pgtk. I stripped my configuration to basically just Corfu, and still had a noticeable delay. Maybe it is related to your problem. https://github.com/minad/corfu/issues/307
-
Replacing strings with Unicode symbols.
The most straight forward solution is probably the package company-math. (that's what I use but with corfu and cape)
-
How to select candidate with argument number only in corfu-indexed mode?
See here: https://github.com/minad/corfu/issues/231
What are some alternatives?
beacon - A light that follows your cursor around so you don't lose it!
company-mode - Modular in-buffer completion framework for Emacs
emacs-faff-theme - Emacs Faff Theme - a light theme based on the Emacs default, extensively tweaked.
emacs-jedi - Python auto-completion for Emacs
lambda-emacs - Emacs distribution with sane defaults, pre-configured packages, and useful functions.
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
GNU Emacs - Mirror of GNU Emacs
company-box - A company front-end with icons
build-emacs-macos - Build script for emacs and macos
company-quickhelp - Documentation popup for Company
emacs-libvterm - Emacs libvterm integration
posframe - Pop a posframe (just a child-frame) at point, posframe is a **GNU ELPA** package!