From: tfheen Date: Thu, 7 Feb 2008 18:49:52 +0000 (+0000) Subject: Add org-mode settings X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220b89541275dc5d86c8374f5e04c4783a34b5af;p=dotfiles Add org-mode settings git-svn-id: file:///svn/tfheen/trunk/dotfiles@1112 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/emacs b/emacs index 5ef9f84..2517c08 100644 --- a/emacs +++ b/emacs @@ -319,3 +319,19 @@ (setq auto-mode-alist (append '(("\\.js$" . javascript-mode)) auto-mode-alist)) +(setq org-remember-templates + '((?t "* TODO %?\n %i\n %a" "~/svn/plans/todo.org") + (?a "* Appointment: %?\n%^T\n%i\n %a" "~/svn/plans/todo.org"))) +(setq remember-annotation-functions '(org-remember-annotation)) +(setq remember-handler-functions '(org-remember-handler)) +(eval-after-load 'remember + '(add-hook 'remember-mode-hook 'org-remember-apply-template)) +(global-set-key (kbd "C-c r") 'remember) + +(require 'org) +(add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) +(global-set-key (kbd "C-c a") 'org-agenda) +(setq org-todo-keywords '("TODO" "STARTED" "WAITING" "DONE")) +(setq org-agenda-include-diary t) +(setq org-agenda-include-all-todo t) +