Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (24 loc) · 985 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 985 Bytes

Deepin Emacs

  • Download emacs git code:

git clone git://git.savannah.gnu.org/emacs.git
  • Compile emacs git:

sudo apt-get install build-essential git autoconf texinfo libxaw7-dev libxpm-dev libpng12-dev libjpeg-dev libtiff4-dev libgif-dev libncurses5-dev libxpm-dev libdbus-1-dev libgtk-3-dev w3m w3m-img -y
sudo mkdir -p /usr/share/deepin-emacs/common
cd ./emacs-git && ./autogen.sh
./configure --prefix=/usr/share/deepin-emacs/common --with-x-toolkit=gtk3 && make && sudo make install
  • Install Deepin emacs:

sudo cp ./site-start.el /usr/share/deepin-emacs/common/share/emacs/site-lisp/
sudo cp -r ./site-lisp /usr/share/deepin-emacs
sudo ln -s /usr/share/deepin-emacs/common/bin/emacs /usr/bin/deepin-emacs
sudo cp ./deepin-emacs.desktop /usr/share/applications/
  • Install depend for python auto-complete:

sudo apt-get install python-pip
sudo pip install jedi epc mocker