I have been using emacs since about 2017. I used Spacemacs for a time before fully switching to Doom-Emacs sometime in 2018.
When I first started I had no idea what I was doing. Elisp seemed incomprehensible (I had yet to learn Scheme or Clojure).
Emacs and Org Modeº are a big part of my electronic productivity. I wrote House of the Lakeº in emacs/org mode, do all programming in it when possible and use it for task management and time-tracking.
Still, I am often discovering new things I can do.
Using GPG with Emacs.
This one took a little while (and is OS dependant, and GPG ver. dependant.)
(require 'epa-file) (custom-set-variables '(epg-gpg-program "/usr/local/bin/gpg")) ; you may have to specify which version of GPG you have installed. (epa-file-enable)
To make emacs ask for the password EVERY TIME you open the doc you need to change the TTL for password caching in GPG itself.
For newer versions (v2.1+), disable password caching for the agent by creating ~/.gnupg/gpg-agent.conf and adding the following lines:
default-cache-ttl 1 max-cache-ttl 1
Then restart the agent:
echo RELOADAGENT | gpg-connect-agent