Re: [notmuch] 25 minutes load time with emacs -f notmuch

Subject: Re: [notmuch] 25 minutes load time with emacs -f notmuch

Date: Sat, 21 Nov 2009 20:23:52 +0100

To: Carl Worth

Cc: notmuch@notmuchmail.org

From: Stefan Schmidt


Hello.

On Sat, 2009-11-21 at 18:26, Carl Worth wrote:
> On Sat, 21 Nov 2009 16:36:55 +0100, Stefan Schmidt <stefan@datenfreihafen.org> wrote:
> 
> > In my case only 80 messages were printed before the gap. All of them had a wrong
> > year in the timestamp. 1900 and 1970. Maybe notmuch just comes into a bad state
> > with this dates?
> 
> I don't think the bogus dates are throwing anything off. It's more
> likely that you just have a number of messages with no Date header on
> them at all. And for such messages, notmuch just chooses a time_t value
> of 0 so you'll see whatever that 0 maps to on your system---a date of
> 1970 there is not surprising. :-)

Yeah, I figured that removing the offending messages and re-run it brought
nothing. Time to look at the source. :)

regards
Stefan Schmidt

Thread: