SlideShare a Scribd company logo
Introduction to Emacs

                           Trang-Khon Trieu1


                            2012-10-29 Mon




1
    hajimezhao@gmail.com
    Trang-Khon Trieu         Introduction to Emacs   2012-10-29 Mon   1 / 11
The story of Emacs
   Emacs is a family of text editors, described as “the extensible,
   customizable, self-documenting, real-time display editor.”
   It is written in Lisp by Richard Stallman and under GNU
   License




   Trang-Khon Trieu       Introduction to Emacs     2012-10-29 Mon   2 / 11
What are Emacs for?


    Text editing
    Coding & Debugging
    File Management
    Calendar, tasks management
    Email reading, web surfing
    etc
You can
    (1) customize Emacs in anyway you want;
    (2) develop more features by writing code in Emacs Lisp



    Trang-Khon Trieu       Introduction to Emacs   2012-10-29 Mon   3 / 11
Why Emacs?

   lightweight editor (in comparison to Eclipse, NetBean)
   an integrated platform for general purposes (email, web,
   coding, etc)
   data in the form of text files
         universal data structure, not locked in any specific format (XML,
         HTML, etc), thus technology-independent
         automating by scripts (accumulation over time)
         searchable by any search engine (Google Desktop, Recoll, etc)
   keyboard-driven
         faster than mouse-driven
         muscle memory (subconscious)



  Trang-Khon Trieu          Introduction to Emacs       2012-10-29 Mon   4 / 11
Concepts



   Control key vs. Meta key
   Buffer vs. Windows
   Major mode vs. Minor mode
          Major modes: ruby mode, java mode, dired mode, org-mode,
          etc.
          Minor mode: show line number, scrollbar, status info, etc.




   Trang-Khon Trieu         Introduction to Emacs      2012-10-29 Mon   5 / 11
Useful Major Modes
   org-mode
          quick note taking
          information organization, task and time management
          export to html, pdf, latex, freemind, etc
          publish blogs: wordpress
   org-beamer
          write presentation slides
   org-babel
          execute codes inside org-mode files




   Trang-Khon Trieu           Introduction to Emacs   2012-10-29 Mon   6 / 11
Package management

In Emacs, press: M-x package-list-packages




    Trang-Khon Trieu    Introduction to Emacs   2012-10-29 Mon   7 / 11
Customization




   define your own
          commands
          keys
          mapping between commands and keys




   Trang-Khon Trieu       Introduction to Emacs   2012-10-29 Mon   8 / 11
References

   GNU Emacs wiki - link
   The ultimate collection of emacs resources - link




   Trang-Khon Trieu       Introduction to Emacs    2012-10-29 Mon   9 / 11
Notes




  This slide is created by Emacs using org-beamer without any
                          decoration effort.




   Trang-Khon Trieu      Introduction to Emacs   2012-10-29 Mon   10 / 11
FIN




                          Question
                         Thank you!




      Trang-Khon Trieu   Introduction to Emacs   2012-10-29 Mon   11 / 11

More Related Content

Viewers also liked (12)

PDF
Emacs - COSCUP 2012
Kan-Ru Chen
 
ODP
Learn Linux: Emacs
Alexandro Colorado
 
PPT
Emacs tutorial
Lingfei Kong
 
PDF
Emacs presentation
Lingfei Kong
 
PDF
Emacs Modes I can't work without
Hitesh Sharma
 
PDF
Linux boot process
Archana Chandrasekharan
 
PPTX
Code4vn - Linux day - linux boot process
Cường Nguyễn
 
PDF
How Emacs changed my life
yukihiro_matz
 
PPT
Linux booting procedure
Dhaval Kaneria
 
PDF
(IDEユーザのための) ClojureのEmacs開発環境について
Kazuhiro Hara
 
PDF
我在豆瓣使用Emacs
董 伟明
 
PPTX
Rhel6 vs rhel7
Ratna Likhita
 
Emacs - COSCUP 2012
Kan-Ru Chen
 
Learn Linux: Emacs
Alexandro Colorado
 
Emacs tutorial
Lingfei Kong
 
Emacs presentation
Lingfei Kong
 
Emacs Modes I can't work without
Hitesh Sharma
 
Linux boot process
Archana Chandrasekharan
 
Code4vn - Linux day - linux boot process
Cường Nguyễn
 
How Emacs changed my life
yukihiro_matz
 
Linux booting procedure
Dhaval Kaneria
 
(IDEユーザのための) ClojureのEmacs開発環境について
Kazuhiro Hara
 
我在豆瓣使用Emacs
董 伟明
 
Rhel6 vs rhel7
Ratna Likhita
 

Similar to Emacs intro (20)

PDF
unix-editors.pdf
samuelEstevam3
 
PDF
Emacs Wiki
Leon Zhang
 
PDF
Byte of vim_v051
Neha Jain
 
PDF
GNU Emacs Reference Card.pdf
SergioLoaiza11
 
PDF
Emacs talk
Agam Brahma
 
PDF
Vim and Python
Python Ireland
 
PPT
Unix Lec2
Dr.Ravi
 
PDF
tools
tutorialsruby
 
PDF
tools
tutorialsruby
 
PDF
Congfigure python as_ide
Lingfei Kong
 
ODP
Perfect? clojure environment
John Stevenson
 
KEY
Rails development environment talk
Reuven Lerner
 
PDF
Vi survival guide
Jadesh Chanda
 
ODP
Augusta Linux User Group - Vim Introduction
Keith Pickett
 
KEY
Vim week
RookieOne
 
PDF
Easy Blogging With Emacs
Dashamir Hoxha
 
ODT
Easy Blogging With Emacs
Dashamir Hoxha
 
PDF
VIM for Programmers
Akash Agrawal
 
PPTX
Elixir
Toàn Hà Thanh
 
PDF
Vim Basics
parkerwightman
 
unix-editors.pdf
samuelEstevam3
 
Emacs Wiki
Leon Zhang
 
Byte of vim_v051
Neha Jain
 
GNU Emacs Reference Card.pdf
SergioLoaiza11
 
Emacs talk
Agam Brahma
 
Vim and Python
Python Ireland
 
Unix Lec2
Dr.Ravi
 
Congfigure python as_ide
Lingfei Kong
 
Perfect? clojure environment
John Stevenson
 
Rails development environment talk
Reuven Lerner
 
Vi survival guide
Jadesh Chanda
 
Augusta Linux User Group - Vim Introduction
Keith Pickett
 
Vim week
RookieOne
 
Easy Blogging With Emacs
Dashamir Hoxha
 
Easy Blogging With Emacs
Dashamir Hoxha
 
VIM for Programmers
Akash Agrawal
 
Vim Basics
parkerwightman
 
Ad

Emacs intro

  • 1. Introduction to Emacs Trang-Khon Trieu1 2012-10-29 Mon 1 [email protected] Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 1 / 11
  • 2. The story of Emacs Emacs is a family of text editors, described as “the extensible, customizable, self-documenting, real-time display editor.” It is written in Lisp by Richard Stallman and under GNU License Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 2 / 11
  • 3. What are Emacs for? Text editing Coding & Debugging File Management Calendar, tasks management Email reading, web surfing etc You can (1) customize Emacs in anyway you want; (2) develop more features by writing code in Emacs Lisp Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 3 / 11
  • 4. Why Emacs? lightweight editor (in comparison to Eclipse, NetBean) an integrated platform for general purposes (email, web, coding, etc) data in the form of text files universal data structure, not locked in any specific format (XML, HTML, etc), thus technology-independent automating by scripts (accumulation over time) searchable by any search engine (Google Desktop, Recoll, etc) keyboard-driven faster than mouse-driven muscle memory (subconscious) Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 4 / 11
  • 5. Concepts Control key vs. Meta key Buffer vs. Windows Major mode vs. Minor mode Major modes: ruby mode, java mode, dired mode, org-mode, etc. Minor mode: show line number, scrollbar, status info, etc. Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 5 / 11
  • 6. Useful Major Modes org-mode quick note taking information organization, task and time management export to html, pdf, latex, freemind, etc publish blogs: wordpress org-beamer write presentation slides org-babel execute codes inside org-mode files Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 6 / 11
  • 7. Package management In Emacs, press: M-x package-list-packages Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 7 / 11
  • 8. Customization define your own commands keys mapping between commands and keys Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 8 / 11
  • 9. References GNU Emacs wiki - link The ultimate collection of emacs resources - link Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 9 / 11
  • 10. Notes This slide is created by Emacs using org-beamer without any decoration effort. Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 10 / 11
  • 11. FIN Question Thank you! Trang-Khon Trieu Introduction to Emacs 2012-10-29 Mon 11 / 11