From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 699A8431FAF for ; Sun, 5 Feb 2012 03:02:17 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled 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 MIdUU2zvuO-1 for ; Sun, 5 Feb 2012 03:02:16 -0800 (PST) Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 9830F431FAE for ; Sun, 5 Feb 2012 03:02:16 -0800 (PST) Received: by lahd3 with SMTP id d3so2841354lah.26 for ; Sun, 05 Feb 2012 03:02:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; bh=FCfdJ2XpsB/WX5Ym0TYhm9ekF+S+4RRLLWqbyPHQFXI=; b=DNiYhK647MOxDL+uDvokL7jhro+RnyzvkAQ1q/Zq+uHaGAbTHdRnf11fKCuIYhnSN0 RSWFtueCgRz4CfCAb6t3AKF2gWTD1bpmVKMfl/gXfwVTnuin4LAE9f5HFjDaL8gSAhAR 8SoOjj9cLUY2YmMGq4H6VRw6kJXxexREPriNU= Received: by 10.152.111.137 with SMTP id ii9mr7189468lab.39.1328439734916; Sun, 05 Feb 2012 03:02:14 -0800 (PST) Received: from hecate (nl110-96-173.student.uu.se. [130.242.96.173]) by mx.google.com with ESMTPS id os5sm9971137lab.13.2012.02.05.03.02.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Feb 2012 03:02:14 -0800 (PST) From: albin stjerna To: Tamas Papp , notmuch@notmuchmail.org Subject: Re: newbie questions In-Reply-To: <20120203115934.GA5605@daedalus> References: <20120203115934.GA5605@daedalus> User-Agent: Notmuch/0.11 (http://notmuchmail.org) Emacs/24.0.93.1 (x86_64-pc-linux-gnu) Date: Sun, 05 Feb 2012 12:02:12 +0100 Message-ID: <87haz5czm3.fsf@hecate.student.uu.se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 06 Feb 2012 11:22:18 -0800 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: Sun, 05 Feb 2012 11:02:17 -0000 On Fri, 3 Feb 2012 12:59:34 +0100, Tamas Papp wrote: > Hi, Hi Tamas, and (I suppose) welcome to the Notmuch mailing list! > I just started using notmuch. It is fascinating, but I still need to > figure out a few things: >=20 > 1. How can I restrict searches (eg of my inbox) to the last few > messages (eg 50-100) or some date (eg last 2 weeks)? I am using the > Emacs interface. Well, the query syntax is ... I know there's been talk on the list about some way to use it more easily in the queries, and it wouldn't be hard to write a function that generated a query using a more human-friendly notation of time. So far I don't know about anyone actually having written such a function though, but I wouldn't be surprised if someone has. > 2. Could someone point me to some guides on workflow with notmuch in > Emacs? So far I have been using mutt, and I guess I need to rethink a > few things. Possibly. I've only used mutt briefly and a very long time ago, so I don't really remember, but as you've probably already seen notmuch relies very heavily on tags, as opposed to just about any other email client out there (except Gmail, which I've found to be very similar). So =C2=BBinbox=C2=AB, =C2=BBarchived=C2=AB, =C2=BBread=C2=AB and so on isn't r= eally =C2=BBboxes=C2=AB the way one is used to, rather than separate labels you can set (and unset) on each thread. My workflow is something like this: first I fetch mail from IMAP using offlineimap, then I run a script that tags incoming mail as personal, list, notmuch, rss and so on (notmuch is also my RSS reader). I've set the saved searches in Emacs to show fairly standard =C2=BBtag: A= ND tag:inbox=C2=AB searches for most of my tags. Then each morning, I begin by processing =C2=BBpersonal=C2=AB from the top to the bottom, because the =C2= =BBpersonal=C2=AB tag is the one most likely to contain important and/or time-critical mail (in effect it is the catch-all tag for all mail that isn't directed to a mailing list or otherwise filtered out as probably uninteresting). If you're interested, I can send you my mail tagging script. When I'm done with each mail I archive it (using the standard keybinding =C2=BBa=C2=AB). Most mails are handled more or less immediately, but some (= in particular posts from RSS) take longer time to read. Those I tag with =C2=BBread/review=C2=AB using a custom keybinding =C2=BBT=C2=AB. I can then= process those when I have the time. > 3. If I have multiple accounts, how can I change my e-mail address > (From:) when I am writing messages (within emacs, using the m key). I'm mostly changing this by just typing my other email address (and tab-completing it of course). I actually haven't thought about there being any other way, but now that you mention it there probably is. :) Hope this helps! Albin