Giter Club home page Giter Club logo

leochencipher / lazycat-emacs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from manateelazycat/lazycat-emacs

0.0 0.0 0.0 206.56 MB

Andy Stewart's emacs

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

Shell 0.50% JavaScript 0.01% Ruby 0.06% Scheme 0.98% Python 0.04% Emacs Lisp 87.84% Common Lisp 9.02% Haskell 0.05% CoffeeScript 0.02% Awk 0.01% CSS 0.01% TeX 0.02% Makefile 0.55% M4 0.01% Pug 0.01% Roff 0.02% Gherkin 0.11% YASnippet 0.75%

lazycat-emacs's Introduction

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 | awk '/HEAD 分支|HEAD branch/ {split($0, a, ":"); print a[2]}')

Install On Mac

  1. Download emacs git code
$ git clone --depth 1 git://git.savannah.gnu.org/emacs.git
  1. Install compile dependencies
$ brew install autoconf automake texinfo gnutls pkg-config libxml2 --debug --verbose
  1. Compile emacs git
$ cd ./emacs && ./autogen.sh

$ export LDFLAGS="-L/usr/local/opt/libxml2/lib"
$ export CPPFLAGS="-I/usr/local/opt/libxml2/include"
$ export PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"

$ ./configure && make && make install
  1. Install in launcher:

    open -R nextstep/Emacs.app

    and dragging Emacs to the Applications folder.

  2. Add config in ~/.emacs

(defun add-subdirs-to-load-path (dir)
  "Recursive add directories to `load-path'."
  (let ((default-directory (file-name-as-directory dir)))
    (add-to-list 'load-path dir)
    (normal-top-level-add-subdirs-to-load-path)))
(add-subdirs-to-load-path "~/lazycat-emacs/site-lisp/")

(require 'init)

Install On Arch Linux

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

or compile from source code:

proxy-ns git pull ; ./configure ; make -j32; sudo make install ; sudo sed -i 's/Exec=emacs/Exec=proxy-ns emacs/g' /usr/local/share/applications/emacs.desktop ; sudo rm /usr/local/share/applications/emacsclient.desktop
  1. Install Font:
sudo pacman -S wqy-microhei
  1. Install dependency for from EAF

  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.

lazycat-emacs's People

Contributors

manateelazycat avatar jenenliu avatar chep avatar xiaogema avatar dependabot[bot] avatar choldrim avatar felixonmars avatar jimmoen avatar konradvoelkel avatar pylemon avatar kpengboy avatar reionwong avatar ustcscgy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.