summary refs log tree commit diff
path: root/emacs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 🤡Franck Cuny2023-06-0147-1830/+0
| | | | Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852
* elfeed: add more feedsFranck Cuny2023-05-141-5/+2
| | | | Change-Id: I598f16e1612d3ba234598d8ce3508fd9b159ce57
* go: fix the configurationFranck Cuny2023-03-271-7/+9
| | | | Change-Id: I2e801c7221f37874380d36d883d77c2b9676913c
* elfeed: kill some feedsFranck Cuny2023-03-271-3/+0
| | | | Change-Id: I7b0f1415618cc67efd193dce9b668b24f7ac536e
* ui: default color scheme in blackFranck Cuny2023-03-272-20/+2
| | | | Change-Id: I1dc4fb98f11d46acab82fda6c32cea01eb823e92
* ref(org): simplify the sequence for todo-keywordsFranck Cuny2023-02-211-1/+1
| | | | | | | I don't need the "STARTED" state, it's either "TODO" or "WAITING" (it contains both the idea of started or blocked). Change-Id: I1f5410382f152c8ad2adfe9cd0bc08d66d55483e
* fix(org): typo in a headerFranck Cuny2023-02-211-1/+1
| | | | Change-Id: Ife43dedb7afeb1fec12bb042211a142ea4a37688
* fix(ui): don't coerce buffers for wo|manFranck Cuny2023-02-211-5/+0
| | | | | | | The screen on the laptop is too small, let's just have a full size buffer, it's easier to read that way. Change-Id: If6d65bd0353237431f6bd68c054c7ec732bd7dd8
* feat(conf/fish): add fish-modeFranck Cuny2023-02-211-0/+1
| | | | Change-Id: Ia7a9e8ec626be6920ad63f1eb2b965445f5b3452
* feat(elfeed): add more feedsFranck Cuny2023-02-201-1/+5
| | | | Change-Id: Ida36543d8c507ed449aa5787abb8cba3df159078
* fix(dired): make the outpout of ls more readableFranck Cuny2023-02-091-4/+1
| | | | | | | | | | | | | | I want the date of the files to be formatted as 'year-month-day time': this is easier to read and sort. To do this I needed to: - stop loading `ls-lisp': as I want to rely on the system's `ls' binary - specify the switches for `ls' The existing switches (`dired-listing-switches') where not taking effect because I was using `ls-lisp'. Change-Id: I3f3bc3abe864b60b12342713157e24f466c3aafa
* fix(go): format the bufferFranck Cuny2023-02-061-1/+1
| | | | Change-Id: I39a199d24c3e0361f4d268d98b0ad6a3d0cb0f47
* ref(misc): set location of some filesFranck Cuny2023-02-052-1/+15
| | | | Change-Id: I201e804aeee3d579350b9efcf2680595ae8cf047
* elfeed: one more feedFranck Cuny2023-02-051-0/+1
| | | | Change-Id: I765f6b7a490378a008cd3934125d46a282badbe3
* ref(eshell): not sureFranck Cuny2023-01-311-2/+1
| | | | Change-Id: I42243b671edcdf5765371f0ec8bd38735456a5bd
* fix(ui): re-indent correctlyFranck Cuny2023-01-311-3/+3
| | | | Change-Id: I01576db6bfbb7dbfe0bcb04185e1cf8d0708a5af
* feed: moar feedsFranck Cuny2023-01-311-0/+3
| | | | Change-Id: Id3f00ba8897bb1ce621e47cefdb5c160e1076d59
* ref(org-mode): a number of tweaksFranck Cuny2023-01-313-25/+15
| | | | | | | | | | | | | - use org-cliplink to add bookmarks - remove the sequence for TO-READ/READING/READ since I don't use it - remove a projects.org since all tasks end up in tasks.org with tagging. This was adding a layer of complexity I don't need - move habits to tasks.org - add a capture template for TIL (today-I-learned) - remove the heading decorations for the theme, I don't like the way it looks Change-Id: I6e25015ec91242cc8b8797a92767a1afa9c08a96
* ref(eshell): remove unnecessary variablesFranck Cuny2023-01-221-10/+1
| | | | | | Some of the variables where related to eshell-smart, which I don't use. Change-Id: If983883a3275b6f6de58c56105c2fbea1c388c20
* ref(completion): replace corfu-doc with corfu-popupinfoFranck Cuny2023-01-221-4/+11
| | | | | | | corfu-doc is deprecated and corfu-popupinfo is what is recommended to use. Change-Id: I6039d91839276f75e93551bc84ce56bcb872be1d
* fix(markdown): workaround related to imenuFranck Cuny2023-01-221-0/+8
| | | | | | | | There is a bug with the markdown mode where imenu does not work when native compilation is used. This is a workaround recommended on the issue tracker. Change-Id: I171f942ef7848e34e382b7896af03750b41f3721
* ref(ui): use standard-themeFranck Cuny2023-01-222-3/+33
| | | | | | It's like the standard color scheme but better. Change-Id: Ida8f5c3dc53708c1aa0284b70474d3d810334171
* ref(packages): stop using straight.elFranck Cuny2023-01-222-76/+95
| | | | | | The default package manager is good enough for my need. Change-Id: I830f1fa6b27ba89b2b01ae3cede5763d2f9d5960
* ref(python): use ipython as the interpreterFranck Cuny2023-01-181-0/+1
| | | | Change-Id: I034fa42542277ce41aabcfd03e2086da80dd97dd
* ref(ui): use the default color schemeFranck Cuny2023-01-182-19/+3
| | | | | | | | | The theme for modus evolves constantly and is hard to keep up with (it's not the first time I have issues with it). The default color scheme is "good enough", and I revert it to use a dark background. Change-Id: I0e0c984fb5fb3933cdcfdbda12e61ae391e0272f
* feat(elfeed): more feedsFranck Cuny2023-01-181-3/+9
| | | | Change-Id: I40f8252acd7410c58b4eb612b6a9c1339f2501f4
* fix(snippets/python): add the main functionFranck Cuny2023-01-181-0/+3
| | | | Change-Id: If8e239bfd07cb8c3525b9f501af03dd4534fc857
* feat(snippets/markdown): start a new blog entryFranck Cuny2023-01-181-0/+12
| | | | Change-Id: I3755125e455f0fe08bca22deeb21dd470358b087
* ref(ui): switch back to simpler themes/fontsFranck Cuny2022-11-213-36/+4
| | | | | | | | | | I prefer the simplicity of Source Code Pro as a font, it's less fancy but also more readable to me. I also can't get used to variable pitch for org-mode, I still prefer a monospace font. Change-Id: If174c656309ee29fa80e1610571ff711ed9de6a3
* fix(eshell): don't set the color for the promptFranck Cuny2022-11-151-1/+2
| | | | Change-Id: I43a450d0d0c5d109aadcf6dd6961cdf719d49121
* feat(org): enable variable-pitch-modeFranck Cuny2022-11-151-0/+1
| | | | Change-Id: I939626a4f5350d478a2512d8570c4f541fe81066
* ref(ui): use a theme with nice colors and better fontFranck Cuny2022-11-152-4/+51
| | | | | | | | | The ef-themes are similar to modus, but they have a nicer background color, which is less aggressive than plain white. Switch to iosevka for the font, it's a bit nicer to my taste. Change-Id: I21d482b9530f7d1106937d7e97261856ec8c5e61
* fix(completion): follow the documentation for eshell integrationFranck Cuny2022-11-151-0/+17
| | | | Change-Id: Id92adf55cc75467b4ea7f98709cf8769f1ad6c2f
* fix(eshell): don't set the foreground colorFranck Cuny2022-11-151-6/+1
| | | | | | Let the theme handle that. Change-Id: I9a1b5ec6d48e0f059a15c8632411204c141ade07
* fix(eshell): use correct functionFranck Cuny2022-11-151-2/+2
| | | | | | `point-at-bol` is deprecated and `pos-bol` is recommended. Change-Id: I2a447ca5832ac52af15cf37708308368bb006cb8
* feat(envrc): add a new package: envrcFranck Cuny2022-11-132-0/+4
| | | | | | | This is to Emacs what `direnv` is to my shell. It sources `.envrc` for a project and set variables on a per-buffer basis. Change-Id: Ica2451b17908333c86d708ede29ae7e15d30c60b
* ref(elisp/gerrit): remove module related to gerritFranck Cuny2022-11-132-77/+0
| | | | | | I'm not using gerrit anymore, I don't need to keep this around. Change-Id: I764a1a54a3653582d8fd5539ad6db7a4b9697d82
* ref(git): organize the module in settings, bindings and hooksFranck Cuny2022-10-241-7/+25
| | | | | | | Add a few more settings for magit, to expand some of the sections, and to open the buffer for status in a full frame. Change-Id: Ic3e158b21b03416b4549acd338cc985195a4901a
* fix(packages): remove tempelFranck Cuny2022-10-241-1/+0
| | | | | | I don't have a need for it yet. Change-Id: I5862fdcba285e85840815020328834528cfd522c
* ref(eshell): remove the function `my/eshell-here'Franck Cuny2022-10-241-17/+0
| | | | | | I prefer to open a shell using project.el. Change-Id: I4b1c533f58955207228e703ca4da567fa89622d9
* fix(eshell): remove two unused functionsFranck Cuny2022-10-241-48/+0
| | | | | | | | | The first one was to track how long commands take to complete. This is not really useful to me at this point. The second one was to open a directory at point. I also don't use this. Change-Id: Ied633354d77947c0017070337b375ced0d7bfe32
* fix(eshell): don't enable eshell's smart modeFranck Cuny2022-10-241-3/+0
| | | | | | | | For reasons I don't understand, performances degrade immediately once an eshell buffer size grows. I find the behavior annoying anyway so let's remove it. Change-Id: Ia5ca2391d1ed11ae4b7c2102131159f0cdfbcb59
* fix(eshell): drop the bookmark moduleFranck Cuny2022-10-242-4/+0
| | | | Change-Id: Iac8a034c54a0232fc227ed5ca235e55db9d96eaa
* fix(Emacs): don't restore GC settings after loading init.elFranck Cuny2022-10-241-3/+0
| | | | | | | | | | | | | | | | | A few commits ago, I changed the settings for GC in my LSP configuration, as suggested by lsp-mode's performance guide. Then I committed one of the cardinal sin of making a change: I did not check that the setting was applied correctly after a restart of Emacs. Yesterday while debugging some performance issue with eshell, I looked into the GC, and realized that the setting was back to the default. This was because of that block in init.el which restored the default once init.el was loaded. Drop this code, let's stick to the recommended settings by lsp-mode (even if I don't use lsp-mode anymore). Change-Id: Ia45bd10c67d397a72d92857ad206656c484baf8f
* ref(rust): use eglot for lspFranck Cuny2022-10-172-9/+2
| | | | Change-Id: I060a37e7baee14cf6051dcb5390b9b986e5d6968
* Revert "ref(rust): delete the module"Franck Cuny2022-10-171-0/+24
| | | | This reverts commit cecfed659a53c1b72ac16ab5e2bfa4170067bc81.
* ref(text): set abbrev-file-nameFranck Cuny2022-10-171-0/+1
| | | | Change-Id: I626a96e103ec9da29ea2f7d756ced8b41904eb21
* ref(lsp): switch from lsp-mode to eglotFranck Cuny2022-10-176-61/+33
| | | | | | | | | The experimentation was a disaster: lsp-mode was buggy, slow, littering the interface with a lot of things I did not understood or needed. eglot is definitely simpler and works better for me. Change-Id: Ie7e7e6f1c8e7b26aa5cb79d636f3ad53c1493617
* ref(prog): wrap comments at column 120Franck Cuny2022-10-171-2/+2
| | | | Change-Id: Idd2b673af070b7cca02b1e62d6a3c40bdad1b7ec
* ref(edit): reorganize the moduleFranck Cuny2022-10-171-12/+17
| | | | Change-Id: I62d5734643113e51a5b1ddaf59b4773a9c06598a
* ref(completion): remove vertico-multiform and reorganize the moduleFranck Cuny2022-10-171-21/+17
| | | | | | | I don't know what vertico-multiform is, and it's not loading - let's delete it! Change-Id: I82f1c505236e7892635711b5c73d3df8b097df41
* ref(ui): remote the regex for uniquifyFranck Cuny2022-10-151-4/+0
| | | | Change-Id: Iea6eea6013e13d964f1f903b6713f0e0ad2df997
* ref(navigation): re-organize the module and load packagesFranck Cuny2022-10-151-45/+31
| | | | | | | Load explicitly the packages I want and group the module for settings, bindings and hooks. Change-Id: I9e22043819bba096ee5d33e53fa03926eb559cc1
* ref(flymake): add comments for the sectionsFranck Cuny2022-10-151-0/+3
| | | | Change-Id: Ic81ec491542ded173460058e5c97c798317c7a08
* ref(text): group settings and require the modulesFranck Cuny2022-10-151-15/+19
| | | | | | | Require the modules that are needed at the top of the file and organize the code in sections: settings, bindings and hooks. Change-Id: Iced9ac0e6801b91cf9b9055176873ae73f7205bf
* ref(rust): delete the moduleFranck Cuny2022-10-141-24/+0
| | | | | | I'm not going to need this Change-Id: I692dbbaf14c574b988aa9989057c06a553971e1c
* ref(python): use black when availableFranck Cuny2022-10-141-3/+7
| | | | | | Use python3 for the interpreter. Change-Id: Ib3193cb73b1303de543d8dc1873f1efe2320cd20
* ref(org-mode): drop references to notmuchFranck Cuny2022-10-141-12/+0
| | | | | | I forgot to clean this up when I delete the code for notmuch. Change-Id: I56e0ad26ee3f0375d1814f47c6856931501b70da
* ref(text): use gfm-mode for README.md filesFranck Cuny2022-10-141-1/+7
| | | | Change-Id: I590cff96b935202c6d8b2bd9c0d3fe56e0699cc8
* ref: don't coerce eldoc's buffer to a small windowFranck Cuny2022-10-141-1/+1
| | | | Change-Id: Ib831efa39358ac6bd1d1ecc7d484ce479749cae8
* ref: move flymake and eldoc configuration to their own librariesFranck Cuny2022-10-144-15/+45
| | | | Change-Id: Ida9e0f7d6ee25cf5fe8e208d1ae5c77aa28cfe0f
* fix(prog/lsp): apply a number of fixes related to LSPFranck Cuny2022-09-243-59/+23
| | | | | | | | | | | | | | | | | Now that I've switched back to LSP, there's some configuration to delete and some to update. The configuration related to rust is fixed (lsp-ui was not loading properly), and I'm also disabling the inlay hints (they are very intrusive, I'll need more tweaks to find something that works for me). For the LSP configuration itself, I'm tweaking a few more things, especially related to the UI. Finally, deleting configurations for eglot and go: eglot is replaced by lsp-mode, and go's configuration is in its own file. Change-Id: I73fb4b66c8816dd6e20efa358c81e3c306b8255f
* feat(packages): install corfu-docFranck Cuny2022-09-242-0/+4
| | | | Change-Id: I59e41c5a4a8949a2c04aea391eb74f5bbbd71549
* feat(lang/nix): format the buffer on saveFranck Cuny2022-09-221-0/+5
| | | | | | Delegate the formatting of the buffer to the LSP server. Change-Id: Iabb7b838fba71dffcff5dd272aa5895801d6db3c
* ref(completion): add more packages for completionFranck Cuny2022-09-175-12/+28
| | | | | | Get LSP to work with cape and corfu for the completion. Change-Id: Id8f01b1dee77957ff5ba27ed471707b7b9c7dc93
* feat(lang/nix): configure Emacs for nixFranck Cuny2022-09-172-0/+22
| | | | Change-Id: I4e92859e96362268431bde6dd4a81f73a8796b0d
* ref(tree-sitter): move the configuration to its own fileFranck Cuny2022-09-173-10/+22
| | | | Change-Id: I424e4d32e05d6bf21f6abb3cc68cad598af31708
* feat(lang/rust): configure Emacs for rustFranck Cuny2022-09-172-0/+20
| | | | Change-Id: Iaaccc75333b8b36e2fdb0ae4a6eb84408eb61300
* ref(email): remove configuration for notmuchFranck Cuny2022-09-172-80/+0
| | | | | | I'm not going to read my emails with Emacs ... Change-Id: I649239057e5a0c35ebbb1eb329b9bee956dd2668
* feat(lang/go): configure Emacs for goFranck Cuny2022-09-172-0/+31
| | | | Change-Id: I2f33baa1ef2f75d770203da210065fed15f567e8
* feat(lsp): configure lsp-mode for EmacsFranck Cuny2022-09-172-0/+28
| | | | | | | | | | Despite all the hype around eglot, it's not working well enough for me. I keep running into issues where the text is poorly formatted (I might have more than one formatter running, so it could be my fault). It also have to frequently reconnect to the server, which is really annoying (and I did not use to have that problem with lsp-mode). Change-Id: I5763487882599053adf9fd05c612422ad94edbe1
* feat(lang/python): configure Emacs for pythonFranck Cuny2022-09-172-0/+18
| | | | Change-Id: I4f1ae59be8c10f344bec93b86c70a893123e92de
* feat(packages): install all required packages via straightFranck Cuny2022-09-172-73/+78
| | | | | | | | | Remove all the code related to installing packages, and created a new module that lists all the packages I need to install. This does not seem to be breaking anything so far ... Change-Id: I02f07c6a95bfde55d0897d804ea4d32097a79842
* feat(packages): configure straight for managing packagesFranck Cuny2022-09-171-0/+14
| | | | | | | | | straight has a few nice properties: - reproducible package management - clone packages to make it easier to work on them when needed - can use packages that are not in melpa (e.g. other git repositories) Change-Id: I6a5203bd843e68a040467d63faca8d597150b190
* fix(prog): set python indentation to 4 spacesFranck Cuny2022-09-151-1/+1
| | | | | | That's what everyone use. Change-Id: I312dd88218e2d82be0aad8fd6377483ffb2c0390
* feat(UI): use the default themeFranck Cuny2022-09-071-15/+0
| | | | Change-Id: Iadad81181e7f97e89613edefa89afdc244753b98
* feat(project): consider cargo's crate as projectFranck Cuny2022-09-071-0/+9
| | | | | | | Add a helper to define directories that contain a 'Cargo.toml' file as a project. Change-Id: If099172eb6f35ecbea06a06fb39b7f64a5a809b7
* feat(rust): add initial configuration for rustFranck Cuny2022-08-222-2/+9
| | | | | | Use rustic and configure it to use eglot as the backend for LSP. Change-Id: I71bd51a863f1a03b0b3f2d218d970d5ea0867e9e
* feat(feed): https://pluralistic.net/Franck Cuny2022-08-101-0/+1
| | | | Change-Id: I1b9800394d241811cec760b66610e1428ae4112d
* feat(org-mode): elisp links to these functions are safeFranck Cuny2022-07-071-0/+4
| | | | | | | | | | By default, when opening a link to some elisp code, org-mode prompts for confirmation. I don't need to do that, I consider these functions safe. Change-Id: I4b0f2a65d132bad5820690ae157454c981d09b8b Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/619 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(org-mode): reset check boxes for repeated tasksFranck Cuny2022-07-071-0/+22
| | | | | | | | | | | | | | Add a couple of functions in order to reset the check boxes for repeated tasks. If the tasks has the property `RESET_CHECK_BOXES', when it's marked as completed, the check boxes are unset. Also configure the capture template for emails to only show when I'm in a notmuch buffer. Change-Id: I3511a0bb035ab57722b4409a19feb9a14dc85298 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/618 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(org-mode): get rid of some custom functionFranck Cuny2022-07-071-19/+13
| | | | | | | | | | This is not needed anymore, and it looks like the code is also formatted differently for the agenda. Change-Id: I391d0bfda9e4077df8c6ef7e2f7822b085ae4292 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/617 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(org-mode): add more TODO keywordsFranck Cuny2022-07-071-1/+2
| | | | | | | | | I want some keywords related to reading (books, articles, feeds, etc). Change-Id: I2c599606b7f537946200dc0e805856d51c9c5b0a Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/616 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(org-mode): add a new file to the agenda: habits.orgFranck Cuny2022-07-071-3/+2
| | | | | | | Change-Id: I926607d5541dfd0455685acb324dd2b56484dfc1 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/615 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
* feat(org-mode): add capture template for emailsFranck Cuny2022-07-072-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>
* feat(notmuch): tweak a bit more the configurationFranck Cuny2022-07-071-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>
* ref(elfeed): remove more feedsFranck Cuny2022-07-071-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>
* ref(elfeed): set the default search filter to 1 monthFranck Cuny2022-07-071-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>
* ref(elfeed): delete commented out codeFranck Cuny2022-07-071-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>
* ref(org): lower case for template menuFranck Cuny2022-07-021-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>
* feat(org): add a capture template for tasks related to mailFranck Cuny2022-07-021-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>
* feat(notmuch): define saved searchesFranck Cuny2022-07-021-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>
* ref(prog): clean up comment settingsFranck Cuny2022-06-271-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>
* fix(completion): load explicitly consultFranck Cuny2022-06-271-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>
* fix(prog): configure eglot for buffer formattingFranck Cuny2022-06-261-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
* feat(prog): require go-modeFranck Cuny2022-06-261-7/+5
| | | | Change-Id: I2b008d6039714475d7bbf487ac7674dd80b1bac4
* feat(prog): enable tree-sitterFranck Cuny2022-06-262-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
* fix(prog): simplify flymake's configuration to work with eglotFranck Cuny2022-06-261-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
* feat(eshell): change the prompt to be like fishFranck Cuny2022-06-211-0/+31
| | | | Change-Id: I8cfd546b668035ff3627cd0ac6a2082cd3d2dea8
* fix(prog): use gofmt to format go codeFranck Cuny2022-06-201-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.
* feat(prog): use nixpkgs-fmt to format nix codeFranck Cuny2022-06-201-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
* fix(gerrit): use the correct URL in a commentFranck Cuny2022-06-071-1/+1
| | | | | Change-Id: I918f97cbf5dd69eefedc8b6794cbc3e253de4beb Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/287
* feat(gerrit): load the new library for magit/GerritFranck Cuny2022-06-071-0/+1
| | | | | | Change-Id: Ifb8844642e3e61c5e5c1279cb9b669aea6ac55c9 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/286 Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(gerrit): add transient options for git-push to work with GerritFranck Cuny2022-06-071-0/+76
| | | | | | | | | | | | | | | | | | | | | | | It's possible to configure the status of a change by adding options to a ref when creating the review. To mark a change as `work in progress', appending `%wip' to the ref does the trick. It's then possible to mark the change as ready for review by adding `%ready' to the ref. We add helpers to make this work from Emacs and a few transient functions to push changes to Gerrit: - a change without options (which will be open by default) - a change for WIP - a change for 'ready' (which is needed when the change is currently marked as WIP and we want others to see it) In addition there's transient options to submit the change and to review the change, using labels. Change-Id: I164c6641a10517204e6867852a6363053ead6318 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/285 Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(tramp): add function to quickly ssh to a machineFranck Cuny2022-06-061-0/+12
| | | | | | | Add a list of hosts I ssh to frequently. This list is used by the function `my/ssh-cd-home' to make it easy to open a dired buffer on that machine.
* ref(elfeed): remove a bunch of feedsFranck Cuny2022-06-041-100/+10
|
* feat(dired): use `ls-lisp' with `dired'Franck Cuny2022-06-031-2/+5
| | | | | | | This gives me the possibility to use `--group-directories-first' which is easier to read when browsing directories. Change-Id: I01f303fd4b23b186945964c09a0f45c3e6c634a4
* fix(settings): run `exec-path-from-shell' when we're on a macFranck Cuny2022-06-031-4/+4
| | | | | | | | | | | | | Don't add `exec-path-from-shell' to the hook `emacs-startup-hook' has it's executed after `init.el' has been loaded. We need to run this when we're at this stage while processing all the init files, so that we configure correctly the path. For example, before this change, `aspell' was not used as the spell checker on mac before we were setting it to nil (the path was not set properly when we were initializing ispell through flyspell). Change-Id: I37d3e8d1c08b50966f1fe0df2579c06e37830e9a
* fix(emacs): specify where to store customizationsFranck Cuny2022-06-031-0/+7
| | | | | | Don't add them to init.el, since it's specific to different machines. Change-Id: Ia9753ae86e9a4563628fdb1043ed3d2b99c0c8f5
* feat(project): add `go.mod' to the list of files that define a projectFranck Cuny2022-06-031-0/+14
| | | | | | | | In a repository, I might have multiple `go.mod' files, and I want to treat of of the directories as a project, even within the same repository. Change-Id: I09937d9961464bff0f9d673d1eb50484eb8ea10e
* feat(eglot): use LSP to format go buffers instead of gofmtFranck Cuny2022-06-031-1/+3
| | | | Change-Id: Iccef9b065eb4bee917b0084fb0b34e76f09223f2
* fix(yasnippet): add my snippets to default path and enable yas modeFranck Cuny2022-06-011-1/+8
| | | | | | | | | | | | The way I was setting the path for yasnippets was incorrect: the variable `yas-snippets-dir' is expectnig a list of path, not a regular path. I also need to enable yas globally in order to insert them. Change-Id: I437d6fcd8a976d1f42a13707008436dc15547d56 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/203 Reviewed-by: Franck Cuny <franck@fcuny.net>
* feat(cheeseboard): module to get the list of pizzas from cheeseboardFranck Cuny2022-05-312-0/+56
| | | | | | | | | To see which pizzas are available this week at cheeseboard within Emacs is a dream come true. What's better than "M-x my/cheeseboard-menu" ?! This displays in a buffer the list of pizzas for the week. It includes the ingredients for the pizza, and hours of operation for that day (since the hours depending on the day of the week).
* fix(prog): add support for workspace module to goplsFranck Cuny2022-05-311-3/+5
| | | | | I've multiple go modules inside a git repository. Without support for workspaces, gopls is confused and does not work correctly.
* fix(git-extra): use cs.fcuny.xyz for my own repositoriesFranck Cuny2022-05-311-17/+25
| | | | | | | | | | I run an instance of sourcegraph on cs.fcuny.xyz for some of my repositories. When using `git-link' on my own code, I want to go there. I refactor some of the code to format the base URL using the hostname, and clean up the directory name in case the repository is coming from a gerrit server (there's a `a/' prefix to the name of the repository that I need to drop).
* ref(text): replace dabbrev with hippie-expandFranck Cuny2022-05-191-4/+3
|
* feat(snippets): add a few more snippetsFranck Cuny2022-05-193-0/+13
| | | | Python and elisp.
* yas: change the default keybindingFranck Cuny2022-05-191-1/+5
|
* corfu: the function `corfu-global-mode` has been renamedFranck Cuny2022-05-191-1/+1
|
* feat: add a new snippet for org-modeFranck Cuny2022-05-171-0/+8
|
* snippets: for org-modeFranck Cuny2022-05-151-0/+7
|
* snippets: for go-modeFranck Cuny2022-05-153-0/+23
|
* snippets: configure the default pathFranck Cuny2022-05-151-0/+2
|
* snippets: header for elispFranck Cuny2022-05-151-0/+17
|
* elfeed: add back face for search-unreadFranck Cuny2022-05-121-1/+2
|
* elfeed: disable proportional fonts and use eww to render articleFranck Cuny2022-05-111-2/+18
|
* org: add a capture template for elfeedFranck Cuny2022-05-111-0/+5
|
* org: load `ox-md`Franck Cuny2022-05-101-0/+1
| | | | | That way I can export org-mode files to markdown (then I can copy the generated markdown to our wiki).
* my-uptime: rename the function to `my/uptime-is`Franck Cuny2022-05-101-3/+3
| | | | Using the prefix `my/` is more consistent with my other functions.
* my-uptime: new module to calculate availabilityFranck Cuny2022-05-043-1/+57
| | | | | For a given SLO, calculate what's the allowed downtime for different time period.
* elfeed: start refactoringFranck Cuny2022-04-301-85/+83
|
* elfeed: remove a bunch of feedsFranck Cuny2022-04-301-16/+0
|
* conf: swarp's metadata file is in YAMLFranck Cuny2022-04-291-4/+5
|
* my-text: add markdown to auto-modeFranck Cuny2022-04-291-0/+2
|
* git: bump the summary lenght to 70 charactersFranck Cuny2022-04-291-1/+1
|
* go: define command for compilingFranck Cuny2022-04-291-1/+7
|
* ignore a few more things with recentfFranck Cuny2022-04-291-1/+1
|
* don't specify where to write Emacs filesFranck Cuny2022-04-295-12/+0
| | | | | We don't care, as long as these files are ignored in `.gitignore' it does not matter where we write them.
* my-text: enable goto-address-modeFranck Cuny2022-04-291-0/+2
|
* truly no more use-packageFranck Cuny2022-04-281-1/+0
|
* `use-package' is not needed anymoreFranck Cuny2022-04-281-5/+0
|
* org: remove `use-package'Franck Cuny2022-04-281-186/+99
|
* further simplificationsFranck Cuny2022-04-283-94/+74
|
* init: ensure packages are installedFranck Cuny2022-04-271-3/+5
|
* ensure we store local files under var/Franck Cuny2022-04-272-0/+2
|
* my-navigation: sim-pli-fyFranck Cuny2022-04-271-46/+33
|
* my-ui: moreFranck Cuny2022-04-271-17/+16
|
* init: ensure packages are installedFranck Cuny2022-04-271-0/+4
|
* my-settings: more of the sameFranck Cuny2022-04-271-9/+6
|
* my-git: sim-pli-fyFranck Cuny2022-04-271-62/+21
|
* my-prog: enable electric-pair-modeFranck Cuny2022-04-272-4/+4
|
* my-prog: more simplificationFranck Cuny2022-04-271-126/+97
|
* my-conf: flyspell config is in my-testFranck Cuny2022-04-271-3/+0
|
* my-test: more simplificationFranck Cuny2022-04-271-10/+11
|
* my-conf: binding to format JSON buffersFranck Cuny2022-04-271-3/+10
|
* conf: simplifyFranck Cuny2022-04-262-46/+30
|
* edit: simplifyFranck Cuny2022-04-261-5/+2
|
* text: further simplificationFranck Cuny2022-04-261-7/+6
|
* tramp: simplify to speed upFranck Cuny2022-04-261-7/+4
|
* dired: simplify so we don't need to requireFranck Cuny2022-04-261-10/+4
|
* text: configure (d)abbrev modesFranck Cuny2022-04-201-0/+14
|
* remove the need for `use-package' in my-settings.elFranck Cuny2022-04-191-13/+15
|
* no need for `use-package' for a few more modesFranck Cuny2022-04-192-25/+16
|
* UI: remove completely `use-package'Franck Cuny2022-04-191-23/+16
| | | | The modus themes are part of emacs now.
* start to install packages without use-packageFranck Cuny2022-04-193-36/+48
| | | | | | | | | Define a list of packages in `init.el', and then use plain `require' in the various custom modules. The first two packages installed that way are: - notmuch - exec-path-from-shell
* feed updateFranck Cuny2022-04-191-3/+1
|
* tramp: get rid of `use-package'Franck Cuny2022-04-181-9/+9
|
* UI: simplify the codeFranck Cuny2022-04-181-45/+31
|
* edit: remove usage of `use-package'Franck Cuny2022-04-181-35/+27
|
* dired: move configuration to its own moduleFranck Cuny2022-04-183-26/+20
|
* elfeed: new siteFranck Cuny2022-04-171-0/+1
|
* elfeed: capture an entry in org-modeFranck Cuny2022-04-172-2/+38
|
* delete authinfoFranck Cuny2022-04-171-0/+0
|
* add nix to the languages for github searchFranck Cuny2022-04-171-1/+1
|
* elfeed: store links without outlineFranck Cuny2022-04-171-209/+210
|
* ui: configure position for async shell bufferFranck Cuny2022-04-171-1/+1
|
* elfeed: enable elfeedFranck Cuny2022-04-172-0/+63
|
* elfeed: update list of feedsFranck Cuny2022-04-171-34/+225
|
* yas: elispFranck Cuny2022-04-162-0/+11
|
* ui: small adjustment with the themeFranck Cuny2022-04-161-2/+2
|
* emacs: where to save stateFranck Cuny2022-04-165-1/+11
|
* eshell: disable auto-completionFranck Cuny2022-04-161-7/+8
|
* completion: a few more changesFranck Cuny2022-04-161-10/+15
|
* add orderlessFranck Cuny2022-04-141-0/+6
|
* remove more ivy stuffFranck Cuny2022-04-141-9/+1
|
* replace company with corfuFranck Cuny2022-04-143-17/+27
|
* replace avy/counsel with vertico/consultFranck Cuny2022-04-146-48/+48
|
* conf: configure CSSFranck Cuny2022-04-081-0/+5
|
* git: add more forgesFranck Cuny2022-03-251-3/+7
|
* git: add back the forge packageFranck Cuny2022-03-251-0/+18
| | | | | | It's useful to keep track of the repositories, the code reviews, issues, etc. It's also easier to do code reviews that way (at least the initial reading).
* prog: tweak configuration for goFranck Cuny2022-03-251-1/+14
| | | | | Add a few bindings to run the tests, and make the test output more verbose by default.
* UI: simplify the theme configurationFranck Cuny2022-03-251-1/+1
|
* work: add function to search on sourcegraphFranck Cuny2022-03-251-0/+11
|
* mac: ensure exec-path-from-shell is installedFranck Cuny2022-03-251-0/+1
|
* ui: adjust theme for org-modeFranck Cuny2022-03-251-3/+4
|
* eshell: fix configurationFranck Cuny2022-03-251-1/+0
|
* web-extra: function to do a search on githubFranck Cuny2022-03-251-1/+12
|
* git-extra: fix docstringFranck Cuny2022-03-251-1/+1
|
* settings: simplify server / exec-path-from-shellFranck Cuny2022-03-251-7/+7
|
* packages: extra functions related to package.elFranck Cuny2022-03-242-0/+66
|
* ibuffer: simplify the configurationFranck Cuny2022-03-241-32/+1
| | | | I mostly use project.el anyway.
* ui: configure display for xref buffersFranck Cuny2022-03-241-1/+1
|
* theme: improve readability a bitFranck Cuny2022-03-241-1/+13
|
* this should be the last mass refactorFranck Cuny2022-03-239-212/+145
|
* functions: move custom functions to librariesFranck Cuny2022-03-236-68/+64
|
* init: simplify loading librariesFranck Cuny2022-03-232-14/+17
|
* rename a few more librariesFranck Cuny2022-03-239-29/+35
|
* rename fcuny-org to my-orgFranck Cuny2022-03-232-22/+22
|
* rename fcuny-git to my-gitFranck Cuny2022-03-232-8/+6
|
* rename fcuny-text to my-textFranck Cuny2022-03-232-4/+4
|
* rename fcuny-edit to my-editFranck Cuny2022-03-232-14/+12
|
* rename fcuny-navigation to my-navigationFranck Cuny2022-03-232-7/+4
|
* rename fcuny-ui to my-uiFranck Cuny2022-03-232-4/+4
|
* rename fcuny-settings to my-settingsFranck Cuny2022-03-232-4/+4
|
* init: start to simplify the configurationFranck Cuny2022-03-231-54/+51
| | | | | | | | Update the settings for the garbage collector when we start Emacs, to make things go faster. Also drop a few things that we don't care about anymore (the gnutls configuration). Be specific about the path to the library.
* settings: don't pull fcuny-vars anymoreFranck Cuny2022-03-231-3/+7
| | | | This library is going away. Also update the docs.
* init: don't pull packages from elpa.gnu.orgFranck Cuny2022-03-221-2/+1
|
* prog: format go buffer before savingFranck Cuny2022-03-221-0/+1
|
* commands: start refactoringFranck Cuny2022-03-221-1/+46
|
* work: manage work related functionsFranck Cuny2022-03-223-5/+12
|
* init: load custom commands lastFranck Cuny2022-03-221-2/+2
|
* prog: make flymake happyFranck Cuny2022-03-221-33/+66
|
* text: make flymake happyFranck Cuny2022-03-221-0/+7
|
* ui: make flymake happyFranck Cuny2022-03-221-34/+21
|
* tramp: make flymake happyFranck Cuny2022-03-221-1/+8
|
* org: make flymake happyFranck Cuny2022-03-221-1/+9
|
* navigation: make flymake happyFranck Cuny2022-03-221-31/+7
|
* git: make flymake happyFranck Cuny2022-03-221-53/+7
|
* flycheck: replaced by flymakeFranck Cuny2022-03-221-14/+0
|
* eshell: make flymake happyFranck Cuny2022-03-221-15/+33
|
* edit: make flymake happyFranck Cuny2022-03-221-2/+10
|
* vars: make flymake happyFranck Cuny2022-03-221-1/+6
|
* notmuch: make flymake happyFranck Cuny2022-03-221-0/+7
|
* conf: make it work with flymakeFranck Cuny2022-03-211-10/+8
|
* settings: make it work with flymakeFranck Cuny2022-03-211-5/+10
|
* init: address flymake feedbackFranck Cuny2022-03-211-18/+25
|
* puppet: we don't need this anymore!Franck Cuny2022-03-202-8/+0
|
* eglot: replace lsp-mode with eglotFranck Cuny2022-03-171-78/+7
|
* prog: add support for nixFranck Cuny2022-03-041-0/+7
| | | | | Enable the LSP for nix, and also ensure we're formatting the buffer when saving a buffer.
* emacs: configure the font correctlyFranck Cuny2022-03-031-2/+5
|
* themes: add modus againFranck Cuny2022-03-031-3/+8
|
* authinfo: add github credsFranck Cuny2022-03-031-0/+0
|
* ui: set proper font size when running with pgktFranck Cuny2022-02-201-2/+2
| | | | | As I'm slowly moving to wayland for the X server, I need to add pgkt to the possible list of window system (pgkt == pure gtk).
* org: new capture for bookmarksFranck Cuny2022-02-031-0/+21
| | | | | Add a new template to capture bookmarks. The link needs to be in the clipboard, and the title of the entry uses the title of the page.
* clipboard: function to get clipboard's contentFranck Cuny2022-02-031-0/+19
| | | | | | | The function can get the content of the clipboard for both MacOS and Linux. This function is coming from this module [1]. [1] https://github.com/rolandwalker/simpleclip/blob/master/simpleclip.el
* twitter: remove more unused codeFranck Cuny2022-02-032-21/+2
|
* org: journal's tree-type is dayFranck Cuny2022-02-031-1/+1
|
* twitter: remove pants checker/change work-machineFranck Cuny2022-02-031-12/+1
|
* python: no more aurora files :)Franck Cuny2022-02-031-2/+1
|
* twitter: delete twitter moduleFranck Cuny2022-02-032-14/+0
|