A Introduction
EmacsA Introduction
about:kanrua Debian Developerin MozillaVim 5+ yrEmacs 5+ yrkanru@kanru.info
about:licenseThis work is licensed under the Creative CommonsAttribution-ShareAlike 3.0 Unported License. To view acopy of...
Brief History   簡明歷史
TECO 起源
TECMAC & TMACS EditorMACroS in TECO
Multics Emacs & EINE   第一個使用 LISP 的 Emacs
GNU Emacs 13.0?     首次公開
Emacs Timelinehttp://www.jwz.org/doc/emacs-timeline.html
Get Emacs 如何取得?
apt-get install emacs
bzr://bzr.savannah.gnu.org/emacs/trunk            Bleeding edge!
Windows?http://alpha.gnu.org/gnu/emacs/windows
Jargons  術語
-*- mode: C++ -*-       模式
C-<key>Control + <key>
M-<key>Meta + <key>
M-<key>Alt + <key>
C-x C-cControl + x Control + c
Frame程式外框
Window 分割視窗
Buffer
Minibuffer
Region
Editing Commands     編輯指令
Escape-Meta-Alt-Control-Shift                    -- anonymous
C-g逃生鍵
C-g C-g C-g   塊陶阿
C-x C-c  離開
C-x C-f  開檔
C-{p,n,b,f}   上下左右
C-k刪除
C-a行頭
C-e行尾
C-a C-k 刪除一行
C-[a-z] 各有功用
M-x執行指令
Window Operations      視窗操作
C-x 2split-window-below
C-x 3split-window-right
C-x 0delete-window
C-x 1delete-other-windows
C-x oother-window
Help System強大的說明輔助系統
Tutorial C-h t
C-h <key> 取得各種說明
C-h ?說明 C-h
C-h k <key>   按鍵資訊
C-h v變數資訊
C-h f函數資訊
C-h iInfo 系統
M-x describe-*   取得各種資訊
Easy Customization      簡易設定法
M-x customize   進入設定模式
M-x customize-group     進入分類設定模式
M-x customize-themes     進入主題設定模式
~/.emacs使用者設定檔
.emacs bankruptcy  亂中有序直到有一天...
~/.emacs.d/init.el     新・使用者設定檔
http://github.com/kanru/.emacs.d        省錢收納小技巧 (誤)
Install More Extensions      安裝更多擴充套件
ELPAM-x list-packages
ELPAhttp://marmalade-repo.org/
ELPAhttp://melpa.milkbox.net/
el-gethttps://github.com/dimitri/el-get
find el-get/recipes|wc -l          2163
Emacs Lisp Intro.     ELisp 簡介
GNU Emacs LispReference Manual      必讀
*scratch* 來塗鴉吧!
M-x ielm互動式程式設計
(<op> <a1> <a2> ... <aN>)        (+ 1 2 3) => 6
(defun hello ()  "Hello World!")     定義函式
(defun hello ()  (interactive)  (message "Hello"))       M-x hello
(defun hello (who)  (interactive "sSay hello to: ")  (message "Hello %s" who))            M-x hello
(defvar hello-times 0  "Said how many times?")      C-h v hello-times
(defcustom uuid-interface "eth0"  "The default interface"  :type string  :group uuid)    M-x customize-group uuid
(add-hook HOOK FUNCTION)
(defadvice FUNCTION ARGS                 &rest BODY)
(provide <feature>)   (require <feature>)
Misc Tips  小技巧
M-x server-start $ emacsclient <file>
Bug Report  回報問題
M-x report-emacs-bughttp://debbugs.gnu.org/cgi/pkgreport.cgi?package=emacs
Community Resources       社群資源
EmacsWikihttp://www.emacswiki.org/
Planet Emacsenhttp://planet.emacsen.org/
Mailing Listshttp://news.gmane.org/index.php?prefix=gmane.emacs
IRC#emacs{.tw} @ freenode
Q&A
Emacs - COSCUP 2012
Emacs - COSCUP 2012
Emacs - COSCUP 2012
Emacs - COSCUP 2012
Upcoming SlideShare
Loading in …5
×

Emacs - COSCUP 2012

7,362 views

Published on

Published in: Technology

Emacs - COSCUP 2012

  1. 1. A Introduction
  2. 2. EmacsA Introduction
  3. 3. about:kanrua Debian Developerin MozillaVim 5+ yrEmacs 5+ yrkanru@kanru.info
  4. 4. about:licenseThis work is licensed under the Creative CommonsAttribution-ShareAlike 3.0 Unported License. To view acopy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to CreativeCommons, 444 Castro Street, Suite 900, Mountain View,California, 94041, USA.
  5. 5. Brief History 簡明歷史
  6. 6. TECO 起源
  7. 7. TECMAC & TMACS EditorMACroS in TECO
  8. 8. Multics Emacs & EINE 第一個使用 LISP 的 Emacs
  9. 9. GNU Emacs 13.0? 首次公開
  10. 10. Emacs Timelinehttp://www.jwz.org/doc/emacs-timeline.html
  11. 11. Get Emacs 如何取得?
  12. 12. apt-get install emacs
  13. 13. bzr://bzr.savannah.gnu.org/emacs/trunk Bleeding edge!
  14. 14. Windows?http://alpha.gnu.org/gnu/emacs/windows
  15. 15. Jargons 術語
  16. 16. -*- mode: C++ -*- 模式
  17. 17. C-<key>Control + <key>
  18. 18. M-<key>Meta + <key>
  19. 19. M-<key>Alt + <key>
  20. 20. C-x C-cControl + x Control + c
  21. 21. Frame程式外框
  22. 22. Window 分割視窗
  23. 23. Buffer
  24. 24. Minibuffer
  25. 25. Region
  26. 26. Editing Commands 編輯指令
  27. 27. Escape-Meta-Alt-Control-Shift -- anonymous
  28. 28. C-g逃生鍵
  29. 29. C-g C-g C-g 塊陶阿
  30. 30. C-x C-c 離開
  31. 31. C-x C-f 開檔
  32. 32. C-{p,n,b,f} 上下左右
  33. 33. C-k刪除
  34. 34. C-a行頭
  35. 35. C-e行尾
  36. 36. C-a C-k 刪除一行
  37. 37. C-[a-z] 各有功用
  38. 38. M-x執行指令
  39. 39. Window Operations 視窗操作
  40. 40. C-x 2split-window-below
  41. 41. C-x 3split-window-right
  42. 42. C-x 0delete-window
  43. 43. C-x 1delete-other-windows
  44. 44. C-x oother-window
  45. 45. Help System強大的說明輔助系統
  46. 46. Tutorial C-h t
  47. 47. C-h <key> 取得各種說明
  48. 48. C-h ?說明 C-h
  49. 49. C-h k <key> 按鍵資訊
  50. 50. C-h v變數資訊
  51. 51. C-h f函數資訊
  52. 52. C-h iInfo 系統
  53. 53. M-x describe-* 取得各種資訊
  54. 54. Easy Customization 簡易設定法
  55. 55. M-x customize 進入設定模式
  56. 56. M-x customize-group 進入分類設定模式
  57. 57. M-x customize-themes 進入主題設定模式
  58. 58. ~/.emacs使用者設定檔
  59. 59. .emacs bankruptcy 亂中有序直到有一天...
  60. 60. ~/.emacs.d/init.el 新・使用者設定檔
  61. 61. http://github.com/kanru/.emacs.d 省錢收納小技巧 (誤)
  62. 62. Install More Extensions 安裝更多擴充套件
  63. 63. ELPAM-x list-packages
  64. 64. ELPAhttp://marmalade-repo.org/
  65. 65. ELPAhttp://melpa.milkbox.net/
  66. 66. el-gethttps://github.com/dimitri/el-get
  67. 67. find el-get/recipes|wc -l 2163
  68. 68. Emacs Lisp Intro. ELisp 簡介
  69. 69. GNU Emacs LispReference Manual 必讀
  70. 70. *scratch* 來塗鴉吧!
  71. 71. M-x ielm互動式程式設計
  72. 72. (<op> <a1> <a2> ... <aN>) (+ 1 2 3) => 6
  73. 73. (defun hello () "Hello World!") 定義函式
  74. 74. (defun hello () (interactive) (message "Hello")) M-x hello
  75. 75. (defun hello (who) (interactive "sSay hello to: ") (message "Hello %s" who)) M-x hello
  76. 76. (defvar hello-times 0 "Said how many times?") C-h v hello-times
  77. 77. (defcustom uuid-interface "eth0" "The default interface" :type string :group uuid) M-x customize-group uuid
  78. 78. (add-hook HOOK FUNCTION)
  79. 79. (defadvice FUNCTION ARGS &rest BODY)
  80. 80. (provide <feature>) (require <feature>)
  81. 81. Misc Tips 小技巧
  82. 82. M-x server-start $ emacsclient <file>
  83. 83. Bug Report 回報問題
  84. 84. M-x report-emacs-bughttp://debbugs.gnu.org/cgi/pkgreport.cgi?package=emacs
  85. 85. Community Resources 社群資源
  86. 86. EmacsWikihttp://www.emacswiki.org/
  87. 87. Planet Emacsenhttp://planet.emacsen.org/
  88. 88. Mailing Listshttp://news.gmane.org/index.php?prefix=gmane.emacs
  89. 89. IRC#emacs{.tw} @ freenode
  90. 90. Q&A

×