Batch tagging - add id_list as tag possible?

Rainer M Krug r.m.krug at gmail.com
Sat Mar 2 11:24:38 PST 2013


On Saturday, March 2, 2013, David Bremner wrote:

> Rainer M Krug <r.m.krug at gmail.com <javascript:;>> 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 at krugs.de

Skype:      RMkrug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130302/903fd0d6/attachment.html>


More information about the notmuch mailing list