kazu-yamamoto/Mew — pull request #21 by tadanagao (2013-04-21 18:29:36+00:00)
Title: Support GnuPG 2.0.19 and work around Emacs's process handling bug

GnuPG at least 2.0.19 changed its message for wrong passphrases. This patch follows the change by modifying Mew's process filter for GnuPG.

Alas, however, that alone didn't work for me because Emacs's process filter somehow dropped the last few message lines from GnuPG. Add a work-around that checks the existence of the resulting decrypted file instead of solely relying on the unstable process filter.