Re: Batch tagging - add id_list as tag possible?
authorRainer M Krug <r.m.krug@gmail.com>
Sat, 2 Mar 2013 19:24:38 +0000 (20:24 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:50 +0000 (09:53 -0800)
0d/727320a0e6e464c72e3aafc72646b729ffdef2 [new file with mode: 0644]

diff --git a/0d/727320a0e6e464c72e3aafc72646b729ffdef2 b/0d/727320a0e6e464c72e3aafc72646b729ffdef2
new file mode 100644 (file)
index 0000000..a6c9c32
--- /dev/null
@@ -0,0 +1,200 @@
+Return-Path: <r.m.krug@gmail.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 78F11431FAF\r
+       for <notmuch@notmuchmail.org>; Sat,  2 Mar 2013 11:24:43 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.798\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.798 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7]\r
+       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 1UQrmCEJI5Hb for <notmuch@notmuchmail.org>;\r
+       Sat,  2 Mar 2013 11:24:42 -0800 (PST)\r
+Received: from mail-la0-f48.google.com (mail-la0-f48.google.com\r
+       [209.85.215.48]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id A76B9431FAE\r
+       for <notmuch@notmuchmail.org>; Sat,  2 Mar 2013 11:24:42 -0800 (PST)\r
+Received: by mail-la0-f48.google.com with SMTP id fq13so3846741lab.7\r
+       for <notmuch@notmuchmail.org>; Sat, 02 Mar 2013 11:24:38 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=mime-version:x-received:in-reply-to:references:date:message-id\r
+       :subject:from:to:cc:content-type;\r
+       bh=0ryQw333QFq9LC202kATEAhVzqlBl8PEwzTUHdPZUsE=;\r
+       b=AOMQYV0TXUid0cqOK0yXWM4DRu1AJV+uIAmKh2HjVVuBy7zzhs0ZG7thahWtIYhYB7\r
+       hTkTh0cV20vRS2luxR4rE3r6LkX+abABaKe365x/N6kq9hNXQX/17rGg+is4FMxNJJsL\r
+       T+SKX+w5FEpJMJ+lv1GS1+Rlt/I2VHjfCINWOaV5ssXzWrtzK1EFObLw1YZM0h5H59Wh\r
+       OLf9iJVn0mBUnlm5Plp+DFKT70Y1rcRGPbEeTQBYVnWGta+JeLXFDoIg0rHk4022/djG\r
+       dWEj4VvM5/0MnAkmYkp/fu5dv9v1FxRZXNmt++eHfZ132ysVQ3hxVJOvp+TtxZDYLbPg\r
+       basQ==\r
+MIME-Version: 1.0\r
+X-Received: by 10.152.111.5 with SMTP id ie5mr12929091lab.31.1362252278183;\r
+       Sat, 02 Mar 2013 11:24:38 -0800 (PST)\r
+Received: by 10.112.7.38 with HTTP; Sat, 2 Mar 2013 11:24:38 -0800 (PST)\r
+In-Reply-To: <871ubx7pa8.fsf@zancas.localnet>\r
+References:\r
+ <CAGhLh6Hw3+5JM0ON3vb43zo8+_SM89uO2vZzQdpN9MxXQ++YCA@mail.gmail.com>\r
+       <871ubx7pa8.fsf@zancas.localnet>\r
+Date: Sat, 2 Mar 2013 20:24:38 +0100\r
+Message-ID:\r
+ <CAGhLh6F=m_K9QqmwXmakfeyPbCtMriBAr+6FQ7N8seT=r15KmQ@mail.gmail.com>\r
+Subject: Re: Batch tagging - add id_list as tag possible?\r
+From: Rainer M Krug <r.m.krug@gmail.com>\r
+To: David Bremner <david@tethera.net>\r
+Content-Type: multipart/alternative; boundary=f46d0408395d22bd7304d6f61312\r
+Cc: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>\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: Sat, 02 Mar 2013 19:24:43 -0000\r
+\r
+--f46d0408395d22bd7304d6f61312\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+\r
+On Saturday, March 2, 2013, David Bremner wrote:\r
+\r
+> Rainer M Krug <r.m.krug@gmail.com <javascript:;>> writes:\r
+>\r
+> > Hi\r
+> >\r
+> > I would like to tag my mails automatically by using the id_list as the\r
+> tag\r
+> > name, but as far as I can se in the manual, this is not possible yet. Is\r
+> > this true?\r
+> >\r
+>\r
+> That's correct.\r
+\r
+\r
+Really a pity.\r
+\r
+\r
+>\r
+> > It would be great if I could have\r
+> > +%id_list\r
+> >\r
+> > And it would automatically tag my mails with the list I'd?\r
+>\r
+> It should be possible to script that, using e.g. formail to extract the\r
+> list id.\r
+\r
+\r
+But this would be done outside the batch tagging - correct?\r
+\r
+I think tagging based on a header would be a powerful and useful feature,\r
+especially for tagging of lists.\r
+\r
+I mean, if the script would be complex, it might be easier to use afew.\r
+\r
+Be aware that the list-id header is often not really suitable\r
+> for use as a tag, since it has quotes, spaces, and various punctuational\r
+> in it. I guess you can make that work if you really want to.\r
+\r
+\r
+A cleaning would then be necessary, but it is not relevant to have the\r
+exact header as the tag.\r
+\r
+Cheers,\r
+\r
+Rainer\r
+\r
+\r
+>\r
+> d\r
+>\r
+\r
+\r
+-- \r
+Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,\r
+UCT), Dipl. Phys. (Germany)\r
+\r
+Centre of Excellence for Invasion Biology\r
+Stellenbosch University\r
+South Africa\r
+\r
+Tel :       +33 - (0)9 53 10 27 44\r
+Cell:       +33 - (0)6 85 62 59 98\r
+Fax (F):       +33 - (0)9 58 10 27 44\r
+\r
+Fax (D):    +49 - (0)3 21 21 25 22 44\r
+\r
+email:      Rainer@krugs.de\r
+\r
+Skype:      RMkrug\r
+\r
+--f46d0408395d22bd7304d6f61312\r
+Content-Type: text/html; charset=ISO-8859-1\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+<br><br>On Saturday, March 2, 2013, David Bremner  wrote:<br><blockquote cl=\r
+ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=\r
+adding-left:1ex">Rainer M Krug &lt;<a href=3D"javascript:;" onclick=3D"_e(e=\r
+vent, &#39;cvml&#39;, &#39;r.m.krug@gmail.com&#39;)">r.m.krug@gmail.com</a>=\r
+&gt; writes:<br>\r
+\r
+<br>\r
+&gt; Hi<br>\r
+&gt;<br>\r
+&gt; I would like to tag my mails automatically by using the id_list as the=\r
+ tag<br>\r
+&gt; name, but as far as I can se in the manual, this is not possible yet. =\r
+Is<br>\r
+&gt; this true?<br>\r
+&gt;<br>\r
+<br>\r
+That&#39;s correct.</blockquote><div><br></div><div>Really a pity.</div><di=\r
+v>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=\r
+der-left:1px #ccc solid;padding-left:1ex">\r
+<br>\r
+&gt; It would be great if I could have<br>\r
+&gt; +%id_list<br>\r
+&gt;<br>\r
+&gt; And it would automatically tag my mails with the list I&#39;d?<br>\r
+<br>\r
+It should be possible to script that, using e.g. formail to extract the<br>\r
+list id.=A0</blockquote><div><br></div><div>But this would be done=A0outsid=\r
+e the batch tagging - correct?=A0</div><div><br></div><div>I think tagging =\r
+based on a header would be a powerful and useful feature, especially for ta=\r
+gging of lists.</div>\r
+<div><br></div><div>I mean, if the script would be complex, it might be eas=\r
+ier to use afew.<span></span></div><div><br></div><blockquote class=3D"gmai=\r
+l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=\r
+:1ex">\r
+Be aware that the list-id header is often not really suitable<br>\r
+for use as a tag, since it has quotes, spaces, and various punctuational<br=\r
+>\r
+in it. I guess you can make that work if you really want to.</blockquote><d=\r
+iv><br></div><div>A cleaning would then be necessary, but it is not relevan=\r
+t to have the exact header as the tag.</div><div><br></div><div>Cheers,</di=\r
+v>\r
+<div><br></div><div>Rainer</div><div>=A0</div><blockquote class=3D"gmail_qu=\r
+ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=\r
+">\r
+<br>\r
+d<br>\r
+</blockquote><br><br>-- <br>Rainer M. Krug, PhD (Conservation Ecology, SUN)=\r
+, MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br><br>Centre of E=\r
+xcellence for Invasion Biology<br>Stellenbosch University<br>South Africa<b=\r
+r>\r
+<br>Tel : =A0 =A0 =A0 +33 - (0)9 53 10 27 44<br>Cell: =A0 =A0 =A0 +33 - (0)=\r
+6 85 62 59 98<br>Fax (F): =A0 =A0 =A0 +33 - (0)9 58 10 27 44<br><br>Fax (D)=\r
+: =A0 =A0+49 - (0)3 21 21 25 22 44<br><br>email: =A0 =A0 =A0<a href=3D"mail=\r
+to:Rainer@krugs.de" target=3D"_blank">Rainer@krugs.de</a><br>\r
+<br>Skype: =A0 =A0 =A0RMkrug<br><br>\r
+\r
+--f46d0408395d22bd7304d6f61312--\r