On Sun, Jan 05, 2014 at 09:46:58AM -0500, Peter Davis wrote: > I've been using org-mode for a few years, but only for a few limited > purposes. I keep TODO lists for work-related stuff, and I compose blog > posts which I then export to HTML, cut from the browser and paste into > Blogger. > > Sometimes it's much quicker and easier to email myself notes on things > to do. I'd like to be able to import individual email messages, and > turn them into TODO items in one of my .org files. I use half a dozen > email clients, including mutt, which lets me easily pipe a message to > a script. I figured I could write something that would parse the > message and add a line to a .org file like: > > * TODO [[file:<subject'>.org][<subject>]] > > Then it would create the <subject'>.org file, insert a standard > preamble I use, and put the body of the email into that > file. (<subject'> is a filename-safe version of the message's subject > line.) > > There are one or two complications, like checking for duplicate file > names, etc., but on the whole, it seems pretty straightforward. I > could do this in Perl relatively quickly. I'm not an elisp guy, but I > imagine there would be a way to pipe the message to emacsclient (or a > temp file) and do it with a macro. > > Does something like this already exist? Or is there an easier way?
Take a look at debbugs-org, available on ELPA. -- Suvayu Open source is the future. It sets us free.