Re: WIP: filter out envelope headers in notmuch-insert.

2022-02-14 Thread David Bremner
NeilBrown writes: > And on digging into postfix a bit, it seem that when forwarding to a > program, it *doesn't* quote other "From " lines in the email, so > splitting up the input would break things. I wonder if that is a bug... > the documentation is clear on the details of delivering to a

Re: WIP: filter out envelope headers in notmuch-insert.

2022-02-14 Thread NeilBrown
On Tue, 15 Feb 2022, David Bremner wrote: > "NeilBrown" writes: > > > On Mon, 14 Feb 2022, David Bremner wrote: > > > > If notmuch-insert is given an 'mbox', shouldn't it either reject it, or > > split it up into individual messages and insert each one individually > > (discarding the "From"

Re: WIP: filter out envelope headers in notmuch-insert.

2022-02-14 Thread David Bremner
"NeilBrown" writes: > On Mon, 14 Feb 2022, David Bremner wrote: > > If notmuch-insert is given an 'mbox', shouldn't it either reject it, or > split it up into individual messages and insert each one individually > (discarding the "From" line because it shouldn't add any new > information)? I

Re: Test suite timing issues?

2022-02-14 Thread Tomi Ollila
On Mon, Feb 14 2022, David Bremner wrote: > Tomi Ollila writes: > >> >> Looked notmuch-new.c -- time_t (seconds since epoch) is used as timestamp >> comparisons (which would indicate the subsecond resolution most fs' provide >> is not used)... >> >> ... and if so, I wonder why some of our tests

Re: Test suite timing issues?

2022-02-14 Thread Tomi Ollila
On Mon, Feb 14 2022, David Bremner wrote: > Tomi Ollila writes: > >> >> Looked notmuch-new.c -- time_t (seconds since epoch) is used as timestamp >> comparisons (which would indicate the subsecond resolution most fs' provide >> is not used)... >> >> ... and if so, I wonder why some of our tests

Re: Test suite timing issues?

2022-02-14 Thread David Bremner
Tomi Ollila writes: > > Looked notmuch-new.c -- time_t (seconds since epoch) is used as timestamp > comparisons (which would indicate the subsecond resolution most fs' provide > is not used)... > > ... and if so, I wonder why some of our tests are not failing all the time > for everyone...? Not

Re: WIP: filter out envelope headers in notmuch-insert.

2022-02-14 Thread David Bremner
"NeilBrown" writes: > On Sat, 12 Feb 2022, David Bremner wrote: >> This is a bit rough and ready, but before I fine tune it, I want to >> make sure the overall idea of stripping envelope headers in >> notmuch-insert makes sense. > > I think that it would be highly inappropriate to modify the