[notmuch] [PATCH] notmuch-new: Test if directory looks like Maildir before skipping tmp.

2009-11-27 Thread Carl Worth
On Wed, 25 Nov 2009 22:11:45 +0100, Jan Janak wrote: > Files and subdirectories with the name "tmp" that do not look like > Maildir will still be processed by 'notmuch new'. This is a nice improvement. I realize we neglected to document the original "tmp" skipping. This should definitely be

Re: [notmuch] [PATCH] notmuch-new: Test if directory looks like Maildir before skipping tmp.

2009-11-27 Thread Carl Worth
On Wed, 25 Nov 2009 22:11:45 +0100, Jan Janak j...@ryngle.com wrote: Files and subdirectories with the name tmp that do not look like Maildir will still be processed by 'notmuch new'. This is a nice improvement. I realize we neglected to document the original tmp skipping. This should

[notmuch] [PATCH] notmuch-new: Test if directory looks like Maildir before skipping tmp.

2009-11-25 Thread Jan Janak
On 25-11 12:12, Scott Robinson wrote: > Excerpts from Jan Janak's message of Wed Nov 25 11:43:15 -0800 2009: > > +/* Test if the directory looks like a Maildir directory. > > + * > > + * Search through the array of directory entries to see if we can find all > > + * three subdirectories typical

[notmuch] [PATCH] notmuch-new: Test if directory looks like Maildir before skipping tmp.

2009-11-25 Thread Jan Janak
'notmuch new' skips directory entries with the name 'tmp'. This is to prevent notmuch from processing possibly incomplete Maildir messages stored in that directory. This patch attempts to refine the feature. If "tmp" entry is found, it first checks if the containing directory looks like a Maildir

[notmuch] [PATCH] notmuch-new: Test if directory looks like Maildir before skipping tmp.

2009-11-25 Thread Jan Janak
'notmuch new' skips directory entries with the name 'tmp'. This is to prevent notmuch from processing possibly incomplete Maildir messages stored in that directory. This patch attempts to refine the feature. If "tmp" entry is found, it first checks if the containing directory looks like a Maildir