From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: email -> TODO items? Date: Sun, 5 Jan 2014 09:46:58 -0500 Message-ID: <20140105144652.GF385@pfdstudio-air.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzoyt-0001u4-Nz for emacs-orgmode@gnu.org; Sun, 05 Jan 2014 09:47:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vzoyo-0004eV-8L for emacs-orgmode@gnu.org; Sun, 05 Jan 2014 09:47:11 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:58350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzoyo-0004eP-4Z for emacs-orgmode@gnu.org; Sun, 05 Jan 2014 09:47:06 -0500 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 6B69320A5D for ; Sun, 5 Jan 2014 09:47:05 -0500 (EST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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:.org][]] Then it would create the .org file, insert a standard preamble I use, and put the body of the email into that file. ( 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