From: Dimid Duchovny <firstname.lastname@example.org> To: Eric Wong <email@example.com> Cc: msgthr-public <firstname.lastname@example.org> Subject: Re: Feature Request: thread grouping Date: Tue, 23 Jan 2018 23:04:37 +0200 Message-ID: <CANKvuDcS4_VJMiSxnHdUA+7sdVdeCxkp_L8+re_Z3D=W9-ep_A@mail.gmail.com> (raw) In-Reply-To: <20180121234911.GA29238@whir> 2018-01-22 1:49 GMT+02:00 Eric Wong <email@example.com>: > Dimid Duchovny <firstname.lastname@example.org> wrote: >> However, I realized that the last step (walking) is redundant, >> since that could be done by the library itself in the threading or >> ordering stages. > > I think you want is best done in the storage/indexing stage; > whereas msgthr is intended for display/rendering results that > were retrieved from some sort of search engine. > You're right. In my case the flow was: read emails from storage -> group to threads -> add thread field to storage. However, I guess it's an edge-case. On second thought, maybe it'd be better to have a more general solution. E.g. let the client run an arbitrary callback after adding a child. Here's a quick POC: https://github.com/dimidd/msgthr/commit/1c701717d10879d492d8b55fb8ca2f1c53d7e13f P.S. I hope you don't mind I uploaded my fork to github.
next prev parent reply index Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-01-21 9:40 Dimid Duchovny 2018-01-21 23:49 ` Eric Wong 2018-01-23 21:04 ` Dimid Duchovny [this message] 2018-01-23 21:12 ` Dimid Duchovny 2018-01-23 22:03 ` Eric Wong 2018-01-24 10:28 ` Dimid Duchovny 2018-01-24 19:18 ` Eric Wong 2018-01-24 21:14 ` Dimid Duchovny 2018-01-24 22:49 ` Eric Wong 2018-01-25 8:16 ` Dimid Duchovny 2018-01-25 8:38 ` Eric Wong 2018-02-08 13:06 ` Dimid Duchovny
Reply instructions: You may reply publically to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://80x24.org/msgthr/README * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='CANKvuDcS4_VJMiSxnHdUA+7sdVdeCxkp_L8+re_Z3D=W9-ep_A@mail.gmail.com' \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
msgthr user+dev discussion/patches/pulls/bugs/help Archives are clonable: git clone --mirror https://80x24.org/msgthr-public Example config snippet for mirrors Newsgroups are available over NNTP: nntp://news.public-inbox.org/inbox.comp.lang.ruby.msgthr nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.msgthr note: .onion URLs require Tor: https://www.torproject.org/ AGPL code for this site: git clone https://public-inbox.org/ public-inbox