about summary refs log tree commit diff
path: root/users/tazjin/emacs/config/init.el
AgeCommit message (Collapse)AuthorFilesLines
2023-09-27 r/6666 feat(tazjin/emacs): add a key binding for telega-chat-withVincent Ambo1-1/+3
Puts this under the prefix command for #'telega itself. Change-Id: I7dc394840ded3f31bf54848e581a0add36da7f3b Reviewed-on: https://cl.tvl.fyi/c/depot/+/9479 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2023-09-27 r/6665 fix(tazjin/emacs): set telega's completing read to standardVincent Ambo1-1/+3
Telega tries to use some random completing-read functions, but I just want it to use the default one, which I've configured the way I want. Change-Id: I33da24f257e8ac0cae4a7d25ba6c5e4e656fcad5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9478 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2023-09-12 r/6587 chore(tazjin/emacs): remove unused or duplicated packagesVincent Ambo1-5/+3
Some of these I don't use, some of these have been replaced with tree-sitter, some of these have moved into core. Change-Id: Id0a8aac4189607a89db861bbc09b95c75c45dc0f Reviewed-on: https://cl.tvl.fyi/c/depot/+/9310 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2023-08-26 r/6526 refactor(tazjin/emacs): ivy,swiper,counsel -> vertico,consultVincent Ambo1-21/+11
vertico and consult are more modern versions of interactive narrowing helpers, as those implemented by ivy and its related packages. The primary differences (and what I care about here) is that they are more focused on integration with the core Emacs primitives, rather than building an ecosystem around them. For example: * vertico enhances `completing-read' and friends, but does not attempt to provide its own ecosystem of functions to *trigger* completions. * vertico integrates with the default `completion-style' system, meaning that I can continue to use things like prescient without extra packages that integrate it with vertico * consult does not rely on vertico or any other specific completion framework (such as counsel/swiper do with ivy), and simply implements its functions using completing-read This reduces the overall amount of code in the dependency closure and leads to a less special setup. Functionality is basically equivalent, except for two things which counsel came with that I will need to substitute: * counsel-notmuch (actually this was a separate package, but I didn't use it much anyways, so just ignoring it for now) * counsel-linux-app (opening desktop shortcuts, this I will need to make) As a side note, consult notes "This package is a part of GNU Emacs", but it doesn't seem to be the case. Change-Id: Ia046b763bf3d401b505e0f6393cfe1ccd6f41293 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9155 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2023-08-26 r/6525 chore(tazjin/emacs): remove a bunch of unused codeVincent Ambo1-33/+3
Change-Id: Ife854e83ef97f1e9a26072f2ab2a3b23f5d64840 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9154 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2023-08-23 r/6521 chore(tazjin/emacs): disable some nonsensical ivy optionsVincent Ambo1-3/+1
Especially the recursive minibuffers only cause a mess. Change-Id: I6f7f790acd6a2f8cc4cec26c9cf97d5e53e77106 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9148 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2023-08-08 r/6468 fix(tazjin/emacs): unbind dangerous telega.el shortcutVincent Ambo1-1/+2
The `a` shortcut of telega makes it dangerously easy to accidentally add users whose username starts with `a` to a group. This unbinds the shortcut, and leaves the member-adding function to be called manually and explicitly only. Change-Id: Iedb6291f16a299fc5d4ef824a1be6eb0a449001f Reviewed-on: https://cl.tvl.fyi/c/depot/+/9015 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2023-07-14 r/6428 fix(tazjin/emacs): fix path to my custom.elVincent Ambo1-1/+1
Change-Id: If2a3f741a7b05358b6d09ea7c60d4a2fa3cf5263 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8968 Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2023-07-14 r/6426 feat(tazjin/emacs): always run company-mode in telega-chat-modeVincent Ambo1-1/+2
It does the emoji completion, very important! Change-Id: I1160e2cf0415b2a4e2b6ebc194cd643a2b18793e Reviewed-on: https://cl.tvl.fyi/c/depot/+/8966 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2023-07-01 r/6376 fix(tazjin/emacs): delegate emoji rendering in telega to emacsVincent Ambo1-1/+2
The images displayed by telega are usually not displaying correctly, this is fixed by simply .. not rendering them, and letting emacs do it through an emoji-supporting font (which I do have installed). Change-Id: I429ff2865c60633329437687c1c09a1aaf8ae29d Reviewed-on: https://cl.tvl.fyi/c/depot/+/8884 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-11-23 r/5306 chore(3p/sources): Bump channels & overlayssterni1-1/+1
* //users/tazjin/emacs: string-edit was renamed to string-edit-at-point https://github.com/melpa/melpa/commit/1b2c64ce1b4ce5d94dfefff25fc15537bd427ea4 * //users/grfn/…/modules: - readyset.nix: use rain from nixpkgs - obs.nix: use input-overlay from nixpkgs (newer version, untested) Change-Id: I5887078cee22673c129d186a8448855b92d7b250 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7306 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-25 r/4111 feat(tazjin/emacs): Configure zetteldeft for MarkdownVincent Ambo1-0/+15
Change-Id: Ib652374d42b6f701a7371325355871f8cc5325f9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5650 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-25 r/4109 revert(tazjin/emacs): Don't ignore messages from blocked sendersVincent Ambo1-3/+1
This reverts commit a989a91f9f13950f50a12c1374bbdccb42cac8c8. This seemingly doesn't work anymore, and it is also not required anymore because I no longer have the problem this solved. Change-Id: I3c9c076b45f9aa865260ce7cb103538f694fe3e0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5643 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-04-24 r/3990 fix(tazjin/emacs): Stop undo-tree's new file barfingVincent Ambo1-1/+5
undo-tree recently change dsome behaviour and started barfing "history backup files" all over the place. These are really annoying and this commit disables them completely. Change-Id: I1c4ac0b12ba12d1f45c3f0516d16ba4f1f090700 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5504 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-03-07 r/3895 style(tazjin/emacs): Disable my dark theme (again)tazjin1-23/+2
The Egyptian sky fireball has returned. This reverts commit 88b3f367e9de1f1b1d1bbd6432901a5aba60e4ef. Change-Id: I323b8b976a1212258b6914f07acffe8eb9827caa Reviewed-on: https://cl.tvl.fyi/c/depot/+/5361 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2021-12-20 r/3326 feat(tazjin/emacs): add zoxide.elVincent Ambo1-0/+1
the combination of this with zoxide on the shell is epic Change-Id: I4773012cfe8b19562d6a66971114a25e9844a1f7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4513 Reviewed-by: tazjin <mail@tazj.in> Autosubmit: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-12-09 r/3166 fix(tazjin/emacs): Gerrit remote is now 'origin'Vincent Ambo1-3/+1
Change-Id: I44998510ff4be2fa137ea4c81f888e63ea438a56
2021-12-06 r/3141 chore(tazjin/emacs): Configure persistence location for passivelyVincent Ambo1-0/+4
Change-Id: I00965fc24ccfddc278e7ab9243661aea282ff385
2021-11-13 r/3065 feat(tazjin/emacs): Disable annoying warnings from native compVincent Ambo1-0/+4
Change-Id: Ibe6bcd544188afb8746bf27a6467a436803e659f Reviewed-on: https://cl.tvl.fyi/c/depot/+/3876 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-10-19 r/2979 fix(tazjin/emacs): Fix renamed cargo mode mapVincent Ambo1-1/+1
Change-Id: I12a893d94dd67106c7cee875fbef432d693b41b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3733 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-09-26 r/2919 feat(tazjin/emacs): Add vlogcreations feed subscriptionVincent Ambo1-1/+5
Change-Id: If50683716939eb93991f00d2911580ea7800d444 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3637 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-09-25 r/2915 feat(tazjin/emacs): Install & configure elfeedVincent Ambo1-0/+10
It's worth trying out with a small initial list of feeds that I normally read anyways. Change-Id: I196bf522c159e9630624e60dd1b6419ba987bcd9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3635 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-09-18 r/2883 style(tazjin/emacs): Reenable my original dark themeVincent Ambo1-2/+23
There's no longer an Egyptian fireball in the sky, so I can go back to normal. Change-Id: I6fdcd12f3d3e62c367115f3712cc0fd36eeff78d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3568 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-08-24 r/2763 chore(tazjin/emacs): Remove dash-functionalVincent Ambo1-1/+0
This has been folded into dash itself. Change-Id: I19e7a9fbc4d6206e3624b7c226de2225153689c6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3407 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-08-24 r/2761 fix(tazjin/emacs): Reenable shortcut for telegaVincent Ambo1-1/+1
Change-Id: I96dd768b89273d748c3a865cf8605877716c26be Reviewed-on: https://cl.tvl.fyi/c/depot/+/3405 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-08-16 r/2745 fix(tazjin/emacs): Temporarily unbind key for telegaVincent Ambo1-1/+1
Telega keeps getting loaded with old sources, the origin of which I can not figure out, and which are not compatible with my Emacs anymore. This means that opening Telega essentially breaks the active Emacs until the telega process is killed. Until I have time to properly sit down and debug where Nix decides to get an old version of telega from (building the package directly from a Nix REPL yields the expected one), I'll disable it to avoid accidentally breaking my Emacs via muscle-memory. Change-Id: I937ac3a2b208c08fa0ef0b6e3e201526baa3a522 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3367 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-05-12 r/2584 chore(tazjin/emacs): Ignore messages from blocked senders in telegaVincent Ambo1-1/+3
telega actually supports this for group chats, too, which is very pleasant. https://zevlg.github.io/telega.el/#client-side-messages-ignoring Change-Id: I510207c2de19f748359168d460a25aa9c4e45975 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3111 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-03-19 r/2287 fix(tazjin/emacs): Set notmuch custom variables through :customVincent Ambo1-4/+4
It seems like some of them end up file-local anyways, and the explicit call to `custom-set-variables` in mail-setup.el had seemingly no effect. Change-Id: Iad5011b5f8348b1ca5973813995c9644ac85ddf5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2610 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-02-22 r/2225 feat(tazjin/emacs): Add #'rg-in-projectVincent Ambo1-2/+1
Uses project.el to anchor the ripgrep search. In combination with my project detection logic, this means that grepping in TVL subprojects works automatically. Change-Id: I2705466d1de156c08ff0401a71112864aa24f976 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2542 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-01-26 r/2145 chore(tazjin/emacs): Disable my default dark theme temporarilyVincent Ambo1-2/+0
There's a giant laser in the sky which makes it hard to read anything on a dark theme. Change-Id: I1dd0631dc8f8f693cceada4e62b25d4bde322e09 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2442 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-01-25 r/2141 chore(tazjin/emacs): Remove some unused packagesVincent Ambo1-2/+0
Change-Id: I4adf7c1e028c997f776c635e1c6210f904274582 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2441 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-01-10 r/2069 chore(tazjin/emacs): Remove org-journalVincent Ambo1-23/+0
I haven't used this much in the last months and it's causing issues via some hook now, so bye bye. Change-Id: If2b321887569b31c0ac7ad3fdd1b9c1d9f7b69f7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2344 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-12-20 r/2021 fix(tazjin/emacs): Bind notmuch shortcuts via EXWMVincent Ambo1-3/+0
Change-Id: I082ee9f75f9e0ef486bc240b4aeda3dec8e79019 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2284 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-12-09 r/1994 refactor(tazjin/emacs): Always use completing-read instead of ivyVincent Ambo1-2/+0
This is a step towards making the completing-read framework more easily interchangeable (I'm eyeing selectrum). Change-Id: I7a066e212a5384136defbba8f11ef9ed57abf22e Reviewed-on: https://cl.tvl.fyi/c/depot/+/2240 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-11-30 r/1967 fix(tazjin/emacs): Don't use use-package for dottime.elVincent Ambo1-5/+2
It doesn't work. Change-Id: I06e95a43ca09f12c5763760e616b1b90c84dd265 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2209 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-11-22 r/1911 feat(tazjin/emacs): Enable midnight.elVincent Ambo1-1/+4
Change-Id: I22bedd80c6e99ccefefa7840ec37496360937842 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2137 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-11-21 r/1887 chore(tazjin/emacs): Minor cleanup of unused modes and configVincent Ambo1-1/+0
Change-Id: I38c6a32339bf7606b733a938b4e55df2506a13a7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2107 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-11-04 r/1867 fix(tazjin/emacs): Do not assume '.txt' files are MarkdownVincent Ambo1-1/+0
Change-Id: I5cab039938e415facf81492e7e3775672ee45db9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2068 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-09-05 r/1764 fix(tazjin/emacs): Kill vterm buffers if their process exitsVincent Ambo1-1/+2
This has somehow stopped being a thing in newer vterm versions, causing the weird behaviour with my term switcher - buffers with the correct name were sticking around, but no longer in the right mode. Change-Id: Ie641eb3db91808d7d1016de1e8ef3ad271c8995e Reviewed-on: https://cl.tvl.fyi/c/depot/+/1931 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-08-26 r/1712 fix(tazjin/emacs): Override vterm's internal title generatorVincent Ambo1-8/+11
This used to be part of the public interface, but was removed and replaced with a (less useful) format string. Change-Id: I387557c20c2eddde16974c3fcad1712569db5325 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1841 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-08-15 r/1653 fix(tazjin/emacs): Completely disable vc-modeVincent Ambo1-0/+8
vc-mode is somehow broken in this newer version of Emacs and, since it is part of the default find-file-hook, breaks pretty much everything. This disables all vc backends until I figure out what's going on. Change-Id: I104cd30d6c56f3d6423ac079b1427127bf5a1038 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1752 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-06-19 r/1041 feat(tazjin/emacs): Install & configure tvl packageVincent Ambo1-0/+5
Change-Id: If26f1d9ad07c92429f9886b622685db70243e464 Reviewed-on: https://cl.tvl.fyi/c/depot/+/505 Reviewed-by: tazjin <mail@tazj.in>
2020-06-18 r/1025 chore(tazjin/emacs): Move //tools/emacs to //users/tazjin/emacsVincent Ambo1-0/+287
Change-Id: I9dfbd0bb1fd3e215bb91c5734fb0934ee3faeae6