emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: emacs-orgmode@gnu.org
Subject: email -> TODO items?
Date: Sun, 5 Jan 2014 09:46:58 -0500	[thread overview]
Message-ID: <20140105144652.GF385@pfdstudio-air.home> (raw)

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	other threads:[~2014-01-05 14:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-05 14:46 Peter Davis [this message]
2014-01-05 20:48 ` email -> TODO items? Suvayu Ali
2014-01-05 21:50 ` John Kitchin
2014-01-06 10:51 ` Karl Voit
2014-01-06 12:32   ` Peter Davis
2014-01-06 19:00 ` Brett Viren
2014-01-07  4:49   ` Nick Dokos
2014-01-13 16:35     ` Peter Davis
2014-01-07  6:47 ` aitor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140105144652.GF385@pfdstudio-air.home \
    --to=pfd@pfdstudio.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).