Re: Batch tagging - add id_list as tag possible?

Subject: Re: Batch tagging - add id_list as tag possible?

Date: Sat, 02 Mar 2013 12:13:51 -0400

To: Rainer M Krug, notmuch@notmuchmail.org

Cc:

From: David Bremner


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.

> 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

Thread: