about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/window-manager.el (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-09-01 More Elisp lintingWilliam Carroll1-23/+23
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 Carroll1-4/+4
More of the same type of linting... basically preferring `namespace-` instead of `namespace/`.
2020-08-31 Fix fill-column errorsWilliam Carroll1-2/+1
- removing stale comments - dropping stale KBDs
2020-08-31 Lint prelude.elWilliam Carroll1-2/+2
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 Carroll1-25/+19
Running `M-x checkdoc` on some of the modules that passed the package-lint but failed additional lints.
2020-08-31 Lint window-manager.elWilliam Carroll1-91/+75
- 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-25 Delete org-helpersWilliam Carroll1-1/+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-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-04-06 Debug unresponsive keyboardWilliam Carroll1-6/+0
After binary searching through my git history to restore my keyboard functionality, I discovered the issue: I deleted the "Terminal" workspace, but I did not remove the call to `(exwm/switch "Terminal")`, which silently prevented EXWM from initializing. I wish errors like this were noisier.
2020-04-05 Remove dotfiles.elWilliam Carroll1-3/+1
This module is a bit stale.
2020-04-03 Drop support for Terminal workspaceWilliam Carroll1-3/+0
I created the Terminal workspace before I wrote a function for finding/creating vterm instances. I now use the latter almost exclusively.
2020-04-02 Remove :index field from exwm/named-workspace structWilliam Carroll1-75/+14
I can compute the index use dash.el's -elem-index. I'm also removing some unused EXWM workspaces.
2020-04-02 Tidy window-manager.elWilliam Carroll1-47/+3
Remove stale code and stale comments.
2020-04-02 Refactor opening X applications from EmacsWilliam Carroll1-23/+1
I borrowed heavily from Vincent's depot.
2020-02-10 Disable ido-modeWilliam Carroll1-2/+0
For awhile I had a mixture of ivy and ido. Disabling ido and preferring ivy for everything.
2020-02-10 Support vterm-mgt.elWilliam Carroll1-2/+2
I enjoyed using term-switcher so much that I ended up adopting vterm as my primary terminal. After reaching for vterm as often as I did, I realized that I would enjoy supporting cycling through instances, creating new instances, deleting existing instances, renaming instances. Thus spawned vterm-mgt.el. I'm particularly excited about the KBD to toggle between vterm instances and source code buffers.
2020-02-03 Remove KBDs supporting undesired Ergodox configurationWilliam Carroll1-11/+1
I mistakenly mapped one of my dual-function keys on my Ergodox to send Shift+CMD instead of CMD. When some of my Emacs keybindings weren't firing, I noticed that the key event they received was some like `C-S-s-<char>` instead of say `C-s-<char>`. As a quick fix, I duplicated each of my keybindings that relied on the CMD key to support Shift+CMD as well until I remapped the key on my Ergodox. This morning, I remapped the Shift+CMD key to CMD, so I'm bidding adieu to this code.
2020-02-02 Support focusing EXWM X-application buffersWilliam Carroll1-5/+28
Press `<M-escape.` to display a list of buffers hosting X applications. Use `completing-read` to select and focus one of these. See the function docs and TODOs for more information.
2020-02-02 Support KBDs for term-switcher packageWilliam Carroll1-92/+2
To facilitate transitioning from using `terminator` to using `vterm`, I'm defining some KBDs that I hope will help me habituate my usage of `vterm`.
2020-01-31 Rename dotfiles -> briefcaseWilliam Carroll1-6/+4
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/+647
Moving all of my Emacs-related files into their own directory at the root of this repository.