summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-02-22 13:52:34 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-02-22 13:52:34 -0800
commit1f0a0de2121302ab964660bb5a7d664bd9fde604 (patch)
tree1e7299b483396f1a6d4dedac6cf9f2bf7eeac5df
parent[emacs] load org-mode configuration (diff)
downloademacs.d-1f0a0de2121302ab964660bb5a7d664bd9fde604.tar.gz
[emacs] a few updates to org configuration
-rw-r--r--emacs.d/core/core-org.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/emacs.d/core/core-org.el b/emacs.d/core/core-org.el
index 52586a1..f61b6b3 100644
--- a/emacs.d/core/core-org.el
+++ b/emacs.d/core/core-org.el
@@ -1,3 +1,5 @@
+(defvar fcuny/org-directory "~/notes")
+
 (use-package org
   :mode ("\\.org$" . org-mode)
   :ensure t
@@ -8,14 +10,16 @@
     (org-babel-do-load-languages
      'org-babel-load-languages
      '((scheme . t)
-       (sh . t))))
+       (sh . t)
+       (calc . t))))
   :init
   (setq org-startup-indented t
         org-src-fontify-natively t
         org-src-tab-acts-natively t
         org-confirm-babel-evaluate nil
-        org-directory "~/personal"
+        org-directory fcuny/org-directory
         org-default-notes-file (concat org-directory "/refile.org")
+        org-refile-targets '((org-agenda-files . (:maxlevel . 6)))
         org-todo-keywords '((sequence "TODO(t)" "DOING(i!)" "WAITING(w!)" "|" "DONE(d!)" "CANCEL(c!)"))
         org-link-abbrev-alist '(("src" . "~/src/%s")
                                 ("jira" . "https://jira.twitter.biz/browse/%s")
@@ -26,8 +30,11 @@
         org-capture-templates '(("t" "Todo" entry (file+headline (concat org-directory "/refile.org") "Tasks")
                                  "* TODO %?\n %i")
                                 ("m" "Meeting" entry (file+headline (concat org-directory "/twitter.org") "Meetings")
+                                 "* %T %?\n %i")
+                                ("q" "Quick Note" entry (file+headline (concat org-directory "/refile.org") "Notes")
                                  "* %T %?\n %i"))
         org-agenda-files (list (concat org-directory "/twitter.org")
                                (concat org-directory "/personal.org")
                                (concat org-directory "/notebook.org"))))
 
+(provide 'core-org)