about summary refs log tree commit diff
path: root/emacs
AgeCommit message (Collapse)AuthorFilesLines
2020-08-31 Drop support for wpc-javaWilliam Carroll2-43/+0
1. I don't use this. 2. This is breaking CI because google-java-format cannot be found.
2020-08-31 Prevent all-the-icons-install-fonts from running in CIWilliam Carroll1-2/+4
While I would like my CI build to closely resemble a non-CI build, supporting the `all-the-icons-install-fonts` call is a low priority with a medium amount of work required.
2020-08-31 Drop support for wpgtkWilliam Carroll3-591/+0
I'd like to stabilize on using solarized-light.
2020-08-31 Apply prefix arg to all-the-icons-install-fontsWilliam Carroll1-1/+1
This prevents the prompt, which blocks my CI build.
2020-08-31 Drop support for neotreeWilliam Carroll1-5/+0
I don't use neotree anymore.
2020-08-31 Remove keybinding logic from fonts.elWilliam Carroll1-16/+0
For two reasons: 1. I don't use these keybindings. 2. I'm trying to centralize all keybinding logic in keybindings.el.
2020-08-31 Define constants/ci?William Carroll1-0/+5
Create a top-level flag encoding whether or not Emacs is running in CI.
2020-08-31 Delete {themes,wallpaper}.elWilliam Carroll3-246/+4
After my CI build for Emacs failed because the .local/share/wallpaper directory was missing I had two options: A. include .local/share/wallpaper in default.nix, which is cumbersome B. drop support for managing system wallpaper from Emacs I chose option B.
2020-08-31 Add xset to Emacs PATHWilliam Carroll1-0/+1
My CI failed after a call to xset resulted in a "file-missing Searching for program" error.
2020-08-31 Prefer inherit pattern to import Nix dependenciesWilliam Carroll1-13/+13
I'm starting to prefer the `inherit (builtins) path` pattern in my Nix expressions. I know this is idiomatic, so even if I don't like it, I am trying to learn to like it.
2020-08-31 Delete unused Emacs packagesWilliam Carroll1-3/+0
Cleaning things up...
2020-08-31 Allow configurable BRIEFCASE env var for CIWilliam Carroll1-26/+34
These were hard-coded as $HOME/BRIEFCASE, which won't work in CI, since CI runs as the user buildkite-agent-socrates, whose $HOME directory doesn't exist.
2020-08-31 Set Emacs line-spacing to 0William Carroll1-2/+2
vterm.el has a bug because it uses `(window-body-height)` to compute the number of lines it can render, but it doesn't account for `line-spacing`.
2020-08-28 Restore "l" as evil-forward-char in magit-status-mode-mapWilliam Carroll1-0/+10
Remap "l" -> "L"
2020-08-27 Add build, lint Emacs steps to post-receive pipelineWilliam Carroll1-0/+15
TL;DR: - Define runEmacsScript to emacs/default.nix for ci/pipelines/post-receive - Write script.el to call (load init.el) and catch any errors - Lint Elisp with gonewest818/elisp-lint Also nice how Buildkite supports :gnu: emojis!
2020-08-27 Clean up emacs/default.nixWilliam Carroll1-5/+2
- Prefer prepending wpcDir, vendorDir to EMACSLOADPATH instead of using the --directory flag - Remove --load ${wpcPackageEl} because init.el calls (require 'wpc-package) - Surround $@ in 2x-quotes
2020-08-27 Remove exported DEPOT env var from wpcarros-emacsWilliam Carroll1-3/+0
wpcarros-emacs no longer depends on this being set.
2020-08-27 Prefer builtins.pathWilliam Carroll1-5/+26
Following the advice of Domen's nix.dev anti-patterns, I'm preferring something like... ```nix builtins.path { path = /path/to/some.where; name = "some.where"; } ``` ...to ```nix /path/to/some/where ``` While the former is more verbose, it will fail to build when the path doesn't exist, which I prefer.
2020-08-26 Delete unused parts of bookmark.elWilliam Carroll1-44/+1
Trimming more fat.
2020-08-25 Remove bookmark for <depot>William Carroll1-3/+0
Since depot now support cs.tvl.fyi, I don't need this, and that is a *massive* upgrade.
2020-08-25 Replace calls to (getenv "BRIEFCASE") with constants/briefcaseWilliam Carroll4-10/+17
I would prefer to define constants/briefcase in terms of `(getenv "BRIEFCASE")` and assert that `(f-exists? (getenv "BRIEFCASE"))`, in one location: constants.el
2020-08-25 Prefer <leader>jb to <leader>jd for searching all of briefcaseWilliam Carroll1-1/+1
Feels more natural...
2020-08-25 Delete org-helpersWilliam Carroll4-35/+0
I'm trying to tidy things up, so I'm trying to apply some of the principles from "Essentialism" to my Emacs configuration.
2020-08-25 Remove unnecessary TODOWilliam Carroll1-2/+0
The Nix expression that builds `wpcarros-emacs` sets BRIEFCASE, so the .envrc isn't relied on.
2020-08-25 Remove unnecessary code from wpc-nix.elWilliam Carroll1-5/+2
TL;DR: - Prefer `(getenv "BRIEFCASE")` to `(f-expand "~/briefcase")`. I should audit my Emacs for references to ~/briefcase and replace those calls with `getenv`. - Remove calls setting <nixpkgs> and <depot> and rely exclusively on <briefcase> - Prefer ~/nixpkgs-channels to ~/nixpkgs. Notes: - I need a better way of calling `home-manager switch` that resides within my briefcase
2020-08-24 Prefer simpler, more idiomatic project-find-functionWilliam Carroll1-24/+5
This version avoids installed all of the custom `cl-defmethods` for a `'monorepo` type and instead uses the existing `'transient`.
2020-08-20 Call `git secret hide` whenever //secrets.json is savedWilliam Carroll1-0/+6
Having `git secret hide` as a pre-commit hook doesn't make much sense to me. I will detail why when/if I write a blog post on briefcase's secret mgt setup. The problem is, if I change secrets.json and then run `git status`, I won't see any pending changes. This is because secrets.json is gitignore'd. If I run `git secret hide` everytime I save secrets.json, I can rest assured that my `git status` will be consistent with any updates to secrets.json.
2020-08-20 Simplify EXWM init hookWilliam Carroll1-31/+1
Anytime something before or during window-manager.el fails to evaluate, I lose the ability to type, but I *can* still click. @tazjin recommended that I use the mouse to cycle to the *Warnings* buffer, which led me to another bug in a series of bugs that I'm uncovering: ~/briefcase/org didn't exist. A simple mistake like this should break my WM startup, so I decided to remove most of my init hook logic.
2020-08-20 Add XMODIFIERS=emacsWilliam Carroll1-1/+2
This fixes the latest segfault I encountered after /usr/bin/{google-emacs,emacs} was updated...
2020-08-20 Debug evil-want-keybindings issueWilliam Carroll1-1/+1
Problem: dependency loading order I originally assumed that keybindings.el was the first module to `require 'evil` because init.el shows: ```elisp (require 'keybindings) (require 'window-manager) ``` The problem is that keybindings.el calls `require 'window-manager` and window-manager.el requires evil! I admit, I've created a bit of a birds nest for myself. A few thoughts: - keybindings.el doesn't need to `require 'window-manager`. Fixed! - window-manager.el shouldn't need to `require 'evil`. TODO...
2020-08-20 Drop use-package in keybindings.elWilliam Carroll1-79/+63
I'm attempting to kill that zombie bug about evil-want-keybinding...
2020-08-20 Add missing dependencies to emacs/default.nixWilliam Carroll1-0/+2
While debugging some broken Emacs config, I ran Emacs in X, where for some reason my PATH doesn't have my nix-env dependencies... because of this, when I call `~/.nix-profile/bin/wpcarros-emacs` to start my Emacs, I saw warnings about missing packages that I hadn't seen before. Nice!
2020-08-20 Drop support for wpc-keybindingsWilliam Carroll3-191/+121
In favor of keybindings.el! Now I have: - kbd.el: There are no keybindings in this file. It's just a library for working with keybindings in Emacs. - keybindings.el: (hopefully) all of my keybindings for EXWM, evil, etc.
2020-08-20 Remove unused kbd/install-kbds?William Carroll1-8/+0
In another refactor, I'd like to move all ad-hoc keybindings out of individual modules and into keybindings.el.
2020-08-20 Centralize <SPC> in normal mode KBDsWilliam Carroll2-45/+28
Merging keybinding and wpc-keybindings step-by-step...
2020-08-20 Delete unused KBDsWilliam Carroll1-9/+0
Now that everything is in my monorepo, it's easy for me to use <SPC>jd to search for these files.
2020-08-20 Drop support for dir-locals.nix, <nixpkgs>, etc.William Carroll2-4/+5
In the spirit of Marie Kondo, I'm tidying up! TL;DR: - Prefer .envrc `use_nix` and delete all dir-locals.nix files - Remove ~all references to <nixpkgs>, <unstable>, <depot> and prefer referencing each with briefcase.third_party.{pkgs,unstable,depot} - Delete nixBufferFromShell function since I was only using that in dir-locals.nix files
2020-08-20 List directories first in dired viewWilliam Carroll1-0/+1
Ideally I'd use exa insted of ls, but I cannot seem to support that yet.
2020-08-20 Drop support for wpc/find-fileWilliam Carroll2-9/+1
Cleaning things up...
2020-08-13 Prefer project.el to projectileWilliam Carroll2-1/+42
Today @tazjin told me about Emacs's built-in project.el library, which he recommended that I extend to support monorepo-specific tooling. It worked like a charm! Now when I press "<leader>f", it will resolve to either the nearest file named default.nix or directory name .git.
2020-08-13 Set Emacs current-project to ~/briefcaseWilliam Carroll1-1/+1
I don't rely on this often, so it's best to leave it as the top-level directory for briefcase.
2020-07-17 Remove week / 52 indicatorWilliam Carroll1-1/+1
This is taking up too much space.
2020-07-06 Misc Emacs improvementsWilliam Carroll2-0/+6
I stole these bad-boys from @tazjin's config.
2020-07-06 Prefer telephone-line to doom-modelineWilliam Carroll3-4/+67
After growing frustrated with doom-modeline's compatibility with my EXWM setup, I decided to borrow @tazjin's setup, which I find to be much more appealing.
2020-06-16 Use ivy-helpers/list-external-commandsWilliam Carroll1-1/+1
Without the ivy-helpers/ namespace, I believe this code is buggy.
2020-06-16 Prefer Solarized Light themeWilliam Carroll1-1/+1
I've said it once, and I'll say it again: my preferences often change.
2020-06-16 Support additional KBDs for ClojureWilliam Carroll1-0/+8
Define KBDs in clojure-mode-map that resemble my common-lisp and elisp KBDs.
2020-06-16 Use dot-time format for modeline timestampWilliam Carroll1-4/+12
My current understanding of how computers deal with time: - Modelling time is easy: use the number of seconds that have elapsed since the Unix epoch. - Display time is complicated. Which timezone should we use? Which format string?
2020-06-16 Prefer smaller default font size for laptopWilliam Carroll1-1/+1
I'll be working without an external monitor for the next few months, so I prefer this smaller size.
2020-04-11 Support elm-mode for EmacsWilliam Carroll2-0/+4
Instead of (ab)using haskell-mode, support elm-mode. TODO: Support elm-format on buffer save