[FEATURE] indexing arbitrary headers

classic Classic list List threaded Threaded
6 messages Options
Łukasz Stelmach-2 Łukasz Stelmach-2
Reply | Threaded
Open this post in threaded view
|

[FEATURE] indexing arbitrary headers

Hi,

I'd like to ask for a new feature: indexing of arbitrary headers. Not
all headers but a few selected by users.

For example, I get a lot of mails from a Gerrit system. I'd like to keep
them for a while and remove them when they are old enough. Although
these messages are distinguishable in my inbox, they've got subjects
like "Change in ..." and are from "nobody". But these may happen in
other e-mails too. The only 100% sure way to distringuish those e-mails
is to look for headers Gerrit adds.

Kind regards,
--
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch

signature.asc (482 bytes) Download Attachment
David Bremner-2 David Bremner-2
Reply | Threaded
Open this post in threaded view
|

Re: [FEATURE] indexing arbitrary headers

Łukasz Stelmach <[hidden email]> writes:

> I'd like to ask for a new feature: indexing of arbitrary headers. Not
> all headers but a few selected by users.
>
> For example, I get a lot of mails from a Gerrit system. I'd like to keep
> them for a while and remove them when they are old enough. Although
> these messages are distinguishable in my inbox, they've got subjects
> like "Change in ..." and are from "nobody". But these may happen in
> other e-mails too. The only 100% sure way to distringuish those e-mails
> is to look for headers Gerrit adds.
>

Thanks for writing this up. Similar requests have been around for a
while, but it's good to have a note in nmbug.

There are two main blockers I'm aware of (other than someone writing and
reviewing the code).

1) We need to index all copies of a message (e.g. using
   something like the series at  id:[hidden email])

2) we need to decide what happens when someone changes the list of
   indexed headers.

d


_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
Daniel Kahn Gillmor Daniel Kahn Gillmor
Reply | Threaded
Open this post in threaded view
|

Re: [FEATURE] indexing arbitrary headers

On Sat 2017-06-03 13:28:46 -0300, David Bremner wrote:

> Łukasz Stelmach <[hidden email]> writes:
>
>> I'd like to ask for a new feature: indexing of arbitrary headers. Not
>> all headers but a few selected by users.
>>
>> For example, I get a lot of mails from a Gerrit system. I'd like to keep
>> them for a while and remove them when they are old enough. Although
>> these messages are distinguishable in my inbox, they've got subjects
>> like "Change in ..." and are from "nobody". But these may happen in
>> other e-mails too. The only 100% sure way to distringuish those e-mails
>> is to look for headers Gerrit adds.
>>
>
> Thanks for writing this up. Similar requests have been around for a
> while, but it's good to have a note in nmbug.
>
> There are two main blockers I'm aware of (other than someone writing and
> reviewing the code).
>
> 1) We need to index all copies of a message (e.g. using
>    something like the series at  id:[hidden email])
>
> 2) we need to decide what happens when someone changes the list of
>    indexed headers.
I just wanted to point out that this specific request has now been added
to notmuch, thanks to David Bremner!  It will hopefully be part of the
forthcoming 0.29 release:

NEWS currently says:

    Add support for indexing user specified headers (e.g. List-Id). See
    notmuch-config(1) for details. This requires reindexing after changing
    the set of headers to be indexed.

Bremner, i'm not sure how/when you want to clear the notmuch::wishlist
tag on the OP here, but it's nice to be able to reduce the stack listed
at https://nmbug.notmuchmail.org/status/#Wish-list

   --dkg

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch

signature.asc (233 bytes) Download Attachment
Carl Worth-2 Carl Worth-2
Reply | Threaded
Open this post in threaded view
|

Re: [FEATURE] indexing arbitrary headers

On Thu, May 30 2019, Daniel Kahn Gillmor wrote:
> I just wanted to point out that this specific request has now been added
> to notmuch, thanks to David Bremner!  It will hopefully be part of the
> forthcoming 0.29 release:

Woo-hoo! Thanks so much!!

This has been on my I-wish-I-would-have-done-that-from-the-beginning
list for notmuch for a very long time.

-Carl

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch

signature.asc (847 bytes) Download Attachment
Ralph Seichter-2 Ralph Seichter-2
Reply | Threaded
Open this post in threaded view
|

Re: [FEATURE] indexing arbitrary headers

In reply to this post by Daniel Kahn Gillmor
* Daniel Kahn Gillmor:

> I just wanted to point out that this specific request has now been
> added to notmuch, thanks to David Bremner!

Thanks indeed! I am very much looking forward to this feature.

-Ralph
_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
Łukasz Stelmach-2 Łukasz Stelmach-2
Reply | Threaded
Open this post in threaded view
|

Re: [FEATURE] indexing arbitrary headers

In reply to this post by Daniel Kahn Gillmor
It was <2019-05-30 czw 22:27>, when Daniel Kahn Gillmor wrote:
> On Sat 2017-06-03 13:28:46 -0300, David Bremner wrote:
>> Łukasz Stelmach <[hidden email]> writes:
>>
>>> I'd like to ask for a new feature: indexing of arbitrary headers. Not
>>> all headers but a few selected by users.
[...]
> I just wanted to point out that this specific request has now been added
> to notmuch, thanks to David Bremner!  It will hopefully be part of the
> forthcoming 0.29 release:
>
> NEWS currently says:
>
>     Add support for indexing user specified headers (e.g. List-Id). See
>     notmuch-config(1) for details. This requires reindexing after changing
>     the set of headers to be indexed.

Yay! Thanks a lot.

--
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch

signature.asc (497 bytes) Download Attachment