From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: [ANN] Gnorb: Glue code between Gnus, Org, and BBDB Date: Mon, 26 May 2014 17:09:19 +0800 Message-ID: <871tvgq534.fsf@ericabrahamsen.net> References: <87r446bcut.fsf@ericabrahamsen.net> <87iopdhqla.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Woqwc-0001dC-P9 for emacs-orgmode@gnu.org; Mon, 26 May 2014 05:11:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoqwX-0003Q9-Fh for emacs-orgmode@gnu.org; Mon, 26 May 2014 05:11:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:53773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoqwX-0003Pz-9n for emacs-orgmode@gnu.org; Mon, 26 May 2014 05:11:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WoqwO-00034o-5z for emacs-orgmode@gnu.org; Mon, 26 May 2014 11:11:32 +0200 Received: from 111.197.165.123 ([111.197.165.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 May 2014 11:11:32 +0200 Received: from eric by 111.197.165.123 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 May 2014 11:11:32 +0200 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 Eric Abrahamsen writes: > I'm writing two more functions to complement `gnorb-org-handle-mail'. In > the end there will be three: > > 1. A function that says "make an Org todo out of the email I'm sending > now" (to keep track of conversations that need following-up). > > 2. A function that says "this email I just received is relevant to some > Org heading, and should trigger a TODO state-change or a note on that > heading". It will be able to suggest the correct heading. > > 3. A function that says "send an email by reading the current Org > heading and doing what I what". That's `gnorb-org-handle-mail'. > > Everything else just depends on how you've set up your capture > templates, and how you like to structure your mail-related TODOs. I > don't want to enforce anything else, but I want those three functions to > be good at guessing how you do things, and I'll provide user options to > help them guess correctly. In particular, how `gnorb-org-handle-mail' > interprets the heading under point is important. Okay, the above is basically up and working, modulo bugs. In an OCD fit I had to rename a couple of functions, I'm going to coder hell, I know it. gnorb-gnus-outgoing-make-todo is now gnorb-gnus-outgoing-do-todo, and gnorb-gnus-message-trigger-todo is now gnorb-gnus-incoming-do-todo. The readme at https://github.com/girzel/gnorb has a general description of how one might use this for email tracking. E