summary refs log tree commit diff
path: root/emacs/init.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(envrc): add a new package: envrcFranck Cuny2022-11-131-0/+3
| | | | | | | 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-131-1/+0
| | | | | | I'm not using gerrit anymore, I don't need to keep this around. Change-Id: I764a1a54a3653582d8fd5539ad6db7a4b9697d82
* 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-171-0/+1
| | | | Change-Id: I060a37e7baee14cf6051dcb5390b9b986e5d6968
* ref: move flymake and eldoc configuration to their own librariesFranck Cuny2022-10-141-4/+5
| | | | Change-Id: Ida9e0f7d6ee25cf5fe8e208d1ae5c77aa28cfe0f
* feat(lang/nix): configure Emacs for nixFranck Cuny2022-09-171-0/+1
| | | | Change-Id: I4e92859e96362268431bde6dd4a81f73a8796b0d
* ref(tree-sitter): move the configuration to its own fileFranck Cuny2022-09-171-0/+1
| | | | Change-Id: I424e4d32e05d6bf21f6abb3cc68cad598af31708
* feat(lang/rust): configure Emacs for rustFranck Cuny2022-09-171-0/+1
| | | | Change-Id: Iaaccc75333b8b36e2fdb0ae4a6eb84408eb61300
* ref(email): remove configuration for notmuchFranck Cuny2022-09-171-1/+0
| | | | | | I'm not going to read my emails with Emacs ... Change-Id: I649239057e5a0c35ebbb1eb329b9bee956dd2668
* feat(lang/go): configure Emacs for goFranck Cuny2022-09-171-0/+1
| | | | Change-Id: I2f33baa1ef2f75d770203da210065fed15f567e8
* feat(lsp): configure lsp-mode for EmacsFranck Cuny2022-09-171-0/+1
| | | | | | | | | | 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-171-0/+2
| | | | Change-Id: I4f1ae59be8c10f344bec93b86c70a893123e92de
* feat(packages): install all required packages via straightFranck Cuny2022-09-171-73/+2
| | | | | | | | | 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
* feat(rust): add initial configuration for rustFranck Cuny2022-08-221-1/+3
| | | | | | Use rustic and configure it to use eglot as the backend for LSP. Change-Id: I71bd51a863f1a03b0b3f2d218d970d5ea0867e9e
* feat(org-mode): add capture template for emailsFranck Cuny2022-07-071-0/+1
| | | | | | | | | | | 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(prog): enable tree-sitterFranck Cuny2022-06-261-0/+2
| | | | | | | | | 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
* 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>
* 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(cheeseboard): module to get the list of pizzas from cheeseboardFranck Cuny2022-05-311-0/+1
| | | | | | | | | 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).
* my-uptime: new module to calculate availabilityFranck Cuny2022-05-041-0/+1
| | | | | For a given SLO, calculate what's the allowed downtime for different time period.
* truly no more use-packageFranck Cuny2022-04-281-1/+0
|
* `use-package' is not needed anymoreFranck Cuny2022-04-281-5/+0
|
* further simplificationsFranck Cuny2022-04-281-0/+8
|
* init: ensure packages are installedFranck Cuny2022-04-271-3/+5
|
* init: ensure packages are installedFranck Cuny2022-04-271-0/+4
|
* conf: simplifyFranck Cuny2022-04-261-5/+18
|
* no need for `use-package' for a few more modesFranck Cuny2022-04-191-1/+2
|
* start to install packages without use-packageFranck Cuny2022-04-191-17/+33
| | | | | | | | | 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
* dired: move configuration to its own moduleFranck Cuny2022-04-181-0/+1
|
* elfeed: enable elfeedFranck Cuny2022-04-171-0/+1
|
* replace avy/counsel with vertico/consultFranck Cuny2022-04-141-0/+1
|
* packages: extra functions related to package.elFranck Cuny2022-03-241-0/+1
|
* this should be the last mass refactorFranck Cuny2022-03-231-2/+4
|
* init: simplify loading librariesFranck Cuny2022-03-231-13/+16
|
* rename a few more librariesFranck Cuny2022-03-231-5/+5
|
* rename fcuny-org to my-orgFranck Cuny2022-03-231-1/+1
|
* rename fcuny-git to my-gitFranck Cuny2022-03-231-1/+1
|
* rename fcuny-text to my-textFranck Cuny2022-03-231-1/+1
|
* rename fcuny-edit to my-editFranck Cuny2022-03-231-1/+1
|
* rename fcuny-navigation to my-navigationFranck Cuny2022-03-231-1/+1
|
* rename fcuny-ui to my-uiFranck Cuny2022-03-231-1/+1
|
* rename fcuny-settings to my-settingsFranck Cuny2022-03-231-1/+1
|
* 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.
* init: don't pull packages from elpa.gnu.orgFranck Cuny2022-03-221-2/+1
|
* work: manage work related functionsFranck Cuny2022-03-221-1/+2
|
* init: load custom commands lastFranck Cuny2022-03-221-2/+2
|
* init: address flymake feedbackFranck Cuny2022-03-211-18/+25
|
* twitter: delete twitter moduleFranck Cuny2022-02-031-1/+0
|
* packages: configure gnuTLS' algorithmsFranck Cuny2022-02-031-0/+4
| | | | Without that, I can't fetch packages from GNU's elpa on the mac.
* emacs: start a shell when configuration is loadedFranck Cuny2021-10-181-0/+4
| | | | | Once the initialization of our configuration is done, we start a shell session with `eshell'.
* emacs: set variable only if it existsFranck Cuny2021-09-291-1/+2
| | | | | | The emacs version on arch does not yet have support for native code compilation, so I need to check that the variable exists before using it.
* emacs: set the path where to store compiled filesFranck Cuny2021-09-241-0/+3
| | | | | Emacs 28 has support for native compilation which speeds up a number of packages. This change set the path where we want to store the files.
* emacs: initial configuration for notmuchFranck Cuny2021-09-211-0/+1
|
* emacs: initial configuration for trampFranck Cuny2021-02-121-0/+1
|
* emacs: rename the directoryFranck Cuny2021-01-041-0/+41