[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Emacs startup file
From: |
Tassilo Horn |
Subject: |
[Orgmode] Re: Emacs startup file |
Date: |
Tue, 13 Oct 2009 13:07:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
saikari keitele <address@hidden> writes:
Hi Saikari,
> I'm new to orgmode and quite new to Emacs.
Welcome!
> Could you please tell me the exact lines I have to add to the emacs
> startup file (.emacs.el) to enable orgmode?
If you use Emacs 23.1, then you don't need to do anything. Simply open
a file with .org extension will enable org-mode.
That said, you might want to specify which org files are used to
generate the agenda view. Let's say all your org files are in a
directory ~/org/, then add this code to you .emacs.
(setq org-agenda-files '("~/org"))
You might also want to set up custom global keys to fire up the agenda
or to store a link to the current document. Org's nice manual explains
how to do that:
,----[ (info "(org)Activation") ]
| (global-set-key "\C-cl" 'org-store-link)
| (global-set-key "\C-ca" 'org-agenda)
`----
Bye,
Tassilo