Version 2 should address Mark's comments. It also adds a patch to fix an additional error handling error he pointed out in remove_filename.
- [PATCH 0/3] Fix some error handling in notmuch new Austin Clements
- [PATCH 1/3] new: Consistently treat fatal errors as f... Austin Clements
- [PATCH 1/3] new: Consistently treat fatal errors ... Mark Walters
- [PATCH 1/3] new: Consistently treat fatal err... Austin Clements
- [PATCH 2/3] new: Handle fatal errors in remove_filena... Austin Clements
- [PATCH 2/3] new: Handle fatal errors in remove_fi... Mark Walters
- [PATCH 2/3] new: Handle fatal errors in remov... Austin Clements
- [PATCH 3/3] new: Print final fatal error message to s... Austin Clements
- [PATCH v2 0/4] Fix some error handling in notmuch new Austin Clements
- [PATCH v2 1/4] new: Consistently treat fatal erro... Austin Clements
- [PATCH v2 2/4] new: Handle fatal errors in remove... Austin Clements
- [PATCH v2 2/4] new: Handle fatal errors in re... Mark Walters
- [PATCH v2 2/4] new: Handle fatal errors i... Austin Clements
- [PATCH v2 3/4] new: Print final fatal error messa... Austin Clements
- [PATCH v2 4/4] new: Fix missing end_atomic in rem... Austin Clements
- [PATCH v2 4/4] new: Fix missing end_atomic in... Mark Walters
- [PATCH v3 0/4] Fix some error handling in notmuch new Austin Clements
- [PATCH v3 1/4] new: Consistently treat fatal erro... Austin Clements
- [PATCH v3 1/4] new: Consistently treat fatal ... David Bremner