summary refs log tree commit diff
path: root/emacs/custom/my-text.el (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-07feat(org-mode): add capture template for emailsFranck Cuny2-4/+9
Add a new template for org-mode capture related to emails. It's useful to create tasks based on an email, and the module `ol-notmuch' helps with that: it extract the subject (among other stuff). Change-Id: Id211c1f9952d1093dac8f7466ffd818537961ee9 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/614 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07feat(notmuch): tweak a bit more the configurationFranck Cuny1-13/+57
Add a few more things to the default configuration: - set the MUA with the version of Emacs/notmuch - cache the addresses - define the tags used to archive emails - set the fcc dir - add a number of saved searches - format the search result Change-Id: Iec21e76e7ac4fce0d299e367b2c59bf8bbbe9718 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/613 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07ref(elfeed): remove more feedsFranck Cuny1-38/+1
Change-Id: Ib927dcdcdab39e09823540a73cb90cddebde2185 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/612 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07ref(elfeed): set the default search filter to 1 monthFranck Cuny1-1/+1
Only show entries from the last month, I don't need to see things that are older. Change-Id: I387eac7172fd44df28a513c1fbcc361d762c337a Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/611 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07ref(elfeed): delete commented out codeFranck Cuny1-63/+0
Change-Id: I25e307b3019ddffcbe83f954effd60a8b6fa4057 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/610 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-02ref(org): lower case for template menuFranck Cuny1-4/+4
Change-Id: I557fc12c1d00af891ec1607b4b921d3f38051016 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/606 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-02feat(org): add a capture template for tasks related to mailFranck Cuny1-0/+10
By pressing "m" I can create a task related to the current opened email. Change-Id: I63b7cc69cd6ba4fe66e9fbb526e073f75e0a7b3b Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/605 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-02feat(notmuch): define saved searchesFranck Cuny1-1/+17
Define some saved searches to make it easier to navigate incoming emails. I can jump to them by using the "j" key. Change-Id: Ie7faed224de25b72134604dbcf82568e18c2044b Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/604 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-27ref(prog): clean up comment settingsFranck Cuny1-2/+3
Change-Id: Ic3ec94047e39618d9d1bbc5aa9afce8565b87208 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/583 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-27fix(completion): load explicitly consultFranck Cuny1-0/+1
If I don't do this for some reasons now I can't rely on functions like `consult-buffer'. Change-Id: Iee6a051d66a9903bc3bebdc5762180f8816a5427 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/582 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-26fix(prog): configure eglot for buffer formattingFranck Cuny1-12/+14
Load eglot when Emacs starts, and delegate buffer formatting for supported language to LSP. The LSP for nix is using `nixpkgs-fmt' already, so there's no need to configure this ourselves. Change-Id: I6ee4adcc34b30c75031974c10a47fd3f7d240bed
2022-06-26feat(prog): require go-modeFranck Cuny1-7/+5
Change-Id: I2b008d6039714475d7bbf487ac7674dd80b1bac4
2022-06-26feat(prog): enable tree-sitterFranck Cuny2-0/+11
tree-sitter is an incremental parsing system, and this change installs the binding for Emacs. It improves significantly the code highlighting system (as it does not rely on regex when the language is supported by tree-sitter) and improves performance in general. Change-Id: Ibc3d6c7133b323d6cc63ffb248cd83f71ac5c94a
2022-06-26fix(prog): simplify flymake's configuration to work with eglotFranck Cuny1-11/+7
I've been running into issues between flymake and eglot for a while now. After modifying the file, flymake would report errors on possible typo I made while editing, but once I've fixed them, the diagnostic would not be updated until I either restart eglot or kick another flymake run. After some debugging I'm pretty convinced this is due to the variable `flymake-no-changes-timeout`. I've been running for a few hours without it being set and I've not been able to reproduce the problem. The other variables are set to their default value, this is not needed. Change-Id: I770857a93b6d90193f39ee0dceaa19b0b928a3d8
2022-06-21feat(eshell): change the prompt to be like fishFranck Cuny1-0/+31
Change-Id: I8cfd546b668035ff3627cd0ac6a2082cd3d2dea8
2022-06-20fix(prog): use gofmt to format go codeFranck Cuny1-3/+4
When using LSP to format the code, I keep running into weird behavior with eglot. I think it's because the code is being formatted while flymake is running but I need more evidence.
2022-06-20feat(prog): use nixpkgs-fmt to format nix codeFranck Cuny1-0/+1
This is the tool recommend by the nix community to format nix code (see [1]). [1] https://github.com/nix-community/nixpkgs-fmt
2022-06-07fix(aspell): add a new wordFranck Cuny1-1/+2
Change-Id: I2313857ae41a7ac07907c1b23e8cc3068a50d86e Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/288
2022-06-07fix(gerrit): use the correct URL in a commentFranck Cuny1<