X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.emacs;h=e3cc107610e4d116220fdc765ec78eeb8af8fea4;hb=daefca068baff31e0fb280d6232e7965345e0054;hp=715bb712d0ded5b8a4569483d1a949bc61afd65a;hpb=51788925ef4a54769ff2b84602b48c6a2b91d3b0;p=emacs.git diff --git a/.emacs b/.emacs index 715bb71..e3cc107 100644 --- a/.emacs +++ b/.emacs @@ -80,15 +80,15 @@ ; org mode agenda files (setq org-agenda-files - (quote ("~/projects/debbugs/notes.org" + (quote ("~/projects/debbugs/debbugs.org" "~/projects/notes/notes.org" "~/projects/origins_of_life/ool.org" "~/projects/sysadmin/sndservers/sndservers.org" "~/projects/chaim/chaim.org" "~/projects/fh/fh.org"))) -(setq org-global-properties "Effort_ALL 0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00") -(setq org-global-columns-default-format "%40ITEM(Task) %17Effort(Estimated Effort){:} %CLOCKSUM") +(setq org-global-properties '(("Effort_ALL 0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00"))) +(setq org-global-columns-default-format "%40ITEM(Task) %TAGS %PRIORITY %TODO %17Effort(Estimated Effort){:} %CLOCKSUM") (setq org-default-notes-file "~/projects/notes/notes.org") (setq org-capture-templates ;; mail-specific note template, identified by "m" @@ -169,6 +169,22 @@ (defadvice org-protocol-capture (before set-org-protocol-flag activate) (setq my-org-protocol-flag t)) + +; this comes from http://upsilon.cc/~zack/blog/posts/2010/02/integrating_Mutt_with_Org-mode/ +(defun open-mail-in-mutt (message) + "Open a mail message in Mutt, using an external terminal. + +Message can be specified either by a path pointing inside a +Maildir, or by Message-ID." + (interactive "MPath or Message-ID: ") + (shell-command + (format "xterm -e \"%s %s\"" + (substitute-in-file-name "$HOME/bin/mutt_open") message))) + +;; add support for "mutt:ID" links +(org-add-link-type "mutt" 'open-mail-in-mutt) + + (global-set-key "\C-xp" 'server-edit) (setq-default auto-mode-alist (cons '("\.wml$" .