Hello to All, I'm using org-mode since a couple of months. I would like to be able to link to emails from within org-files and I am wondering whether this is possible using claws-mail. I have googled a few hours but was only able to solve the problem partly based on a solution integrating mutt [1].
As I do not know very much about lisp - besides extending my .emacs with snippets I have collected over the time - my adaption is amateurish and - which is worse - does not work as desired. I added to my .emacs: -------------------------8<--------------------------------------------- (defun open-mail-in-claws (message) "Open a mail message in Claws. Message can be specified either by a path pointing inside a Maildir by Message-ID." (interactive "Message-ID: ") (shell-command (format "claws-mail --select \"%s<%s>\"" (substitute-in-file-name "$HOME/.claws-mail/imapcache/mail.sym.net/b...@sym.net/INBOX/")message))) ;; add support for "claws:ID" links (org-add-link-type "claws" 'open-mail-in-claws) -------------------------8<--------------------------------------------- The script has a major problem (besides some more or less grave restrictions): calling the open-mail-in-claws function makes the buffer from which I call the script unusable; probably because I do not call claws in the background (or whatever). Can anybody give a hint, how this could be done in a better way. Or has anybody a working solution to open mails in claws-mail from within org-mode? Thanks and cheers Martin [1] http://upsilon.cc/~zack/blog/posts/2010/02/integrating_Mutt_with_Org-mode/ -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sym.net || butz & siefer gbr || 50670 koeln || hansaring 78 phone +49(0)221/3762591 - twitter.com/symnet - mail b...@sym.net ~~~~~~~~~~~~~~~~~~ www.sym.net | www.moodalis.de ~~~~~~~~~~~~~~~~ _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode