SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
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

Contenu connexe

En vedette (12)

Emacs - COSCUP 2012
Emacs - COSCUP 2012Emacs - COSCUP 2012
Emacs - COSCUP 2012
 
Learn Linux: Emacs
Learn Linux: EmacsLearn Linux: Emacs
Learn Linux: Emacs
 
Emacs tutorial
Emacs tutorialEmacs tutorial
Emacs tutorial
 
Emacs presentation
Emacs presentationEmacs presentation
Emacs presentation
 
Emacs Modes I can't work without
Emacs Modes I can't work withoutEmacs Modes I can't work without
Emacs Modes I can't work without
 
Linux boot process
Linux boot processLinux boot process
Linux boot process
 
Code4vn - Linux day - linux boot process
Code4vn - Linux day - linux boot processCode4vn - Linux day - linux boot process
Code4vn - Linux day - linux boot process
 
How Emacs changed my life
How Emacs changed my lifeHow Emacs changed my life
How Emacs changed my life
 
Linux booting procedure
Linux booting procedureLinux booting procedure
Linux booting procedure
 
(IDEユーザのための) ClojureのEmacs開発環境について
(IDEユーザのための) ClojureのEmacs開発環境について(IDEユーザのための) ClojureのEmacs開発環境について
(IDEユーザのための) ClojureのEmacs開発環境について
 
我在豆瓣使用Emacs
我在豆瓣使用Emacs我在豆瓣使用Emacs
我在豆瓣使用Emacs
 
Rhel6 vs rhel7
Rhel6 vs rhel7Rhel6 vs rhel7
Rhel6 vs rhel7
 

Similaire à Emacs intro

Understanding Dom
Understanding DomUnderstanding Dom
Understanding Dom
LiquidHub
 
Dotcom lms overview
Dotcom lms overviewDotcom lms overview
Dotcom lms overview
crve
 
elm-presentation.pptx
elm-presentation.pptxelm-presentation.pptx
elm-presentation.pptx
ABDBenali
 
Introductionto Xm Lmessaging
Introductionto Xm LmessagingIntroductionto Xm Lmessaging
Introductionto Xm Lmessaging
LiquidHub
 

Similaire à Emacs intro (20)

Bp205
Bp205Bp205
Bp205
 
Jmp205 Final
Jmp205 FinalJmp205 Final
Jmp205 Final
 
JMP205 - Integration of IBM Lotus Notes and Lotus Domino with Microsoft Offic...
JMP205 - Integration of IBM Lotus Notes and Lotus Domino with Microsoft Offic...JMP205 - Integration of IBM Lotus Notes and Lotus Domino with Microsoft Offic...
JMP205 - Integration of IBM Lotus Notes and Lotus Domino with Microsoft Offic...
 
Recipe 14 - Build a Staging Area for an Oracle Data Warehouse (2)
Recipe 14 - Build a Staging Area for an Oracle Data Warehouse (2)Recipe 14 - Build a Staging Area for an Oracle Data Warehouse (2)
Recipe 14 - Build a Staging Area for an Oracle Data Warehouse (2)
 
JMP201 Introduction to IBM Lotus Notes and IBM Lotus Domino Integration with ...
JMP201 Introduction to IBM Lotus Notes and IBM Lotus Domino Integration with ...JMP201 Introduction to IBM Lotus Notes and IBM Lotus Domino Integration with ...
JMP201 Introduction to IBM Lotus Notes and IBM Lotus Domino Integration with ...
 
Bp309
Bp309Bp309
Bp309
 
sidje
sidjesidje
sidje
 
ILUG 2007 - Notes and Office Integration
ILUG 2007 - Notes and Office IntegrationILUG 2007 - Notes and Office Integration
ILUG 2007 - Notes and Office Integration
 
epicenter2010 Open Xml
epicenter2010   Open Xmlepicenter2010   Open Xml
epicenter2010 Open Xml
 
Understanding Dom
Understanding DomUnderstanding Dom
Understanding Dom
 
Jmp108
Jmp108Jmp108
Jmp108
 
Dotcom lms overview
Dotcom lms overviewDotcom lms overview
Dotcom lms overview
 
Crossover
CrossoverCrossover
Crossover
 
Lotus Domino 8.5
Lotus Domino 8.5Lotus Domino 8.5
Lotus Domino 8.5
 
Introductory Mac OS X
Introductory Mac OS XIntroductory Mac OS X
Introductory Mac OS X
 
elm-presentation.pptx
elm-presentation.pptxelm-presentation.pptx
elm-presentation.pptx
 
Introductionto Xm Lmessaging
Introductionto Xm LmessagingIntroductionto Xm Lmessaging
Introductionto Xm Lmessaging
 
Dot net Introduction and their usabilities
Dot net Introduction and  their usabilitiesDot net Introduction and  their usabilities
Dot net Introduction and their usabilities
 
Mac OSX - Presentation for NEWLUG - Nov. 2010
Mac OSX - Presentation for NEWLUG - Nov. 2010Mac OSX - Presentation for NEWLUG - Nov. 2010
Mac OSX - Presentation for NEWLUG - Nov. 2010
 
Elimedia techpros
Elimedia techprosElimedia techpros
Elimedia techpros
 

Emacs intro

  • 1. 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
  • 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