tvl-depot/users/tazjin/emacs
Vincent Ambo d6bce3f83d refactor(tazjin/emacs): refactor LRU workspace list to use ring.el
This built-in emacs library actually provides a data structure that
can work as an LRU list through the existing helper function to move
an element to the front of the ring if it already exists.

As a result, the code for workspace history moving becomes a lot less
brittle and complicated than it was before. No more carefully figuring
out when to modify state, just push it in the ring unless it's being
rotated already.

Change-Id: If354e0618fc5a6d7333776468eec077596cfe9df
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9162
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2023-08-29 08:22:01 +00:00
..
config refactor(tazjin/emacs): refactor LRU workspace list to use ring.el 2023-08-29 08:22:01 +00:00
.gitignore chore(tazjin/emacs): Move //tools/emacs to //users/tazjin/emacs 2020-06-18 20:19:50 +01:00
default.nix chore(tazjin/emacs): remove now builtin packages 2023-08-28 19:40:49 +00:00
README.md chore(tazjin/emacs): Move //tools/emacs to //users/tazjin/emacs 2020-06-18 20:19:50 +01:00

tools/emacs

This sub-folder builds my Emacs configuration, supplying packages from Nix and configuration from this folder.

I use Emacs for many things (including as my desktop environment).