This file assembles solutions to some of the known issues and answers some of the frequently asked questions about MinEmacs.
MinEmacs defines several keybindings, mainly using general.el. To see the full
list of keybindings defined using general, you can type SPC h g
or M-x
general-describe-keybindings
.
This is usable only when you have me-evil
enabled.
Sometimes, when trying to open a distant file via SSH on Tramp, it can get
stuck. A common reason for this can be the prompt pattern on the distant
machine. Tramp have a variable tramp-shell-prompt-pattern
that gets used to
detect if tramp got a valid shell prompt or not (checking for $ or #, among
other stuff). In machines using fancy shell configurations (Oh-my-Zsh,
Oh-my-Bash, …), the prompt can be different from the defaults. In these cases,
you need to add this to your distant machine .zshrc
or .bashrc
:
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
More information can be found here.
parinfer-rust-mode
in a non x86_64
platformThe parinfer-rust-mode
package provide precompiled libraries for Linux, Windows
and MacOS, but only for x86_64 machines. If you have a CPU (like M1 or other ARM
based CPUs) of another architecture (aarch64
, arm32
, arm64
, …), you can
compile the library from source as described in the project’s documentation, and
then add this to your config.el
:
(setq parinfer-rust-library "/path/to/your/parinfer-rust-library.so")
Odd length text property list
errorFor some reason, exporting Org documents in background can fail with this error:
(error "Odd length text property list")
In such a case, you can remove the Org cache directory then try to export again.
# Remove the Org cache directory
rm -rf ~/.emacs.d/local/cache/org/
See this comment for more information.
vterm-module
compilation issueIn some old systems, you can run into a compilation issue of vterm-module
. By
default, vterm
will try to use the libvterm
installed in your system,
however, the version provided by your system might be incompatible with
vterm-module
. In similar cases, you can try to add this to your config.el
:
;; To be able to compile vterm-module
(with-eval-after-load 'vterm
(setq vterm-module-cmake-args "-DUSE_SYSTEM_LIBVTERM=Off"))
Sometimes Emacs might freezes and stop responding, the reflex in this case is to
use C-g
to call keyboard-quit
which signals a “quit” condition. If Emacs
stay frozen, you can send SIGUSR2
via a terminal, this should stop the running
code and show a backtrace.
kill -s SIGUSR2 $(pidof emacs)