emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] email -> TODO items?


From: Peter Davis
Subject: [O] email -> TODO items?
Date: Sun, 5 Jan 2014 09:46:58 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

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?

Thanks very much!

-pd


-- 
----
Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]