about summary refs log tree commit diff
path: root/users/wpcarro/emacs/default.nix
AgeCommit message (Collapse)AuthorFilesLines
2022-11-19 r/5291 fix(wpcarro/emacs): Support OSX build of EmacsWilliam Carroll1-8/+23
**TL;DR:** Most of these changes predicate behavior on the platform: - At buildtime this is `localSystem == $something`. (`localSystem` is from `readTree`) - At runtime this is `(memq window-system '(ns))`. - Add `coreutils` so `dired` listing with `--group-directories-first` works because that flag depends on the GNU version of `ls`. **Background:** I need to support a bunch of OSX users at $WORK. As such, I'm planning on using my MBP for the next few weeks to build empathy for our userbase and polish some currently rough edges. If I'm going to get an serious work done, I need my Emacs setup. Step one is making sure it can build and run. Change-Id: I918efccfa5f149e218aeea476c2c7df1c7b64ae8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7309 Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-09-14 r/4855 chore(3p/sources): Bump channels & overlayssterni1-2/+0
* //users/wpcarro/emacs: rls was removed from nixpkgs and is hopefully no longer necessary in this emacs setup. Change-Id: Ib8371da652c434e74eb67a2030b212a6423a1891 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6577 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-09-06 r/4686 feat(wpcarro/emacs): Drop racer.el supportWilliam Carroll1-1/+2
AFAIU `racer` is deprecated in favor of LSP. Change-Id: I8bee3bb32d208b4f21cd7699ae93fc76a69ec964 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6051 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-08-29 r/4526 fix(wpcarro/emacs): Support rust.el PATH depsWilliam Carroll1-0/+3
There might be a better way to do this using `direnv`'s `use_nix` and shlevy's `nix-buffer` Elisp package, but I'm doing this for now. Change-Id: I4246c519f39eea1bde3191762b184b37d30fbeed Reviewed-on: https://cl.tvl.fyi/c/depot/+/6049 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-08-08 r/4393 fix(wpcarro/emacs): Update rust configurationWilliam Carroll1-1/+9
- Prefer LSP to racer - Move KBDs to central location Change-Id: Ib3fbf1b383d711f3ac6dd6d7791374b014b9df90 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6054 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-08-02 r/4367 fix(wpcarro/clipmenu): Enable services.clipmenuWilliam Carroll1-3/+0
Restore `clipmenu.el` functionality! After running `sudo rebuild-system` I still needed to `systemctl --user start clipmenu`, which I didn't expect. Maybe this will DWIM after a reboot. Change-Id: I51550561c5b6d253cd52790749d07a2e3e72aecc Reviewed-on: https://cl.tvl.fyi/c/depot/+/6024 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-08-01 r/4363 feat(wpcarro/emacs): Package vterm-mgt.elWilliam Carroll1-0/+1
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 r/4359 feat(wpcarro/emacs): Package symbol.elWilliam Carroll1-0/+1
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-07-30 r/4349 feat(wpcarro/emacs): Package cycle.elWilliam Carroll1-0/+1
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 r/4347 feat(wpcarro/emacs): Package string.elWilliam Carroll1-0/+1
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 r/4344 feat(wpcarro/emacs): Package maybe.elWilliam Carroll1-0/+1
(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-29 r/4342 feat(wpcarro/emacs): Package al, list, set, structWilliam Carroll1-0/+4
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-28 r/4333 feat(wpcarro/emacs): Package zle.elWilliam Carroll1-0/+4
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-05-10 r/4032 feat(wpcarro/emacs): Support terraform-modeWilliam Carroll1-0/+1
I "think" this belongs in `wpc-language-support.el`, because I need it mostly to render `*.hcl` files. Change-Id: I93106c4912699245449328608c12d4f7c74b4fff Reviewed-on: https://cl.tvl.fyi/c/depot/+/5563 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-10 r/4031 feat(wpcarro/emacs): Move PL support to separate moduleWilliam Carroll1-0/+1
Declutter init.el. Change-Id: I0af874adaab4471741f9d344f539dd6164e2afff Reviewed-on: https://cl.tvl.fyi/c/depot/+/5561 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-04-21 r/3986 chore(3p/sources): Bump channels and overlaysVincent Ambo1-2/+2
Changes: * updated keycloak configuration for new version * migrate to emacs28 outside of //users, re-add emacs27 but with a warning attached urging people to migrate Change-Id: I3e5765a63934541f72f6c4a8673d3b4671850c93 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5501 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-04-16 r/3955 feat(wpcarro/emacs): Support Docker syntaxWilliam Carroll1-0/+2
Because startup Change-Id: I03f93ee22ae88c73e507dc3f5025545ffa389b28 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5453 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-03-19 r/3917 chore(3p/sources): Bump channels & overlayssterni1-2/+2
* Remove use of aliases that have been removed in nixpkgs commit a36f455905d55838a0d284656e096fbdb857cf3a: - ncat - x11 - nologin - dbus_libs - emacsPackagesGen - man-pages - pulseaudioLight Change-Id: Ide603bf48bc7f77e10e4aa715ba025aece3644fd Reviewed-on: https://cl.tvl.fyi/c/depot/+/5387 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-02-14 r/3830 refactor(wpcarro/emacs): Depend on MELPA's ivy-clipmenuWilliam Carroll1-0/+1
Instead of my local copy. Change-Id: I8aecdfe5c5449e86dbdf9e06cd67874d5f80c87a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5288 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-13 r/3820 feat(wpcarro/emacs): support avyWilliam Carroll1-0/+1
Trying out this workflow for awhile to see if I save some keystrokes. Change-Id: I28532be04b1de971559c8df5a3717facbdfc4f00 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5278 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-08 r/3788 chore(wpcarro): move meta.targets definitions to meta.ci.targetsVincent Ambo1-1/+1
Change-Id: If45c9c939c607d02c1c636f9b54962aa527eed0e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5254 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-31 r/3726 feat(wpcarro/emacs): Format generated shell code of load kwargWilliam Carroll1-1/+1
This makes the human-parsing of the generated shell scripts a bit more pleasant (I'm looking at you, home-manager). Change-Id: I01b9075892dbf4907d6cf813575e36f69e0c5090 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5146 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-31 r/3723 style: format entire depot with nixpkgs-fmtVincent Ambo1-5/+7
This CL can be used to compare the style of nixpkgs-fmt against other formatters (nixpkgs, alejandra). Change-Id: I87c6abff6bcb546b02ead15ad0405f81e01b6d9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4397 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: cynthia <cynthia@tvl.fyi> Reviewed-by: edef <edef@edef.eu> Reviewed-by: eta <tvl@eta.st> Reviewed-by: grfn <grfn@gws.fyi>
2022-01-29 r/3699 feat(wpcarro/emacs): Support marcus.elWilliam Carroll1-5/+6
Sometimes I need device-specific Elisp. This is similar to what I'm doing in google-briefcase (my gLinux-specific configuration). Change-Id: Idc4031e74d31a91fb8d943acfaeb90b8742fbfc4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5084 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-28 r/3698 refactor(wpcarro/emacs): Drop support for vendor directoryWilliam Carroll1-24/+2
I don't think this is worth lugging around anymore. Additionally: drop usage of `builtins.path`. I originally started using `builtins.path` because a blog post about Nix style recommended it (I cannot remember which), but I'm starting to think this is a bit too verbose for my taste, and I forget what the benefits are. Change-Id: If6579f28bac56ad7afec2c5d5a5e4828601c93c3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5083 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-28 r/3697 refactor(wpcarro/emacs): Drop meta.ci.extraStepsWilliam Carroll1-24/+18
...in favor of `meta.targets = [ "check" ]`. Change-Id: I08b035b7d7bbe5ef4eab10a9f55481048c67330a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5104 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-28 r/3696 feat(wpcarro/emacs): Test that my Emacs can initializeWilliam Carroll1-14/+23
...without warnings, errors. This was previously a step in my buildkite instance, but I'm no longer supporting that (in favor of the TVL one). Change-Id: Ifed39aef248b21a1eb5a6c9d8427ebe6996abc3a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5103 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-23 r/3665 refactor(wpcarro/emacs): Expose env as kwarg in withEmacsPathWilliam Carroll1-4/+9
This allows me to remove google-briefcase references. Change-Id: I61234b2ac20e0de0f3d0d820a471342124d72f2d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4996 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-25 r/3400 chore(wpcarro/emacs): Annotate (some of) my Emacs TODOs with wpcarroWilliam Carroll1-6/+10
...so that they can be properly tracked 🤓 Change-Id: I1e33bd5f0e0a114ef441a5f3f61f387b7afd8708 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4611 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3399 chore(wpcarro/emacs): Drop support for lsp-haskellWilliam Carroll1-1/+0
1. This is spamming my Emacs's *Warnings* buffer on init. 2. I recall this being buggy. 3. I'm not doing active Haskell development at the moment. 4. I'd prefer code-intelligence efforts be put into SourceGraph. Change-Id: I57ba28ec0b2fa3607cd67261a90d134107166c47 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4610 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3391 feat(wpcarro/emacs): Support emojis in Emacs 🎉William Carroll1-0/+1
The future has arrived... Change-Id: Ib4e57018cbf9168e43f403e4e0b640d0e0035352 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4595 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3380 refactor(wpcarro): Define common.shell-utilsWilliam Carroll1-24/+11
DRYing up some of my configuration. Change-Id: I137692789426efc6a6c6880029e605813674fdbe Reviewed-on: https://cl.tvl.fyi/c/depot/+/4592 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3378 feat(wpcarro/emacs): Require ispell dependencyWilliam Carroll1-14/+15
Also sort my dependencies, which is why this diff is noisy. Change-Id: I998ca354d94d4c6283f9fdf76b06c08b9972ced5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4590 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3340 refactor(wpcarro): Remove briefcase referencesWilliam Carroll1-8/+5
TL;DR: - prefer WPCARRO env-var to BRIEFCASE - remove repository URLs from Emacs libraries - prefer tvl-depot-path where possible - reduce the scope of constants.el - prune (some not all) stale CI configuration Change-Id: I21e9130402502ec6fa2fc4b46753c890069be62d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4545 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-20 r/3324 feat(wpcarro/marcus): Ensure EDITOR is set to EmacsWilliam Carroll1-0/+2
I should've done this awhile ago. I'm tired of having `nano` open in vterm instances. Change-Id: I784e4a7a3e8acba11105052b6c0fe1f6f9ac614b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4512 Reviewed-by: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-16 r/3278 feat(wpcarro/emacs): Install tvl ElispWilliam Carroll1-0/+4
All I know is that this extends my magit configuration for Gerrit support. Change-Id: I35c9a264ff25ce6e08b7033e0e022d4047021f05 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4357 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-15 r/3249 fix(wpcarro/nix): Remove <briefcase> referencesWilliam Carroll1-3/+1
Angle-bracketed references are a Nix anti-pattern, and thankfully this repository enforces this as a standard. TL;DR: - Drop angle-bracketed references - Change `briefcase` -> `users.wpcarro` - Fix any resulting regressions - Fix //users/wpcarro/tools/simple_vim - Mark //users/wpcarro/boilerplate/typescript and related projects as broken - drop .skip-subtree file, enabling depot CI Change-Id: I7153cbabafa617bfd6b199370cbec65cb75441f6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4325 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-14 r/3226 subtree(users/wpcarro): docking briefcase at '24f5a642'Vincent Ambo1-0/+191
git-subtree-dir: users/wpcarro git-subtree-mainline: 464bbcb15c09813172c79820bcf526bb10cf4208 git-subtree-split: 24f5a642af3aa1627bbff977f0a101907a02c69f Change-Id: I6105b3762b79126b3488359c95978cadb3efa789