about summary refs log tree commit diff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2020-02-05 r/477 feat(tools/emacs): Install ace-linkVincent Ambo1-0/+1
It now has vterm-mode support, which has finally convinced me to try it.
2020-01-27 r/467 fix(emacs-pkgs/nix-util): Don't leave sly build out-links aroundVincent Ambo1-1/+1
2020-01-26 r/458 feat(emacs.d): Add interactive 'scrot-select' screenshot functionVincent Ambo1-0/+6
2020-01-24 r/453 feat(emacs.d): Add notmuch-depot-apply-patch helper functionVincent Ambo1-0/+21
This function lets me interactively apply a patch from the currently opened notmuch message to the depot.
2020-01-22 r/447 feat(emacs.d): Add key binding for counsel-notmuchVincent Ambo1-1/+3
2020-01-20 r/428 fix(emacs-pkgs/nix-util): Ensure compatibility with non-native JSONVincent Ambo1-1/+1
2020-01-19 r/426 feat(cheddar): Add toggle flag for about-filter behaviourVincent Ambo1-13/+38
Cheddar now needs to be passed the --about-filter flag to toggle the behaviour for rendering Markdown into HTML. By default Markdown will be highlighted like normal source code (i.e. cgit source-filtering is the default behaviour).
2020-01-19 r/424 feat(emacs): Install geiser for GuileVincent Ambo2-0/+2
2020-01-19 r/421 fix(emacs-pkgs/dottime): Do not call telega macros in advice setupVincent Ambo1-2/+1
This advice is potentially defined before the autoloads for telega have run, which means that the macro-expansion fails and `telega-ins-fmt` is looked up as a function. With this setup the initialisation works as expected.
2020-01-19 r/420 feat(emacs.d): Switch font to JetBrains MonoVincent Ambo1-11/+3
Lets evaluate this for a bit. With the current settings it even seems to render _okay_ on nugget.
2020-01-19 r/418 fix(emacs.d): Use "light" Input font on nuggetVincent Ambo1-2/+9
2020-01-17 r/398 fix(emacs-pkgs/nix-util): Use lexical-let to allow variable captureVincent Ambo1-17/+17
The lambda that acts as the sentinel for building SBCL with packages needs to be able to capture variables if lexical binding is enabled, which is made possible by the lexical-let form.
2020-01-17 r/389 feat(emacs): Install lispy for evaluationVincent Ambo1-1/+2
Not configuring this automatically yet, I mostly want to try it out.
2020-01-17 r/388 fix(emacs.d): Load relevant modes for Lisp development in IELMVincent Ambo1-0/+6
2020-01-17 r/387 feat(emacs-pkgs/nix-util): Add nix/sly-from-depot functionVincent Ambo1-1/+37
Adds a function that can launch Sly with a pre-configured SBCL for a Lisp derivation in the depot. This makes it convenient to spin up development environments for Lisp libraries and programs by simply calling `M-x nix/sly-from-depot RET tools.something`. This relies on `nix-depot-path` being configured currently as I have not yet reliably added the depot to my NIX_PATH on all machines.
2020-01-15 r/383 feat(emacs.d): Configure Sly for Common LispVincent Ambo1-0/+8
Sets up Lisp modes in Sly REPL and points at the local hyperspec checkout. In fact the Hyperspec bit should probably be managed by Nix, but one step at a time.
2020-01-11 r/370 fix(emacs.d): Trim superfluous whitespace from TODO commentsVincent Ambo1-1/+1
2020-01-08 r/342 fix(emacs): Minor typo fixVincent Ambo1-1/+1
2020-01-07 r/341 chore(emacs): Bump emacs-libvterm to a more recent versionVincent Ambo1-1/+9
2020-01-07 r/340 fix(emacs): Disable linking of imagemagick due to vterm crashesVincent Ambo1-8/+9
See explanatory comment.
2020-01-05 r/335 fix(emacs): Build emacs with imagemagick supportVincent Ambo1-1/+5
2020-01-05 r/331 chore(emacs.d): Remove edwina configurationVincent Ambo3-33/+0
Sounds good, doesn't work. (Okay, it does - but not like I want it to and with too many caveats at the moment - maybe later)
2020-01-04 r/326 fix(emacs.d): Use 'fish' from $PATH when launching vtermsVincent Ambo1-1/+1
This is required because the configuration is used on machines where fish comes from Nix, and on ones where it does not.
2020-01-01 r/322 feat(emacs.d): Toggle email signature manually with C-c C-wVincent Ambo1-0/+1
The signature itself is read from ~/.signature
2019-12-30 r/321 fix(emacs.d): Disable notmuch FCC directoriesVincent Ambo1-0/+1
2019-12-27 r/314 chore(dottime.el): Remove advice for notmuch date renderingVincent Ambo1-20/+1
This code has moved into a patch for notmuch itself.
2019-12-27 r/312 fix(dottime.el): Defer package-specific setupVincent Ambo2-35/+38
2019-12-27 r/311 fix(emacs.d): Load dottime.el after libraries that it modifiesVincent Ambo1-1/+4
2019-12-27 r/310 feat(dottime.el): Support dottime display in notmuch thread viewVincent Ambo1-1/+19
Advises notmuch to display `Date` headers using dottime.
2019-12-27 r/309 feat(dottime.el): Add arbitrary offsets & prefixes to dottime-formatVincent Ambo1-9/+15
This gives users from Elisp slightly more flexibility about the display of dottime.
2019-12-27 r/308 feat(dottime.el): Use dottime in telega.el, tooVincent Ambo1-0/+16
2019-12-26 r/307 chore(emacs.d): Remove explicit FCC dir for private accountVincent Ambo1-1/+0
No longer required because Gmail does this automatically.
2019-12-26 r/305 chore(emacs.d): Remove GPG agent warmup from mail sendingVincent Ambo2-17/+0
Fetching credentials is no longer handled by msmtp itself.
2019-12-25 r/302 fix(emacs.d): Slightly more reliable way of setting edwina prefixVincent Ambo2-1/+4
2019-12-25 r/301 fix(emacs.d): Display newest emails first in notmuchVincent Ambo1-1/+3
2019-12-24 r/299 fix(emacs.d): Avoid advising split-window-* functionsVincent Ambo2-5/+12
Advising these functions apparently breaks things internally.
2019-12-24 r/298 fix(emacs.d): Pick new buffers *into* the active windowVincent Ambo1-4/+4
Instead of splitting below and moving the target buffer into the new split, split and move the buffer into the active window. The other way around does (for some reason I don't fully understand) not work because `split-window-below` may return invalid windows.
2019-12-24 r/297 feat(emacs.d): Advise split-window-below to call edwina-arrangeVincent Ambo1-1/+3
2019-12-24 r/296 feat(emacs.d): Enable edwina package for window managementVincent Ambo1-0/+21
Configures edwina using `s-w` as the key prefix (in line with my other EXWM-related commands). An additional function is added that switches to a buffer (borrowing the implementation from `ivy-switch-buffer`) but splitting it into a new window instead.
2019-12-23 r/295 feat(emacs.d): Bind 's-g m' to notmuch UIVincent Ambo1-0/+3
2019-12-22 r/291 fix(cheddar): Fix errors if filename does not have an extensionVincent Ambo1-9/+7
2019-12-22 r/290 feat(emacs): Install edwina packageVincent Ambo1-0/+1
No configuration for this yet, I just want to try it out. It seems like an interesting way of managing Emacs windows!
2019-12-21 r/288 feat(cheddar): Style pre-elements for better readabilityVincent Ambo1-4/+22
Uses GitHub-like styling for <pre> elements, i.e. slight padding and background colour highlighting.
2019-12-21 r/287 feat(cheddar): Render code blocks in Markdown via syntectVincent Ambo1-26/+82
Implements fully static (i.e. no JavaScript!) highlighting of code blocks when rendering Markdown. This works by walking through the Comrak AST and replacing any code blocks with pre-rendered HTML blocks. Syntaxes are chosen based on the "block info", which is the string users put after the block's opening fence. This can either be a (case-insensitive) name of a syntax, or alternatively a file extension associated with the desired syntax. The theme is set to one that imitates GitHub.
2019-12-21 r/286 docs(cheddar): Mention cgit filter compatibility in READMEVincent Ambo1-0/+11
2019-12-21 r/282 feat(cheddar): Render Markdown via ComrakVincent Ambo1-9/+24
Renders any ".md" file by pushing it through the Comrak rendering pipeline. This does not yet implement syntax highlighting of fenced blocks, but we're getting there.
2019-12-21 r/281 refactor(cheddar): Set up scaffolding for Markdown renderingVincent Ambo3-13/+224
Generalises the two bits of the program that will be required either way (extension parsing and syntax loading). A dependency on Comrak is introduced as I think GitHub-flavoured Markdown (with all its fancy extensions) is desirable!
2019-12-21 r/277 feat(cheddar): Use syntax highlighting assets from batVincent Ambo2-2/+20
This uses Nix to inject the path to the syntax highlighting assets that ship with the bat source code into the cheddar build at compile time, where the Rust compiler then inserts it into the binary via macros. bat has a lot of custom syntax highlighting definitions that they collected from all over the place (including for languages like Nix!) and this makes them accessible to cheddar. Also if you're reading this, can you just take a moment to appreciate how incredible it is that Nix just lets us do something like this?!
2019-12-21 r/276 feat(tools/cheddar): Check in new syntax highlighting toolVincent Ambo7-0/+772
The first step with this tool will be to use it as a source-filter for cgit. The second step is to use it as the Markdown renderer by depending on one of the Markdown libraries, with integration for rendering code snippets directly.
2019-12-20 r/237 chore: Significantly restructure folder layoutVincent Ambo26-2181/+0
This moves the various projects from "type-based" folders (such as "services" or "tools") into more appropriate semantic folders (such as "nix", "ops" or "web"). Deprecated projects (nixcon-demo & gotest) which only existed for testing/demonstration purposes have been removed. (Note: *all* builds are broken with this commit)