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

On Saturday, March 2, 2013, David Bremner wrote:
Rainer M Krug <r.m.krug@gmail.com= +> writes:
+ +
+> Hi
+>
+> I would like to tag my mails automatically by using the id_list as the= + tag
+> name, but as far as I can se in the manual, this is not possible yet. = +Is
+> this true?
+>
+
+That's correct.

Really a pity.
=A0
+
+> It would be great if I could have
+> +%id_list
+>
+> And it would automatically tag my mails with the list I'd?
+
+It should be possible to script that, using e.g. formail to extract the
+list id.=A0

But this would be done=A0outsid= +e the batch tagging - correct?=A0

I think tagging = +based on a header would be a powerful and useful feature, especially for ta= +gging of lists.
+

I mean, if the script would be complex, it might be eas= +ier to use afew.

+Be aware that the list-id header is often not really suitable
+for use as a tag, since it has quotes, spaces, and various punctuational +in it. I guess you can make that work if you really want to.

A cleaning would then be necessary, but it is not relevan= +t to have the exact header as the tag.

Cheers, +

Rainer
=A0
+
+d
+


--
Rainer M. Krug, PhD (Conservation Ecology, SUN)= +, MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of E= +xcellence for Invasion Biology
Stellenbosch University
South Africa +
Tel : =A0 =A0 =A0 +33 - (0)9 53 10 27 44
Cell: =A0 =A0 =A0 +33 - (0)= +6 85 62 59 98
Fax (F): =A0 =A0 =A0 +33 - (0)9 58 10 27 44

Fax (D)= +: =A0 =A0+49 - (0)3 21 21 25 22 44

email: =A0 =A0 =A0Rainer@krugs.de
+
Skype: =A0 =A0 =A0RMkrug

+ +--f46d0408395d22bd7304d6f61312-- -- 2.26.2