Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 29A4D431FC3 for ; Mon, 1 Mar 2010 03:12:52 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.934 X-Spam-Level: X-Spam-Status: No, score=-0.934 tagged_above=-999 required=5 tests=[AWL=-0.935, BAYES_50=0.001] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O8QhXJWl9yPI for ; Mon, 1 Mar 2010 03:12:51 -0800 (PST) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id C0713431FAE for ; Mon, 1 Mar 2010 03:12:50 -0800 (PST) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id 938AF19F338E; Mon, 1 Mar 2010 12:12:42 +0100 (CET) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id Cb85WEj6UAwR; Mon, 1 Mar 2010 12:12:41 +0100 (CET) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id 0969019F3392; Mon, 1 Mar 2010 12:12:41 +0100 (CET) Received: from steelpick.localdomain (k335-30.felk.cvut.cz [147.32.86.30]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id 9E9DBFA004; Mon, 1 Mar 2010 12:12:40 +0100 (CET) Received: from wsh by steelpick.localdomain with local (Exim 4.71) (envelope-from ) id 1Nm3YG-0004Rb-Eq; Mon, 01 Mar 2010 12:12:40 +0100 From: Michal Sojka To: Carl Worth , notmuch@notmuchmail.org In-Reply-To: <87zl2v4vjt.fsf@yoom.home.cworth.org> References: <87zl2v4vjt.fsf@yoom.home.cworth.org> Date: Mon, 01 Mar 2010 12:12:40 +0100 Message-ID: <87hbp0mh1z.fsf@steelpick.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] Thoughts on not seeing messages I can't deal with (yet, or now, or here...) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2010 11:12:52 -0000 On Fri, 26 Feb 2010 12:00:06 -0800, Carl Worth wrote: > [This mail started as some off-topic rambling in my reply to the > notmuch-reply script. So that's why it starts on one topic and ends > somewhere else entirely.] > > I'm currently avoiding any locking failures with notmuch commands by > running "notmuch new" manually, (rather than from a cron job). And it > occurs to me that running "notmuch new" manually has a certain > benefit---it allows me to bring in a chunk of mail, and then process all > of that (either by replying, or setting aside to a particular project or > "todo" tag, etc.) without getting distracted by other mail coming in. That's what I like on notmuch too. (I also don't use cron.) > I know that what I really want instead of "todo" is a way to express the > reason I'm postponing a message. There's probably some resource I'm > missing that I need before I can deal with it. Perhaps that's: > > * I can't decide on this until I'm with co-workers and can talk about > this. > > * I can't resolve this until I'm at the office with the right hardware > to test. > > * I need to remember to do something with this when I'm at home. > > * I need a nice block of "discretionary time" to be able to give this > topic the attention I want to. > > * I need to look at this message again on this Saturday. > > So what I really want to do is to tag things based on those criteria, > ("office", "magic-hardware", "home", "discretionary", "2010-02-27"), > which I can at least do now. > > But what I'm currently missing is a way for the folders based on these > tags to only appear at the right times, (when the resource is > available). It seems I have the same needs as you. I use Emacs's org-mode for managing my TODO list and I find org-remember very useful in this context. It works like this: I have a global key binding (C-c r) for org-remember and whenever I press this key a new buffer appears. I write my TODO item there and after C-c C-c the buffer is appended to my TODO list. What is important, is that the remember buffer may be pre-filled with some information based on major mode of from where it was invoked. This information might be a so called org-link (a link to another entity which emacs can work with). David Bremner did some work (id:8763805hr2.fsf@pivot.cs.unb.ca) to support links to mails in notmuch, but I haven't tried it yet. So I'd like to process my mail like this: If I cannot complete the mail immediately, I'll press "C-c r" to create a new TODO item where I mention what is needed for completing this mail. The TODO item will automatically contain a link to the original message. I can also add some Org Mode properties such as SCHEDULED or DEADLINE. Then I remove unread and inbox tags from the message. This way I'll process the whole inbox until it becomes empty. Then I will use org-mode's Agenda view to show me what to do just now. Thanks to the properties such as SCHEDULED, I won't see items which I do not want to see today. If I complete some TODO item, I'll use org-link to immediately jump to the original message and I'll reply to it. The only problem here is some kind of duplication. Org-mode has its own tags and these have nothing in common with notmuch tags. So, in order to use tags your TODO items and mails, you would need to tag them twice (once in notmuch and once in org). What might work here would be some kind of integration between Org's Agenda view and notmuch search. But I do not have an exact idea how this could look like. Bye Michal