Giter Site home page Giter Site logo

pivaldi / pi-emacs-configuration Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 3.42 MB

Full working Emacs configuration for developers

HTML 0.12% Emacs Lisp 97.96% Shell 0.17% TeX 0.79% Python 0.07% JavaScript 0.06% XSLT 0.32% PHP 0.02% YASnippet 0.49%
emacs-configuration emacs emacs-customizations emacs-initialization emacs-lisp gnus

pi-emacs-configuration's Introduction

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.

pi-emacs-configuration's People

Contributors

jfgigand avatar pivaldi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

nvkrishna geonef

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.