1.3 Activation
Org mode buffers need Font Lock to be turned on: this is the default in Emacs1.
There are compatibility issues between Org mode and some other Elisp packages (see Conflicts). Please take the time to check the list.
For a better experience, the three Org commands org-store-link
, org-capture
and org-agenda
ought to be accessible anywhere in Emacs, not just in Org buffers. To that effect, you need to bind them to globally available keys, like the ones reserved for users (see (elisp)Key Binding Conventions). Here are suggested bindings, please modify the keys to your own liking.
(global-set-key (kbd "C-c l") 'org-store-link)
(global-set-key (kbd "C-c a") 'org-agenda)
(global-set-key (kbd "C-c c") 'org-capture)
Files with the β.org
β extension use Org mode by default. To turn on Org mode in a file that does not have the extension β.org
β, make the first line of a file look like this:
MY PROJECTS -*- mode: org; -*-
which selects Org mode for this buffer no matter what the fileβs name is. See also the variable org-insert-mode-line-in-empty-file
.
Many commands in Org work on the region if the region is active. To make use of this, you need to have Transient Mark mode turned on, which is the default. If you do not like it, you can create an active region by using the mouse to select a region, or pressing C-SPC
twice before moving point.
- If you do not use Font Lock globally turn it on in Org buffer with β
(add-hook 'org-mode-hook 'turn-on-font-lock)
β.β©