[PATCH] notmuch new: add a --in-directory option

Adam Wolfe Gordon awg+notmuch at xvx.ca
Thu Mar 6 13:16:21 PST 2014


On Thu, Mar 6, 2014 at 2:06 PM, Austin Clements <amdragon at mit.edu> wrote:
> That aside, I'm curious what the use case for this is.

My usecase for this is the same as for the similar patch I worked on
previously (id:1373762746-22308-1-git-send-email-awg+notmuch at xvx.ca):

I use inotify to watch for new messages in my maildir. When I receive
a new message, I run notmuch new (after waiting a couple of seconds
since messages sometimes arrive in batches). But since I already know
exactly what changed, there's no need for notmuch new to scan the
whole directory tree. I'm not sure whether this patch lets me specify
a file, or only a directory: the former would be preferable for my
usecase, but either way it's probably an enhancement for me.

-- Adam


More information about the notmuch mailing list