One of the nicest things about Emacs is that you can configure it to avoid some minor annoyances. Take this for example: after I write this file, it won't have reading permissions for others, which means I should go to the shell and `chmod o+r path-to-file` every time. Nothing important or big, but an annoyance, nonetheless. So I wrote a small lisp function to check if I'm working remote, if the host is sdf.org and if the filename lives inside the gopher directory. If all those conditions are met, then an "others can read" permission is added (that's the octal `#o004` in the code below). So this is the function I added to my `.emacs`: ```elisp (defun my/sdf-gopher-fix-perms () "Ensure files saved on my SDF gopher hole are world-readable." (when (and buffer-file-name (file-remote-p buffer-file-name) (string= (file-remote-p buffer-file-name 'host) "tty.sdf.org") (string-match-p "/gopher/*/" buffer-file-name)) (set-file-modes buffer-file-name (logior (file-modes buffer-file-name) #o004)))) (add-hook 'after-save-hook #'my/sdf-gopher-fix-perms) ``` After loading the code, when I save this file, it will be `chmod o+r`-ed automagically. Emacs is great, isn't it?