about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/cycle.el
AgeCommit message (Collapse)AuthorFilesLines
2020-09-02 Linting ElispWilliam Carroll1-1/+1
TL;DR: - Prefer cl-lib - Prefer spaces to tabs - Resolve various checkdoc complaints
2020-09-02 Add missing Elisp dependenciesWilliam Carroll1-0/+2
TL;DR: - Require cl-macs.el for modules using CL-style macros like `cl-defun` - Require struct.el for call to `struct-set!`
2020-09-01 More Elisp lintingWilliam Carroll1-7/+7
In order for this to scale, I need to solve two things: 1. Ad-hoc ignore fill-column rules for URLs and other exceptions. 2. Run Elisp flychecker without evaluating my Elisp code and firing its side-effects.
2020-09-01 More Elisp lintingWilliam Carroll1-47/+51
This should cover most of the remaining linting errors. After this, I expect fewer than ten linting errors.
2020-08-31 Lint string, macros.elWilliam Carroll1-19/+19
More of the same type of linting... basically preferring `namespace-` instead of `namespace/`.
2020-08-31 Lint prelude.elWilliam Carroll1-13/+13
This was a doozey because I use it everywhere. Is there a better way to globally rename things? Aye aye aye... computers, man!
2020-08-31 Lint maybe.elWilliam Carroll1-4/+4
This change had rippling implications.
2020-02-10 Support cycle/{append,remove}William Carroll1-1/+49
Supporting these functions was a little tricky. For example, how should we handle calling cycle/remove on the item that is currently focused? After attempting to be clever, I decided to just set the value to nil and let the consumer decide what is best for them. I can always support a more opinionated version that fallsback to previous-index if previous-index is set. But until I have a better idea of how I'm going to consume this, I think nil is the best option.
2020-02-08 Support cycle/focus-itemWilliam Carroll1-0/+5
I oftentimes call `cycle/focus` and pass `(lambda (a) (equal a b))`. This function should tighten up my code.
2020-02-08 Support cycle/empty?William Carroll1-9/+19
Add predicate for determining if a cycle contains items. Updated cycle/{new,from-list} to support setting current-index to nil when a consumer calls it with an empty list.
2020-01-30 Move move .emacs.d out of configs/sharedWilliam Carroll1-0/+155
Moving all of my Emacs-related files into their own directory at the root of this repository.