Skip to content

Instantly share code, notes, and snippets.

@alexpos
Forked from ype/gist:8684551
Created January 29, 2014 09:34
Show Gist options
  • Save alexpos/8684574 to your computer and use it in GitHub Desktop.
Save alexpos/8684574 to your computer and use it in GitHub Desktop.

Revisions

  1. anton created this gist Jan 29, 2014.
    17 changes: 17 additions & 0 deletions gistfile1.el
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    ;;Add your default-elisp task id to "id-of-default-elisp-task"
    (defvar p_e/default-elisp-id "id-of-default-elisp-task")

    ;;This lets you M-x to your elisp task
    (defun p_e/clock-in-default-elisp ()
    (interactive)
    (org-with-point-at (org-id-find p_e/default-elisp-id 'marker)
    (org-clock-in '(16))))

    ;;In the elisp task do something like this...
    ;; *** Elisp
    ;; :PROPERTIES:
    ;; :ID: emacs should generate this automagically
    ;; :EFFORT: 1.00
    ;; :END:
    ;;
    ;;Here's a helpful link I followed to get my org-mode setup: http://doc.norang.ca/org-mode.html