Add org-caldav and org-inbox-file

This commit is contained in:
Ivan Malison 2016-08-04 13:22:19 -07:00
parent 791391b232
commit bad05d97a0

View File

@ -1420,13 +1420,14 @@ Sets environment variables by starting a shell
(defvar imalison:org-gtd-file "~/org/gtd.org") (defvar imalison:org-gtd-file "~/org/gtd.org")
(defvar imalison:org-habits-file "~/org/habits.org") (defvar imalison:org-habits-file "~/org/habits.org")
(defvar imalison:org-calendar-file "~/org/calendar.org") (defvar imalison:org-calendar-file "~/org/calendar.org")
(defvar imalison:org-inbox-file "~/org/inbox.org")
(unless (boundp 'org-capture-templates) (unless (boundp 'org-capture-templates)
(defvar org-capture-templates nil)) (defvar org-capture-templates nil))
(imalison:add-to-org-agenda-files (imalison:add-to-org-agenda-files
(list imalison:org-gtd-file imalison:org-habits-file (list imalison:org-gtd-file imalison:org-habits-file
imalison:org-calendar-file)) imalison:org-calendar-file imalison:org-inbox-file))
(add-to-list 'org-capture-templates (add-to-list 'org-capture-templates
`("t" "GTD Todo (Linked)" entry (file ,imalison:org-gtd-file) `("t" "GTD Todo (Linked)" entry (file ,imalison:org-gtd-file)
@ -1655,6 +1656,17 @@ Sets environment variables by starting a shell
(setq org-reveal-root (setq org-reveal-root
(imalison:join-paths "file://" imalison:projects-directory "reveal.js"))) (imalison:join-paths "file://" imalison:projects-directory "reveal.js")))
#+END_SRC #+END_SRC
**** org-caldav
#+BEGIN_SRC emacs-lisp
(use-package org-caldav
:defer t
:config
(progn
(setq org-caldav-url "https://www.google.com/calendar/dav"
org-caldav-inbox imalison:org-inbox-file
org-caldav-files (list imalison:org-calendar-file)
org-icalendar-timezone "America/Los_Angeles")))
#+END_SRC
*** TeX *** TeX
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package tex (use-package tex