tvl-depot/emacs/.emacs.d/wpc
William Carroll 837cfe07c7 Rename dotfiles -> briefcase
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-31 15:27:48 +00:00
..
alist.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
bag.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
bills.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
bookmark.el Rename dotfiles -> briefcase 2020-01-31 15:27:48 +00:00
buffer.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
bytes.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
cache.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
chrome.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
clipboard.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
colorscheme.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
constants.el Rename dotfiles -> briefcase 2020-01-31 15:27:48 +00:00
cycle.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
device.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
display.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
do.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
dotfiles.el Rename dotfiles -> briefcase 2020-01-31 15:27:48 +00:00
dotted.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
email.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
entr.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
enum.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
finance.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
fonts.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
fs.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
functions.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
graph.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
imdb.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
irc.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
iso.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
ivy-clipmenu.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
ivy-helpers.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
kaomoji.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
kbd.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
keybindings.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
keyboard.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
keymap.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
laptop-battery.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
list.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
list.nix Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
macros.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
math.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
maybe.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
me-seconds.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
monoid.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
number.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
org-helpers.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
playback.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
polymorphism.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
prelude.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
prelude.nix Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
pulse-audio.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
pushover.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
random.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
region.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
scheduler.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
scope.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
screen-brightness.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
scrot.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
sequence.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
series.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
set.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
ssh.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
stack.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
string.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
string.nix Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
struct.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
symbol.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
terminator-themes.json Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
terminator.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
themes.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
todo.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
tree.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
tuple.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
vector.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wallpaper.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
window-manager.el Rename dotfiles -> briefcase 2020-01-31 15:27:48 +00:00
window.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-clojure.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-company.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-dired.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-docker.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-elixir.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-flycheck.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-haskell.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-java.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-javascript.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-keybindings.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-lisp.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-misc.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-nix.el Rename dotfiles -> briefcase 2020-01-31 15:27:48 +00:00
wpc-ocaml.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-org.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-package.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-prolog.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-python.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-reasonml.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-rust.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-shell.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-terminal.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpc-ui.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
wpgtk.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
ynab.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00
zle.el Move move .emacs.d out of configs/shared 2020-01-30 16:00:29 +00:00