Commit graph

21 commits

Author SHA1 Message Date
William Carroll
9d475c5b9b refactor(wpcarro/emacs): Remove cycle.el dep on list.el
Cleaning-up the dependency graph before (maybe) publishing this to MELPA.

Change-Id: Ic30c5e155621d57f0fd3ec30ef6c9e4ab14aba3e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6026
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-08-02 20:31:23 +00:00
William Carroll
5417b512e7 feat(wpcarro/emacs): Support list-chunk function
Would be nice to remove the top-level `if` statement, but I can't be bothered to
debug the first unit test without that workaround.

Change-Id: I4ba576bda915eeb11f9fbfeb5d95d8e5668fd0bd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6022
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-08-02 20:29:18 +00:00
William Carroll
6882b95758 feat(wpcarro/emacs): Package vterm-mgt.el
Pretty useful (but still needs some polishing) library for working with `vterm`,
which I use on a daily basis.

Change-Id: Ic6693f52ad9b16b0b4dd1338aedeeccd6ff15379
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6017
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-08-01 17:39:00 +00:00
William Carroll
081742a07e feat(wpcarro/emacs): Package fs.el
According to SourceGraph, this is unused, but I'm checking it in for historical
purposes.

Change-Id: I24bcb1c71a9f6de527bb54057cf13d01493c45bf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6016
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-08-01 17:29:58 +00:00
William Carroll
f957a57ad8 feat(wpcarro/emacs): Package math.el
Another Elisp library that I wrote during my manic experience of switching to
EXWM.

Change-Id: I652f5c7228332a7f5822bd408a0c0be8f7bc4b4f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6018
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-08-01 17:26:57 +00:00
William Carroll
a004be56b3 feat(wpcarro/emacs): Package symbol.el
Not sure how useful this package is, *but* I'm packaging everything I have now,
and then in a separate CL I can refactor and remove various libs.

Change-Id: Id106539b19244ea1586198992c7ce0d65a0a242b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6014
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-08-01 17:20:55 +00:00
William Carroll
77aeb57c64 fix(wpcarro/emacs): Use should macro in struct.el tests
:)

Change-Id: Ia6b4697d002394a7e1d913031849b383ed424ad5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6013
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 14:28:39 +00:00
William Carroll
a1dfbbe79e fix(wpcarro/emacs): Use should macro in string.el tests
:)

Change-Id: Ic20b9c5c66465f2b28f58239a9e7d38dc19f2260
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6012
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 14:28:38 +00:00
William Carroll
5c99ba9702 fix(wpcarro/emacs): Use should macro in set.el tests
Uncovered a few misconfigured tests by consuming the `should` macro.

Change-Id: Ie0204818ecf1f6f5a0feafa85e4e100fb91b8865
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6011
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 14:25:37 +00:00
William Carroll
6686c6d693 fix(wpcarro/emacs): Use should macro in maybe.el tests
More fixes along the way

Change-Id: I6b62eb0545981c2792d6c70089fe81324ba2dbf0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6010
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 14:25:36 +00:00
William Carroll
4193f24e5d fix(wpcarro/emacs): Use should macro in al.el tests
:)

Change-Id: Idcd0e51737c4331b1c95fe2589f0758f443228ac
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6009
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 14:16:35 +00:00
William Carroll
3935848a5d fix(wpcarro/emacs): Use should macros for bag.el tests
🤦 (more fixes forthcoming)

Change-Id: Ibcbea21c44034a2fe6649c22ba2c140da15ec004
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6008
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 14:12:34 +00:00
William Carroll
21a3da25b8 chore(wpcarro/emacs): Mirror cycle.el on Github
Attempting to use `depot.tools.releases.filteredGitPush` for the first
time. Exciting!

Change-Id: I620140b0454128ea2ca51496a7d653ee4219104e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6006
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 04:32:23 +00:00
William Carroll
d1ab0c7cbc feat(wpcarro/emacs): Package cycle.el
This will likely break a few things since I've changed the names of a few
functions to reflect their mutative APIs.

Change-Id: If6279999fba50813b68e66d7713c12afd209eb90
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6004
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 04:26:21 +00:00
William Carroll
65fb82097b fix(wpcarro/emacs): Fix list.el tests
I was getting false-positive ERT test results because I forgot to use the
`should` macro in my assertions. I discovered this when debugging a subtle bug
in cycle.el that depends on `list-contains?` return `t` or `nil` instead of
truthy or falsy values.

Change-Id: Ibbf89fd1c4f50f86d5efcaa4cd87280b97e111ce
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6003
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 04:23:16 +00:00
William Carroll
8989dad5ed feat(wpcarro/emacs): Package string.el
Mostly just a wrapper around s.el (for now?). Eventually I'd like to prune the
dependency on dash.el (and maybe s.el).

Change-Id: I5c2ba256524bedd93fcd13933fdbd95b1ddff6f8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6002
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 02:01:03 +00:00
William Carroll
7410928b5b feat(wpcarro/emacs): Package bag.el
More Elisp packaging :)

Change-Id: I4cf5695fd97ed922b8dfe698a168061042208c73
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6001
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 01:29:58 +00:00
William Carroll
6b3f4113cc feat(wpcarro/emacs): Support default value for al-get
Similar to Elixir's `Map.get/3`.

Change-Id: I736f7e618aafc786a32eeba46ca635cb27db18b6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6000
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 01:29:58 +00:00
William Carroll
230c4bbb3e feat(wpcarro/emacs): Package maybe.el
(Temporarily) remove dependency on list.el in favor of dash, which I'm not
thrilled about.

Change-Id: Ic4348ee72582dee63ba07a183f3bda65baa7e2d6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5999
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 00:35:51 +00:00
William Carroll
15c9ff4902 feat(wpcarro/emacs): Package al, list, set, struct
Originally I set-out to package `al.el`, but as I started traversing the
dependencies, I needed to package increasingly more packages. I refactored some
of these to prune their dependencies to slay this hydra before it turned into a
never-ending project. I have mixed feelings about this.

I also introduced `ert` and unit tests into my Elisp packaging, so it'll be nice
to have build-time tests that run when Emacs updates land in depot.

Change-Id: I2756dc60888b80255a495e08ae61bd547e6b3db2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5998
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-29 03:35:19 +00:00
William Carroll
ebbda2484a feat(wpcarro/emacs): Package zle.el
The end-goal is to package all of my Elisp libraries. Why?
- More granular builds/tests
- More explicitly defined dependencies
- Separate personal configuration from library code
- Ease distribution

Change-Id: I2507d129d3a0b3bf0cfe70b9790536a8b2093b96
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5969
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-28 13:40:38 +00:00