docs(emacs basic-config): use Emacs as GPG pinentry when possible

This commit is contained in:
Lucien Cartier-Tilet 2024-01-09 18:51:06 +01:00
parent 0f3dbc0739
commit c4221989d9
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -104,6 +104,13 @@ I havent found a way to automate that in Emacs yet aside from
formatters config file, and tabs look bat in EmacsLisp anyway, so
Ill stick with spaces by default and change it where needed.
*** GPG pinentry
Id 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” doesnt exactly
fit mine, so on top of ~prog-mode~, lets add a few other modes.