summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2022-02-20 18:37:23 +0100
committerfpi2022-03-17 14:45:41 +0100
commitfc9789b7205e4d00d260915ae884cfe6861f8008 (patch)
tree7d06d27f5bd3423f4d8cc7bd44fd82b1fa279326
parentUpdate org-edna project task trigger (diff)
Disable pinentry loopback on win10 devices
Breaks in combination with pinentry-wsl
-rw-r--r--emacs-init.org9
1 files changed, 8 insertions, 1 deletions
diff --git a/emacs-init.org b/emacs-init.org
index 8b82130..0586825 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -3077,7 +3077,9 @@ over =windmove=, as it does not interfere with org keybindings.
#+begin_src emacs-lisp
(use-package epa
- :custom (epa-pinentry-mode 'loopback))
+ :custom (epa-pinentry-mode (if (equal (fpi/current-device-info :os) 'win10)
+ nil
+ 'loopback)))
(use-package pinentry
:straight t
:config (pinentry-start)
@@ -3214,6 +3216,11 @@ Various utilities which ease programming in some languages.
:straight t)
#+end_src
*** Emacs lisp
+Remap ~eval-last-sexp~ to a pretty print version. Then you can use =C-0 C-x C-e= to insert the values of the last sexp. Use ~pp-macroexpand-last-sexp~ to print a macro expanded version of the last sexp (but not eval it).
+#+begin_src emacs-lisp
+(global-set-key [remap eval-last-sexp] 'pp-eval-last-sexp)
+#+end_src
+
=Speed of thought= makes writing lisp so easy. No more snippets
needed.
#+begin_src emacs-lisp