X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.emacs;h=e3cc107610e4d116220fdc765ec78eeb8af8fea4;hb=daefca068baff31e0fb280d6232e7965345e0054;hp=c5cb61fea1b16247e5210a5dd619299cfb6867cd;hpb=d0f890deed660eeec77d954d0e50de363bace417;p=emacs.git diff --git a/.emacs b/.emacs index c5cb61f..e3cc107 100644 --- a/.emacs +++ b/.emacs @@ -80,7 +80,7 @@ ; 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" @@ -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$" .