gcmh
The Garbage Collector Magic Hack (by emacsmirror)
emacs-libvterm
Emacs libvterm integration (by akermu)
gcmh | emacs-libvterm | |
---|---|---|
7 | 35 | |
105 | 1,646 | |
0.0% | - | |
0.0 | 4.4 | |
over 3 years ago | 8 days ago | |
Emacs Lisp | Emacs Lisp | |
- | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of gcmh.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-30.
-
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.
emacs-libvterm
Posts with mentions or reviews of emacs-libvterm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-20.
-
bash scripts i use daily currently (for non-emacs terminal)
Also, look into vterm_prompt_end to get this updated vterm-buffer-local anytime your prompt emits the cwd. https://github.com/akermu/emacs-libvterm
-
Emacs couldn't render terminal characters
Emacs or term? If the latter, I'd recommend using vterm if it is a possibility for you - https://github.com/akermu/emacs-libvterm
-
BASH, ZSH, FISH. How about Eshell?
They are actually working on even better Emacs integration. Granted, vterm is an external library, so there will always be a layer between the editor and the terminal.
-
libvterm directory tracking not working?
I've followed the steps shown in the README: sh vterm_printf() { if [ -n "$TMUX" ] && ([ "${TERM%%-*}" = "tmux" ] || [ "${TERM%%-*}" = "screen" ]); then # Tell tmux to pass the escape sequences through printf "\ePtmux;\e\e]%s\007\e\\" "$1" elif [ "${TERM%%-*}" = "screen" ]; then # GNU screen (screen, screen-256color, screen-256color-bce) printf "\eP\e]%s\007\e\\" "$1" else printf "\e]%s\e\\" "$1" fi } vterm_prompt_end() { vterm_printf "51;A$(whoami)@$(hostname):$(pwd)" } setopt PROMPT_SUBST PROMPT=$PROMPT'%{$(vterm_prompt_end)%}' but it is simply not working.
-
Help wanted: Zsh completion like Vertico+Orderless
[1]https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/fzf [2]https://github.com/romkatv/powerlevel10k [3]https://starship.rs/ [4]https://github.com/tmux/tmux [5]https://github.com/ahendriksen/ob-tmux [6]https://github.com/akermu/emacs-libvterm [7]https://github.com/tmux-plugins/tpm
- Emacs 29 is nigh What can we expect?
-
two weeks with emacs as a vimmer
Have checked out https://github.com/akermu/emacs-libvterm? It has everything you need to know. Since you are a developer I expect it will be easy for you. Thanks for sharing your experience:)
-
org-mode + vterm + tmux == ❤️❤️❤️
Install the absolutely excellent vterm package: https://github.com/akermu/emacs-libvterm
-
The email that made me convert to emacs
https://github.com/akermu/emacs-libvterm is a possible best of both worlds that I haven't tried yet.
- Emacs: Mastering Eshell
What are some alternatives?
When comparing gcmh and emacs-libvterm you can also consider the following projects:
beacon - A light that follows your cursor around so you don't lose it!
vterm-toggle - toggles between the vterm buffer and whatever buffer you are editing.
emacs-faff-theme - Emacs Faff Theme - a light theme based on the Emacs default, extensively tweaked.
multi-vterm - Managing multiple vterm buffers in Emacs
lambda-emacs - Emacs distribution with sane defaults, pre-configured packages, and useful functions.
zoxide - A smarter cd command. Supports all major shells.
GNU Emacs - Mirror of GNU Emacs
exwm - Emacs X Window Manager
build-emacs-macos - Build script for emacs and macos
ace-window - Quickly switch windows in Emacs
emacs - Mirror of GNU Emacs