manateelazycat / lazycat-emacs

Andy Stewart's emacs

Home Page:https://www.emacswiki.org/emacs/AndyStewart

Repository from Github https://github.commanateelazycat/lazycat-emacsRepository from Github https://github.commanateelazycat/lazycat-emacs

Lazycat Emacs

AndyStewart's Emacs, include configs and extensions.

Best way to study this project is try every keybinding in init-key.el ;)

Download Source Code

  1. Download lazycat-emacs source code:
git clone https://github.com/manateelazycat/lazycat-emacs.git
  1. Fetch all submodules in lazycat-emacs:
git submodule update --init --recursive

git submodule foreach git reset --hard

git submodule foreach 'git checkout $(git remote show origin | grep "HEAD branch" | sed "s/.*: //")'

Install On Arch Linux

  1. Install emacs git version:
sudo pacman -S emacs-git tree-sitter

or compile from source code:

git pull ; ./configure --prefix=/usr --with-x-toolkit=gtk3 --with-tree-sitter --without-xim ; make -j32; sudo make install ; sudo rm /usr/local/share/applications/emacsclient.desktop

Use --without-xim option to avoid input method active in Emacs, emacs-rime is better solution.

  1. Install Font:
sudo pacman -S wqy-microhei

Need install font TsangerJinKai03-6763, otherwise rime can't work

  1. Install dependency for from EAF, holo-layer, deno, key-echo

  2. Build my config symlink to emacs directory:

sudo ln -s /home/username/lazycat-emacs/site-lisp /usr/share/emacs/lazycat
  1. Copy site-start.el in emacs directory to start my config:
sudo cp /home/username/lazycat-emacs/site-start.el /usr/share/emacs/site-lisp/

Emacs29 native-comp branch will freeze if I put config in /usr/share/emacs/site-lisp/, we need put config in ~/.emacs instead to avoid Emacs29 freeze.

Update extensions.

When I want upgrade extensions to newest version, I will use below command:

git submodule foreach git pull --rebase

FAQ

  1. When you occur No avaliable parser for this buffer, please use treesit-install-language-grammar install grammar for current buffer.

Old extensions and configuration files.

In 2005, Emacs didn't have much advanced features, and it took me more than a decade to continuously improve Emacs.

Many extensions code that i wrote has been tossed, but I hope to still back up these unused code, I hope some of the those old code snippets can help other Elisp hackers

You can find those old extensions and configuration files at lazycat-emacs-time-machine

License

Lazycat Emacs is licensed under GPLv3.

About

Andy Stewart's emacs

https://www.emacswiki.org/emacs/AndyStewart


Languages

Language:Emacs Lisp 86.9%Language:Common Lisp 9.8%Language:Scheme 0.8%Language:YASnippet 0.8%Language:Makefile 0.6%Language:Shell 0.5%Language:Tree-sitter Query 0.2%Language:Gherkin 0.1%Language:Ruby 0.1%Language:Python 0.0%Language:TeX 0.0%Language:Roff 0.0%Language:M4 0.0%Language:CSS 0.0%Language:Awk 0.0%Language:JavaScript 0.0%