Workarounds for emacs annoyances.