I have been using emacs since about 2017. I used Spacemacs for a time before fully switching to Doom-Emacs sometime in 2018. Much thanks to Dxnn for showing me spacemacs in the first place.

When I first started I had no idea what I was doing. Elisp seemed incomprehensible (I had yet to learn Scheme or Clojure). Elisp is still a bit of a mystery for me. I'm quite happy tinkering from time to time, but have yet to need an full breadth of knowledge of the language.

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!

Misc. Notes

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.

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


Ignoring Directories in Ivy/Projectile

Sometimes (seemingly non-deterministically), emacs will index all folders in a project; making projectile-find-file, and other ivy operations slow. To fix this add a .ignore file to your project root, and add the problematic directories to this affect:


Renaming files with dired

  • In Doom, open a dired dir and enter C-c C-e (or (wdired-change-to-wdired-mode))

  • Make changes and apply them with C-c

Get path binaries working in emacs

Doom Emacs Quicknotes

  • ripgrep not working in GUI emacs? Run ~/.emacs.d/bin/doom env

External keyboard issues

Sometimes external keyboards aren't happy with how mac keybinds work. Get left option key working as meta: (this disables unique glyph entry via the right option key.)

(setq mac-command-modifier      'super
      ns-command-modifier       'super
      mac-option-modifier       'meta
      ns-option-modifier        'meta
      mac-right-option-modifier 'meta
      ns-right-option-modifier  'meta)


  • change tab size: (setq-default tab-width 10)