Upcoming SlideShare
Loading in...5







Total Views
Views on SlideShare
Embed Views



1 Embed 2

http://www.slideshare.net 2



Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Emacs Emacs Presentation Transcript

    • Emacs Alejandro García Castro
    • List of topics
      • Debate about editors
      • Emacs state of art
      • Emacs concepts and terms
      • Working with emacs
      • Common use modes
      • Emacs Lisp
    • Introduction
      • What work do you usually do?
      • Thinking about usual tasks for a hacker
      • What do you usually do in your daily work? Or what tasks do you guess you are going to do?
      • Tip: reading/editing text and "using" it for different purposes (code, emails, documentation, etc.)
    • Introduction (II)
      • "The editor should be an extension of your hand: make sure your editor is configurable, extensible, and programmable." The Pragmatic Programmer
      • If you are a hacker you are going to handle code most of the time, you have to choose a tool that improves your performance
    • Emacs: text editor? ;-)
      • It is the tool chosen by a lot of smart developers
      • History, is was one of the first applications of the free software movement, there was commercial versions in the beginning though
      • It stands for "Editing Macros", rumor has it that it is a play on some Stallman ice cream store
    • Emacs: text editor? ;-) (II)
      • The truth is that it is a Lisp interpreter that allows you to edit text, among many other things
      • Editors wars
    • Emacs concepts, terms and initial contact
      • use the refcard
      • http://marc-abramowitz.com/download/emacs_22_reference_card.pdf
      • meta key (M), control key (C)
      • file, buffer, frame and window
      • modes: major and minor
      • movement commands
      • mark and point
    • Emacs concepts, terms and initial contact (II)
      • you do not cut, you kill, and you do not paste, you yank ;-)
      • functions and key bindings
      • undo
      • cancel commands
      • search and replace
      • configure .emacs
    • Emacs concepts, terms and initial contact (III)
      • obtaining help
      • macros, powerful and easy to use way to repeat series of commands
      • define macros
      • use last macro
      • you can name it, save it and bind it to key
    • Interesting modes (C-h m)
      • Text mode
      • C mode
      • Compile mode
      • GUD mode
      • shell modes
      • cscope mini-mode (etags)
      • VC mode
    • Emacs Lisp
      • Lisp evaluation examples
      • Lisp concepts: everything is a list
      • Most emacs functionality is programmed using lisp
      • Check simple functions
    • References
      • http://www.gnu.org/software/emacs/
      • http://www.emacswiki.org/
      • Learning GNU Emacs, Third Edition, by Debra Cameron (Author), James Elliott (Author), Marc Loy (Author), Eric Raymond (Author), Bill Rosenblatt (Author)