Vincent Ambo
d570fbbad3
chore(tools/emacs): Update window management configuration for frog
...
Change-Id: I848d4c1d58a81a66800f25459fee8f85d3f269f6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/64
Reviewed-by: tazjin <mail@tazj.in>
2020-06-11 23:20:46 +00:00
Vincent Ambo
524b621231
feat(tools/emacs): Configurable depot path, defaulting to /depot
2020-06-11 18:33:02 +01:00
Vincent Ambo
820f591cbb
chore(tools/emacs): Remove unused #'notmuch-depot-apply-patch
2020-06-11 18:32:38 +01:00
Vincent Ambo
3407baa756
fix(tools/emacs): Fix path to explain-pause-mode
2020-06-11 12:20:37 +01:00
Vincent Ambo
cc24097029
feat(3p/emacs): Check in derivation for explain-pause-mode
...
This mode makes it possible to track down slowness in Emacs functions
across the board.
https://github.com/lastquestion/explain-pause-mode
Very useful for some things I need to debug ...
2020-06-03 02:31:31 +01:00
Vincent Ambo
991cf97df2
feat(tools/emacs): Install and configure hound package at cs.tazj.in
2020-05-27 00:06:59 +01:00
Vincent Ambo
74a70896f2
feat(tools/emacs): Add vterm-send-ctrl-x function
...
This is useful if something accidentally opens nano.
2020-05-26 01:21:42 +01:00
Vincent Ambo
6f8fbf4aa4
chore(tools/cheddar): Bump dependencies & upgrade to LLVM 10
2020-05-25 23:37:39 +01:00
Vincent Ambo
c08886ab82
fix(tools/emacs): Use explicit includes
2020-05-22 19:05:39 +01:00
Vincent Ambo
1086072d3d
feat(tools/emacs): Configure eglot to shut down automatically
...
When all buffers related to a specific eglot instance are gone, eglot
can shut down.
2020-05-19 14:23:59 +01:00
Vincent Ambo
a3894c2bf1
feat(tools/emacs): Install meson-mode
2020-05-17 23:59:00 +01:00
Vincent Ambo
d97cf260a2
refactor(tools/emacs): Move third-party overrides to //third_party
...
EXWM and vterm are overridden, but this shouldn't be happening outside
of //third_party
2020-05-16 04:08:28 +01:00
Vincent Ambo
a078cabc71
fix(tools/emacs): Configure xkb switching shortcuts on EXWM launch
...
This enables half of the shortcuts for switching keyboard languages
when EXWM launches.
The cyrillic ones are commented out because Emacs doesn't start
otherwise, I've no idea why and don't care at the moment.
2020-05-16 03:55:31 +01:00
Vincent Ambo
5cc37a15a5
feat(defzone): Add plist argument format for SOA records
...
These records have so many fields that it's difficult to track what's
what in a long list. For convenience they're now specified in plist
format (see the example).
There isn't really a point to this because the SOA record is the one I
care the *least* about practically as Cloud DNS sets it for me, but
whatever.
2020-04-20 22:39:58 +01:00
Vincent Ambo
8c86b9b5f6
feat(defzone): Add an Emacs package for generating zone files
...
This currently only supports a small subset of available records, but
I actually kind of like the nesting.
2020-04-20 22:39:58 +01:00
Vincent Ambo
590e1e1048
feat(tools/emacs): Add screen layouts for nugget to EXWM config
2020-04-18 15:27:56 +01:00
Vincent Ambo
820b1bb0c9
feat(tools/emacs): Refactor monitor layout setup in EXWM
...
vauxhall (my laptop) now has an additional screen connected at home,
but sometimes I use that screen for my desktop computer (nugget).
This refactors the randr configuration for EXWM to support somewhat
more dynamic, multi-monitor layouts and adds key bindings to toggle
between some of the different configurations I want.
2020-04-17 13:13:59 +01:00
Vincent Ambo
afc729c419
feat(tools/emacs): Install polymode & protobuf-mode
...
... how did I not have protobuf-mode installed? What?
2020-04-06 23:19:52 +01:00
Vincent Ambo
e3864f3b85
feat(tools/emacs): Title the TVL window correctly
2020-04-04 22:27:06 +01:00
Vincent Ambo
e9aa5ae463
fix(tools/emacs): Include date in scrot screenshot names
2020-04-04 20:05:32 +01:00
Vincent Ambo
f99fc009fc
fix(tools/emacs): Fix notmuch-show-open-or-close-subthread
...
Accidentally dropped a key parameter, also restored interactive
functionality via prefix arguments..
2020-04-02 21:59:18 +01:00
Vincent Ambo
40d13cc87f
feat(tools/emacs): Bindings for (un)collapsing notmuch subthreads
...
Modifies notmuch-show-open-or-close-subthread to take a parameter
instead of using prefix to toggle the argument, and binds that
function to C-, and C-. in notmuch-show-mode-map to enable convenient
collapsing/uncollapsing of subthreads from point.
2020-04-02 01:35:16 +01:00
Vincent Ambo
5aaeaa406a
feat(tools/emacs): Implement 'notmuch-show-open-or-close-subthread'
...
Does what it says on the tin.
2020-04-01 22:28:23 +01:00
Vincent Ambo
049a13562c
feat(tools/emacs): Install eglot & dependencies
2020-03-29 22:31:32 +01:00
Vincent Ambo
8df1371b9d
chore(tools/emacs): Remove unimportant 'important' label from graph
2020-03-11 05:55:22 +00:00
Vincent Ambo
049709a7f3
fix(tools/emacs): Set correct file name format for org-journal
2020-03-09 01:07:32 +00:00
Vincent Ambo
9372f57659
feat(tools/emacs): Configure org-journal
...
Configures org-journal to store journal files on camden and encrypt
them to my GPG key.
Journal entries are weekly, with weeks starting Saturday (yes, there's
a reason for this).
2020-03-09 01:00:11 +00:00
Vincent Ambo
15ae7fadb8
fix(tools/emacs): Set scratch buffer to Emacs Lisp mode
...
This used to be the case, but it changed to lisp-interaction-mode at
some point which is incredibly annoying.
2020-03-09 00:16:18 +00:00
Vincent Ambo
067acdbcae
chore(tools/emacs): Configure all-tags list in notmuch-hello
...
I've been setting these options manually in my sessions for some
reason. Let's make it official!
2020-03-09 00:08:33 +00:00
Vincent Ambo
28ec16e618
feat(tools/emacs): Add a function to graph unread emails per label
...
This uses the built-in chart.el library to create a quick graph of the
number of unread emails in each notmuch tag. Some generic tags are
excluded from the overview.
2020-03-08 23:58:01 +00:00
Vincent Ambo
65e533431a
refactor: emacsPackagesNg -> emacsPackages
...
The former is now just an alias for the latter anyways.
2020-03-08 23:20:03 +00:00
Vincent Ambo
6cbcadc2e4
feat(tools/emacs): Install org-journal & org-ql
2020-03-08 23:16:44 +00:00
Vincent Ambo
4c0e565fe1
feat(tools/emacs): Install cmake-mode
2020-02-26 15:20:41 +00:00
Vincent Ambo
bbab6cd1c1
feat(tools/emacs): Use patched rcirc
2020-02-24 16:40:43 +00:00
Vincent Ambo
4bbbb58cb5
chore: Rename pkgs->depot in all Nix file headers
2020-02-21 13:54:53 +00:00
Vincent Ambo
14b5447aac
Merge branch 'feat/cheddar-extensions'
2020-02-09 12:07:10 +00:00
Vincent Ambo
31b3e533c6
chore(tools): Remove //tools/blog_cli
...
No longer needed with the deprecation of tazblog.
2020-02-09 01:30:25 +00:00
Vincent Ambo
ec42a67569
feat(tools/emacs): Bump EXWM to recent master
...
This version of EXWM fixes some issues with binding keys in EXWM as
well as other minor annoyances.
2020-02-07 12:41:43 +00:00
Vincent Ambo
c56968a767
feat(tools/emacs): Install ace-link
...
It now has vterm-mode support, which has finally convinced me to try it.
2020-02-05 11:58:57 +00:00
Vincent Ambo
dba2e5426e
fix(emacs-pkgs/nix-util): Don't leave sly build out-links around
2020-01-27 02:11:04 +00:00
Vincent Ambo
a2d0b7f399
feat(emacs.d): Add interactive 'scrot-select' screenshot function
2020-01-26 19:13:59 +00:00
Vincent Ambo
fb5f26e548
feat(emacs.d): Add notmuch-depot-apply-patch helper function
...
This function lets me interactively apply a patch from the currently
opened notmuch message to the depot.
2020-01-24 18:51:13 +00:00
Vincent Ambo
98cc5f9fac
feat(emacs.d): Add key binding for counsel-notmuch
2020-01-22 17:26:11 +00:00
Vincent Ambo
8f68497269
fix(emacs-pkgs/nix-util): Ensure compatibility with non-native JSON
2020-01-20 00:58:46 +00:00
Vincent Ambo
d752cbecc0
feat(cheddar): Add toggle flag for about-filter behaviour
...
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 23:54:30 +00:00
Vincent Ambo
0b3b8a07c4
feat(emacs): Install geiser for Guile
2020-01-19 19:35:27 +00:00
Vincent Ambo
9879703155
fix(emacs-pkgs/dottime): Do not call telega macros in advice setup
...
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 16:48:11 +00:00
Vincent Ambo
f09c6a8ecd
feat(emacs.d): Switch font to JetBrains Mono
...
Lets evaluate this for a bit. With the current settings it even seems
to render _okay_ on nugget.
2020-01-19 16:39:21 +00:00
Vincent Ambo
3567f8bd0a
fix(emacs.d): Use "light" Input font on nugget
2020-01-19 02:27:54 +00:00
Vincent Ambo
bdd488ce27
fix(emacs-pkgs/nix-util): Use lexical-let to allow variable capture
...
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 19:09:46 +00:00