 	 :publishing-function org-publish-attachment)
 	("MyNote" :components ("note" "res"))
 	))
+
 (defun eiio/publish()
   (interactive)
   ;;(org-publish-project "MyNote")

(setq org-refile-use-outline-path t)
(defvar org-agenda-include-diary t)
 ;;setting workflow state
(setq org-todo-keywords '((sequence "TODO(t)"  "NEXT(n)" "|"  "DONE(d)")
             (sequence "WAITING(w)" "|" "CANCELED(c)")
            ))
(setq org-agenda-files

  (let ((multi-term-program "rsync-copy ~/Documents/publics/* root@leonhe.me:/var/www/html/"))
                   (multi-term))
  )

(setq org-agenda-include-diary t)
(global-set-key (kbd "C-c o i") 'eiio/omnifoucs)
;;org-super agenda
;; Do not dim blocked tasks
(setq org-agenda-dim-blocked-tasks nil)
(setq org-agenda-skip-deadline-prewarning-if-scheduled t)
(setq org-agenda-custom-commands
      '(("n" "Next Action"
         (
          (agenda "" ((org-agenda-span 1)))
          ;;(agenda "" ((org-agenda-span 7))) ;review upcoming deadlines and appointments
          (tags-todo "+PRIORITY=\"A\"")
	  (todo "TODO") ;; exports block to this file with C-c a e
	  )
	  nil                      ;; i.e., no local settings
         ("~/next-actions.html"))
        ("w" todo "WAITING")
        ("d" "Day Action"
         (
          (agenda "" ((org-agenda-span 1)))
          ))
        ("W" "Weekly Review"
         ((agenda "" ((org-agenda-span 7))); review upcoming deadlines and appointments
                                        ; type "l" in the agenda to review logged items 
          (todo "TOOD")
          (todo "WAITING")
          (stuck "") ; review stuck projects as designated by org-stuck-projects
          )) ; review waiting items
         ;; ...other commands here
          
        ))
(provide 'init-org-mode)
;;; init-org-mode.el ends here
