William Carroll
d6cf2fe462
Remove (require 'kaomoji) from init.el
...
I should've done this when I deleted kaomoji.el because this broke my
"Initialize Emacs" step.
2020-08-31 15:47:41 +01:00
William Carroll
69a14dd37f
Delete unused Elisp modules
...
It is striking how much Elisp I wrote after switching to EXWM... I think I'm
finally coming down from that high.
2020-08-31 15:06:49 +01:00
William Carroll
a35f723d92
Lint maybe.el
...
This change had rippling implications.
2020-08-31 14:59:48 +01:00
William Carroll
1c87082648
Lint pulse-audio.el
...
Next commit will contain all of the remaining linting...
2020-08-31 14:53:34 +01:00
William Carroll
59881551a7
Delete pushover.el
...
Again: another strong cup of coffee bred overzeal.
2020-08-31 14:51:57 +01:00
William Carroll
1ea996b676
Lint random.el
...
Usual lints... fixes usage in tree.el.
2020-08-31 14:51:27 +01:00
William Carroll
5b50e34e12
Delete ghost module, scheduler.el
...
Must've had a particularly strong cup of coffee the day I decided to attempt to
write this.
2020-08-31 14:49:45 +01:00
William Carroll
c78b2339f9
Lint region.el
...
Business as usual...
2020-08-31 14:49:45 +01:00
William Carroll
8d02e5a5ef
Lint timestring.el
...
Sidenote: I have *no* idea when or why I wrote this... sleep-writing Elisp
2020-08-31 14:46:47 +01:00
William Carroll
2844c1ffbd
Lint tree.el
...
- add Version, URL, Package-Requires sections
- prefer `tree-` prefer to `tree/`
2020-08-31 14:44:53 +01:00
William Carroll
1aa4b3a547
Lint tuple.el
...
- add Version, URL, Package-Requires sections
- prefer `tuple-` prefix to `tuple/`
2020-08-31 14:43:50 +01:00
William Carroll
9661a3ff36
Lint vector.el
...
- add Version, URL, Package-Requires sections
- prefer `vector-` prefix to `vector/`
2020-08-31 14:42:06 +01:00
William Carroll
91083d1ac5
Lint vterm-mgt.el
...
- Add Version, URL, Package-Requires sections
2020-08-31 14:42:04 +01:00
William Carroll
b09980f681
Lint window.el
...
- remove "Emacs" from description
- add Version, URL, Package-Requires sections
- prefer `window-` prefix to `window/`
2020-08-31 14:42:03 +01:00
William Carroll
84d6fb8f39
Lint window-manager.el
...
- change `exwm/` prefixes to `window-manager-`
- add Version, URL, Package-Requires sections
- move `pkill` into wpc-misc.el
- unify `window-manager,` `exwm` competing prefixes
2020-08-31 14:42:03 +01:00
William Carroll
a2d45c8db7
Lint wpc-clojure.el
...
- change clojure.el to wpc-clojure.el
- delete stale, commented code
- add Configuration header
- add Version, URL, Package-Requires sections
2020-08-31 14:28:22 +01:00
William Carroll
28cdbb18b6
Lint wpc-company.el
...
- change company.el to wpc-company.el
- add Version, URL, Package-Requires sections
2020-08-31 14:27:06 +01:00
William Carroll
8d9e4f4865
Lint wpc-dired.el
...
- change dired.el to wpc-dired.el
- add Version, URL, Package-Requires sections
2020-08-31 14:26:24 +01:00
William Carroll
85a0cddf8b
Lint wpc-elixir.el
...
- Add Version, URL, Package-Requires sections
2020-08-31 14:25:44 +01:00
William Carroll
6ddad2dc4b
Lint wpc-flycheck.el
...
- change flycheck.el to wpc-flycheck.el
- add Version, URL, Package-Requires sections
2020-08-31 14:24:59 +01:00
William Carroll
e0574e2299
Lint wpc-golang.el
...
- change wpc-ocaml.el to wpc-golang.el
- Add Version, URL, Package-Requires sections
2020-08-31 14:23:58 +01:00
William Carroll
657efa85f4
Lint wpc-lisp.el
...
- Add Version, URL, Package-Requires, Commentary sections
- Prefer `wpc-lisp-` prefix to `wpc/`
2020-08-31 14:23:56 +01:00
William Carroll
6267c782a0
Lint wpc-javascript.el
...
- Add Version, URL, Package-Requires sections
- Prefer `wpc-javascript-` prefix to `wpc/`
2020-08-31 14:23:56 +01:00
William Carroll
13a81435c3
Lint wpc-haskell.el
...
- add Version, URL, Package-Requires sections
- change haskell.el to wpc-haskell.el
- prefer `wpc-haskell-` prefix to `haskell/`
2020-08-31 14:23:56 +01:00
William Carroll
d3d94cbbac
Lint wpc-misc.el
...
- prefer user-emacs-directory
- prefer wpc-misc- prefix
2020-08-31 14:10:08 +01:00
William Carroll
d813128e90
Lint wpc-nix.el
...
- add "Code:" header
- replace forward-slash with dash
- prefer wpc-nix- prefix to nix/
2020-08-31 14:09:24 +01:00
William Carroll
d98fa38aca
Lint wpc-ocaml.el
...
- Prefer `user-emacs-directory` to literal path.
2020-08-31 14:09:01 +01:00
William Carroll
3b9656ca4a
Use zle-minor-mode in sh-mode
...
After I wrote zle.el, it seems that I forgot about it. Attempting to revive it
by using it during sh-mode.
2020-08-31 13:45:50 +01:00
William Carroll
7a2ca2b5c0
Lint zle.el
...
- Prefer dash instead of forward-slash
- Remove stale TODOs
- Add Version, Package-Requires
2020-08-31 13:45:14 +01:00
William Carroll
76b1bcd59a
Drop support for wpc-java
...
1. I don't use this.
2. This is breaking CI because google-java-format cannot be found.
2020-08-31 12:22:58 +01:00
William Carroll
9065c575aa
Prevent all-the-icons-install-fonts from running in CI
...
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 12:08:30 +01:00
William Carroll
70d87eaf24
Drop support for wpgtk
...
I'd like to stabilize on using solarized-light.
2020-08-31 12:04:49 +01:00
William Carroll
7f4e23e431
Apply prefix arg to all-the-icons-install-fonts
...
This prevents the prompt, which blocks my CI build.
2020-08-31 12:03:38 +01:00
William Carroll
b5de71f1f9
Drop support for neotree
...
I don't use neotree anymore.
2020-08-31 12:03:18 +01:00
William Carroll
2c3dbe61b7
Remove keybinding logic from fonts.el
...
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 12:02:35 +01:00
William Carroll
453596adb2
Define constants/ci?
...
Create a top-level flag encoding whether or not Emacs is running in CI.
2020-08-31 12:02:04 +01:00
William Carroll
711820411c
Delete {themes,wallpaper}.el
...
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 11:53:32 +01:00
William Carroll
3e23a86d0e
Set Emacs line-spacing to 0
...
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-31 00:49:07 +01:00
William Carroll
9c820e663f
Restore "l" as evil-forward-char in magit-status-mode-map
...
Remap "l" -> "L"
2020-08-28 17:40:24 +01:00
William Carroll
ea0788fd62
Delete unused parts of bookmark.el
...
Trimming more fat.
2020-08-26 18:30:10 +01:00
William Carroll
8fef6c0408
Remove bookmark for <depot>
...
Since depot now support cs.tvl.fyi, I don't need this, and that is a *massive*
upgrade.
2020-08-25 14:20:46 +01:00
William Carroll
8eed16dc67
Replace calls to (getenv "BRIEFCASE") with constants/briefcase
...
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 14:19:19 +01:00
William Carroll
21ce27b0ca
Prefer <leader>jb to <leader>jd for searching all of briefcase
...
Feels more natural...
2020-08-25 14:16:41 +01:00
William Carroll
504cf0daab
Delete org-helpers
...
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 14:15:58 +01:00
William Carroll
23a41528bb
Remove unnecessary TODO
...
The Nix expression that builds `wpcarros-emacs` sets BRIEFCASE, so the .envrc
isn't relied on.
2020-08-25 14:02:32 +01:00
William Carroll
64afb11d60
Remove unnecessary code from wpc-nix.el
...
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-25 13:55:14 +01:00
William Carroll
7a1e56e7d1
Prefer simpler, more idiomatic project-find-function
...
This version avoids installed all of the custom `cl-defmethods` for a
`'monorepo` type and instead uses the existing `'transient`.
2020-08-24 11:19:47 +01:00
William Carroll
5b6862ea39
Call git secret hide
whenever //secrets.json is saved
...
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 18:41:39 +01:00
William Carroll
4d8ce34a7e
Simplify EXWM init hook
...
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 11:26:32 +01:00
William Carroll
9d7331d63b
Debug evil-want-keybindings issue
...
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 11:26:32 +01:00