about summary refs log tree commit diff
path: root/configs/shared/.emacs.d
AgeCommit message (Collapse)AuthorFilesLines
2020-01-22 Track TODO for extending alist/newWilliam Carroll1-0/+1
See TODO for more information.
2020-01-22 Begin supporting list/indexWilliam Carroll1-0/+22
This currently doesn't work and as such is a work-in-progress.
2020-01-22 Add tests for vector.elWilliam Carroll1-0/+22
Adds a few tests for vector{set,set!} functions.
2020-01-22 Drop support for ORG_DIRECTORY in envrcWilliam Carroll2-13/+9
When Emacs starts it's called from xsessionrc.shared, which is called outside of direnv's .envrc scope. Because of this variables defined therein, like ORG_DIRECTORY, are undefined and prevent Emacs from initializing. I'm hard-coding the `org-directory` variable for now and removing references to `(getenv "ORG_DIRECTORY")`.
2020-01-22 Temporarily prefer start-process instead of prelude/start-processWilliam Carroll1-6/+4
While my `prelude/start-process` function cannot support arguments in the form of `'single quotes'`, I'm using `start-process`.
2020-01-22 Change current-project to mono-repoWilliam Carroll1-1/+1
Point the constants/current-project variable to my mono-repo. The constants.el file isn't as populated as I was expecting and I think supporting it introduces indirection in my code. I'm considering removing it.
2020-01-22 Prefer general to evil-leaderWilliam Carroll2-11/+18
Another small step towards dropping support for evil-leader, which general supplants.
2020-01-22 Attempt to tidy Emacs mode lineWilliam Carroll1-0/+4
Removing the major-modes and VCS information from my mode line, since I don't use this much and I think my mode line is noisy enough as is.
2020-01-18 Remove unused keybindingsWilliam Carroll1-6/+0
In the interest of slimming down, removing these dusty keybindings.
2020-01-18 Format modulesWilliam Carroll2-2/+3
Add missing headers and remove gratuitious whitespace.
2020-01-18 Debug failed initialization of keybindingsWilliam Carroll4-25/+35
Some more pains of weening off of Dropbox is that my Emacs initialization is sensitive to dependencies and missing require statements. I'm still debugging everything. Some modules called `exwm-input-set-key` before the `window-manager` module loaded, which itself requires EXWM. This broke initialization. To get around this I could've called `(require 'exwm)` in each of those modules. I chose to define a `keybindings.el` module to whitelist some of my EXWM keybindings. I'm not sure if this is the best way forward, but it is *some* way forward.
2020-01-18 Support string/contains?William Carroll1-0/+4
Simple wrapper around s-contains? but in the interest of avoiding a mixture of s.el and stirng.el functions, the wrapper was defined.
2020-01-18 Use assert in prelude/start-processWilliam Carroll2-3/+6
Since the tokenizing isn't working as expected, my keyboard.el function keyboard/swap-caps-lock-and-escape was silenting failing. I'm adding a prelude/refute in that function to make the failures noisy until the tokenizing is properly supported.
2020-01-18 Support Gruvbox themeWilliam Carroll1-0/+7
Add Gruvbox theme in themes.el. Also made a note to consider supporting themes: - with solid colors as wallpaper - without compton's transparency
2020-01-18 Prefer general to evil-leaderWilliam Carroll1-6/+6
One small change in a larger effort to drop support for evil-leader.
2020-01-18 Load entr.el at Emacs initializationWilliam Carroll1-0/+2
Also make a note to rename entr.el to something else. That module should be refactored, but it gets the job done currently.
2020-01-17 Re-order functions.el moduleWilliam Carroll1-6/+6
Move `wpc/find-file-split` directly below `wpc/find-file`. TODO: This module is quite old and served as a bit of a dumping grounds for me for a long time. As such, I think I should consider deleting dead code and moving some of these functions to other modules.
2020-01-17 Support clipboard/contentsWilliam Carroll1-0/+4
This function returns the contents of the clipboard without calling paste.
2020-01-17 Re-enable wpc-org with direnv supportWilliam Carroll2-11/+10
After moving some environment variables out of `~/.profile` and into a `.envrc` file, I broke some of my modules because Emacs, which is started in `~/.xsessionrc.shared`, is started from outside of the `.envrc` scope. Thankfully someone wrote an excellent Emacs integration with `direnv` so now the world keeps turning and it is even more beautiful than it was previously.
2020-01-17 Support google3 as a citc aliasWilliam Carroll1-1/+2
Sometimes I just want to visit //google3.
2020-01-17 Drop support for prism-modeWilliam Carroll3-15/+0
Many times when I run `prism-mode` the contrast between the colors isn't strong enough. This is unfortunate because I really like the idea. Perhaps one day I can submit a PR to ensure that it uses the highest-contrast colors available to it.
2020-01-17 Prefer fullscreen for magit-statusWilliam Carroll1-1/+4
Magit as a fullscreen buffer helps me focus by removing the noise of additional buffers.
2020-01-17 Debug colorscheme.elWilliam Carroll1-1/+1
`colorscheme/prev` was calling `colorscheme/load`, which has been changed to `colorscheme/set`.
2020-01-17 Only whitelist doom- prefixed themesWilliam Carroll1-1/+4
I find that I continually reach for the Doom themes rather than any of the base16 or others.
2020-01-17 Suppress load-theme from confirming changesWilliam Carroll1-1/+1
I don't feel like the confirmation dialog adds much value.
2020-01-17 Drop support for window-manager/screenshotWilliam Carroll1-8/+0
After defining the scrot.el module, I don't have much use for this function. In fairness, I never used this function too much; I wrote it early on when I first switched from i3 to EXWM. As such, it's a bit sloppy. Happy whenever I get a change to do some spring cleaning.
2020-01-17 Consume Mononoki and JetBrainsMono in themes.elWilliam Carroll1-2/+2
I'm liking both of these fonts enough to prefer them over "Input Mono"... at least for the time being.
2020-01-17 Support package-lintWilliam Carroll1-0/+3
This library exposes a function called `package-lint-current-buffer` that I needed to call when attempting to publish `ivy-clipmenu` to MELPA.
2020-01-17 Whitelist Mononoki and JetBrainsMono in fonts.elWilliam Carroll1-1/+3
What's the point of adding them if I'm not going to use them?
2020-01-17 Allow message overrides in clipboard/{copy,paste}William Carroll1-4/+4
In case libraries consuming this would like a way to control the message that's output.
2020-01-17 Support scrot.elWilliam Carroll1-0/+66
Write some Elisp to work with `scrot`, Linux's CLI utility for taking screenshots. It's been too long this that was working as expected! As a bonus, I learned that it's possible to copy images to Linux's clipboard and not just their file paths. This makes for a really nice UX!
2020-01-17 Consume ivy-clipmenuWilliam Carroll1-0/+13
Move keybindings from ivy-clipmenu.el into my clipboard.el. I didn't want to presume users' preferences for the keybindings in ivy-clipmenu.
2020-01-17 Rename clipmenu.el to ivy-clipmenu.elWilliam Carroll2-149/+134
TL;DR: Preparing ivy-clipmenu for publishing. Also: - Removes lingering TODO items. - Clarifies module and function documentation. - Defines groups for custom variables. - Supports history variable for ivy-read.
2020-01-17 Add headers to fs.el fileWilliam Carroll1-2/+8
These are missing and as a code janitor that's just plain unacceptable.
2020-01-17 Begin support for terminator.elWilliam Carroll2-0/+1888
TL;DR: Attempting to use Elisp to manage my Terminator themes. Read the terminal.el module docs for more context about this endeavor.
2020-01-17 Ensure clipmenu/list-clips output matches clipmenuWilliam Carroll1-42/+33
clipmenu/list-clips previously didn't sort or deduplicate entries in the same way that the existing clipmenu list_clips function did. After running some tests, clipmenu/list-clips matches the output except I'm unsure my duplicate algorithm is identical.
2020-01-17 Support functions to toggling the display of the laptopWilliam Carroll1-0/+29
Since I already support toggling for the 4k monitor, I might as well support it for my laptop too.
2020-01-17 Support list/dedupe-adjacentWilliam Carroll1-0/+14
Support a function to deduplicate adjacent elements in a list. Also tracks additional work with TODOs.
2020-01-17 Support call-process-to-stringWilliam Carroll1-0/+6
Writes an Elisp macro to use `call-process` (because it's fast) but capture the output to a string.
2020-01-17 Add parsec.elWilliam Carroll1-0/+3
Ensures parsec.el is installed in Emacs.
2020-01-17 Track TODO for investigating 4k monitor scalingWilliam Carroll1-0/+2
It seems like something when I run `display/enable-4k` my resolution isn't at 4k fully. However, when I call the same command on the command line it does scale properly. This doesn't sound likely, and frankly I haven't had too much time to try and reproduce this. Hence - the TODO!
2020-01-17 Prefer direnv to manage ORG_DIRECTORYWilliam Carroll1-0/+15
Instead of keeping this in my ~/.profile, I'm going to define it in .envrc. What I still don't know is how functions like `getenv` are supposed to interact with direnv. I suppose maybe they aren't? Right now, when I call `(getenv "DOTFILES")` from Emacs, it's `nil`, which I understand. Hopefully the more I use direnv, the more reasonable expectations I'll have.
2020-01-17 Support missing Emacs dependenciesWilliam Carroll2-0/+6
Since I moved this repository away from Dropbox, my elpa, melpa, quelpa packages weren't automatically syncing. This crutch, once removed, cause my Emacs initialization to fall-over. This commit patches some of those missing dependencies.
2020-01-17 Begin supporting Emacs client for clipmenuWilliam Carroll1-0/+158
After a few weeks of having this idea in the back of my mind, I began supporting an ivy interface to clipmenu. I tried clipmon.el for awhile, but it wasn't as good as clipmenu in my experience. To get the best of both worlds, I'm attempting to write an Emacs client for clipmenu! Stay tuned for more updates. If I open source this, which I'd like to, I'll need to answer a few questions: - How should I handle libraries like my prelude.el? - How can I eject this from my mono-repo and dotfiles? See the TODOs scattered throughout the module for an idea of the remaining work. I'd estimate that there's about one to three more hours of work.
2020-01-17 Support prelude/timeWilliam Carroll1-0/+4
Write macro that wraps Elisp's builtin `benchmark` function. I'm doing this because `prelude/time` more closely resembles the API that I would expect.
2020-01-17 Drop support for clipmon.elWilliam Carroll1-44/+0
I prefer cdown/clipmenu. Forthcoming is an ivy/counsel (I never know which word to use) client for clipmenud!
2020-01-17 Support region.elWilliam Carroll1-0/+20
Create a module for working with Emacs's regions.
2020-01-17 Support finance.elWilliam Carroll1-0/+119
Create a finance module to help me cheaply calculate things like the future value of a Spotify subscription or Dropbox subscription or Jiu Jitsu membership.
2020-01-17 Prefer simpler window layout for Org workspaceWilliam Carroll1-3/+1
Prefer only seeing today.org in my Org workspace.
2020-01-17 Support direnvWilliam Carroll2-3/+3
DRY up environment variable definition by using direnv and an .envrc file.