Re: [notmuch] Bulk message tagging
authorMark Anderson <MarkR.Anderson@amd.com>
Tue, 6 Apr 2010 19:51:01 +0000 (13:51 +1800)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:30 +0000 (09:36 -0800)
8b/aec7a9bddf18a5920ae8fb32744a89319fe087 [new file with mode: 0644]

diff --git a/8b/aec7a9bddf18a5920ae8fb32744a89319fe087 b/8b/aec7a9bddf18a5920ae8fb32744a89319fe087
new file mode 100644 (file)
index 0000000..a46d33a
--- /dev/null
@@ -0,0 +1,146 @@
+Return-Path: <MarkR.Anderson@amd.com>\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 ACF9E4196F4\r
+       for <notmuch@notmuchmail.org>; Tue,  6 Apr 2010 12:51:41 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.8\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8,\r
+       RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham\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 jEzuMqy56wDz for <notmuch@notmuchmail.org>;\r
+       Tue,  6 Apr 2010 12:51:40 -0700 (PDT)\r
+Received: from VA3EHSOBE004.bigfish.com (va3ehsobe004.messaging.microsoft.com\r
+       [216.32.180.14])\r
+       by olra.theworths.org (Postfix) with ESMTP id A134B4196F0\r
+       for <notmuch@notmuchmail.org>; Tue,  6 Apr 2010 12:51:40 -0700 (PDT)\r
+Received: from mail70-va3-R.bigfish.com (10.7.14.252) by\r
+       VA3EHSOBE004.bigfish.com (10.7.40.24) with Microsoft SMTP Server id\r
+       8.1.240.5; Tue, 6 Apr 2010 19:51:38 +0000\r
+Received: from mail70-va3 (localhost.localdomain [127.0.0.1])  by\r
+       mail70-va3-R.bigfish.com (Postfix) with ESMTP id 212301B5022C;\r
+       Tue,  6 Apr 2010 19:51:38 +0000 (UTC)\r
+X-SpamScore: -22\r
+X-BigFish: VPS-22(zz1418M1432P98dN1521Mzz1202hz31izz32i6bh2a8h61h)\r
+X-Spam-TCS-SCL: 0:0\r
+X-FB-SS: 5,\r
+Received: from mail70-va3 (localhost.localdomain [127.0.0.1]) by mail70-va3\r
+       (MessageSwitch) id 1270583493250807_22941;\r
+       Tue,  6 Apr 2010 19:51:33 +0000 (UTC)\r
+Received: from VA3EHSMHS015.bigfish.com (unknown [10.7.14.248])        by\r
+       mail70-va3.bigfish.com (Postfix) with ESMTP id 8A28E96004E;\r
+       Tue,  6 Apr 2010 19:51:28 +0000 (UTC)\r
+Received: from ausb3extmailp02.amd.com (163.181.251.22) by\r
+       VA3EHSMHS015.bigfish.com (10.7.99.25) with Microsoft SMTP Server (TLS)\r
+       id 14.0.482.39; Tue, 6 Apr 2010 19:51:23 +0000\r
+Received: from ausb3twp02.amd.com ([163.181.250.38])   by\r
+       ausb3extmailp02.amd.com (Switch-3.2.7/Switch-3.2.7) with SMTP id\r
+       o36JufT6004845; Tue, 6 Apr 2010 14:56:44 -0500\r
+X-WSS-ID: 0L0H0HD-02-95S-02\r
+X-M-MSG: \r
+Received: from sausexhtp01.amd.com (sausexhtp01.amd.com [163.181.3.165])\r
+       (using TLSv1 with cipher RC4-MD5 (128/128 bits))        (No client certificate\r
+       requested)      by ausb3twp02.amd.com (Tumbleweed MailGate 3.7.2) with ESMTP\r
+       id 2AEC9C866A;  Tue,  6 Apr 2010 14:51:12 -0500 (CDT)\r
+Received: from optimon.amd.com (163.181.34.104) by sausexhtp01.amd.com\r
+       (163.181.3.165) with Microsoft SMTP Server (TLS) id 8.2.234.1;\r
+       Tue, 6 Apr 2010 12:51:17 -0700\r
+Received: from mhdc-ns01.amd.com (mhdc-ns01.amd.com [165.204.35.147])  by\r
+       optimon.amd.com (8.12.10/8.12.10) with ESMTP id o36JpH31013249;\r
+       Tue, 6 Apr 2010 14:51:17 -0500\r
+Received: from testarossa.amd.com (testarossa.amd.com [165.204.147.44])        by\r
+       mhdc-ns01.amd.com (8.13.8+Sun/8.13.8) with ESMTP id o36Jp2Ag018221;\r
+       Tue, 6 Apr 2010 13:51:02 -0600 (MDT)\r
+Received: (from manderso@localhost)    by testarossa.amd.com\r
+       (8.13.1/8.13.1/Submit) id o36Jp1ec023579; Tue, 6 Apr 2010 13:51:01 -0600\r
+X-Authentication-Warning: testarossa.amd.com: manderso set sender to\r
+       MarkR.Anderson@amd.com using -f\r
+From: Mark Anderson <MarkR.Anderson@amd.com>\r
+To: Xavier Maillard <xma@gnu.org>, Jesse Rosenthal <jrosenthal@jhu.edu>,\r
+       "notmuch\@notmuchmail.org" <notmuch@notmuchmail.org>\r
+Subject: Re: [notmuch] Bulk message tagging\r
+In-Reply-To: <m2bpdye86s.fsf@deb.maillard.im>\r
+References: <m2tyrrkf32.fsf@deb.maillard.im> <87sk7b30tg.fsf@jhu.edu>\r
+       <m2bpdye86s.fsf@deb.maillard.im>\r
+Date: Tue, 6 Apr 2010 13:51:01 -0600\r
+Message-ID: <3wdmxxg4axm.fsf@testarossa.amd.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset="us-ascii"\r
+X-Virus-Scanned: ClamAV version 0.87.1,\r
+       clamav-milter version 0.87 on optimon.amd.com\r
+X-Virus-Status: Clean\r
+X-Reverse-DNS: ausb3extmailp02.amd.com\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: Tue, 06 Apr 2010 19:51:41 -0000\r
+\r
+On Mon, 5 Apr 2010 01:15:39 -0500, Xavier Maillard <xma@gnu.org> wrote:\r
+> On Sun, 04 Apr 2010 07:38:03 -0400, Jesse Rosenthal <jrosenthal@jhu.edu> wrote:\r
+> > On Sun, 04 Apr 2010 06:37:53 +0200, Xavier Maillard <xma@gnu.org> wrote:\r
+> > > Is there an easy way to mark a whole bunch of message (restricted\r
+> > > in a region, result of a search, ...) ?\r
+> > \r
+> > In addition to the "*" command that was mentioned, there is a patch I\r
+> > wrote to tag messages in search view by region in emacs. You can find it\r
+> \r
+> Sounds interesting. * is good when your search criteria is\r
+> perfect but you proposed patch is a good companion for all the\r
+> rest.\r
+> \r
+> Sadly, git is not really something I know wll enough to play with\r
+> all this stuff :(\r
+> \r
+> Xavier\r
+\r
+Also, you will want to be careful with '*' in emacs.\r
+\r
+It runs notmuch tag +<tag> <search terms from buffer>,\r
+but the notmuch-search buffer can be woefully out of date.\r
+\r
+I like to go through and add tags, archive, etc, lots of email.  Then I\r
+'q' back to the search buffer, and I may realize that I want to tag\r
+everything I can see.  '*' isn't really that command, it applies a tag\r
+to the results of a search that you are looking at.  But it will use a\r
+fresh version of the search, not the version in the buffer, which could\r
+be minutes, hours, days or weeks old, depending on your Emacs buffer\r
+management habits (or lack of them).\r
+\r
+I think that '*' is definitely an awesome command, but I wonder if we\r
+shouldn't have another command for the notmuch-search buffer which means\r
+'tag all the threads that I can see in this buffer'.\r
+\r
+If you have a crontab running 'notmuch new', you could end up tagging a\r
+lot of things you would rather have a chance to review first.  I often\r
+use '*' to tag:deleted a large number of mails once I have a query I\r
+like, so deleting things sight unseen is an unpleasant thought.\r
+\r
+I know that there is an emacs-region patch, which could probably be\r
+extended to implement the behavior I'm talking about, but I have a hard\r
+enough time adding keys to the keymaps, and alas, the time thing...\r
+\r
+Maybe someone else will decide it's important enough to do, or has\r
+already done it.\r
+\r
+Enjoy,\r
+-Mark\r
+\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r
+> \r
+\r