Re: Folder-based searching
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Mon, 17 Jan 2011 13:00:41 +0000 (14:00 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:43 +0000 (09:37 -0800)
3b/d4051c51c80f99cb71f070dfbaf1b37218befe [new file with mode: 0644]

diff --git a/3b/d4051c51c80f99cb71f070dfbaf1b37218befe b/3b/d4051c51c80f99cb71f070dfbaf1b37218befe
new file mode 100644 (file)
index 0000000..991a84d
--- /dev/null
@@ -0,0 +1,111 @@
+Return-Path: <Sebastian@SSpaeth.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 2448B431FB6\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Jan 2011 05:00:49 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.09\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Eu8LPvGN-s-g for <notmuch@notmuchmail.org>;\r
+       Mon, 17 Jan 2011 05:00:47 -0800 (PST)\r
+Received: from homiemail-a22.g.dreamhost.com (caiajhbdccac.dreamhost.com\r
+       [208.97.132.202])\r
+       by olra.theworths.org (Postfix) with ESMTP id A2DC1431FB5\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Jan 2011 05:00:47 -0800 (PST)\r
+Received: from homiemail-a22.g.dreamhost.com (localhost [127.0.0.1])\r
+       by homiemail-a22.g.dreamhost.com (Postfix) with ESMTP id F1A611A8069\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Jan 2011 05:00:46 -0800 (PST)\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject\r
+       :in-reply-to:references:date:message-id:mime-version:\r
+       content-type; q=dns; s=sspaeth.de; b=FKkLPblq0D4LiwvDUNkYgVelTeD\r
+       Pmtx9cnhynJofR427D+v5DPF1V6CJYQxBbFcytAy9NbtKeAEc8rwW4Tt5siL5Xh+\r
+       wB5DRbKIljmUtzDcP4S8UMdwP1rsfqwCBaYJEjiKBD7UNZN+JXSLwTzZQOjsMGWx\r
+       8c3yBPEOZJaYqPbc=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to\r
+       :subject:in-reply-to:references:date:message-id:mime-version:\r
+       content-type; s=sspaeth.de; bh=02QI+Y7ceYlMoiq36M0bfMEF6EA=; b=n\r
+       AqzogNGKLXNpeSM+tupIEfmH4td0muMr/84k9IAp8y2RxJdPp4w+d6+KggvIngWh\r
+       8FBsjPqaE5dGVkdsFW+wlLZXlOh/biaCnXOGp1H0oh9Krwajjd/KV7+2xUA5py3l\r
+       PIHl8ox/ClzyWTcet38QMNYK3M96wqzjuk1e2rnDNM=\r
+Received: from spaetzbook.sspaeth.de (unknown [195.190.171.9])\r
+       (Authenticated sender: fax@sspaeth.de)\r
+       by homiemail-a22.g.dreamhost.com (Postfix) with ESMTPA id 5F8871A8061\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Jan 2011 05:00:45 -0800 (PST)\r
+Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
+       Mon, 17 Jan 2011 14:00:42 +0100\r
+From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: Folder-based searching\r
+In-Reply-To: <878vyjya2n.fsf@SSpaeth.de>\r
+References: <87tyh9wzs2.fsf@yoom.home.cworth.org> <878vyjya2n.fsf@SSpaeth.de>\r
+User-Agent: Notmuch/0.5-37-g3863e88 (http://notmuchmail.org) Emacs/23.1.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Mon, 17 Jan 2011 14:00:41 +0100\r
+Message-ID: <87vd1n4rd2.fsf@SSpaeth.de>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 17 Jan 2011 13:00:49 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, 17 Jan 2011 13:43:44 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de>=\r
+ wrote:\r
+> > Before the next release, I plan to increment the database version so\r
+> > that users will be notified of the need to do an upgrade like this. (But\r
+> > before I do that, I plan to implement a few more database changes---and\r
+> > some of them are likely to be much more invasive than this one).\r
+>=20\r
+> Hurray, just tried it out and it works like a charm. Finally I can\r
+> automatically assign the "Junk" tag again. :-)\r
+\r
+Well, it's never as easy as it looks at first glance. Initial run picks\r
+up folder:junk and reports correctly (is it supposed to be\r
+case-insensitive?).\r
+\r
+However, when moving files into another folder and rerunning notmuch\r
+new, the folder value is never updated, it seems. This is what I run to\r
+move mails that had been wrongly classified as Junk and that I manually\r
+untagged into my INBOX:\r
+\r
+notmuch search --output=3Dfiles not tag:junk and folder:junk | xargs mv -t\r
+/home/spaetz/mail/INBOX/cur/\r
+\r
+However, each subsequent run of:\r
+notmuch search --output=3Dfiles not tag:junk and folder:junk\r
+\r
+will show the same files, even after a notmuch new...\r
+\r
+Sebastian\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk00PXkACgkQVYX1jMgnoGJKagCcDcCXZevYe/iMNK/598IVdHIP\r
+DpIAn1r+o3XeElfB7PMCwPDkT8V16TzI\r
+=B1Rp\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r