about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/constants.el (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-09-01 More Elisp lintingWilliam Carroll1-2/+2
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 More Elisp lintingWilliam Carroll1-7/+11
This should cover most of the remaining linting errors. After this, I expect fewer than ten linting errors.
2020-08-31 Lint prelude.elWilliam Carroll1-1/+1
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 Lint maybe.elWilliam Carroll1-1/+1
This change had rippling implications.
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-25 Replace calls to (getenv "BRIEFCASE") with constants/briefcaseWilliam Carroll1-3/+8
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-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-03-20 Change the value of constants/current-projectWilliam Carroll1-1/+1
Yesterday evening, I moved the blog directory to website/blog; I forgot to update this value.
2020-01-31 Rename dotfiles -> briefcaseWilliam Carroll1-1/+1
Renaming my mono-repo briefcase. I first introduced this commit in master, but it introduced a bug where one of two things would happen: 1. Emacs wouldn't start and would crash X. 2. Emacs would start but my keyboard wouldn't work. I learned some valuable debugging skills in the process. Here are some of them: When my keyboard was broken, I wanted to control my computer using my laptop. Thankfully this is possible by using `x2x`, which forward X events from the SSH client to the SSH host. ```shell > # I'm unsure if this is the *exact* command > ssh -X desktop x2x -west :0.0 ``` Git commit-local bisecting. I didn't need to do a `git bisect` because I knew which commit introduced the bug; it was HEAD, master. But -- as you can see from the size of this commit -- there are many changes involved. I wanted to binary search through the changes, so I did the following workflow using `magit`: - git reset --soft HEAD^ - git stash 1/2 of the files changed - re-run `nix-env -f ~/briefcase/emacs -i` - restart X session - If the problem persists, the bug exists in the non-stashed files. Repeat the process until you find the bug. In my case, the bug was pretty benign. Calling `(exwm/switch "Dotfiles")` at the bottom of `window-manager.el` was failing because "Dotfiles" is the name of a non-existent workspace; it should've been `(exwm/switch "Briefcase")`. There may have been more problems. I changed a few other things along the way, including exposing the env vars BRIEFCASE to `wpcarros-emacs` inside of `emacs/default.nix`. The important part is that this was a valuable learning opportunity, and I'm glad that I'm walking away from the two days of "lost productivity" feeling actually productive.
2020-01-30 Move move .emacs.d out of configs/sharedWilliam Carroll1-0/+41
Moving all of my Emacs-related files into their own directory at the root of this repository.