Emacs Alejandro García Castro
List of topics <ul><li>Debate about editors </li></ul><ul><li>Emacs state of art </li></ul><ul><li>Emacs concepts and term...
Introduction <ul><li>What work do you usually do? </li></ul><ul><li>Thinking about usual tasks for a hacker </li></ul><ul>...
Introduction (II) <ul><li>&quot;The editor should be an extension of your hand: make sure your editor is configurable, ext...
Emacs: text editor? ;-) <ul><li>It is the tool chosen by a lot of smart developers </li></ul><ul><li>History, is was one o...
Emacs: text editor? ;-) (II) <ul><li>The truth is that it is a Lisp interpreter that allows you to edit text, among many o...
Emacs concepts, terms and initial contact <ul><li>use the refcard </li></ul><ul><li>http://marc-abramowitz.com/download/em...
Emacs concepts, terms and initial contact (II) <ul><li>you do not cut, you kill, and you do not paste, you yank ;-) </li><...
Emacs concepts, terms and initial contact (III) <ul><li>obtaining help </li></ul><ul><li>macros, powerful and easy to use ...
Interesting modes (C-h m) <ul><li>Text mode </li></ul><ul><li>C mode </li></ul><ul><li>Compile mode </li></ul><ul><li>GUD ...
Emacs Lisp <ul><li>Lisp evaluation examples </li></ul><ul><li>Lisp concepts: everything is a list </li></ul><ul><li>Most e...
References <ul><li>http://www.gnu.org/software/emacs/ </li></ul><ul><li>http://www.emacswiki.org/ </li></ul><ul><li>Learni...
Upcoming SlideShare
Loading in...5
×

Emacs

1,797

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,797
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
25
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Emacs

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

    Clipping is a handy way to collect important slides you want to go back to later.

×