Emacs

  • 1,675 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,675
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
24
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

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)