Would you consider supporting erts-mode in the Modus themes?
Background: erts-mode is a built-in mode for editing "erts" files, which are files that contain tests for the ert testing tool that's included in Emacs. I find these files useful for collecting tests for commands that operate on text in a buffer and that have multiple edge cases.
To see what erts-mode looks like, you can open a new buffer, do M-x erts-mode, and insert the following:
Name: kill-word should kill the next word
Point-Char: |
Code: (lambda () (kill-word 1))
=-=
I want to remove this |unnecessary word.
=-=
I want to remove this | word.
=-=-=
Incidentally, if you want to try running the test, you can write it to a file and run (ert-test-erts-file "/path/to/the/file.erts"). There's more information in the "ert" Info manual.
You'll see that the keys like Name and Point-Char are displayed with the face erts-mode-specification-name, while the values like kill-word should kill the next word are displayed with the face erts-mode-specification-value. These have default values defined in erts-mode.el; for example, when using modus-operandi they default to "cornflower blue" and "blue" respectively. It would be nice if modus-themes supported these faces.
The =-= and =-=-= lines also use faces, erts-mode-start-test and erts-mode-end-test respectively, but these inherit from default faces that modus-themes already support, so perhaps addressing these specifically isn't necessary.
Hi Prot,
Would you consider supporting
erts-mode
in the Modus themes?Background:
erts-mode
is a built-in mode for editing "erts" files, which are files that contain tests for theert
testing tool that's included in Emacs. I find these files useful for collecting tests for commands that operate on text in a buffer and that have multiple edge cases.To see what
erts-mode
looks like, you can open a new buffer, doM-x erts-mode
, and insert the following:Incidentally, if you want to try running the test, you can write it to a file and run
(ert-test-erts-file "/path/to/the/file.erts")
. There's more information in the "ert" Info manual.You'll see that the keys like
Name
andPoint-Char
are displayed with the faceerts-mode-specification-name
, while the values likekill-word should kill the next word
are displayed with the faceerts-mode-specification-value
. These have default values defined inerts-mode.el
; for example, when usingmodus-operandi
they default to "cornflower blue" and "blue" respectively. It would be nice if modus-themes supported these faces.The
=-=
and=-=-=
lines also use faces,erts-mode-start-test
anderts-mode-end-test
respectively, but these inherit from default faces that modus-themes already support, so perhaps addressing these specifically isn't necessary.