From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: [ANN] Gnorb: Glue code between Gnus, Org, and BBDB Date: Sat, 10 May 2014 20:01:28 +0200 Message-ID: References: <87r446bcut.fsf@ericabrahamsen.net> <87iopdhqla.fsf@ericabrahamsen.net> <87y4y9fv66.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjBbE-0003Yr-HC for emacs-orgmode@gnu.org; Sat, 10 May 2014 14:02:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjBb6-0001MO-LW for emacs-orgmode@gnu.org; Sat, 10 May 2014 14:02:16 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:28054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjBb6-0001Lc-Eo for emacs-orgmode@gnu.org; Sat, 10 May 2014 14:02:08 -0400 In-Reply-To: <87y4y9fv66.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 11 May 2014 00:36:01 +0800") 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: Eric Abrahamsen Cc: emacs-orgmode On 2014-05-10 18:36, Eric Abrahamsen writes: > Right now (this code hasn't been pushed yet), the GNORB_MSG_IDS property > is used in the *other* direction: when you receive a message that might > be relevant to a TODO (ie the second of the three mail functions I > mentioned), the GNORB_MSG_IDS property is used to suggest the relevant > TODO. We look at the IDs mentioned the References and In-Reply-To > headers of the incoming mail, if any of those IDs appear in the > GNORB_MSG_IDS property of a TODO, that TODO is suggested for > state-change/completion. This doesn't do anything automatically, it's > just used to suggest a likely default. Ah, very nice. I still think basing links on message ids is the most robust. I just gave a quick try and I can fairly easily find a message from an id through notmuch on the command line, or using an interactive search. I had a quick look at notmuch.el but I don't see a way to use it without a notmuch buffer, though. > Actually, the very first motivation for starting to work on these > functions was annoyance at not being able to return properly from > following a gnus link. That's motivation enough! >> I know how to record state changes in the logbook (in the definition of >> `org-todo-keywords'), but I don't know how one adds notes. Do you do it >> by hand? > > Gnorb will give you the choice of triggering state change, or adding a > note (with a customizable default, and a prefix arg to get the inverse). > Usually, you can add a note manually with C-c C-z. A note won't affect > `gnorb-org-handle-mail's behavior, it's just there for your information. > In both cases, gnorb will leave you at the note message buffer, where > you can insert a link or type whatever comments you want. Good to know, thanks. >> Basic question: how does one add such a tag? I'm a very very basic user >> of bbdb, in the sense that I only use it to expand addresses when >> writing messages. I know it can do much more, but I don't know how. > > Sure: just hit "i" on a record, and it will prompt you to insert a > field. The first time you use org-tags it will ask you to confirm you > want to create a new field type; after that it will provide > completion. I'll give it a try. Thanks again, Alan