about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/cycle.el
AgeCommit message (Collapse)AuthorFilesLines
2020-01-17 Refactor MRU EXWM workspace using cycle/focus-previous!William Carroll1-1/+15
Instead of consuming `cycle/previous-focus`, define a function `cycle/focus-previous!` that "focuses" the element at `previous-index` and returns that element. This function greatly simplified the code in window-manager.el and eliminated the unnecessary `exwm/previous-workspace` variable that was managing the state.
2020-01-17 Support cycle/previous-focusWilliam Carroll1-20/+56
Define a `cycle/previous-focus` function that returns the item that was previously "focused" in the cycle. This is helpful for toggling back-and-forth between buffers and EXWM workspaces for example without needing to define ad-hoc variables to support it. Also: Adds tests to cycle.el. Also: Prefers `struct/set!` instead of `setf`. See the previous commit's message for more information about that preference.
2020-01-06 Prefer variadic cycle/newWilliam Carroll1-2/+2
TODO: Ensure all */new functions in my Elisp library share this API.
2019-12-24 Massive configuration overhaulWilliam Carroll1-0/+105
Currently paying the price of months of non-diligent git usage. Here's what has changed. - Theming support in Gvcci and wpgtk - Dropping support for i3 - Supporting EXWM - Many Elisp modules - Collapsed redundant directories in ./configs