Skip to content

Latest commit

 

History

History
74 lines (70 loc) · 1.78 KB

myorgmode.org

File metadata and controls

74 lines (70 loc) · 1.78 KB

Org mode customizations

Agenda

  • Add workflow state in org-mode
        (setq-default org-todo-keywords
    		     '((sequence
    			"TODO(t)"
    			"FIXME(f)"
    			"IN-PROGRESS(p)"
    			"NEXT(n)"
    			"WAITING(w)"
    			"DONE(d)"
    			"CANCELLED(c)")))
        
  • This will create a date-time stamp for tasks marked as ‘DONE’.
    ;; Time finished
    (setq org-log-done 'time)
    ;; Closing note
    (setq org-log-done 'note)
        
  • Org agenda files
    (setq org-agenda-files (quote ("~/agenda/work" "~/agenda/todo")))
        

Babel

Org babel languages

    (org-babel-do-load-languages
     'org-babel-load-languages
     '((emacs-lisp . t)
	 (python . t)
	 (C . t)
	 (calc . t)
	 (latex . t)
	 (java . t)
	 (ruby . t)
	 (lisp . t)
	 (scheme . t)
	 (shell . t)
	 (sqlite . t)
	 (js . t)))

[WIP] Publishing

Blog

 ;;; package -- summary
 ;;; Commentary:
 ;;; Code:
 (require 'ox-publish)
 (setq org-publish-project-alist
	    '(
	      ("org" :components ("org-notes" "org-static"))
	      ("org-notes"
	       :base-directory "~/tmp/publishing/org/"
	       :base-extension "org"
	       :publishing-directory "~/tmp/publishing/public_html/"
	       :recursive t
	       :publishing-function org-html-publish-to-html
	       :headline-levels 4
	       :auto-preamble t
	       )
	      ("org-static"
	       :base-directory "~/tmp/publishing/org/"
	       :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
	       :publishing-directory "~/tmp/publishing/public_html/"
	       :recursive t
	       :publishing-function org-publish-attachment
	       )))