   (let ((multi-term-program "rsync-copy ~/Documents/publics/* root@leonhe.me:/var/www/html/"))
                    (multi-term))
   )
-(defun eiio/omnifoucs()
-  (interactive)
-  (progn
-    (setq outData (shell-command-to-string "osascript -l JavaScript ~/Documents/OminfocusTask.scpt"))    
-    ;;(message (split-string outData))
-
-  ))
 
 (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 "NEXT") ;; exports block to this file with C-c a e
+	  (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
-          (todo "NEXT") ; review someday/maybe items
-          (todo "WAITING"))) ; review waiting items
+          )) ; review waiting items
          ;; ...other commands here
-        
+          
         ))
 (provide 'init-org-mode)
 ;;; init-org-mode.el ends here

	 :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)"  "|"  "DONE(d)")
             (sequence "WAITING(w)" "|" "CANCELED(c)")
            ))
(setq org-agenda-files
