-
Notifications
You must be signed in to change notification settings - Fork 92
Add emacs-lisp formatting #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
There is an example to re-indent elisp in #63 |
That's where I started, doesn't quite work :) |
|
What are the issues you're facing with your current implementation? Maybe I can help advise. |
You're right that I don't want to use save-buffer, but if I don't then the buffer is left changed. If I try and use the method in #63 the callback throws a wrong number of arguments error EDIT: Turns out a good night's sleep is important, I've fixed it now :) Trying to test it though gives a |
|
Pushed changes, this now works in emacs but the test fails for the slightest diff diff --git a/tmp/apheleia-ft-file-EDn7yr.expected b/tmp/apheleia-ft-file-Uvnxkx.actual
index 7aeecb4..c0d102c 100644
--- a/tmp/apheleia-ft-file-EDn7yr.expected
+++ b/tmp/apheleia-ft-file-Uvnxkx.actual
@@ -1,4 +1,4 @@
(if (and (< 3 5)
- (= 1 1))
+ (= 1 1))
(message "true")
(message "false"))Even if I manually adjust out.el, there's an issue with tabs vs spaces. Could be related to doom emacs' custom |
Yeah, that's just because |
b91cffc to
b21a33d
Compare
| ;; Borrowed with love from Magit | ||
| (let ((load-suffixes '(".el"))) | ||
| (locate-library "apheleia")))))) | ||
| exec-path))) | ||
| (setq stdout-buffer (get-buffer-create | ||
| (format "*apheleia-ft-stdout-%S" formatter))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we do this unconditionally now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't change this :P
| (progn | ||
|
|
||
| (with-current-buffer stdout-buffer | ||
| (erase-buffer)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we move this higher up now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might not be needed now, it was used during testing.
|
I'll compare my local branch with the commits you added in because it seems like some things have come in by mistake |
|
OK scratch that, I was tired when I did that. Apart from the merge conflict I'm about to resume, are you happy with this? |
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
commit c88b382 Author: Ellis Kenyo <me@elken.dev> Date: Sat Dec 3 09:37:45 2022 +0000 fix(format): load format-on-save-disabled-modes fn Should handle some corner cases with how inhibiting is set commit 8bd172a Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 16:43:31 2022 +0000 docs(format): redo docs to handle refactor commit 14a8ae7 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 16:41:16 2022 +0000 fix(format): better handle format-on-save disable commit bc346a7 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:44:56 2022 +0000 docs(yaml): add formatter docs commit 5be28bd Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:26:03 2022 +0000 docs(docker): add formatter docs commit 1cbad9d Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:24:18 2022 +0000 docs(web): add formatter docs commit 6f4aff9 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:21:08 2022 +0000 docs(swift): add formatter docs commit 9574d6c Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:15:57 2022 +0000 docs(solidity): add formatter docs commit 4e4d51e Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:15:37 2022 +0000 feat(sml): add :lang sml formatter commit c164250 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:13:32 2022 +0000 docs(sml): add formatter docs commit f05cc5d Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:11:58 2022 +0000 docs(sh): add formatter docs commit 96df2f3 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:59:02 2022 +0000 docs(scala): add formatter docs commit 1a67eab Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:56:04 2022 +0000 docs(rust): update rustfmt command commit bb1813b Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:51:29 2022 +0000 docs(ruby): add formatter docs commit 4335d12 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:49:34 2022 +0000 docs(rst): add formatter docs commit 211affd Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:47:07 2022 +0000 docs(racket): add formatter docs commit 3a9c271 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:44:57 2022 +0000 docs(python): add formatter docs commit 301d0a2 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:42:35 2022 +0000 docs(purescript): add install docs commit 8474a0a Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:31:53 2022 +0000 docs(nim): add formatter docs commit 6327e26 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:28:47 2022 +0000 docs(markdown): add formatter docs commit 5214fdc Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:26:54 2022 +0000 docs(lua): add formatter docs commit e52a6bc Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:22:26 2022 +0000 docs(latex): add formatter docs commit 1ea3996 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:56:17 2022 +0000 docs(kotlin): add install docs commit ea7deb2 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:48:34 2022 +0000 docs(json): add formatter docs commit d0fa5b5 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:47:44 2022 +0000 docs(javascript): add formatter docs commit b30ef0e Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:46:08 2022 +0000 docs(java): add formatter docs commit 111a6d1 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:22:15 2022 +0000 docs(haskell): add formatter docs commit 567dcaf Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 09:38:26 2022 +0000 docs(graphql): add formatter docs commit ecf1e46 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:40:27 2022 +0000 fix!(go): prefer upstream formatter config BREAKING CHANGE: Since apheleia doesn't handle regions yet, this should be fine to leave to upstream. This could be considered a breaking change if users rely on this functionality. commit c4d9673 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:36:30 2022 +0000 fix(gdscript): remove executable-find formatter check commit e9f66d0 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:35:59 2022 +0000 fix(fortran): remove executable-find formatter check commit ae75008 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:35:26 2022 +0000 fix(erlang): remove executable-find formatter check commit c4bd9fc Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:35:07 2022 +0000 fix(dhall): remove executable-find formatter check commit 60b442c Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:32:59 2022 +0000 fix(data): remove executable-find formatter check commit 3cfd911 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:31:04 2022 +0000 fix(csharp): reduce formatter complexity commit 91a3046 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:05:50 2022 +0000 fix(crystal): remove executable-find formatter check commit bd3c4d2 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:04:50 2022 +0000 fix(cc): remove executable-find formatter check commit cb60519 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:03:25 2022 +0000 docs(fsharp): add formatter docs commit da369c5 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:03:12 2022 +0000 feat(format): add :lang fsharp formatter commit 34da35f Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 13:00:32 2022 +0100 docs(fortran): add formatter docs commit 895c35f Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:56:32 2022 +0100 docs(erlang): add formatter docs commit ce45084 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:48:26 2022 +0100 docs(emacs-lisp): add formatter docs commit 841cee4 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:43:36 2022 +0100 docs(elm): add formatter docs commit 811f35a Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:36:59 2022 +0100 docs(elixir): add formatter docs commit d960d3b Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:31:07 2022 +0100 docs(dhall): add formatter docs commit 3278391 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:21:12 2022 +0100 docs(dart): add formatter docs commit 324e5d0 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:18:16 2022 +0100 docs(csharp): add formatter docs commit b2762b8 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:06:07 2022 +0100 docs(crystal): add formatter docs commit f41ba4e Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 11:54:47 2022 +0100 docs(common-lisp): add formatter docs commit 0b4feb7 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 11:34:18 2022 +0100 docs(clojure): add formatter docs commit e3c6e8e Author: Ellis Kenyő <me@elken.dev> Date: Sun Sep 25 11:29:27 2022 +0100 docs(cc): Add formatter docs commit e44f9f9 Author: Ellis Kenyő <me@elken.dev> Date: Sun Sep 25 11:17:08 2022 +0100 docs(beancount): Add formatter docs commit b24d784 Author: Ellis Kenyő <me@elken.dev> Date: Wed Sep 7 22:23:34 2022 +0100 fix(format): handle git-gutter nicely commit 12e9e37 Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 08:20:58 2022 +0100 feat(format): add :tools docker formatter commit 9b302b3 Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 08:04:55 2022 +0100 feat(format): add :lang zig formatter commit 9667145 Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:58:05 2022 +0100 feat(format): add :lang swift formatter commit 3b9f12e Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:51:34 2022 +0100 feat(format): add :lang sml formatter commit 64fb3e4 Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:45:26 2022 +0100 feat(format): add :lang scheme formatter commit 47cd63d Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:05:20 2022 +0100 feat(format): add :lang scala formatter commit 36d8e99 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 21:48:59 2022 +0100 feat(format): add :lang rst formatter commit 20cdde1 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 21:24:57 2022 +0100 feat(format): add :lang racket formatter commit e5f1b3e Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 21:06:47 2022 +0100 feat(format): add :lang purescript formatter commit ad13b12 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 20:57:40 2022 +0100 feat(format): add :lang nim formatter commit 03c6566 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 20:08:40 2022 +0100 feat(format): add :lang hy formatter commit 832620d Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:28:14 2022 +0100 feat(format): add :lang fortran formatter commit fa7ffa3 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:16:40 2022 +0100 feat(format): add :lang gdscript formatter commit 3cd4df2 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:16:08 2022 +0100 feat(format): add :lang erlang formatter commit b1151d9 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:15:33 2022 +0100 feat(format): add :lang dhall formatter commit ebfa01f Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:19:02 2022 +0100 feat(format): add :lang data formatter commit 3870eec Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:18:29 2022 +0100 feat(format): add :lang csharp formatter commit db53af4 Author: Ellis Kenyő <me@elken.dev> Date: Mon Aug 15 07:34:52 2022 +0100 feat(format): add :lang crystal formatter commit 018a4c4 Author: Ellis Kenyő <me@elken.dev> Date: Mon Aug 15 06:34:12 2022 +0100 feat(format): add :lang common-lisp formatter commit 22649ab Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:14:49 2022 +0100 feat(format): add :lang clojure formatter commit 7362631 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:17:51 2022 +0100 feat(format): add :lang cc formatter commit ac84141 Author: Ellis Kenyő <me@elken.dev> Date: Sun Aug 14 16:26:33 2022 +0100 feat(format): add :lang emacs-lisp formatter Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102 commit 2599b62 Author: Ellis Kenyő <me@elken.dev> Date: Sun Aug 14 16:17:36 2022 +0100 fix(format): resolve list expansion issues The argument list was being expanded incorrectly, this should now be resolved. commit 728c1e7 Author: Ellis Kenyő <ellis@coreblue.co.uk> Date: Mon Jun 20 08:57:34 2022 +0100 fix(format): correctly adjust shfmt commit 19d5c3b Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:13:55 2022 +0100 refactor(format): replace with apheleia TODO
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
commit 2e41ced Author: Ellis Kenyo <me@elken.dev> Date: Sun Jan 8 15:20:12 2023 +0000 fix(format): apheleia-inhibit-functions after load commit 279f580 Author: Ellis Kenyo <me@elken.dev> Date: Sat Dec 3 09:37:45 2022 +0000 fix(format): load format-on-save-disabled-modes fn Should handle some corner cases with how inhibiting is set commit 9d4837f Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 16:43:31 2022 +0000 docs(format): redo docs to handle refactor commit 090a635 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 16:41:16 2022 +0000 fix(format): better handle format-on-save disable commit a529796 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:44:56 2022 +0000 docs(yaml): add formatter docs commit c2c29c6 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:26:03 2022 +0000 docs(docker): add formatter docs commit fd00ecd Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:24:18 2022 +0000 docs(web): add formatter docs commit 1f009f3 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:21:08 2022 +0000 docs(swift): add formatter docs commit b2581ac Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:15:57 2022 +0000 docs(solidity): add formatter docs commit c0a77eb Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:15:37 2022 +0000 feat(sml): add :lang sml formatter commit 40a88d9 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:13:32 2022 +0000 docs(sml): add formatter docs commit 662a76a Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:11:58 2022 +0000 docs(sh): add formatter docs commit 4c898be Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:59:02 2022 +0000 docs(scala): add formatter docs commit e2928f2 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:56:04 2022 +0000 docs(rust): update rustfmt command commit 7de33c0 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:51:29 2022 +0000 docs(ruby): add formatter docs commit 5120d55 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:49:34 2022 +0000 docs(rst): add formatter docs commit 7bdb4a1 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:47:07 2022 +0000 docs(racket): add formatter docs commit 3bc4c58 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:44:57 2022 +0000 docs(python): add formatter docs commit 7a1ec20 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:42:35 2022 +0000 docs(purescript): add install docs commit 092632b Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:31:53 2022 +0000 docs(nim): add formatter docs commit 2b563ea Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:28:47 2022 +0000 docs(markdown): add formatter docs commit f7d5a46 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:26:54 2022 +0000 docs(lua): add formatter docs commit f9dab78 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:22:26 2022 +0000 docs(latex): add formatter docs commit a6d9635 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:56:17 2022 +0000 docs(kotlin): add install docs commit 6315a34 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:48:34 2022 +0000 docs(json): add formatter docs commit c49addf Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:47:44 2022 +0000 docs(javascript): add formatter docs commit 5a12487 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:46:08 2022 +0000 docs(java): add formatter docs commit ffc43bf Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:22:15 2022 +0000 docs(haskell): add formatter docs commit 456b240 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 09:38:26 2022 +0000 docs(graphql): add formatter docs commit 4da8177 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:40:27 2022 +0000 fix!(go): prefer upstream formatter config BREAKING CHANGE: Since apheleia doesn't handle regions yet, this should be fine to leave to upstream. This could be considered a breaking change if users rely on this functionality. commit 5d4e60b Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:36:30 2022 +0000 fix(gdscript): remove executable-find formatter check commit 40b4e53 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:35:59 2022 +0000 fix(fortran): remove executable-find formatter check commit 3cddc68 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:35:26 2022 +0000 fix(erlang): remove executable-find formatter check commit 0247301 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:35:07 2022 +0000 fix(dhall): remove executable-find formatter check commit a8a6390 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:32:59 2022 +0000 fix(data): remove executable-find formatter check commit e651b07 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:31:04 2022 +0000 fix(csharp): reduce formatter complexity commit 98ebfb3 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:05:50 2022 +0000 fix(crystal): remove executable-find formatter check commit fe1689e Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:04:50 2022 +0000 fix(cc): remove executable-find formatter check commit 78e1d6a Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:03:25 2022 +0000 docs(fsharp): add formatter docs commit d12471f Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:03:12 2022 +0000 feat(format): add :lang fsharp formatter commit 9aa9fae Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 13:00:32 2022 +0100 docs(fortran): add formatter docs commit f10e003 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:56:32 2022 +0100 docs(erlang): add formatter docs commit e71c005 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:48:26 2022 +0100 docs(emacs-lisp): add formatter docs commit 61c3db5 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:43:36 2022 +0100 docs(elm): add formatter docs commit 972d7fd Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:36:59 2022 +0100 docs(elixir): add formatter docs commit 0ea5f33 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:31:07 2022 +0100 docs(dhall): add formatter docs commit b5068d1 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:21:12 2022 +0100 docs(dart): add formatter docs commit 967f1d8 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:18:16 2022 +0100 docs(csharp): add formatter docs commit 5e4cafb Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:06:07 2022 +0100 docs(crystal): add formatter docs commit b53a3bc Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 11:54:47 2022 +0100 docs(common-lisp): add formatter docs commit ce72f64 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 11:34:18 2022 +0100 docs(clojure): add formatter docs commit 3c6cb6f Author: Ellis Kenyő <me@elken.dev> Date: Sun Sep 25 11:29:27 2022 +0100 docs(cc): Add formatter docs commit 8d97cf2 Author: Ellis Kenyő <me@elken.dev> Date: Sun Sep 25 11:17:08 2022 +0100 docs(beancount): Add formatter docs commit 8e0648b Author: Ellis Kenyő <me@elken.dev> Date: Wed Sep 7 22:23:34 2022 +0100 fix(format): handle git-gutter nicely commit b623dbf Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 08:20:58 2022 +0100 feat(format): add :tools docker formatter commit e32672f Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 08:04:55 2022 +0100 feat(format): add :lang zig formatter commit 9503df0 Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:58:05 2022 +0100 feat(format): add :lang swift formatter commit 32cddf9 Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:51:34 2022 +0100 feat(format): add :lang sml formatter commit f00ce2e Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:45:26 2022 +0100 feat(format): add :lang scheme formatter commit 2ede72d Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:05:20 2022 +0100 feat(format): add :lang scala formatter commit 3738706 Author: Ellis Kenyo <me@elken.dev> Date: Sat Dec 31 23:12:00 2022 +0000 feat(format): add :lang rst formatter commit a8de208 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 21:24:57 2022 +0100 feat(format): add :lang racket formatter commit 463ebf1 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 21:06:47 2022 +0100 feat(format): add :lang purescript formatter commit d81ff3f Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 20:57:40 2022 +0100 feat(format): add :lang nim formatter commit b2bd9d4 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 20:08:40 2022 +0100 feat(format): add :lang hy formatter commit 3c7b782 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:28:14 2022 +0100 feat(format): add :lang fortran formatter commit 5dcc42f Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:16:40 2022 +0100 feat(format): add :lang gdscript formatter commit 53202f6 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:16:08 2022 +0100 feat(format): add :lang erlang formatter commit 30cceb2 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:15:33 2022 +0100 feat(format): add :lang dhall formatter commit 48cd1d7 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:19:02 2022 +0100 feat(format): add :lang data formatter commit 41e39f8 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:18:29 2022 +0100 feat(format): add :lang csharp formatter commit ea8a228 Author: Ellis Kenyő <me@elken.dev> Date: Mon Aug 15 07:34:52 2022 +0100 feat(format): add :lang crystal formatter commit 9f59ac0 Author: Ellis Kenyő <me@elken.dev> Date: Mon Aug 15 06:34:12 2022 +0100 feat(format): add :lang common-lisp formatter commit e56916c Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:14:49 2022 +0100 feat(format): add :lang clojure formatter commit aa7e142 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:17:51 2022 +0100 feat(format): add :lang cc formatter commit de4a3fb Author: Ellis Kenyő <me@elken.dev> Date: Sun Aug 14 16:26:33 2022 +0100 feat(format): add :lang emacs-lisp formatter Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102 commit 57b77a1 Author: Ellis Kenyő <me@elken.dev> Date: Sun Aug 14 16:17:36 2022 +0100 fix(format): resolve list expansion issues The argument list was being expanded incorrectly, this should now be resolved. commit d3f332e Author: Ellis Kenyő <ellis@coreblue.co.uk> Date: Mon Jun 20 08:57:34 2022 +0100 fix(format): correctly adjust shfmt commit df85435 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:13:55 2022 +0100 refactor(format): replace with apheleia TODO
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
commit cce32e8 Author: Ellis Kenyo <me@elken.dev> Date: Sun Jan 8 15:20:12 2023 +0000 fix(format): apheleia-inhibit-functions after load commit a763cf8 Author: Ellis Kenyo <me@elken.dev> Date: Sat Dec 3 09:37:45 2022 +0000 fix(format): load format-on-save-disabled-modes fn Should handle some corner cases with how inhibiting is set commit 5f65343 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 16:43:31 2022 +0000 docs(format): redo docs to handle refactor commit 71c7702 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 16:41:16 2022 +0000 fix(format): better handle format-on-save disable commit 7c85772 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:44:56 2022 +0000 docs(yaml): add formatter docs commit bc6e1f8 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:26:03 2022 +0000 docs(docker): add formatter docs commit 03b5679 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:24:18 2022 +0000 docs(web): add formatter docs commit 3cb9e59 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:21:08 2022 +0000 docs(swift): add formatter docs commit 09decda Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:15:57 2022 +0000 docs(solidity): add formatter docs commit 9ba5e4f Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:15:37 2022 +0000 feat(sml): add :lang sml formatter commit 2d9f04c Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:13:32 2022 +0000 docs(sml): add formatter docs commit 799e3b7 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 15:11:58 2022 +0000 docs(sh): add formatter docs commit 23fa257 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:59:02 2022 +0000 docs(scala): add formatter docs commit 7775777 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:56:04 2022 +0000 docs(rust): update rustfmt command commit 0a7b45f Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:51:29 2022 +0000 docs(ruby): add formatter docs commit 174b5de Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:49:34 2022 +0000 docs(rst): add formatter docs commit 490d9e2 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:47:07 2022 +0000 docs(racket): add formatter docs commit c22da9a Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:44:57 2022 +0000 docs(python): add formatter docs commit 74e7dbb Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:42:35 2022 +0000 docs(purescript): add install docs commit e7f9a1d Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:31:53 2022 +0000 docs(nim): add formatter docs commit 2cc2d7f Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:28:47 2022 +0000 docs(markdown): add formatter docs commit 9ac81af Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:26:54 2022 +0000 docs(lua): add formatter docs commit 33ab079 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 14:22:26 2022 +0000 docs(latex): add formatter docs commit 7fcf00a Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:56:17 2022 +0000 docs(kotlin): add install docs commit 0a8e4d3 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:48:34 2022 +0000 docs(json): add formatter docs commit 7041c69 Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:47:44 2022 +0000 docs(javascript): add formatter docs commit 2329add Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:46:08 2022 +0000 docs(java): add formatter docs commit db1a00f Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 10:22:15 2022 +0000 docs(haskell): add formatter docs commit 58d576e Author: Ellis Kenyő <me@elken.dev> Date: Sat Nov 19 09:38:26 2022 +0000 docs(graphql): add formatter docs commit 8ad8df7 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:40:27 2022 +0000 fix!(go): prefer upstream formatter config BREAKING CHANGE: Since apheleia doesn't handle regions yet, this should be fine to leave to upstream. This could be considered a breaking change if users rely on this functionality. commit d6326e6 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:36:30 2022 +0000 fix(gdscript): remove executable-find formatter check commit 83018de Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:35:59 2022 +0000 fix(fortran): remove executable-find formatter check commit e3717ae Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:35:26 2022 +0000 fix(erlang): remove executable-find formatter check commit 6bc887d Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:35:07 2022 +0000 fix(dhall): remove executable-find formatter check commit 5690348 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:32:59 2022 +0000 fix(data): remove executable-find formatter check commit 4fa4116 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:31:04 2022 +0000 fix(csharp): reduce formatter complexity commit 289f234 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:05:50 2022 +0000 fix(crystal): remove executable-find formatter check commit 6ef36fc Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:04:50 2022 +0000 fix(cc): remove executable-find formatter check commit 90a04e1 Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:03:25 2022 +0000 docs(fsharp): add formatter docs commit 07648ad Author: Ellis Kenyő <me@elken.dev> Date: Thu Nov 17 17:03:12 2022 +0000 feat(format): add :lang fsharp formatter commit 47cfcc6 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 13:00:32 2022 +0100 docs(fortran): add formatter docs commit 75c87f4 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:56:32 2022 +0100 docs(erlang): add formatter docs commit 08aaf9e Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:48:26 2022 +0100 docs(emacs-lisp): add formatter docs commit 3afea34 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:43:36 2022 +0100 docs(elm): add formatter docs commit d1db3ce Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:36:59 2022 +0100 docs(elixir): add formatter docs commit 36663a9 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:31:07 2022 +0100 docs(dhall): add formatter docs commit bc3af3a Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:21:12 2022 +0100 docs(dart): add formatter docs commit 6c3916a Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:18:16 2022 +0100 docs(csharp): add formatter docs commit 79f28d4 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 12:06:07 2022 +0100 docs(crystal): add formatter docs commit 716ebe7 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 11:54:47 2022 +0100 docs(common-lisp): add formatter docs commit e738ab9 Author: Ellis Kenyő <me@elken.dev> Date: Wed Oct 5 11:34:18 2022 +0100 docs(clojure): add formatter docs commit b7b975c Author: Ellis Kenyő <me@elken.dev> Date: Sun Sep 25 11:29:27 2022 +0100 docs(cc): Add formatter docs commit d50d5dd Author: Ellis Kenyő <me@elken.dev> Date: Sun Sep 25 11:17:08 2022 +0100 docs(beancount): Add formatter docs commit c672c3d Author: Ellis Kenyő <me@elken.dev> Date: Wed Sep 7 22:23:34 2022 +0100 fix(format): handle git-gutter nicely commit bce6c6a Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 08:20:58 2022 +0100 feat(format): add :tools docker formatter commit d5d50a6 Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 08:04:55 2022 +0100 feat(format): add :lang zig formatter commit 15a9f7d Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:58:05 2022 +0100 feat(format): add :lang swift formatter commit ad6ccbf Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:51:34 2022 +0100 feat(format): add :lang sml formatter commit 482d0d3 Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:45:26 2022 +0100 feat(format): add :lang scheme formatter commit f418456 Author: Ellis Kenyő <me@elken.dev> Date: Wed Aug 17 07:05:20 2022 +0100 feat(format): add :lang scala formatter commit 74fa655 Author: Ellis Kenyo <me@elken.dev> Date: Sat Dec 31 23:12:00 2022 +0000 feat(format): add :lang rst formatter commit 90b8670 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 21:24:57 2022 +0100 feat(format): add :lang racket formatter commit eb36b64 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 21:06:47 2022 +0100 feat(format): add :lang purescript formatter commit 84a052b Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 20:57:40 2022 +0100 feat(format): add :lang nim formatter commit 53e2f3b Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 20:08:40 2022 +0100 feat(format): add :lang hy formatter commit 3c94dd2 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:28:14 2022 +0100 feat(format): add :lang fortran formatter commit f0b5a56 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:16:40 2022 +0100 feat(format): add :lang gdscript formatter commit 29c9ac5 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:16:08 2022 +0100 feat(format): add :lang erlang formatter commit 087de29 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:15:33 2022 +0100 feat(format): add :lang dhall formatter commit f6927cf Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:19:02 2022 +0100 feat(format): add :lang data formatter commit 1295a2c Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:18:29 2022 +0100 feat(format): add :lang csharp formatter commit ddf6470 Author: Ellis Kenyő <me@elken.dev> Date: Mon Aug 15 07:34:52 2022 +0100 feat(format): add :lang crystal formatter commit b003df4 Author: Ellis Kenyő <me@elken.dev> Date: Mon Aug 15 06:34:12 2022 +0100 feat(format): add :lang common-lisp formatter commit 8041862 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:14:49 2022 +0100 feat(format): add :lang clojure formatter commit 72c43bb Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:17:51 2022 +0100 feat(format): add :lang cc formatter commit b4e7997 Author: Ellis Kenyő <me@elken.dev> Date: Sun Aug 14 16:26:33 2022 +0100 feat(format): add :lang emacs-lisp formatter Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102 commit 4684db3 Author: Ellis Kenyő <me@elken.dev> Date: Sun Aug 14 16:17:36 2022 +0100 fix(format): resolve list expansion issues The argument list was being expanded incorrectly, this should now be resolved. commit 72e60a3 Author: Ellis Kenyő <ellis@coreblue.co.uk> Date: Mon Jun 20 08:57:34 2022 +0100 fix(format): correctly adjust shfmt commit 2750aa3 Author: Ellis Kenyő <me@elken.dev> Date: Tue Aug 16 08:13:55 2022 +0100 refactor(format): replace with apheleia TODO
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102
Introduce a formatter function for emacs-lisp (tracked upstream here [1]) that tries to preserve as much of what the user wants as possible [1]: radian-software/apheleia#102

Created as a draft because it doesn't quite work; I've tried a couple of approaches but they either don't update correctly or require a second write.
I'm sure I'm implementing it incorrectly, so this is more an RFC than an actual changeset :)