persistent caching for Emacs