about summary refs log tree commit diff
path: root/users/wpcarro/emacs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-05-10 r/4032 feat(wpcarro/emacs): Support terraform-modeWilliam Carroll2-0/+2
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 Carroll3-7/+37
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-04-16 r/3954 feat(wpcarro/emacs): Support calling sudo on a remote bufferWilliam Carroll1-2/+7
While pattern-matching in Elisp is a bit unsightly, it works :) Change-Id: I6766147095823f1a4e233832b0ef21f4c486e023 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5452 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-15 r/3835 feat(wpcarro/emacs): Define window-manager-move-windowWilliam Carroll1-0/+15
Move the current window to a new named EXWM workspace and focus that workspace. Change-Id: Ibb3d3b3df09c6853d2eaf02882714a5c62623d2b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5293 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-02-14 r/3831 docs(wpcarro/emacs): Remove wish list itemWilliam Carroll1-3/+0
...because it's done. Change-Id: Id9751e554305efa5bccea331bfd94017c5b5ba32 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5289 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-14 r/3830 refactor(wpcarro/emacs): Depend on MELPA's ivy-clipmenuWilliam Carroll2-137/+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-14 r/3829 feat(wpcarro/emacs): Support C-v style pasting in ivy minibufferWilliam Carroll1-1/+11
This is handy for pasting a git commit SHA in magit's checkout minibuffer. I also removed the dependency on clipboard.el because clipboard-yank is defined elsewhere. Change-Id: I6872bf63e4ba9c2b186466d083e6798123d417cc Reviewed-on: https://cl.tvl.fyi/c/depot/+/5286 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-14 r/3828 fix(wpcarro/emacs): Debug bookmark-openWilliam Carroll1-1/+2
also add missing dependency on project.el Change-Id: I4648f07eb31888c9c4bd6c094543b8d8ee05225a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5287 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-14 r/3827 feat(wpcarro/emacs): Support bookmark for /depot/users/wpcarroWilliam Carroll1-0/+5
Saving keystrokes every day. Right? Change-Id: I8a2fd42c9139f87181ac203e1573be3823e18b56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5283 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-02-14 r/3826 refactor(wpcarro/emacs): Simplify bookmark.elWilliam Carroll2-48/+10
- narrow lib's scope and update documentation - remove unnecessary dependencies Change-Id: I5931a5a6e571466b3334dc02e88c9c283754d263 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5282 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-14 r/3825 fix(wpcarro/emacs): Add missing constants dependencyWilliam Carroll1-0/+1
Thankfully CI caught this bug by evaluating my Emacs init script; however, this could've been caught even earlier if each of my Elisp modules were packaged with Nix and be individually evaluated. That change will come soon enough... Change-Id: I987bab22a388c43183f79ace41ed97be83578ba6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5285 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-13 r/3820 feat(wpcarro/emacs): support avyWilliam Carroll2-0/+8
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-13 r/3811 feat(wpcarro/emacs): define window-manager-workspace-moveWilliam Carroll1-14/+11
Wrapper around `exwm-workspace-move` but uses `completing-read` and understands my named-workspace structs. Change-Id: Ibe565b3afaeec5c4a7f2b6d2d0c9c21bc8006962 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5275 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-08 r/3803 fix(wpcarro/josh): remove unnecessary ::READMEWilliam Carroll1-1/+0
josh adds all of the contents from the directory that hosts the `workspace.josh` file. Change-Id: I7564454df88886f72d02a9be88640c42cee60fc5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5266 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-08 r/3802 fix(wpcarro/emacs): change magit's buffer display function 🎉William Carroll1-1/+1
Reuse the same buffer from which magit was invoked. Change-Id: I20f661c8414cd6482d9374f9412186c66b736b94 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5265 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-08 r/3801 feat(wpcarro/emacs): update READMEWilliam Carroll1-0/+2
I'm testing my josh+github workflow. Change-Id: Ib5435debcecd94192eb27afe022bda433cba397f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5264 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-02-08 r/3800 feat(wpcarro/josh): create workspace.josh for emacs stuffsWilliam Carroll1-0/+1
🚨 This is just a test 🚨 I'm experimenting with exporting some of my work from depot to Github using josh. I tried testing this locally, but it was a bit of a pain because I need to run: 1. git server locally 2. josh server as a proxy Step 2 is easy, but I'm not sure how quickly I can setup a git server, and I decided that just committing this work might be faster. Next up (pseudocode): ``` $ git clone https://code.tvl.fyi/depot.git:workspace=users/wpcarro/emacs.git ~/github/emacs $ cd ~/github/emacs $ git remote add github git@github.com:wpcarro/emacs $ git push github $ # ...something like that ``` Note to self: figure out how to easily setup a git server locally, so that I can test these changes more easily without spamming depot with test commits. Change-Id: I0f198e00c60e06941b69f35ef389b936cf3ff659 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5263 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
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-02-02 r/3747 feat(wpcarro/emacs): Define KBD to copy result of elisp evaluationWilliam Carroll1-0/+8
I've wanted this for awhile... Change-Id: Ic010fee6a7adc0aa793e4ca2179b90f4463d1eec Reviewed-on: https://cl.tvl.fyi/c/depot/+/5197 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: 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/3700 feat(wpcarro/emacs): Define evil KBDs for refineWilliam Carroll1-0/+10
I should collect some of these into a evil-collection that I can share with other evil users like grfn. Change-Id: I8fa12e08b81b9a4cc1d57da886282c00439cbb41 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5107 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
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 Carroll6-14713/+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 Carroll4-31/+27
...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 Carroll2-14/+67
...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-28 r/3695 fix(wpcarro/emacs): Remove duplicate fn defnWilliam Carroll1-8/+0
Prefer the version of `bookmark-install-kbds` that defines named functions, which are useful for the `which-key` integration. Change-Id: I2ba8d457f04cba72da24244db8cd333f44e9a606 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5102 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-27 r/3689 refactor(wpcarro/emacs): Drop display-register calls from display.elWilliam Carroll1-34/+0
Let's have `display.el` be a pure library. Once I convert all of my Elisp libraries to pure libraries, I can publicly export them for other depot users and maybe other Github users (with the proper josh configuration?). Change-Id: I87cce80ebb7d2396e39246dabc4e49d7aba2c094 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5038 Tested-by: BuildkiteCI Autosubmit: wpcarro <wpcarro@gmail.com> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-27 r/3688 refactor(wpcarro/emacs): Redefine window-manager as a pure libraryWilliam Carroll1-102/+61
TL;DR: - `defgroup window-manager` - prefer `defcustom` instead of `defconst` - remove kbd logic - remove hook definitions - remove `use-package` call - remove unused imports - sort imports Change-Id: Ice422e917c6b6b9e8126f6e518b1cd2d7aa0e7a6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5040 Tested-by: BuildkiteCI Autosubmit: wpcarro <wpcarro@gmail.com> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-27 r/3687 refactor(wpcarro/emacs): Remove TODOs from window-manager.elWilliam Carroll1-40/+2
Some of these are obsolete; I'm dropping others; fixed some. Change-Id: I0e5e39354176824b1028452355216b68206034ae Reviewed-on: https://cl.tvl.fyi/c/depot/+/5039 Tested-by: BuildkiteCI Autosubmit: wpcarro <wpcarro@gmail.com> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-27 r/3684 refactor(wpcarro/emacs): Move KBD to keybindings.elWilliam Carroll2-2/+2
This is part of a larger effort to remove the statements from `window-manager.el` to convert it to a pure library. Change-Id: I3078a9a73ec049704ac2dbbe822a6e57f4c9cf48 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5037 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-27 r/3682 refactor(wpcarro/emacs): Move ivy-pass to ui.elWilliam Carroll2-3/+2
Alongside other ivy use-package declarations. Change-Id: I5a60c06f287146ecd671ec9a5d8299539ea89dea Reviewed-on: https://cl.tvl.fyi/c/depot/+/5036 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-27 r/3681 refactor(wpcarro/emacs): Drop window-manager-logoutWilliam Carroll2-60/+8
TL;DR: - undefine `window-manager-logout` - define window-manager customization group - publicize `window-manager--xsecurelock` - rename `window-manager--xsecurelock` -> `window-manager-screenlocker` - remap `workspace "l"` to always lock the screen Change-Id: I77df883b94e786c4584351c9ebf1dcf0d5a84a33 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5035 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-27 r/3680 refactor(wpcarro/emacs): Reduce dependency on display.elWilliam Carroll1-14/+0
Trying to disentangle some of my Elisp modules... Change-Id: I61173fc05557dca63e382c2e00d6f48c95701194 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5034 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
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>
2022-01-18 r/3628 fix(wpcarro/emacs): Ensure pasting in evil visual WAIWilliam Carroll1-1/+1
The variable, `evil-visual-update-x-selection`, must've updated to `evil-visual-update-x-selection-p`. When I moved from ~/briefcase to /depot I adopted the newer version of nixpkgs. Change-Id: I27de45c73833325f64b1e176b8793a0d05233331 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4992 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-11 r/3584 style(wpcarro/emacs): Prefer doom-peacock for Emacs themeWilliam Carroll1-1/+1
I no longer need the bright theme since I'm no longer in sunny Saint Lucia. Change-Id: I22c436875bab93fa569541a6ff05bdc6869f521e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4861 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3571 fix(wpcarro/emacs): Temporarily prefer Monospace to JetBrainsMonoWilliam Carroll1-10/+10
When I migrated to /depot I removed JetBrainsMono from my monorepo. This is fine on NixOS machines because I'm depending on JetBrainsMono through Nix configuration. But for non-NixOS machines (my work machines), I cannot do this. Until I've thought of how I'd like to support this, I'm doing to use Monospace, which should be available on all of my machines. Change-Id: Icd0cd641526246d40b8d971907c63c7f32ef1c3d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4821 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-01-08 r/3570 fix(wpcarro/emacs): Redefine bookmark-install-kbd as public fnWilliam Carroll1-0/+8
I originally refactored this by inlining it as a lambda function, but I was ignoring the fact that my work machines relied on it because I have Elisp code in google-briefcase that calls `bookmark-install-kbd`. Change-Id: I03804250fdfdc22be1445718a061a46461eb9af8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4820 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
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>