girzel / gnorb

Glue code between the Org, Gnus, and BBDB packages for Emacs.
32 stars 4 forks source link

Do not start a reply with gnorb-org-handle-mail when the email is not found #6

Closed brabalan closed 10 years ago

brabalan commented 10 years ago

When I call gnorb-org-handle-mail and the link is stale, a reply is still created with an arbitrary message (it seems it's the most recent one) found in the mailbox. It may be better to fail with an error saying the message was not found.

girzel commented 10 years ago

Thanks for this! I was assuming stale links raised an error, which was not the case. Hopefully this fix will work okay.

brabalan commented 10 years ago

Great, I confirm I'm now getting an error. Thanks!

girzel commented 10 years ago

Hopefully the only time I'll ever be thanked for causing an error :)