Need help with emacs4developers?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

435 Stars 37 Forks 157 Commits 3 Opened issues


A document to help developers to use Emacs as a developer

Services available


Need anything else?

Contributors list

# 215,415
77 commits
# 272,572
42 commits
# 187,903
6 commits
# 563,907
2 commits
# 33,084
2 commits
# 61,163
1 commit
# 192,884
1 commit
# 509,928
1 commit

+TITLE: Emacs for developers

+AUTHOR: Pierre Lecocq

+DESCRIPTION: Learn using Emacs as a developer

+KEYWORDS: emacs, developer

+STARTUP: showall

  • Emacs for developers

This document will (hopefully) help you to use Emacs as a developer.

**** Disclaimer

  • Work in progress, so stay tuned.
  • Exports are handled by the author for the moment and do not reflect the very last changes (but are recent anyway). A scripted solution will be provided soon for contributors.

**** Contributions or requests

Do not hesitate to send a pull request or open an issue to fix, add, discuss, ... etc.

** Who is the target of this tutorial

Well, this is a good question. And I won't give an answer but some elements of answer.

What is sure is that it is not written for the people thanked below (Bastien, Dimitri, Sacha, Nic, Avdi, and so on ...), but what is interseting with Emacs is that even if you are a beginner, an intermediate / advanced user or an every day power user, you can learn from others each time you open a web page or a manual dealing with Emacs.

Therefore, this tutorial is written for people who want to improve their experience. Simple as that. Whatever is their knowledge, their feeling, their usage, their config file size (without any pun), etc ...

Remember one thing: Emacs is 30+ years old and brings new users everyday. It is a clue that this is a piece of software that deserve some attention.

  • Table of contents

    1. [[./chapters/][Introduction]]
    • 1.1 [[./chapters/][Brief history]]
    • 1.2 [[./chapters/][How to get Emacs?]]
    • 1.3 [[./chapters/][More than an editor]]
    • 1.4 [[./chapters/][The perfect development tool]]
    1. [[./chapters/][The basics]]
    • 2.1 [[./chapters/][Config files]]
    • 2.2 [[./chapters/][Executing commands]]
    • 2.3 [[./chapters/][Key bindings]]
      • 2.3.1 [[./chapters/][Manipulate files]]
      • 2.3.2 [[./chapters/][Manipulate the current line]]
      • 2.3.3 [[./chapters/][Selecting a region]]
      • 2.3.4 [[./chapters/][Commenting]]
      • 2.3.5 [[./chapters/][Windows]]
      • 2.3.6 [[./chapters/][Buffers]]
      • 2.3.7 [[./chapters/][Cancel a command]]
      • 2.3.8 [[./chapters/][The most useless command]]
    • 2.4 [[./chapters/][Help!]]
    1. [[./chapters/][Building your own editor]]
    • 3.1 [[./chapters/][First basic configuration]]
    • 3.2 [[./chapters/][General basic configuration]]
    • 3.3 [[./chapters/][Backup files]]
    • 3.4 [[./chapters/][Setting up the locales]]
    • 3.5 [[./chapters/][More configuration]]
    • 3.6 [[./chapters/][Modes]]
    • 3.7 [[./chapters/][Package managers]]
    • 3.8 [[./chapters/][Some useful packages]]
    • 3.9 [[./chapters/][Code navigation]]
    • 3.10 [[./chapters/][Setting a color theme]]
    1. [[./chapters/][Emacs developing environments]]
    • 4.1 [[./chapters/][Emacs for Ruby developers]]
    • 4.2 [[./chapters/][Emacs for Python developers]]
    • 4.3 [[./chapters/][Emacs for C/C++/Objective-C developers]]
    • 4.4 [[./chapters/][Emacs for Go developers]]
    • 4.5 [[./chapters/][Emacs for PHP developers]]
    • 4.6 [[./chapters/][Emacs for Java developers]]
    • 4.7 [[./chapters/][Emacs for R and statistics]]
    1. [[./chapters/][Special features]]
    • 5.1 [[./chapters/][Emacs as a file manager]]
    • 5.2 [[./chapters/][Working locally vs remotely]]
    • 5.3 [[./chapters/][Organize your work, write papers and manage your agenda]]
    • 5.4 [[./chapters/][Emails in Emacs]]
    • 5.5 [[./chapters/][Some great Emacs tips and tricks]]
    • 5.6 [[./chapters/][Coming from other editors (i.e Vim or SublimeText)]]
    1. [[./chapters/][Readings and resources]]
  • The demo

Here is a video that covers the basics of this tutorial. It is a simple, annoted but efficient demo of a session in Emacs.

[[][Here is the links, the sources and the dedicated config file!]]

  • The Gnus case

If you need a detailed and explained Gnus (an Emacs mail reader) configuration example, please refer to [[][this dedicated article]]

  • Exports

This document is also available in [[./exports/][a single ORG file]], [[./exports/emacs4developers.pdf][PDF]], [[./exports/emacs4developers.odt][ODT]] and [[./exports/emacs4developers.html][HTML]].

  • License

The content of this project itself is licensed under the [[][Creative Commons Attribution 3.0 license]], and the underlying source code used to format and display that content is licensed under the [[][MIT license]].

Contributors list can be found [[][here]].

  • Thanks

I want to thank some of the great people who make Emacs a very intersting piece of software or make its community very active (the sort order is absolutely not important here):

Bastien Guerry ([[][@bzg2]]), Dimitri Fontaine ([[][@tapoueh]]), Julien Danjou ([[][@juldanjou]]), Sacha Chua ([[][@sachac]]), Steve Purcell ([[][@sanityinc]]), Nic Ferrier ([[][@nicferrier]]), Avdi Grimm ([[][@avdi]]), Magnars ([[][@magnars]]), Steve Yegge ([[][@SteveYegge]]), Bozhidar Batsov ([[][@bbatsov]]), Xah Lee ([[][@xahlee]]), and many more ...

You should check those people and their work over the web, twitter, youtube, ...

And thank you for reading this !

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.