Emacs
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Emacs

on

  • 2,582 views

 

Statistics

Views

Total Views
2,582
Views on SlideShare
2,580
Embed Views
2

Actions

Likes
0
Downloads
24
Comments
0

1 Embed 2

http://www.slideshare.net 2

Accessibility

Categories

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.

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

Emacs Presentation Transcript

  • 1. Emacs Alejandro García Castro
  • 2. List of topics
    • Debate about editors
    • Emacs state of art
    • Emacs concepts and terms
    • Working with emacs
    • Common use modes
    • Emacs Lisp
  • 3. 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.)
  • 4. 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
  • 5. 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
  • 6. 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
  • 7. 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
  • 8. 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
  • 9. 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
  • 10. Interesting modes (C-h m)
    • Text mode
    • C mode
    • Compile mode
    • GUD mode
    • shell modes
    • cscope mini-mode (etags)
    • VC mode
  • 11. Emacs Lisp
    • Lisp evaluation examples
    • Lisp concepts: everything is a list
    • Most emacs functionality is programmed using lisp
    • Check simple functions
  • 12. 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)