@@ -20,11 +20,52 @@ which is also *implemented using* Org-mode and [[http://git-scm.com/][git]].
20
20
21
21
#+NAME: org-el-get-packages
22
22
#+CAPTION: El-get packages for ome-org module
23
- | | Status | Description |
24
- |------------+-------------+----------------------------------|
25
- | [[http://www.emacswiki.org/emacs/Htmlize][htmlize]].el | Recommended | Export an buffer to html format. |
26
- | [[http://staff.science.uva.nl/~dominik/Tools/cdlatex/][CDLaTeX]] | Recommended | Speedy \LaTeX{} input. |
23
+ | | Status | Description |
24
+ |------------+-------------+-------------------------------------------|
25
+ | [[http://orgmode.org/][org-mode]] | Required | One of the killer Apps on Emacs platform. |
26
+ | [[http://www.emacswiki.org/emacs/Htmlize][htmlize]].el | Recommended | Export an buffer to html format. |
27
+ | [[http://staff.science.uva.nl/~dominik/Tools/cdlatex/][CDLaTeX]] | Recommended | Speedy \LaTeX{} input. |
27
28
29
+ * Org-mode upgrade
30
+ :PROPERTIES:
31
+ :CUSTOM_ID: org-mode-upgrade
32
+ :END:
33
+
34
+ #+BEGIN_QUOTE
35
+ Org 8.0 is the most disruptive major version of Org.
36
+
37
+ -- http://orgmode.org/Changes_old.html
38
+ #+END_QUOTE
39
+
40
+ So why upgrade? Because it is there, it is the future of org-mode. Second, I
41
+ want to export my org files to markdown format, some times.
42
+
43
+ You can get the latest org-mode by =M-x el-get-install RET org-mode=
44
+ directly. However, with oh-my-emacs, we need some tricks to make it work.
45
+
46
+ Oh-my-emacs use =org-babel= from =org-mode= to provide a literate emacs
47
+ configuration, so we need to =(require 'org)= just after oh-my-emacs
48
+ starts(before loading =el-get=). By default, oh-my-emacs will load the builtin
49
+ =org-mode= instead of the latest =org-mode= package from =el-get=. To get
50
+ around this, I define two variables: =el-get-org-mode-dir= and
51
+ =org-home=. Thus, if =(el-get-package-installed-p 'org-mode)=, oh-my-emacs will
52
+ recognize =org-mode= from =$HOME/.emacs.d/el-get/org-mode=. You can also
53
+ download tarball from http://orgmode.org, and then start your Emacs from
54
+ command line like this: =ORG_HOME=/path/to/latest/org-mode/ emacs=. However,
55
+ I do not recommend this way for long time daily use.
56
+
57
+ One of the most exciting features of org-mode 8.x is the new export engine,
58
+ check [[http://article.gmane.org/gmane.emacs.orgmode/65574][the mailing list]] for original announcing post. For other features, check
59
+ [[http://orgmode.org/worg/org-8.0.html][org 8.0 upgrading doc]].
60
+
61
+ #+NAME: org-mode-upgrade
62
+ #+BEGIN_SRC emacs-lisp
63
+ (defun ome-org-mode-setup ()
64
+ ;; markdown export support
65
+ (require 'ox-md))
66
+
67
+ (ome-install 'org-mode)
68
+ #+END_SRC
28
69
29
70
* Keybindings
30
71
:PROPERTIES:
0 commit comments