• Emacs

Filed under:

Current setup - Doom emacs, Tomorrow Theme

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.

Using GPG with Emacs.

This one took a little while (and is OS dependant, and GPG ver. dependant.)

Enabling EasyPG

(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

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:



  • Use ivy-immediate-done (bound to C-M-j) to immediately execute a text action. This is useful when you are trying to create or rename a file to something familiar that is fuzzy-matching.

Compiling Native-comp

Compiling Native-comp

Follow this guide to get native comp building on mac.

Renaming files with dired

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


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