about summary refs log tree commit diff
path: root/users/sterni
AgeCommit message (Collapse)AuthorFilesLines
2022-05-25 r/4113 feat(sterni/emacs): enable which-key modesterni2-0/+3
Change-Id: Ibfb1b729ad8dc1de72e4da5833077ea4cd764638 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5668 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-05-23 r/4107 refactor(sterni/emacs): use use-package for elfeedsterni2-92/+95
When I first added elfeed, for some reason I couldn't set it up with use-package. Now the situation has reversed itself and elfeed started to crash with cryptic elisp error messages. Copying tazjin's approach to configuring elfeed has solved this issue luckily. Change-Id: I57ec8f8d8ace6aa6545483f7b2559065a56792f1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5649 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-22 r/4104 feat(sterni/emacs): add binding for find-file-at-pointsterni1-0/+1
Change-Id: I5b44df45d97e69b1a83c3e84039f55a3fced509f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5645 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-22 r/4103 chore(3p/sources): Bump channels & overlayssterni2-2/+3
* //users/sterni: disable ada-mode, as GNAT bootstrap is broken in channels currently Change-Id: I430f77baba2bcf306121e80aba61684c229c3981 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5641 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-12 r/4064 feat(sterni/emacs): enable editorconfig-modesterni2-0/+4
Change-Id: I5d0a5302321b768c7d23530d559115e3d8019223 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5581 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-11 r/4059 feat(users/sterni/emacs): make org-clock-csv availablesterni1-0/+1
Change-Id: I3731803882992a7a852c24d03d50afea74d885fc Reviewed-on: https://cl.tvl.fyi/c/depot/+/5576 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-10 r/4056 feat(sterni/emacs): add keybind for browse-url-at-pointsterni1-0/+1
Change-Id: I537fed6292ed99791ec0d2ef90f7f40523e72dda Reviewed-on: https://cl.tvl.fyi/c/depot/+/5573 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-10 r/4055 feat(sterni/emacs): add keybind for M-x mansterni1-0/+1
Change-Id: Ia3ddc393300150712276fc8b3d3bdbcd95a5361c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5572 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-10 r/4054 feat(sterni/emacs): add key bindings for project-* commandssterni1-0/+16
Change-Id: I482b629747adebe049e1e145c13efec17a0d2b7d Reviewed-on: https://cl.tvl.fyi/c/depot/+/5571 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-10 r/4053 feat(sterni/emacs): use bash login shell for M-x shellsterni2-0/+12
bash (unlike fish) doesn't break down if TERM=dumb which is the only one I'll be using in emacs (I want to reduce my usage of things depending on ANSI escape sequence to a minimum, for stuff that needs it I still have foot). bash is started in login shell mode so /etc/profile is sourced which will a) enable direnv support and b) setup some tweaks (relating to PAGER etc.) if TERM=dumb. Since I use a semicolon for a prompt in (ba)sh, shell-prompt-pattern needs to be adjusted. Change-Id: If58b6d1edf1d9ab1883cb51c27729e23d889b16c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5570 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-09 r/4024 feat(sterni/emacs): add keybind for revert-buffersterni1-0/+1
Change-Id: I34a3b7c66854061b57dcd8d6181e62fe44156cb1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5544 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-09 r/4023 feat(sterni/emacs): open man pages in same buffersterni1-0/+3
Change-Id: I84d1b4677329c24f403d23d47ff48c1666a48536 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5543 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-09 r/4022 fix(sterni/emacs): prevent ediff from creating a new windowsterni1-0/+4
This is really annoying since the window is not recognized as a popup / dialog window by sway. Change-Id: Icacf7f673e6d96915711950185a704fccd95aed3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5542 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-09 r/4021 feat(sterni/emacs): use evil C-w bindings, but with arrow keyssterni1-6/+5
hjkl are a huge pain to use with neo layout. Change-Id: Ic3969c00aa920c4cfea25f5ea16bf38b6bbd5e07 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5541 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-09 r/4020 feat(sterni/emacs): enable so-long-modesterni1-0/+4
Change-Id: Iee0023b5f6f3dbe59b685081b61bf8ef5075e6db Reviewed-on: https://cl.tvl.fyi/c/depot/+/5540 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-09 r/4019 feat(sterni/emacs): install CMake modesterni1-0/+1
Change-Id: Ia48809cd0a8de9b2d7f93b83976d97df08081cb9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5539 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-09 r/4018 refactor(sterni/emacs): M-x sort-lines the dependenciessterni1-16/+12
I'm never able to keep up such a category-based sorting. Change-Id: I1fd1ee064df9b1c5f8c7932f0cfee7c817be3767 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5538 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-04 r/4001 chore(users): reflect emacsGcc -> emacsNativeComp renamesterni1-1/+1
Change-Id: I0217b1e316767b48b79f23e9d644b00b7fcc2df2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5518 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-02 r/3995 feat(sterni/emacs): install meson-modesterni1-0/+1
Change-Id: I8d0f741a478c00fd0592f7ed5f9640d5019ce08d Reviewed-on: https://cl.tvl.fyi/c/depot/+/5515 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-03-27 r/3920 feat(sterni/emacs): enable server and include emacsclientsterni2-2/+11
Change-Id: Icaf22595c774bdceb7e79f5302cde8d039aa3b09 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5401 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-03-12 r/3908 feat(sterni/emacs): setup direnv and lsp(-haskell)sterni2-0/+11
The LSP setup is very basic at the moment, I'll probably want lsp-ui as well and other bits and pieces. Change-Id: Ic0360bbfde98e99990aa3ccb68ea045b522e67ce Reviewed-on: https://cl.tvl.fyi/c/depot/+/5386 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-03-09 r/3898 chore(sterni/emacs): adjust to languagetool configuration changessterni1-2/+4
Change-Id: Ieaa49bebbe05d7298158839a59cd53ff1402da24 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5355 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-03-01 r/3885 fix(sterni/emacs): make css mode respect tab-widthsterni1-1/+2
Change-Id: I72aa96f329cee2befbd7d3b9959ab5ffad1e0953 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5343 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-03-01 r/3884 feat(sterni/emacs): set up org-capturesterni1-1/+3
Change-Id: If98dbae0683fda40e47f5d5701fdf85580a831a8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5342 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-03-01 r/3883 feat(sterni/emacs): add keybind for org-agendasterni1-0/+2
Change-Id: Ic1610aa98f07848531565b4b4edd14675ac18961 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5341 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-02-26 r/3872 feat(sterni/emacs): set up org-agendasterni1-1/+4
Change-Id: Ic8373938cc9343e2fe0d561edf6c7b5f03c26358 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5331 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-02-15 r/3834 feat(sterni/nix/fun): implement tail call “optimization” for Nixsterni2-0/+251
I've had the notion that builtins.genericClosure can be used to express any recursive algorithm, but a proof is much better than a notion of course! In this case we can easily show this by implementing a function that converts a tail recursive function into an application of builtins.genericClosure. This is possible if the function resolves its self reference using a fixed point which allows us to pass a function that encodes the call to self in a returned attribute set, leaving the actual call to genericClosure's operator. Additionally, some tools for collecting meta data about functions (argCount) and calling arbitrary functions (apply, unapply) are necessary. Change-Id: I7d455db66d0a55e8639856ccc207639d371a5eb8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5292 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-02-13 r/3816 refactor(rust-crates-advisory): move report generation into scriptsterni1-28/+15
This script is somewhat usable by humans (it even has a help screen!) and can be reused in //users/sterni/nixpkgs-crate-holes. We are using bash since that allows us to exit with the actual exit code of cargo-audit - something that's not possible in execline. Change-Id: I3331ae8222a20e23b8e30dc920ab48af78f0247c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5228 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
2022-02-08 r/3790 chore: move some meta.targets definitions to meta.ci.targetsVincent Ambo1-1/+1
Change-Id: Icdec1dec89158fb596c5185ac7105892081947f5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5252 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su>
2022-02-04 r/3768 chore: clean up some obsolete TODOssterni1-1/+1
* //3p/nix: probably not worth investing time into this anymore * //users/sterni/emacs: The emoji problem disappeared by itself with a newer emacs version, however a different one remains… * //web/panettone: If we ever want to change the behavior, we should just decide the behavior statically instead of using conditions and restarts, as we only call it in one place, so making different decisions depending on call sites is not really a use case we have. Change-Id: Iff9d439ce356db41ce34d690fb7b6a01822022fa Reviewed-on: https://cl.tvl.fyi/c/depot/+/5223 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org>
2022-02-04 r/3763 feat(tools/rust-crates-advisory): omit GHFM checklist in buildkitesterni1-0/+3
Buildkite doesn't understand GitHub Flavored Markdown and having a read only checklist in there is probably not much use. Change-Id: I41538487087e8c817b1a5e653f077bb0fbe6eb47 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5201 Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-02-04 r/3762 chore: move format-audit-result.jq out of //users/sternisterni2-62/+1
In the spirit of the readTree filter we should also not include files in user directories from the outside. Change-Id: I1abe36a721048900d2758b5986063b68b8d1af93 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5200 Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-02-02 r/3754 feat: move mblog header handling into mime4clsterni3-35/+9
Accessing the headers of a MIME message feels like something mime4cl should handle. We implemented this ad hoc in mblog before in order to not need to worry about doing it in a sensible way. Now we introduce a decent-ish interface for getting a header from a MIME message, mime-message-header-values: * It returns a list because MIME message headers may appear multiple times. * It decodes RFC2047 only upon request, as you may want to be stricter about parsing certain fields. * It checks header name equality case insensitively. The code for decoding the RFC2047 string is retained and still uses babel for doing the actual decoding. Change-Id: I58bbbe4b46dbded04160b481a28a40d14775673d Reviewed-on: https://cl.tvl.fyi/c/depot/+/5150 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-02-02 r/3753 refactor(sterni/mblog/note): don't escape streams char by charsterni2-5/+9
Depending on the stream backing this, read-sequence should be more efficient. Change-Id: I5d0461f76f4b132ac6e6c3a2e503f0173d5f4114 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5194 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-02-02 r/3752 feat(users/sterni/mblog): implement mblog executablesterni4-19/+237
This change finally sort of puts the parts together: We take a maildir, render all its note messages as standalone HTML, extract the attachments alongside and finally generate a global index page linking all notes. The new executable and mnote-html are both contained in the same image and we dispatch the right functionality based on argv[0]. Change-Id: I5a5bdbfaca79199f92e73ea4a2f070fa900d2bc4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5113 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-02-02 r/3751 refactor(sterni/mblog/note): only get escape-char-minimal from WHOsterni2-5/+3
This is the only thing we need from that package and it avoids having to solve the annoying conflict between closure-html and who. Change-Id: Iacfb8d4948d1987e767ffc456b8e141b468ef6d9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5111 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-02-02 r/3750 fix(users/sterni/mblog): handle RFC2047 in subjectssterni3-1/+20
Non ASCII Subjects will use RFC2047 to encode their content. Using mime4cl's parse-RFC2047-text we obtain a list of ASCII strings and byte vectors tagged with their encoding. Using babel we can then decode the byte sequence, assuming the encoding is named the same in babel and RFC2047 (which it is for UTF-8 at least…). Change-Id: I2840672409452bd194fb1635721e338364d9b484 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5078 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-02-02 r/3748 refactor(sterni/mblog): add (sub)class for apple note messagessterni5-27/+105
* Upon creation of an apple-note object we can check if certain fields we are interested in are present and of the right type etc. These currently are: - UUID (for links later) - Subject (title) - Time - Text part with supported MIME type These are then put into their own shortcut fields in the apple-note subclass which allows for easier access and forces us to make sure they are present. * Split out everything note related into its own package. Using the new type, we can expose an interface which sort of makes sense. Change-Id: Ic9d67518354e61a3cc8388bb0e566fce661e90d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5072 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-02-02 r/3746 feat(users/sterni/emacs): setup org-clocksterni1-0/+5
Change-Id: Ic3d1b8a38c5f552f7bd6b155e87e8b437ebe11b4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5190 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-01-31 r/3723 style: format entire depot with nixpkgs-fmtVincent Ambo20-469/+900
This CL can be used to compare the style of nixpkgs-fmt against other formatters (nixpkgs, alejandra). Change-Id: I87c6abff6bcb546b02ead15ad0405f81e01b6d9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4397 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: cynthia <cynthia@tvl.fyi> Reviewed-by: edef <edef@edef.eu> Reviewed-by: eta <tvl@eta.st> Reviewed-by: grfn <grfn@gws.fyi>
2022-01-30 r/3720 fix(users/sterni/mblog): use string-equal where casing is irrelevantsterni2-10/+10
Change-Id: Ic1303a04de005977a552eba38aa13d512d2c20e2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5071 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-01-30 r/3719 feat(sterni/mblog): add package to read maildirssterni3-0/+25
Change-Id: I7be8d8b7d12bb194712aa26f3ddad74340357779 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5070 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-01-30 r/3718 chore(sterni/mblog): add gitignoresterni1-0/+5
Change-Id: I0bfc22fae158886df894a1d2c90787f0836d8bd9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5069 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-01-26 r/3673 feat(users/sterni/emacs): open inbox.org on startupsterni1-0/+1
Change-Id: Ic73455e25b0d98501dfccbf414fff322e7f44b14 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5061 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-01-17 r/3615 refactor(users/sterni/emacs): use more persistent tmp dirsterni1-1/+4
Change-Id: I703b7678405f29bc4f0f04e1b42fd35025a80971 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4982 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-01-17 r/3614 feat(users/sterni/emacs): save command and search historysterni1-0/+4
Change-Id: Ied633801d4dd2b41f46ec702a345732f553142d9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4959 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-01-17 r/3613 feat(users/sterni/emacs): save undo historysterni1-1/+4
Change-Id: I75ca7b2011f14244cac8af7762b6d2f6ce284055 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4958 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-01-17 r/3612 feat(users/sterni/emacs): set sentence boundssterni1-0/+1
Change-Id: Ic6d01e8d9b28a884eceeda4d9888e611f0d5abb8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4956 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-01-17 r/3611 feat(users/sterni/emacs): enable buffer size indicatorssterni1-0/+2
Change-Id: Ibd3ad27017c69eff65ee37678b6bbad264dcdadc Reviewed-on: https://cl.tvl.fyi/c/depot/+/4955 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-01-17 r/3610 feat(users/sterni/emacs): add bind for listing bufferssterni1-0/+1
Change-Id: I2ccc9e3277eb871cf5064fe242934e46a6a49583 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4954 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>