From c4221989d95f610ffe0408e50e3016fa29838e70 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Tue, 9 Jan 2024 18:51:06 +0100 Subject: [PATCH] docs(emacs basic-config): use Emacs as GPG pinentry when possible --- docs/emacs/basic-config.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/emacs/basic-config.org b/docs/emacs/basic-config.org index a217ed4..7a44603 100644 --- a/docs/emacs/basic-config.org +++ b/docs/emacs/basic-config.org @@ -104,6 +104,13 @@ I haven’t found a way to automate that in Emacs yet aside from formatters’ config file, and tabs look bat in EmacsLisp anyway, so I’ll stick with spaces by default and change it where needed. +*** GPG pinentry +I’d like Emacs to be responsible for decrypting my GPG encrypted files +when in Emacs. This can be done with the following line. +#+begin_src emacs-lisp +(setq epg-pinentry-mode 'loopback) +#+end_src + *** Programming Modes First off, my definition of what makes a “programming mode” doesn’t exactly fit mine, so on top of ~prog-mode~, let’s add a few other modes.