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 A7B77431FBF for ; Fri, 26 Feb 2010 17:32:54 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.887 X-Spam-Level: X-Spam-Status: No, score=-0.887 tagged_above=-999 required=5 tests=[AWL=0.111, BAYES_50=0.001, RCVD_IN_DNSWL_LOW=-1, UNPARSEABLE_RELAY=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 jp1GG5NpE6Su for ; Fri, 26 Feb 2010 17:32:53 -0800 (PST) Received: from mx1.riseup.net (mx1.riseup.net [204.13.164.18]) by olra.theworths.org (Postfix) with ESMTP id B3F0D431FAE for ; Fri, 26 Feb 2010 17:32:53 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: micah@mx1.riseup.net) with ESMTPSA id 2E68E25F73C Received: by lillypad (Postfix, from userid 1000) id 3AB422CC0AA; Fri, 26 Feb 2010 20:33:12 -0500 (EST) From: micah anderson To: James Vasile , notmuch@notmuchmail.org In-Reply-To: <87hbp5j9dv.fsf@hackervisions.org> References: <87hbp5j9dv.fsf@hackervisions.org> Date: Fri, 26 Feb 2010 20:33:08 -0500 Message-ID: <87wrxzo42z.fsf@lillypad.riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Virus-Scanned: clamav-milter 0.95.3 at mx1 X-Virus-Status: Clean Subject: Re: [notmuch] Initial tagging 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: Sat, 27 Feb 2010 01:32:54 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Hey james, i really like your notmuch-retry bits, I've taken that shell script and integrated it into my tagging script, thanks! I'm curious if you are going to update your patch for notmuch.el ("Calls to notmuch get queued and executed asynchronously") to use this, or if you are going to have those two continue to be separate ways of retrying? On Thu, 25 Feb 2010 16:25:16 -0500, James Vasile = wrote: > The tagging script uses the inbox tag to identify new mail, tags it > according to criteria, then removes the inbox tag from anything it found > a match for. Uncategorized mail keeps the inbox tag so I can inspect it > later and make rules for it (or tag it manually). Why do you tag new mail with tags, rather than construct folder searches to create views?=20 For example, rather than adding more and more data to the database every time your script runs and does something like the following: tag_new "+list +notmuch" "to:notmuchmail.org or notmuch" Why don't you instead create a folder in your .emacs like this: (setq notmuch-folders '(("inbox" . "tag:inbox") ("unread" . "tag:inbox AND tag:unread") ("notmuch" . "to:notmuchmail.org"))) That way, if you want to read the notmuch mailing list, you would simply open that folder, which would present you with the results of that search.=20 You could do different things with the tag:unread and tag:inbox flags, depending on what you wanted to accomplish. Namely, you may wish to only have a view of all the unread notmuch mailing list messages, in which case you would make that query "tag:unread AND to:notmuchmail.org". I'm just curious about the rationale for doing it one way, over the other.=20 micah --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJLiHZUAAoJEIy/mjIoYaeQKRgP/24tMBrTYTAoME9DGNT3ybPG 5Yx+NvIIDeS4ezl2i328w28VaM7cHbv4oyfy+G4RYHbgl01SgPPwLHeaDt/P/KwA UFg86mIc6RBHBLGRKAYGrNOqSqvszfjP0YO5IyL3HllrY20xEzqBUnRisAL+zefw fOTx7qwQKo9wj6mMyTFn+L05ejsS2sl5hbaaMDqIpzR5Dd+7VqHsAsdNhvKZy7Qy NmeUaTkX8AEx44ExOeJeaBja6tm3FlEFF5BiD4zSSvloEVH1MnfrsDFT5W1p/2hw 6us/R85S70U7dv2coapHjHtWfoFC44XSklXVASieQ+dr6XXjs9Gomdu71AwSE0AC a8MZQc4qJjP7HRnrm4tHBL9DDgZ8PdyP3mqHEaGRqa1x1BPWNoaop0T/CNerwGPd 7427SddkxXzcuNa6Q1nvkBfgHsjSDbiFnt7K3myaV1qWG/cvr+sH4yGyFItIT1Dh i7MW7h7lQft97Ly2SWHuoCHbiruB+ckPfVjEsrtuCOAtYvEs8ghApPHL8VNcydhf HF9FyZGf5fS+VYqGWUVw2iIuxPuTYtZRfDl6WKRXSA+SSCEsOUeDun/Erh79++yI KUUOxbJvFGIcpHeOFgKvlGJO/0BPvxJzmQS94DL7IZngQrFb/7+nETKWYK++bYk+ y05rzu75v8vWHbY9N08Y =ReME -----END PGP SIGNATURE----- --=-=-=--