Emacs - COSCUP 2012

Embed Size (px)

Text of Emacs - COSCUP 2012

  • 1.A Introduction

2. EmacsA Introduction 3. about:kanrua Debian Developerin MozillaVim 5+ yrEmacs 5+ yrkanru@kanru.info 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. Brief History 6. TECO 7. TECMAC & TMACS EditorMACroS in TECO 8. Multics Emacs & EINE LISP Emacs 9. GNU Emacs 13.0? 10. Emacs Timelinehttp://www.jwz.org/doc/emacs-timeline.html 11. Get Emacs 12. apt-get install emacs 13. bzr://bzr.savannah.gnu.org/emacs/trunkBleeding edge! 14. Windows?http://alpha.gnu.org/gnu/emacs/windows 15. Jargons 16. -*- mode: C++ -*- 17. C-Control + 18. M-Meta + 19. M-Alt + 20. C-x C-cControl + x Control + c 21. Frame 22. Window 23. Buffer 24. Minibuffer 25. Region 26. Editing Commands 27. Escape-Meta-Alt-Control-Shift-- anonymous 28. C-g 29. C-g C-g C-g 30. C-x C-c 31. C-x C-f 32. C-{p,n,b,f} 33. C-k 34. C-a 35. C-e 36. C-a C-k 37. C-[a-z] 38. M-x 39. Window Operations 40. C-x 2split-window-below 41. C-x 3split-window-right 42. C-x 0delete-window 43. C-x 1delete-other-windows 44. C-x oother-window 45. Help System 46. Tutorial C-h t 47. C-h 48. C-h ? C-h 49. C-h k 50. C-h v 51. C-h f 52. C-h iInfo 53. M-x describe-* 54. Easy Customization 55. M-x customize 56. M-x customize-group 57. M-x customize-themes 58. ~/.emacs 59. .emacs bankruptcy... 60. ~/.emacs.d/init.el 61. http://github.com/kanru/.emacs.d () 62. Install More Extensions 63. ELPAM-x list-packages 64. ELPAhttp://marmalade-repo.org/ 65. ELPAhttp://melpa.milkbox.net/ 66. el-gethttps://github.com/dimitri/el-get 67. find el-get/recipes|wc -l2163 68. Emacs Lisp Intro. ELisp 69. GNU Emacs LispReference Manual 70. *scratch* 71. M-x ielm 72. ( ... )(+ 1 2 3) => 6 73. (defun hello ()"Hello World!") 74. (defun hello ()(interactive)(message "Hello")) M-x hello 75. (defun hello (who)(interactive "sSay hello to: ")(message "Hello %s" who))M-x hello 76. (defvar hello-times 0"Said how many times?")C-h v hello-times 77. (defcustom uuid-interface "eth0""The default interface":type string:group uuid)M-x customize-group uuid 78. (add-hook HOOK FUNCTION) 79. (defadvice FUNCTION ARGS &rest BODY) 80. (provide ) (require ) 81. Misc Tips 82. M-x server-start $ emacsclient 83. Bug Report 84. M-x report-emacs-bughttp://debbugs.gnu.org/cgi/pkgreport.cgi?package=emacs 85. Community Resources 86. EmacsWikihttp://www.emacswiki.org/ 87. Planet Emacsenhttp://planet.emacsen.org/ 88. Mailing Listshttp://news.gmane.org/index.php?prefix=gmane.emacs 89. IRC#emacs{.tw} @ freenode 90. Q&A