unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [FEATURE] indexing arbitrary headers
       [not found] <CGME20170602071817eucas1p240c62e754f95c4dba776c1e400b02299@eucas1p2.samsung.com>
@ 2017-06-02  7:18 ` Łukasz Stelmach
  2017-06-03 16:28   ` David Bremner
  0 siblings, 1 reply; 6+ messages in thread
From: Łukasz Stelmach @ 2017-06-02  7:18 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [FEATURE] indexing arbitrary headers
  2017-06-02  7:18 ` [FEATURE] indexing arbitrary headers Łukasz Stelmach
@ 2017-06-03 16:28   ` David Bremner
  2019-05-30 20:27     ` Daniel Kahn Gillmor
  0 siblings, 1 reply; 6+ messages in thread
From: David Bremner @ 2017-06-03 16:28 UTC (permalink / raw)
  To: Łukasz Stelmach, notmuch

Łukasz Stelmach <l.stelmach@samsung.com> 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:20170507124012.30188-2-david@tethera.net)

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

d

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [FEATURE] indexing arbitrary headers
  2017-06-03 16:28   ` David Bremner
@ 2019-05-30 20:27     ` Daniel Kahn Gillmor
  2019-05-30 21:32       ` Carl Worth
                         ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Daniel Kahn Gillmor @ 2019-05-30 20:27 UTC (permalink / raw)
  To: David Bremner, Łukasz Stelmach, notmuch

[-- Attachment #1: Type: text/plain, Size: 1714 bytes --]

On Sat 2017-06-03 13:28:46 -0300, David Bremner wrote:
> Łukasz Stelmach <l.stelmach@samsung.com> 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:20170507124012.30188-2-david@tethera.net)
>
> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [FEATURE] indexing arbitrary headers
  2019-05-30 20:27     ` Daniel Kahn Gillmor
@ 2019-05-30 21:32       ` Carl Worth
  2019-05-31  0:09       ` Ralph Seichter
       [not found]       ` <CGME20190531092827eucas1p21397cd9dcc8329eb5790cf7d4921c7a0@eucas1p2.samsung.com>
  2 siblings, 0 replies; 6+ messages in thread
From: Carl Worth @ 2019-05-30 21:32 UTC (permalink / raw)
  To: Daniel Kahn Gillmor, David Bremner, Łukasz Stelmach, notmuch

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [FEATURE] indexing arbitrary headers
  2019-05-30 20:27     ` Daniel Kahn Gillmor
  2019-05-30 21:32       ` Carl Worth
@ 2019-05-31  0:09       ` Ralph Seichter
       [not found]       ` <CGME20190531092827eucas1p21397cd9dcc8329eb5790cf7d4921c7a0@eucas1p2.samsung.com>
  2 siblings, 0 replies; 6+ messages in thread
From: Ralph Seichter @ 2019-05-31  0:09 UTC (permalink / raw)
  To: notmuch

* 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [FEATURE] indexing arbitrary headers
       [not found]       ` <CGME20190531092827eucas1p21397cd9dcc8329eb5790cf7d4921c7a0@eucas1p2.samsung.com>
@ 2019-05-31  9:27         ` Łukasz Stelmach
  0 siblings, 0 replies; 6+ messages in thread
From: Łukasz Stelmach @ 2019-05-31  9:27 UTC (permalink / raw)
  To: Daniel Kahn Gillmor; +Cc: David Bremner, notmuch

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

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 <l.stelmach@samsung.com> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-31  9:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170602071817eucas1p240c62e754f95c4dba776c1e400b02299@eucas1p2.samsung.com>
2017-06-02  7:18 ` [FEATURE] indexing arbitrary headers Łukasz Stelmach
2017-06-03 16:28   ` David Bremner
2019-05-30 20:27     ` Daniel Kahn Gillmor
2019-05-30 21:32       ` Carl Worth
2019-05-31  0:09       ` Ralph Seichter
     [not found]       ` <CGME20190531092827eucas1p21397cd9dcc8329eb5790cf7d4921c7a0@eucas1p2.samsung.com>
2019-05-31  9:27         ` Łukasz Stelmach

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).