I'm working on support for something like notmuch new [--] [PATH ..] where PATH can be any path (file or dir) within the mail directory, and I had a couple of questions: 1) What happens if you call notmuch_database_add_message() for a path that's already in the database. Is that OK? 2) Does add_files_recursive() assume it always sees all paths? i.e. is it safe to call it with just a sub-directory of the mail directory? I haven't finished investigating the code, but some bits made me wonder. Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4