emacs on lpc
- git clone git@github.com:johnalison/dotfiles.git
- Tangled Emacs.org on lpc
- soft linked init.el to .emacs
- open emacs… lots of straight installs
- Errors in magit
- deleted .emacs.d directory and now trying again.
- Problem is disk space… moving .emacs.d to nobackup
- Mainly solved … but lots still broken
- Looks like need to upgrade emacs
Installling emacs…
# deps you'll need on the system (already present on many HPC boxes): # gcc/g++, make, ncurses, gnutls, libX11 (optional), libjpeg/libpng (optional), libgccjit (for native-comp), tree-sitter, jansson (JSON) mkdir -p "$HOME/opt/src" && cd "$HOME/opt/src" # Download a release tarball (swap VERSION for what you want, e.g., 30.1 or 29.4) wget https://ftp.gnu.org/gnu/emacs/emacs-VERSION.tar.xz tar xf emacs-VERSION.tar.xz cd emacs-VERSION # Configure to install into ~/.local (no sudo); terminal-only build is simplest ./configure \ --prefix="$HOME/.local" \ --with-modules \ --with-tree-sitter \ --with-json \ --without-x # If you *do* have libgccjit and want native compilation, add: # --with-native-compilation # If you *don’t* have gnutls, you can add --without-gnutls (but ELPA/MELPA TLS will suffer) make -j"$(nproc)" make install
did:
./configure --prefix="$HOME/.local" --with-modules --with-tree-sitter --with-json --without-x --with-gnutls=ifavailable --with-tree-sitter=ifavailable
- Otherwise looks good…
- more problems with emacs init…fixed in dotfiles
- installing emacs copilot server following the instructions there