Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-16 | r/158 feat(aoc2019): Add solutions for day4 | Vincent Ambo | 1 | -0/+73 | |
Finally an excuse to use some cl-defstruct magic in Elisp! | |||||
2019-12-16 | r/157 feat(aoc2019): Add solution for day3/2 | Vincent Ambo | 1 | -17/+23 | |
2019-12-15 | r/156 merge(PR#11): Move bits of Emacs configuration into local packages | Vincent Ambo | 11 | -87/+192 | |
As requested by @wpcarro, some bits of my Emacs configuration are now in separate local packages (located at `//depot/tools/emacs-pkgs/`). Specifically this change introduces: * `tools.emacs-pkgs.dottime`: A package to render time in the modeline as [dottime](https://dotti.me) * `tools.emacs-pkgs.term-switcher`: A package to quickly switch between and open new terminal instances in EXWM using ivy My Emacs configuration is updated to accomodate these refactorings. | |||||
2019-12-15 | chore(emacs.d): Use local term-switcher package | Vincent Ambo | 3 | -3/+3 | |
2019-12-15 | refactor(emacs-pkgs): Extract term-switcher into separate emacs pkg | Vincent Ambo | 3 | -36/+86 | |
2019-12-15 | chore(emacs.d): Remove smartparens | Vincent Ambo | 3 | -4/+1 | |
I actually find a lot of its behaviour very annoying, rather than smart. Good old electric-pair-mode usually does what I want. | |||||
2019-12-15 | fix(emacs.d): Fix uses use-package's :config instead of :init | Vincent Ambo | 1 | -10/+10 | |
In several places I used `:init` instead of `:config` and things worked due to lazy loading anyways. That's no excuse not to fix it though ... | |||||
2019-12-15 | refactor(emacs.d): Use dottime from my dottime package | Vincent Ambo | 3 | -17/+4 | |
Instead of locally advicing format-time-string, use my dottime package. | |||||
2019-12-15 | feat(emacs-pkgs): Check in separate dottime package | Vincent Ambo | 2 | -0/+66 | |
This package adds a toggle for displaying modeline time in dottime, as well as a function for formatting time as dottime generically. | |||||
2019-12-15 | chore(emacs): Move carp-mode to third-party | Vincent Ambo | 2 | -20/+25 | |
2019-12-15 | r/155 feat(emacs.d): Introduce custom mc/mark-dwim cursor marker | Vincent Ambo | 2 | -0/+28 | |
Adds a "do what I mean" multiple-cursor selection with the logic that I find most useful: * If there is no active region, mark the next line (or lines, based on prefix argument) * If there is an active region that spans multiple lines, call `mc/edit-lines` * If there is an active region on a single line, trigger a custom selection hydra with functionality equivalent to `mc/mark-more-like-this-extended` but a slightly improved user experience Hopefully this will make it easier to get into the habit of actually using multiple-cursors without calling the mc commands via M-x | |||||
2019-12-15 | r/154 chore(emacs.d): Comment out not-currently-used email bindings | Vincent Ambo | 1 | -3/+3 | |
2019-12-15 | r/153 chore(overrides): Bump buildGo.nix | Vincent Ambo | 1 | -1/+1 | |
The new version correctly builds external binaries at package roots. | |||||
2019-12-14 | r/152 chore(tools): Add 'rink' | Vincent Ambo | 3 | -0/+5 | |
2019-12-14 | r/151 refactor(tools): __dispatch.sh now uses relative paths | Vincent Ambo | 3 | -3/+4 | |
This enables usage of __dispatch.sh from anywhere, even outside of the depot. Specifically this means I can add `~/depot/bin` to my $PATH and all the registered tools work from anywhere. | |||||
2019-12-14 | r/150 fix(emacs.d): Fix loading of custom.el | Vincent Ambo | 1 | -3/+2 | |
2019-12-14 | r/149 feat(emacs.d): Add function to open depot in magit | Vincent Ambo | 1 | -3/+3 | |
2019-12-14 | r/148 chore(build): Build tools.emacs in CI | Vincent Ambo | 1 | -2/+3 | |
2019-12-14 | r/147 chore(emacs.d): Clean up <tab> bindings | Vincent Ambo | 2 | -20/+9 | |
One simple rule to rule them all: In prog-mode, <tab> tries to invoke company. | |||||
2019-12-14 | r/146 fix(emacs.d): Let emacs write to customize configuration | Vincent Ambo | 1 | -3/+10 | |
Configures Emacs' `customize` to write directly to my Emacs configuration. This comes with the caveat that the new config will only be loaded if my Emacs is rebuilt. | |||||
2019-12-14 | r/145 feat(tools/emacs): Build fully pre-configured Emacs | Vincent Ambo | 1 | -13/+12 | |
Builds an Emacs that is not only configured with the required packages but with the entire Emacs configuration for my personal setup. This means that `nix-env -iA tools.emacs` will install a fully-configured Emacs that can be launched as the window manager from my ~/.xsession. | |||||
2019-12-14 | r/144 chore(emacs.d): Move init/* to config/* | Vincent Ambo | 11 | -23/+17 | |
2019-12-14 | r/143 chore: Remove some configuration from a previous life | Vincent Ambo | 5 | -50/+6 | |
2019-12-14 | r/142 feat(emacs.d): Load local Emacs configuration if present | Vincent Ambo | 1 | -0/+6 | |
This allows me to have local Emacs configuration that is tracked separately from the rest. | |||||
2019-12-14 | r/141 chore(emacs.d): Import several months of privately tracked changes | Vincent Ambo | 7 | -232/+274 | |
These changes were made in a fork of my configuration that is not publicly available and detailed history will not be included in this public commit. | |||||
2019-12-14 | r/140 feat(emacs.d): Display modeline time in dottime | Vincent Ambo | 1 | -0/+14 | |
See dotti.me for more information about dottime. <3 edef | |||||
2019-12-14 | r/139 feat(emacs.d): Generalise counsel terminal selector | Vincent Ambo | 1 | -23/+22 | |
This makes it possible to use my terminal selector with any X11 terminal, configurable via two simple variables. | |||||
2019-12-14 | r/138 fix(writeElispBin): Use emacsPackagesNg | Vincent Ambo | 1 | -2/+2 | |
Ng is used by my Emacs derivation. I don't actually know what they do differently, but it seems sensible to use the same one in both places. | |||||
2019-12-14 | r/137 refactor(emacs): Rewrite derivation to match depot layout | Vincent Ambo | 2 | -75/+53 | |
2019-12-14 | r/136 chore(emacs): Move Nix derivation for building Emacs over from infra | Vincent Ambo | 1 | -0/+0 | |
2019-12-14 | r/135 chore(infra/nixos): Remove deprecated local packages | Vincent Ambo | 2 | -48/+0 | |
2019-12-14 | r/134 chore(infra/nixos): Mark folder as "not to be evaluated" | Vincent Ambo | 1 | -0/+6 | |
2019-12-14 | r/133 fix(build): Import package set correctly for CI builds | Vincent Ambo | 1 | -1/+1 | |
2019-12-14 | r/132 merge(nixos): Merge (unrelated) NixOS config history into infra/ | Vincent Ambo | 19 | -0/+1315 | |
2019-12-14 | chore(nixos): Move NixOS config to infra/nixos | Vincent Ambo | 19 | -0/+0 | |
2019-12-14 | r/131 chore(third_party): Add derivation for gopkgs/golang/groupcache | Vincent Ambo | 1 | -0/+9 | |
2019-12-14 | r/130 docs(emacs): Update README file | Vincent Ambo | 1 | -4/+5 | |
2019-12-14 | r/129 merge(emacs): Merge (unrelated) emacs.d history into tools/emacs | Vincent Ambo | 13 | -0/+1079 | |
2019-12-14 | chore(emacs): Move emacs config to tools/emacs | Vincent Ambo | 13 | -0/+0 | |
2019-12-13 | r/128 fix(build): Make repository callable in Nix | Vincent Ambo | 1 | -0/+2 | |
This is required for some things that expect package sets to be callable, e.g. Nixery. | |||||
2019-12-13 | r/127 chore(third_party): Bump nixpkgs channel | Vincent Ambo | 1 | -2/+2 | |
This channel is nixos-unstable on 2019-12-13. | |||||
2019-12-13 | r/126 chore(overrides): Bump buildGo.nix to add ASM support | Vincent Ambo | 1 | -1/+1 | |
This is required to build `x/sys`, which is required by the blog_cli | |||||
2019-12-13 | r/125 refactor(tools/blog_cli): Build with buildGo.nix | Vincent Ambo | 2 | -118/+6 | |
This is the first Go package properly built with external dependencies using buildGo.nix | |||||
2019-12-13 | r/124 chore(third_party): Bump gopkgs needed for Google Cloud | Vincent Ambo | 11 | -11/+12 | |
2019-12-13 | r/123 feat(third_party/gopkgs): Import external packages for Google Cloud | Vincent Ambo | 12 | -0/+178 | |
These packages contain the Cloud SDK for Go. There is currently a linker issue (presumably due to something in `buildGo.nix`) that means that projects using them can not actually be built. | |||||
2019-12-13 | r/122 chore(overrides): Upgrade buildGo.nix | Vincent Ambo | 2 | -1/+2 | |
2019-12-10 | r/121 fix(read-tree): Only add marker to imported attribute sets | Vincent Ambo | 1 | -4/+9 | |
Sometimes things that get imported are (intentionally) not attribute sets, e.g. for build functions. Those should not be merged with the marker because, well, that's not possible. | |||||
2019-12-10 | r/120 feat(aoc2019): Solve day 3 puzzles | Vincent Ambo | 1 | -0/+58 | |
Now this was quite something. | |||||
2019-12-09 | r/119 refactor(read-tree): Simplify tree recursion logic | Vincent Ambo | 1 | -65/+30 | |
Rewrites the previous initial tick-tocking recursion into a more straightforward style. Every attribute set that is imported by readTree now also contains an attribute called `__readTree` set to `true` which acts as a marker for other types of tree traversals. Unfortunately directories without any children or importable content still result in empty attribute sets, but overall this might be the better tradeoff vs. having to follow the recursion all the way at each subtree level to determine which children exist. | |||||
2019-12-09 | r/118 feat(read-tree): Mark derivations that have children | Vincent Ambo | 1 | -4/+3 | |
Adds a `__treeChildren` attribute that is set to `true` on derivations that have children, e.g. for cases where a folder contains a `default.nix` but has subdirectories with additional things in them. |