Full working Emacs configuration for developers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
etc
site-lisp
.gitignore
.gitmodules
README.md
RefCard.org
init.el
install.sh
pi-parameters.el
user-post-init-example.el
user-pre-init-example.el

README.md

About

Here is not only a clean configuration of Emacs but a full working bundle that I use daily for personal and professional developments ; it can be installed and working in two minutes.
If you already have a working Emacs configuration, the install process avoids to overwrite your configuration and you can go back easily.
This bundle only works on a Unix-like system and is intensively used in Debian GNU/Linux Stretch with GNU Emacs 25.1.1.
However, this program is distributed in the hope that it will be useful, but without any warranty ; without even the implied warranty of merchantability or fitness for a particular purpose.

Dependencies

Some Emacs packages are not distributed in the bundle because they are usually provided as system package.

If you're lucky to run on Debian/Ubuntu GNU/Linux, you can execute the following command line as root (sudo for the Ubuntu users) in order to install some useful system packages that will be handle by this configuration :

apt-get install \
  git \
  apel \
  aspell \
  aspell-en \
  aspell-fr \
  dictionaries-common \
  global \
  libnotify-bin \
  xosd-bin \
  flim \
  xfonts-terminus \
  xfonts-terminus-dos \
  xfonts-terminus-oblique \
  ttf-ancient-fonts \
  silversearcher-ag

If you attempt to code in Python, you need to install theses packages :

apt-get install \
  python3 \
  pymacs \
  python-rope \
  python-ropemacs \
  pylint \
  virtualenv \
  python-pip \

Installation

Now you can grab the bundle and install it with the following command lines (you can change emacs.d with an other name, it will be the new repository where the bundle lives).

cd
git clone https://github.com/pivaldi/pi-emacs-configuration.git emacs.d
cd emacs.d
git checkout -b mybranch
chmod u+x ./install.sh
./install.sh

Keep up to date

If you want to customize this configuration, but want to be update of my changes without any conflicts, you can write your own code in two files :

  • user-pre-init.el which will be loaded before any other configuration ;
  • user-post-init.el which will be loaded at the end of the configuration.

To retrieve my changes, execute these commands in the directory where lives the code (~/emacs.d the default)

git commit -a -m 'My configuration changes'
git fetch origin
git merge origin/master

If you encounter any problem you can revert to your last configuration by executing git reset --hard HEAD.

Know issue

My configuration has a minor conflict with icicles, if you want absolutely the icicles features let me know.