Bug?: notmuch-search-show-thread shows several threads; only one containing matching messages

Gregor Zattler telegraph at gmx.net
Sun Jan 29 15:42:14 PST 2012


Hi Pieter, notmuch developers
* Pieter Praet <pieter at praet.org> [26. Jan. 2012]:
> On Thu, 26 Jan 2012 13:44:50 +0100, Gregor Zattler <telegraph at gmx.net> wrote:
>>    |> [2] grep -I "^Message-Id:" /tmp/thread-I-m-interested-in.mbox |sed -e "s/Message-Id: <//I" -e "s/>$//" >really.mid
>>    |>     grep -I -F really.mid rest.mbox
>>    |>     --> no match
>> 
> 
> Did you mean to do case-insensitive grep? ('-i' instead of '-I').

Yes I did mean case-insensitive search and the `-I' is the result
of a misguided abbrev... Sorry about this.

> Also, the '-F' option expects input on stdin, not a filename.

No, this is -F instead of -f and means --fixed-strings.

> Try this (with all individual threads split into separate mboxes):
> 
>   #+begin_src sh
>     for i in $(ls *.mbox) ; do
>         grep -i '^Message-Id:' "${i}" | \
>             sed -e 's/^.\{13\}//' -e 's/>$//' \
>             > "${i}.mids"
>     done
>     for i in $(ls *.mids) ; do
>         echo "## Grepping for ${i}'s Message-Ids"
>         grep -i -F "$(cat ${i})" *.mbox
>     done
>   #+end_src

Thanks I did it "manual".

> Here's another couple of threads squashed into a single one:
> - [O] [Use Question] Capture and long lines
>   - id:"BANLkTikoF4tXuNLLufRzNSD6k2ZYs7sUcg at mail.gmail.com"
> - [O] Worg update
>   - id:"m1wrfiz3ch.fsf at tsdye.com"
> - [O] Table formula to convert hex to dec
>   - id:"20110724080054.GB16388 at x201"
> - [O] ICS import?
>   - id:"20120125173421.GQ3747 at x201"
> 
> 
> AFAICT, none of them share Message-Id's...

Do you consider this a bug?

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


More information about the notmuch mailing list