Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

purcell's emacs configuration plus C/C++ support

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README
This is an emacs configuration tree that supports a number of
programming languages, particularly Ruby/Rails and other dynamic
languages including Clojure, PHP, Python etc.

In particular, I have a nice config for tab autocompletion, and
flymake is used to immediately highlight syntax errors in Ruby, HAML,
Python, Javascript, PHP and some other languages.

To install, clone this repo to ~/.emacs.d, i.e. ensure that the
'init.el' contained in this repo ends up at ~/.emacs.d/init.el.
Before starting up Emacs, be sure to run 'git submodule update --init'
to pull in the dependencies that have git repos. Upon starting up Emacs
for the first time, further third-party packages will be automatically
downloaded and installed, which may require 'svn' to be on your PATH.

Although these config files aren't meant to be a replacement for
emacs-starter-kit, some of the tips & tricks contained herein might be
useful to others, and there are flags at the top of init.el which can
toggle certain features that might annoy people who aren't me,
e.g. the "viper" vi emulation.

I use Emacs HEAD on a Mac, but the config should work in other
environments too, with any Emacs version >= 23. If not, please file an
issue on the github project: https://github.com/purcell/emacs.d

-Steve Purcell

========================================================================

I based my configuration on Purcell's and sync from his frequently.

My additions,
    * some major/minor modes for C/C++ developers
    * emacs-w3m (console browser)
    * eim (Chinese pinyin input method)
    * org2blog (write wordpress blog with org-mode)
    * make the configuration work under Linux and Cygwin
    * The configuration will work with Emacs version >=23.4

Purcell won't list all the 3rd party tools you need install. I will
try to list them HERE,
    * jsl (jslint)
    * aspell, and some dictionary like aspell-en
    * tidy
    * zip&unzip
      export org to odt
    * clang
      auto-complete/intellisense by using clang (http://clang.llvm.org)
    * pyflakes 
      install pip, then `pip install pyflakes`, but on cygwin you need install
      setuptool in order to install pip.

If you find any bug, please file an issue on the github project:
https://github.com/redguardtoo/emacs.d

WARNINGS,
   * by default EVIL (Vim emulation in Emacs) is used. You can comment out 
   line containing "(require 'init-evil)" in init.el to unload it.
   * Some package cannot be downloaded automatically because of network problem.
   You need manually `M-x list-packages` and install it.

-Chen Bin
Something went wrong with that request. Please try again.