Next: Feedback, Previous: Installation, Up: Introduction
Add the following lines to your .emacs file. The last two lines define global keys for the commands org-store-link and org-agenda - please choose suitable keys yourself.
;; The following lines are always needed. Choose your own keys.
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
Furthermore, you must activate font-lock-mode in org-mode
buffers, because significant functionality depends on font-locking being
active. You can do this with either one of the following two lines
(XEmacs user must use the second option):
(global-font-lock-mode 1) ; for all buffers
(add-hook 'org-mode-hook 'turn-on-font-lock) ; org-mode buffers only
With this setup, all files with extension `.org' will be put into Org-mode. As an alternative, make the first line of a file look like this:
MY PROJECTS -*- mode: org; -*-
which will select Org-mode for this buffer no matter what
the file's name is. See also the variable
org-insert-mode-line-in-empty-file.