daemon.de

Migrated from Tiddlywiki to Emacs Org-Mode

(setq load-path (cons (concat my-lisp "/org/lisp") load-path)) (setq load-path (cons (concat my-lisp "/org/contrib/lisp") load-path))

(custom-set-variables ‘(org-agenda-files (list my-org-file))(org-default-notes-file (concat "/remember.org"))(org-reverse-note-order t)(org-remember-store-without-prompt t)(org-reverse-note-order t)(org-startup-indented t)(word-wrap t)(org-startup-truncated nil)(org-columns-default-format "%80ITEM %22Timestamp %TODO %TAGS %0PRIORITY")(org-mouse-1-follows-link nil) ’(org-insert-heading-always-after-current ‘t) ; new headings below current(org-M-RET-may-split-line nil) ;; dont break heading with enter(org-blank-before-new-entry ( ; no blank lines after headings quote ((heading . auto) (plain-list-item . auto))) )(org-agenda-restore-windows-after-quit t)(org-use-speed-commands t) ; see next block for which ones ’(org-catch-invisible-edits ‘error) ; dont edit invisibles )

(setq org-speed-commands-user (quote ( (“0” . ignore) (“1” . delete-other-windows) (“2” . ignore) (“3” . ignore) (“d” . org-archive-subtree-default-with-confirmation) ; delete, keep track (“v” . org-narrow-to-subtree) ; only show current heading (“view”) (“q” . widen) ; close current heading and show all (“quit”) (":" . org-set-tags-command) ; add/edit tags )))

; ctrl-n for new entry with template (setq org-capture-templates ‘((“j” “Note” entry (file+datetree my-org-file) "* %? %^g\n %U\n %i\n")) )

(define-key global-map "\C-n" (lambda () (interactive) (org-capture nil “j”)))

; use ctrl-arrows to jump between headings (add-hook ‘org-mode-hook ( lambda () ; move heading down (local-set-key (kbd "<C-down>") ‘outline-next-visible-heading) ; move heading up (local-set-key (kbd "<C-up>") ‘outline-previous-visible-heading) ; alt-enter = insert new subheading below current (local-set-key (kbd "<kp-enter>")org-insert-subheading) ; search for tags (ends up in agenda view) (local-set-key "\C-f"org-tags-view) ))

(setq org-todo-keywords ‘((sequence “TODO” “STARTED” “WAITING” “DONE” “CANCELED”)))

;; todo colors (setq org-todo-keyword-faces ‘( (“TODO” . (:foreground "#b70101" :weight bold)) (“STARTED” . (:foreground "#b70101" :weight bold)) (“WAITING” . (:foreground “orange” :weight bold)) (“DONE” . (:foreground “forestgreen” :weight bold)) (“CANCELED” . shadow) ))

#Emacs