about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2020-09-07 Vertically align search results conditionallyWilliam Carroll1-10/+13
Only when `window-system` is set.
2020-09-07 Install keybindings for bookmark.elWilliam Carroll1-0/+4
I would like to restore these KBDs.
2020-09-07 Suppress cl deprecation warnings during initializationWilliam Carroll1-0/+6
See the URL I linked to for more information.
2020-09-07 Drop support for building emacs.glinuxWilliam Carroll1-3/+2
I'm defining a fork of this function in my work configuration, so I longer want this here.
2020-09-07 Debug project-find-file for briefcaseWilliam Carroll1-1/+1
As the name suggests, `f-parent-of?` only returns true when A is a *parent* of B. What I want instead if `f-ancestor-of?`.
2020-09-07 Expose withEmacsPath on emacs attributeWilliam Carroll1-4/+11
I need this for Nix code that exists outside of this repository.
2020-09-06 Prefer 'vc as the project-find-file type when at briefcase's rootWilliam Carroll1-4/+10
See the explanatory comment that I left in the code.
2020-09-06 Add defgroup vterm-mgt for vterm-mgtWilliam Carroll1-4/+9
In the past I used `defconst` in many of my Elisp libraries where I should've used something like: ```elisp ;; some/path/to/some-lib.el (defgroup some-lib nil) (defcustom some-lib-setting nil :group 'some-lib) ``` When I encounter code that I should've structured this way, I'm cleaning it up to prefer this more idiomatic pattern.
2020-09-04 Call make-process instead of call-process in scrot.elWilliam Carroll1-15/+7
While attempting to debug why pressing `C-s-s` from an X-window screenshots my entire screen, I switched from `call-process` to `make-process`, which is async. I still haven't debugged the original issue, but I think this is an improvement regardless.
2020-09-04 Restore KBDs for changing my font sizeWilliam Carroll1-0/+4
When I removed the KBD logic from fonts.el, I should have moved it here, but I did not.
2020-09-04 Debug broken pulse-audio KBDsWilliam Carroll1-4/+5
Looks like when I linted my Emacs I forgot to change the prefix from `pulse-audio/` to `pulse-audio-`.
2020-09-04 Enable font ligatures for Emacs 27!William Carroll2-0/+32
Now that Emacs is capable a rendering font ligatures, I defined a function to enable them in fonts.el. Everything works, and it's beautiful.
2020-09-02 Prevent warning during Emacs initializationWilliam Carroll1-1/+2
Now that my `script.el` is behaving as expected (wahoo!), start linting away anything that shows up in the `*Warnings*` and `*Errors*` buffers.
2020-09-02 Linting ElispWilliam Carroll11-21/+23
TL;DR: - Prefer cl-lib - Prefer spaces to tabs - Resolve various checkdoc complaints
2020-09-02 Remove KBD installations from more Elisp modulesWilliam Carroll2-33/+0
I originally liked this pattern, but now I'd prefer to put everything in keybindings.el.
2020-09-02 Require general.el for packages that depend on itWilliam Carroll12-0/+32
Since I'm calling `(require 'general)` in `wpc-package.el`, which gets called at the beginning of my `init.el` file, all sub-modules have `general`. I originally wanted this, but I'm beginning to rethink that preference. After `script.el` broke my CI because of a missing `general` dependency, I'm fixing it for `buffer.el` and all other modules that consume `general`.
2020-09-02 Add missing ts.el dependency to buffer.elWilliam Carroll1-0/+1
Since script.el depends on buffer.el now, buffer.el fails to evaluate because of a missing dependency on ts.el. Blindspots like this make me want to eventually support testing individual loads of each of the libraries in my .emacs.d/wpc directory.
2020-09-02 Debug undefined add-hook-before-saveWilliam Carroll4-5/+36
`use-package` complains that `add-hook-before-save` doesn't exist. This is because it's now named `macros-add-hook-before-save`. This fixes that.
2020-09-02 Debug false-negative reports for init-emacs CI stepWilliam Carroll1-2/+3
Problem: `(bufferp "*Warnings*")` always returns `nil` because it expects a buffer object. Thankfully I wrote a function called `buffer-exists?`, which is a more DWIM alternative of `bufferp`. Hopefully now CI should fail!
2020-09-02 Add missing Elisp dependenciesWilliam Carroll10-0/+16
TL;DR: - Require cl-macs.el for modules using CL-style macros like `cl-defun` - Require struct.el for call to `struct-set!`
2020-09-02 Delete unused slack-snippets moduleWilliam Carroll1-228/+0
I haven't used Slack in awhile -- let alone Slack from Emacs.
2020-09-02 Increase assertiveness of init-emacs script.elWilliam Carroll1-7/+22
TL;DR: - Assert that the path to the init.el exists - Check *Errors* buffer in case an error is uncaught but logged - Log a message when Emacs successfully initializes
2020-09-02 General Elisp lintingWilliam Carroll6-65/+9
TL;DR: - Remove `require` statements from init.el - Remove unused, auto-install KBDs for bookmark.el - Remove unused `require` statements from clipboard - Remove unused, commented-out code I would like for an Elisp linting stage to test for unused `require` statements, but I'm unsure how practical that is to support.
2020-09-02 Remove circular Elisp dependencyWilliam Carroll1-27/+0
maybe.el -> prelude.el -> maybe.el I should test for circular-dependencies in CI...
2020-09-02 Pull Emacs 27 from @tazjin's depotWilliam Carroll3-13/+6
Here's what happened: My `emacs.glinux` derivation relies on gLinux `/usr/bin/emacs`, and Google recently published version 27, so all corporate machines (i.e. this laptop) switched from Emacs 26 to Emacs 27 overnight. However, my Nix derivation was building all of the packages for Emacs 26, so some packages were compatible while others weren't. The Elisp package, `emr`, doesn't build for version 27, so I dropped it altogether.
2020-09-02 Rename alist.el to al.elWilliam Carroll10-108/+84
After switching my namespace separator from "/" to "-" the function, `alist-get`, clashed (surprise!) with the pre-existing function, `alist-get`. As I was struggling to debug my broken Emacs (it broke bc Emacs 27 rolled out), and I changed the module name, "alist", to "al" attempting to defuse the issue.
2020-09-02 Delete unused org-clubhouseWilliam Carroll1-365/+0
Sorry, @grfn! I haven't used Clubhouse is awhile...
2020-09-01 Allow Elisp linting to run concurrently with Emacs initWilliam Carroll1-1/+1
No reason for init-emacs to block lint-elisp.
2020-09-01 Apply checkdoc fixes to set.elWilliam Carroll1-3/+3
While I don't agree with what checkdoc is advising here, I'd rather not fight it.
2020-09-01 Redefine >> macro as >-> in >.elWilliam Carroll8-25/+52
I created a strangely named Elisp module, >.el, just to appease the CI gods. My gut tells me that this is a desperate idea and fails the smell test. I'm pretty eager to pass the linting phase of my Elisp CI, however, and I can always revert this.
2020-09-01 More Elisp lintingWilliam Carroll19-67/+62
In order for this to scale, I need to solve two things: 1. Ad-hoc ignore fill-column rules for URLs and other exceptions. 2. Run Elisp flychecker without evaluating my Elisp code and firing its side-effects.
2020-09-01 Consume utils.builder in home.nixWilliam Carroll1-4/+6
Consuming my newly defined Nix utilities.
2020-09-01 Delete comment monzo_ynab deploymentWilliam Carroll1-22/+0
I haven't used this since I wrote it months ago...
2020-09-01 Define {builder,fs}.nix for utils.nixWilliam Carroll3-11/+63
Re-export everything from utils.nix.
2020-09-01 More Elisp lintingWilliam Carroll47-990/+1050
This should cover most of the remaining linting errors. After this, I expect fewer than ten linting errors.
2020-08-31 Lint string, macros.elWilliam Carroll36-204/+176
More of the same type of linting... basically preferring `namespace-` instead of `namespace/`.
2020-08-31 Delete bills.elWilliam Carroll1-26/+0
Another cold, stale Elisp module.
2020-08-31 Fix fill-column errorsWilliam Carroll3-7/+6
- removing stale comments - dropping stale KBDs
2020-08-31 Lint prelude.elWilliam Carroll29-164/+163
This was a doozey because I use it everywhere. Is there a better way to globally rename things? Aye aye aye... computers, man!
2020-08-31 Additional lintingWilliam Carroll7-31/+29
Running `M-x checkdoc` on some of the modules that passed the package-lint but failed additional lints.
2020-08-31 Lint more Elisp files, delete othersWilliam Carroll12-77/+41
I may regret this, but I delete Ocaml and ReasonML modules; I can alway restore them thanks to Git. Added more ceremony to other modules to appease the linting gods.
2020-08-31 Delete entr.elWilliam Carroll2-117/+0
As I strive to lean down my Emacs configuration modules like this must go.
2020-08-31 Delete unused .nix expressionsWilliam Carroll3-27/+0
These were never more than scratch buffers that I used when I was feeling around in the dark trying to learn Nix.
2020-08-31 Remove (require 'kaomoji) from init.elWilliam Carroll1-1/+0
I should've done this when I deleted kaomoji.el because this broke my "Initialize Emacs" step.
2020-08-31 Delete unused Elisp modulesWilliam Carroll12-873/+0
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 Lint maybe.elWilliam Carroll12-49/+53
This change had rippling implications.
2020-08-31 Lint pulse-audio.elWilliam Carroll1-16/+20
Next commit will contain all of the remaining linting...
2020-08-31 Delete pushover.elWilliam Carroll1-75/+0
Again: another strong cup of coffee bred overzeal.
2020-08-31 Lint random.elWilliam Carroll2-29/+37
Usual lints... fixes usage in tree.el.
2020-08-31 Delete ghost module, scheduler.elWilliam Carroll1-22/+0
Must've had a particularly strong cup of coffee the day I decided to attempt to write this.