From: David Bremner Date: Sat, 2 Mar 2013 16:13:51 +0000 (+2000) Subject: Re: Batch tagging - add id_list as tag possible? X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=72fdf538c7fe6a3e296cbf26b8df9a780eae4e84;p=notmuch-archives.git Re: Batch tagging - add id_list as tag possible? --- diff --git a/cc/74157c4061880ca444c9f98ee6fbb6455f77b5 b/cc/74157c4061880ca444c9f98ee6fbb6455f77b5 new file mode 100644 index 000000000..ba962bd3d --- /dev/null +++ b/cc/74157c4061880ca444c9f98ee6fbb6455f77b5 @@ -0,0 +1,81 @@ +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 DC2C3431FAF + for ; Sat, 2 Mar 2013 08:13:59 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 ausklBlFxA0y for ; + Sat, 2 Mar 2013 08:13:59 -0800 (PST) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 698CE431FAE + for ; Sat, 2 Mar 2013 08:13:59 -0800 (PST) +Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net + ([156.34.82.78] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa + (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) + (envelope-from ) + id 1UBp4P-0007E9-O9; Sat, 02 Mar 2013 12:13:58 -0400 +Received: from bremner by zancas.localnet with local (Exim 4.80) + (envelope-from ) + id 1UBp4K-0004Dc-2C; Sat, 02 Mar 2013 12:13:52 -0400 +From: David Bremner +To: Rainer M Krug , + "notmuch\@notmuchmail.org" +Subject: Re: Batch tagging - add id_list as tag possible? +In-Reply-To: + +References: + +User-Agent: Notmuch/0.15.2+32~g16aa65b (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Sat, 02 Mar 2013 12:13:51 -0400 +Message-ID: <871ubx7pa8.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-Spam_bar: - +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 16:14:00 -0000 + +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. + +> 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. Be aware that the list-id header is often not really suitable +for use as a tag, since it has quotes, spaces, and various punctuation +in it. I guess you can make that work if you really want to. + +d