Giter Club home page Giter Club logo

.emacs.d's Introduction

.emacs.d

Emacs configuration

About

This is my Emacs configuarion. It has been cobbled and borrowed from people who know more about Emacs and Emacs Lisp than I do. Here are some of my sources: http://www.emacswiki.org/emacs/ http://www.emacswiki.org/emacs/ESSWindowsAdvice https://github.com/boorad/emacs https://github.com/overtone/live-coding-emacs.git

Audience

You are more likely to find my configurations useful if:

  • you come from a Windows + Visual Studio background
  • you want to use Emacs primarily for Erlang development
  • you want to use Emacs on both Windows and Linux

If you think I've butchered things please let me know.

How to use these files

If you don't already have Emacs install it. I'm using Emacs 23.3.1. Clone (or download and extract) this repository into your your home directory (Linux "/" Windows "%HOME%"). Once you have a "/.emacs.d" directory edit your "~/.emacs" file to require emacs-config by adding these two lines:

(add-to-list 'load-path "~/.emacs.d")
(require 'my-config)

.. to hook up Erlang mode, edit your "~/.emacs" so that it sets the erlang-root-dir variable.

My "~/.emacs" file looks like this (on both Windows and on Linux):

;; Where is Erlang on this machine?
(if (not (boundp 'erlang-root-dir))
    (if (or (eq system-type 'windows-nt)
	    (eq system-type 'ms-dos))
	(setq erlang-root-dir "C:/bin/erlang/erl5.9") ;; Windows
      (setq erlang-root-dir "/usr/local/lib/erlang")) ;; Linux
  )

(add-to-list 'load-path "~/.emacs.d")
(require 'my-config)

(if (or (eq system-type 'windows-nt)
	    (eq system-type 'ms-dos))
	(setq default-directory "C:/code") ;; Windows
      (setq default-directory "~/code")) ;; Linux

.emacs.d's People

Contributors

bryanhunter avatar

Watchers

 avatar James Cloos avatar  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.