From: Daniel Kahn Gillmor Date: Sat, 9 Feb 2019 17:34:37 +0000 (-0500) Subject: emacs: Invoke gpg with --batch and --no-tty X-Git-Tag: 0.28.2~6 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=3c752b855f900f5251df9997514b4d27d9f38e83;hp=3c752b855f900f5251df9997514b4d27d9f38e83 emacs: Invoke gpg with --batch and --no-tty When invoking gpg as a backgrounded tool, it's important to let gpg know that it is backgrounded, to avoid spurious prompts or other breakage. In particular, https://bugs.debian.org/913614 was a regression in GnuPG which causes problems when importing keys without a terminal, but gpg expects one. Ensuring that notmuch-emacs always invokes gpg as a background process should avoid some of these unnecessary failure. Thanks to Justus Winter for finding this problem. Signed-off-by: Daniel Kahn Gillmor ---