From 5b2b7b4b2edf7b882947017afca376c0b9e7a2f5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 15 May 2013 10:54:32 +0100 Subject: Emacs: fix org-mode package reference --- emacs/init.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index c90f20a..93a8d55 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -549,15 +549,15 @@ (setq calendar-week-start-day 1) (calendar-set-date-style 'iso))) -(use-package org-mode +(use-package org :bind (("C-c C-a" . org-agenda-list) ("C-c a" . org-agenda) ("C-c l" . org-store-list) ("C-c r" . org-remember) ("C-c b" . org-iswitchb)) :config (progn - (setq org-directory "~/org") - (setq org-agenda-files `(,org-directory) + (setq org-directory "~/org" + org-agenda-files `(,org-directory) org-default-notes-file (concat org-directory "/notes") @@ -588,8 +588,12 @@ org-blank-before-new-entry '((heading . t) (plain-list-item . auto)) - org-fontify-done-headline t) + org-fontify-done-headline t + org-replace-disputed-keys t + org-todo-keywords '((sequence "TODO" "STARTED" "|" "DONE") + (sequence "TOLEARN" "LEARNING" "LEARNED" "|" "MASTERED") + (sequence "|" "CANCELLED"))) (defadvice org-clock-in (after wicked activate) "Mark STARTED when clocked in" (save-excursion @@ -597,11 +601,7 @@ (org-back-to-heading t) (if (looking-at org-outline-regexp) (goto-char (1- (match-end 0)))) (if (looking-at (concat " +" org-todo-regexp "\\( +\\|[ \t]*$\\)")) - (org-todo "STARTED")))))) - :init (setq org-replace-disputed-keys t - org-todo-keywords '((sequence "TODO" "STARTED" "|" "DONE") - (sequence "TOLEARN" "LEARNING" "LEARNED" "|" "MASTERED") - (sequence "|" "CANCELLED")))) + (org-todo "STARTED"))))))) ;;;; Programming -- cgit 1.4.1