Very impressed with what I have seen in Org Mode so far. And who knows, may be, I will switch over to Emacs from vim. :)
Here is what is part of my .emacs:
(setq org-default-notes-file (concat org-directory "/notes.org")) (setq org-capture-templates '(("t" "Todo" entry (file+headline "~/Documents/organize/org-mode/todo.org" "Tasks") "* TODO %?\n %i\n %a"))) (setq org-agenda-files '("~/Documents/organize/org-mode/"))
There is a directory ~/Documents/organize/org-mode. It has todo.org and notes.org files.
Yet when I start emacs, it produces an error:
Symbol's value as variable is void: org-directory and when I try C-c c (tied to org-capture), it produces a window asking me to select a capture template. Options are: Task, Customize and Abort. Customize leads to a complicated dialog. And Task leads to an error:
Target buffer .notes for file+headline not in Org mode.
I am new to Emacs and did not even remotely get what is happening here.
What do I need to do to go beyond this?