about summary refs log tree commit diff
path: root/users/wpcarro/emacs
AgeCommit message (Collapse)AuthorFilesLines
2022-01-08 r/3566 feat(wpcarro/emacs): Define KBDs for tab, backtab for deadgrepWilliam Carroll1-0/+14
This makes the UI a bit more interactive. Change-Id: I756e098fff78d2a71a56cf0ea73240f90821dbab Reviewed-on: https://cl.tvl.fyi/c/depot/+/4813 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3565 feat(wpcarro/emacs): Pass --{hidden,follow} flags to rgWilliam Carroll1-6/+5
These are useful defaults. Change-Id: Ife4a7f559c9599ba3b846eea7e757266afd7ceae Reviewed-on: https://cl.tvl.fyi/c/depot/+/4805 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3564 fix(wpcarro/emacs): Ensure debug-on-error is globally setWilliam Carroll1-0/+1
I'm still a bit confused about the nuances between the myriad of ways to handle variables in Emacs... - `setq` - `setq-default` - `setq-local` - `defvar` - `defcustom` - `defconst` - `customize-set-variable` - `make-local-variable` - `make-variable-buffer-local` - `kill-local-variable` ...but after running some experiments, this triggers the Emacs debugger when an error is encountered (e.g. either *in* `init.el` or another package that is evaluated during `init.el`'s evaluation). Change-Id: I00d543735b1d816462ba18bad23867865d7af80e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4812 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3563 fix(wpcarro/emacs): Disable edebug's "h" KBDWilliam Carroll1-0/+11
...so that I can move left while debugging. Change-Id: I7124da76dc51b0b5ca22a7e4a13482fc8da30150 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4811 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3561 refactor(wpcarro/emacs): Tidy-up bookmark.elWilliam Carroll2-15/+18
TL;DR: - Prefer dash.el - Remove "current project" bookmark - Prefer named functions instead of lambdas to (hopefully) improve `which-key` Change-Id: I090bf372316702f313284a80af9dd076dbf270a3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4806 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3560 refactor(wpcarro/emacs): Remove KBD logic from buffer.elWilliam Carroll2-15/+16
Part of an overall cleaning: - remove tests from library files - move KBDs from library files to top-level keybindings.el Change-Id: I0fb80aa4a8d5cc77ee7ecca6206d5e4d62c93491 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4801 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3559 chore(wpcarro/emacs): Remove tests from buffer.elWilliam Carroll1-21/+0
More cleaning... Change-Id: I4ff450879f0cda9b3a8e8dab61519a4d8c342c91 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4800 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3558 feat(wpcarro/emacs): Prefer Vim style of word-searchingWilliam Carroll1-1/+1
In my opinion the following versions of compound words should be searched similarly... - `testingThisOut` (camel case) - `TestingThisOut` (class case) - `testing_this_out` (snake case) - `testing-this-out` (kebab case) ...but Emacs's default searching treats the snake and kebab cases differently, which makes it difficult to search for buffer-local occurrences of symbols in Python, Elisp (among other languages). This has been bothering me for some time. I must've attempted to fix this awhile ago by using `setq` (when I should've used `customize-set-variable`, which makes me wonder: how much of my configuration is flaky because I'm using `setq` where I should be using `customize-set-variable`? For more context about this change, see `describe-variable` for `evil-symbol-word-search`. Change-Id: Ie03f0da119f59e04abc5de3143aa6edaf6115168 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4804 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3557 feat(wpcarro/emacs): Enhance markdown editing experienceWilliam Carroll1-1/+4
See comments in the code for context. Change-Id: I0791222881788b89612359c0b3b263dc7dc9bd63 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4803 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3555 feat(wpcarro/emacs): Include *scratch* and *Messages*William Carroll1-1/+5
While these aren't technically source code buffers, but the purpose of `buffer-ivy-source-code` is to create a list of buffers I likely want to switch to, which includes these. Change-Id: If3f7b6afa6282a3fb8d0d4a3f7aa4ee64287df65 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4799 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3554 fix(wpcarro/emcas): Debug "Logout" commandWilliam Carroll1-1/+1
gLinux doesn't use `lightdm.service` (you can confirm this by seeing if `lightdm` is listed in the units reported by calling `systemctl`). I found `gdm` (i.e. Gnome Display Manager), and it appears that calling... ```shell systemctl restart gdm.service ``` ...does the trick. Change-Id: Iff47d20db57ce11138f9af943fe64cc18068f5bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/4798 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3552 fix(wpcarro/emacs): Change display.el to use Display PortWilliam Carroll1-2/+2
I switched cables recently. Change-Id: I6026cf6598f857e02c29a039885336fb3c147ecb Reviewed-on: https://cl.tvl.fyi/c/depot/+/4796 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3551 feat(wpcarro/emacs): Define new deviceWilliam Carroll1-4/+9
For my latest workstation. Change-Id: Idd18c07f05f2afdf57fde25a5aad627759ca1643 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4795 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3546 refactor(wpcarro/emacs): Prefer $PATH resolution of scrotWilliam Carroll1-4/+1
...instead of the harder dependency on the installation location. Change-Id: Ifdde2ab8b3b6069c653012ad5599007d4467a188 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4815 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3545 fix(wpcarro/emacs): Support inserting "+" in a vterm terminalWilliam Carroll1-1/+4
Much better :) Change-Id: Ib8efd5db04ae011f634dcd952fdd5875905ec3e6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4814 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3544 fix(wpcarro/emacs): Restore ability to paste in visual modeWilliam Carroll1-2/+3
I filed an issue with evil in case there's a potential bug-fix or feature: https://github.com/emacs-evil/evil/issues/1537 Change-Id: Ia9293b59696ac693f9bffb4d3505ea8fa2d59784 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4810 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3543 feat(wpcarro/emacs): prefer shorter tab-widthWilliam Carroll1-0/+3
The default of eight spaces seemed excessive. Change-Id: Id5cbbdc557a7b1d467c7c20390f58b00045a50cf Reviewed-on: https://cl.tvl.fyi/c/depot/+/4809 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3542 refactor(wpcarro/emacs): Prefer simpler project-find-fileWilliam Carroll1-15/+4
This version better interacts with google3. Change-Id: Ib65618dbdc7d76a27479a4e0cfc52c079537dc64 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4808 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: 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 Carroll2-9/+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/3392 fix(wpcarro/emacs): Only render unicode emojisWilliam Carroll1-0/+4
Disable ASCII and Github styles. Change-Id: Ie68fa2f0129573ea8b893db22214136d69429702 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4598 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 Carroll3-0/+12
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/3377 feat(wpcarro/emacs): Support wpcarro@wpcarro.dev in ssh.elWilliam Carroll1-5/+3
I'm accustomed to using vim in a GUI terminal to edit remote files. I'm trying to ween-off of this dependency in favor of using Emacs. Change-Id: Ib71d18135a7a9ef6ef61dfce814fffbea79a36f7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4589 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3352 fix(wpcarro/emacs): Disable ligaturesWilliam Carroll1-1/+0
Trying to render ligatures (e.g. ->, <>) in the modeline causes Emacs to crash, so I'm disabling ligatures. I have a patch like this on my work machine. I'll eventually merge those commits into depot, but that will have to wait until I'm back in California. Change-Id: I5e408cbdb717d24c7d5f88b4c822bdf32f370eef Reviewed-on: https://cl.tvl.fyi/c/depot/+/4568 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3351 refactor(wpcarro/emacs): Prefer tvl-depot-path referenceWilliam Carroll1-1/+2
Instead of homegrown constants-depot (which doesn't even exist). Change-Id: Iabb5f5f5bbb589bb07f9fc0921d75acd9396793e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4567 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3350 refactor(wpcarro/depot): mv ~/depot /depotWilliam Carroll1-3/+1
Prefer the canonical location for depot. Change-Id: If175e150734f6c97ef5e0676565c9a5d97fb69ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/4565 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-24 r/3349 refactor(wpcarro/emacs): Remove unnecessary buffer fn in vterm-mgtWilliam Carroll1-5/+4
The call to `buffer-find-or-create` is unnecessary. Change-Id: Ieb959c35123186a29da1b7f0955ceb96c9e6dab3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4564 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3348 fix(wpcarro/emacs): Debug vterm-mgt.elWilliam Carroll3-9/+28
TL;DR: - vterm-mgt-repopulate-cycle -> vterm-mgt-reconcile-state - call vterm-mgt-reconcile-state everywhere to ensure state is consistent - prevent vterm from swalling EXWM KBD (C-S-f) - support vterm-mgt-select - prevent type error in cycle-append - pass t to (vterm t) to ensure it isn't a find-or-create Change-Id: I0f6d20b8d4b7533c7f56baf796ca3467a85ec770 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4563 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3343 fix(wpcarro/emacs): Ensure tab-width=2William Carroll2-7/+5
- Set global tab-width - Set golang-buffer-local tab-width Change-Id: Ifa21f4e5a4c5e00d2355cd0dfecfb9b24597da57 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4549 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-24 r/3340 refactor(wpcarro): Remove briefcase referencesWilliam Carroll74-178/+36
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-23 r/3339 refactor(wpcarro/socrates): Delete socratesWilliam Carroll1-1/+1
A brief eulogy: Socrates was an Acer laptop that I bought at a used electronics shop in London for 100 quid. The laptop is no more... it is perished... it is deceased... it's not pining for the fjords! it is stone dead... Change-Id: Ia00e9e8fa05b9faa54c27fe86d880ad31402e2c6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4546 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-22 r/3336 fix(wpcarro/emacs): Add missing :config to use-package for tvl.elWilliam Carroll1-0/+1
This should prevent me from manually calling `(require 'tvl)`. Change-Id: Idacd8c01aa037fa81b7457e022964f9f8bc9a49f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4542 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
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-20 r/3323 feat(wpcarro/emacs): Prefer light colorschemeWilliam Carroll1-1/+1
While I'm in Saint Lucia :) Change-Id: I0e3b13d31e5fff7fa76e69adbd191716fb713325 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4422 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-20 r/3318 fix(wpcarro/emacs): Ensure laptop battery shows in modelineWilliam Carroll2-4/+11
TL;DR: - support marcus and diogenes in device.el - define and consume device-laptop? fn Change-Id: Ia6e1c2666cbd668466ef6b64a7c274d36b79d699 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4392 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3283 feat(wpcarro/marcus): Prefer light to xbacklightWilliam Carroll1-7/+16
TL;DR: - Enable light (let there be light!) - Refactor screen-brightness.el TIL: `nixos-options programs.enable.light` outputs docs from the command-line Change-Id: Ib60a9b3c9b7f6f96fda29fce1a97ca9995822048 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4385 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3278 feat(wpcarro/emacs): Install tvl ElispWilliam Carroll2-0/+8
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-16 r/3277 fix(wpcarro/emacs): Don't require evil-magitWilliam Carroll1-1/+0
It's part of `evil-collection` now :) Change-Id: Id69db08e538d10e46dc63c979d232aeb1a639f32 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4356 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3276 feat(wpcarro/emacs): Prefer doom-peacock themeWilliam Carroll1-1/+1
Tis the season for a dark theme Change-Id: I3a0354a3eaa4294e51f14e5af52a12be01e89300 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4355 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3275 feat(wpcarro/marcus): Install xsecurelockWilliam Carroll1-2/+4
TL;DR: - Install `xsecurelock` - Support screen-locking for personal (and corporate) devices Change-Id: Ife2ead109c60b69b817775d8d6524c6aece5f376 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4354 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-15 r/3249 fix(wpcarro/nix): Remove <briefcase> referencesWilliam Carroll3-12/+5
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 Ambo158-0/+22901
git-subtree-dir: users/wpcarro git-subtree-mainline: 464bbcb15c09813172c79820bcf526bb10cf4208 git-subtree-split: 24f5a642af3aa1627bbff977f0a101907a02c69f Change-Id: I6105b3762b79126b3488359c95978cadb3efa789