From 220b89541275dc5d86c8374f5e04c4783a34b5af Mon Sep 17 00:00:00 2001 From: tfheen Date: Thu, 7 Feb 2008 18:49:52 +0000 Subject: [PATCH] Add org-mode settings git-svn-id: file:///svn/tfheen/trunk/dotfiles@1112 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- emacs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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) + -- 2.39.5