From 2490c4a89c8afec2def992cecda6e604686c0ec2 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 5 Nov 2012 21:04:56 +0100 Subject: .emacs.d/site-lisp/oni.el --- .emacs.d/site-lisp/oni.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.emacs.d/site-lisp') diff --git a/.emacs.d/site-lisp/oni.el b/.emacs.d/site-lisp/oni.el index 2a27e45..a2d2604 100644 --- a/.emacs.d/site-lisp/oni.el +++ b/.emacs.d/site-lisp/oni.el @@ -293,11 +293,13 @@ If COUNT has been specified indent by that much, otherwise look at (defun oni:markdown-mode-func () "Function for `markdown-mode-hook'." + (setq-local comment-auto-fill-only-comments nil) (auto-fill-mode) (whitespace-mode)) (defun oni:message-mode-func () "Function for `message-mode-hook'." + (setq-local comment-auto-fill-only-comments nil) (auto-fill-mode) (flyspell-mode) (ispell-change-dictionary (read-string "New dictionary: "))) @@ -563,5 +565,11 @@ for easy selection." "Function for `write-file-hooks'." (time-stamp)) +(define-skeleton html-tag + "Testing creation of an html tag" + "Tagname:" + "<" str ("Attribute: " " " str "=\"" (skeleton-read "Value: ") "\"") ">\n" + "\n") + (provide 'oni) ;;; oni.el ends here -- cgit v1.2.3-54-g00ecf From 229865af945675dea3218a0852f41c7f9caecad8 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 5 Nov 2012 21:05:16 +0100 Subject: .emacs.d/site-lisp/org-init.el --- .emacs.d/site-lisp/org-init.el | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to '.emacs.d/site-lisp') diff --git a/.emacs.d/site-lisp/org-init.el b/.emacs.d/site-lisp/org-init.el index 7345f91..6f28432 100644 --- a/.emacs.d/site-lisp/org-init.el +++ b/.emacs.d/site-lisp/org-init.el @@ -34,13 +34,27 @@ '(org-crypt-use-before-save-magic)) (setq org-agenda-custom-commands - '(("wt" "Work todo." - tags-todo "CATEGORY=\"Work\"") - ("wm" "Myaethon2 todo." - tags-todo "CATEGORY=\"myaethon2\""))) + '(("pa" "Avandu" tags-todo "slug=\"avandu\"") + ("pb" "Blog" tags-todo "slug=\"blog\"") + ("pc" "Configuration" tags-todo "slug=\"configuration\"") + ("pd" "dispass.el" tags-todo "slug=\"dispass.el\"") + ("pD" "DVDroid" tags-todo "slug=\"dvdroid\"") + ("pe" "Eye on Manga" tags-todo "slug=\"eye-on-manga\"") + ("pG" "gDisPass" tags-todo "slug=\"gdispass\"") + ("pg" "gitto" tags-todo "slug=\"gitto\"") + ("pi" "Ideas" tags-todo "slug=\"ideas\"") + ("pM" "Maintenance" tags-todo "slug=\"maintenance\"") + ("pme" "Metal Express Radio.el" tags-todo + "slug=\"metal-express-radio.el\"") + ("pmo" "Mode Icons" tags-todo "slug=\"mode-icons\"") + ("pmy1" "myAethon" tags-todo "slug=\"myaethon\"") + ("pmy2" "myAethon2" tags-todo "slug=\"myaethon2\"") + ("ps" "Sawfish Naquadah theme" tags-todo + "slug=\"sawfish-naquadah-theme\"") + ("w" "Work todo." tags-todo "work"))) (setq org-agenda-sorting-strategy '((agenda habit-down time-up priority-down category-keep) - (todo priority-down tag-up category-up) + (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep))) (setq org-agenda-tags-column -101) @@ -101,6 +115,7 @@ ("ACQUIRE" :background "red") ("IGNORED" :background "#555555"))) (setq org-use-fast-todo-selection t) +(setq org-use-property-inheritance '("slug")) (add-to-list 'org-modules 'habit) -- cgit v1.2.3-54-g00ecf