about summary refs log tree commit diff
path: root/emacs
AgeCommit message (Collapse)AuthorFilesLines
2020-07-17 Remove week / 52 indicatorWilliam Carroll1-1/+1
This is taking up too much space.
2020-07-06 Misc Emacs improvementsWilliam Carroll2-0/+6
I stole these bad-boys from @tazjin's config.
2020-07-06 Prefer telephone-line to doom-modelineWilliam Carroll3-4/+67
After growing frustrated with doom-modeline's compatibility with my EXWM setup, I decided to borrow @tazjin's setup, which I find to be much more appealing.
2020-06-16 Use ivy-helpers/list-external-commandsWilliam Carroll1-1/+1
Without the ivy-helpers/ namespace, I believe this code is buggy.
2020-06-16 Prefer Solarized Light themeWilliam Carroll1-1/+1
I've said it once, and I'll say it again: my preferences often change.
2020-06-16 Support additional KBDs for ClojureWilliam Carroll1-0/+8
Define KBDs in clojure-mode-map that resemble my common-lisp and elisp KBDs.
2020-06-16 Use dot-time format for modeline timestampWilliam Carroll1-4/+12
My current understanding of how computers deal with time: - Modelling time is easy: use the number of seconds that have elapsed since the Unix epoch. - Display time is complicated. Which timezone should we use? Which format string?
2020-06-16 Prefer smaller default font size for laptopWilliam Carroll1-1/+1
I'll be working without an external monitor for the next few months, so I prefer this smaller size.
2020-04-11 Support elm-mode for EmacsWilliam Carroll2-0/+4
Instead of (ab)using haskell-mode, support elm-mode. TODO: Support elm-format on buffer save
2020-04-11 Drop support for Haskell glyphsWilliam Carroll1-5/+0
I think that glyphs look nice, but they subtley confuse Emacs's UI. In the case of a two-character glyph condensing into one character's width, the fill-width indicator -- correctly -- highlights the 81st character as red, but it looks like it's erroneously highlighting the 80th. Also when I want to create an anonymous function I type (), which condenses into the unit character, and it's difficult to delete either the opening or the closing parenthesis. Overall I think glyphs are cute, but they're not worth the trouble.
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 Don't depend on google-stuff.elWilliam Carroll1-3/+0
I created a google-stuff.el module months ago, but I have not needed to use it much. Removing the google-stuff.el module and all of my dependencies on it.
2020-04-05 Drop support for ynab.elWilliam Carroll1-56/+0
YNAB is short for YouNeedABudget.com. I wrote this code before I started the //monzo_ynab project.
2020-04-05 Drop support for wpc-terminalWilliam Carroll3-72/+0
As I mentioned in the previous commit, I now use vterm.el as my primary terminal. I wrote most of this Elisp when I first started using Emacs. I know longer need it.
2020-04-05 Drop support for terminator.elWilliam Carroll2-1888/+0
Before I switched to vterm.el, I used alacritty as my primary terminal. I could not install alacritty on gLinux, so I switched to terminator. When I was ricing my machine, I wanted my Emacs theme to change my terminator theme. I never finished that project, and it is quite dusty now.
2020-04-05 Remove wpc-docker.elWilliam Carroll2-17/+0
I have not needed this configuration in over a year.
2020-04-05 Remove dotfiles.elWilliam Carroll3-59/+1
This module is a bit stale.
2020-04-05 Tidy //emacsWilliam Carroll2-5/+13
TL;DR: - Add README.md that includes instructions on how to install my Emacs - Delete unused Makefile
2020-04-04 Move Emacs documents to //emacsWilliam Carroll3-0/+89
These documents outline some of my Elisp conventions and ideas. As such, I think //emacs should host them.
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 Carroll2-23/+35
I borrowed heavily from Vincent's depot.
2020-04-02 Build either emacs.{glinux,nixos} depending on my current deviceWilliam Carroll1-7/+12
`M-x nix/rebuild-emacs` will build either emacs.glinux or emacs.nixos depending on whether I'm using a work device or a personal device.
2020-04-02 Define device/corporate?William Carroll1-0/+4
Write a predicate function for checking whether or not I'm on a corporate device.
2020-04-02 Tidy up emacs/default.nixWilliam Carroll1-33/+13
When I run `nix-env -f '<briefcase>' -iA emacs`, Nix builds a derivation of wpcarros-emacs using the path to the Emacs derivation. This doesn't work well on glinux and causes strange behavior. For instance, Chrome crashes when it tries to browse for files. Building with `nix-env -iA emacs.glinux` fixes this and other problems. Miscellaneous other changes: - Remove unnecessary fix-point recursion - Drop support for unused dottime.el - Remove unused overrideEmacs - Remove unused withLocalConfig - Support emacs.glinux and emacs.nixos alternative derivations
2020-04-02 Set Gruvbox theme as my default Emacs themeWilliam Carroll1-1/+1
I want to use a dark theme for awhile.
2020-04-02 Tidy up themes.elWilliam Carroll1-87/+34
TL;DR: - Prune unused themes - Prefer "JetBrainsMono" font for all themes - Remove TODOs that I've either supported or that I'm uninterested in supporting
2020-04-02 Increase default font size for laptopWilliam Carroll1-1/+1
I'm working off of my laptop but I'm using my 4k monitor. The expression that sets `fonts/size` could be more sophisticated and detect this, but for now, I'm just bumping up the size.
2020-04-01 Drop support for org-captureWilliam Carroll1-33/+3
I don't use org-capture, and I am not currently interested in developing that habit.
2020-04-01 Prefer briefcase/org to Dropbox/orgWilliam Carroll2-2/+3
I would like to version-control most but not all of my org files.
2020-04-01 Delete dusty Elisp codeWilliam Carroll2-421/+0
When I first switched to EXWM, I wrote a lot of Elisp. I think I was mostly excited about having a monorepo and, as I had a backlog of ideas that I wanted to implement, I ended up writing many halfly baked ideas in Elisp. These are mostly sketches.
2020-03-27 Ensure Emacs prettier hook activatesWilliam Carroll1-2/+0
Problem: prettier-js waits for rjsx-mode. rjsx-mode only runs on .js files. As such, the hook that installs prettier-js-mode for *all* of my frontend hooks, which includes more than just js files, does not install until a javascript file is opened. Solution: Do not conditionally load prettier-js. Bonus: Remove the .js mode from rjsx.
2020-03-26 Change theme to doom-oneWilliam Carroll1-1/+1
TL;DR - Prefer doom-one theme to solarized light - Prefer colorscheme/set to themes/set
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-03-20 Unbind <SPC> in evil's motion mapWilliam Carroll1-1/+1
By default this just advances the point one character, which I don't use nor want especially because my leader key is the space key.
2020-03-20 Support KBD for toggling linum-modeWilliam Carroll1-2/+1
I would like to restore the good practice of jumping precisely to line numbers within buffers.
2020-03-16 Remove setting for enabling both laptop and external monitorWilliam Carroll1-1/+1
Currently I prefer working with one screen at a time, so I'm preferring to toggle between external monitor and laptop monitor.
2020-03-10 Restore Emacs serverWilliam Carroll1-0/+3
I think I removed the `(server-start)` call when I was debugging some EXWM issues. I have stabilized my configuration considerably since then, and I'd like to use the Emacs server.
2020-03-06 Include notmuch as an Emacs dependencyWilliam Carroll1-0/+1
`(require 'notmuch)` in `email.el` broke my Emacs initialization. This should fix that.
2020-03-06 Include NIX_PATH settings in nix/rebuild-emacs functionWilliam Carroll1-2/+5
I'm currently setting NIX_PATH in ~/briefcase/shell.nix. This means when I call `nix/rebuild-emacs` from a buffer that is inside the briefcase directory, the command succeeds because NIX_PATH is properly defined. When I call `nix/rebuild-emacs` from any other location it fails. I'm hard-coding the NIX_PATH in this command so that I can call `nix/rebuild-emacs` from any buffer that is currently active.
2020-03-06 Support nix/home-manager-switchWilliam Carroll1-0/+10
As a part of my plan to reduce my dependence on the shell, I defined an Elisp function to call `home-manager switch` from `M-x`.
2020-03-06 Add programs to home-managerWilliam Carroll1-10/+0
Support commonly used programs like fd, exa, bat, etc. For now, I'm unsure how to manage the programs in my emacs/default.nix with my home.nix. I'll wait until I have a stronger opinion to handle this.
2020-03-04 Consume top-level emacs attributeWilliam Carroll1-3/+4
Refactor `nix/rebuild-emacs` to consume newly defined top-level emacs attribute.
2020-03-01 Use doom-modelineWilliam Carroll2-0/+5
Cleaning up my modeline by using the beautiful doom-modeline package.
2020-03-01 Remove default values for Nix expression parametersWilliam Carroll1-6/+2
I'm not sure if this commit breaks everything in my monorepo. I think it will. Why am I doing this? Perhaps it's a bad idea. I don't fully understand how readTree works. My ignorance is costing me hours of time spent debugging. In an effort to better understand readTree, I'm removing the default values for my Nix expression parameters, which I believe have preventing errors from surfacing.
2020-02-22 Converge naming of Acer laptop to "socrates"William Carroll1-1/+1
Prefer "socrates" to "flattop".
2020-02-20 Support ssh/{sudo-buffer,cd-home}William Carroll1-3/+17
- Support command to open a dired buffer with wpcarro's $HOME directory for any host defined in ssh/hosts. - Support opening the current buffer with sudo privileges.
2020-02-18 Configure ssh preferencesWilliam Carroll2-3/+15
Every Tuesday I work from Google's 6PS office instead of BEL. I work from my laptop, which often requires that I ssh into the desktop work station in BEL. I have settled on a locally optimal workflow that I'd like to improve. To help seek higher ground, I'm planning on using ssh.el to configure tramp and define utility functions to lower my cost of exploring new workflows. - Defines a function, `ssh/desktop-cd-home` that helps me quickly open a dired buffer for my work station's home directory. - Documents some variables that I set weeks ago. - Requires ssh.el in init.el.
2020-02-18 Further configure notmuchWilliam Carroll1-0/+32
Until now my notmuch is usable but not almost always pleasurably so. For example, when I reply to messages, notmuch warns that "Insert failed:"; when I check Gmail, the reply sent... strange. After consulting with a fellow notmuch user and Emacs disciple, tazjin@, I borrowed some of his notmuch configuration. - notmuch is no longer warning about replies - Replies do not include noisy email signatures - I have an Emacs User-Agent header in my outgoing mail - All of this and more...