chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f69bcd
)
dot/emacs: Use loopback pinentry if we get a choice.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 26 May 2020 23:40:11 +0000
(
00:40
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 26 May 2020 23:40:11 +0000
(
00:40
+0100)
Alas, Emacs 24 doesn't understand this setting. Worse, Emacs and
`pinentry-curses' (or the `curses' mode of other pinentries) fight over
the terminal in a rather disastrous way.
dot/emacs
patch
|
blob
|
blame
|
history
diff --git
a/dot/emacs
b/dot/emacs
index de70388a77747aadf3d52f0eea1bd388a15f851b..bd6f7314f620da5093cd4f58db0a83ae7e882d54 100644
(file)
--- a/
dot/emacs
+++ b/
dot/emacs
@@
-594,6
+594,8
@@
(define-key mc-write-mode-map "\C-c/E" 'mc-encrypt-region)
(add-hook 'text-mode-hook 'mc-install-write-mode))))
+(setq epa-pinentry-mode 'loopback)
+
;;;--------------------------------------------------------------------------
;;; Other common declarations.