]> err.no Git - dotfiles/commitdiff
Add org-mode settings
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 7 Feb 2008 18:49:52 +0000 (18:49 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 7 Feb 2008 18:49:52 +0000 (18:49 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@1112 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

emacs

diff --git a/emacs b/emacs
index 5ef9f847b3039f044a7446c3a905d25500921359..2517c0872a1fa30b6c0e39a3275dbc5ce19426e3 100644 (file)
--- a/emacs
+++ b/emacs
 (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)
+