Skip to content

Paragraph filling, more indentation fixes, and tests for the emacs mode #9015

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

Closed
6 changes: 6 additions & 0 deletions src/etc/emacs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ marking, press x, and ELPA will install the packages for you (under

* or using <kbd>M-x package-install rust-mode

### Tests via ERT

The file `rust-mode-tests.el` contains tests that can be run via ERT. You can
use `run_rust_emacs_tests.sh` to run them in batch mode, if emacs is somewhere
in your `$PATH`.

### Known bugs

* Combining `global-whitespace-mode` and `rust-mode` is generally glitchy.
Expand Down
3 changes: 3 additions & 0 deletions src/etc/emacs/run_rust_emacs_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This runs the test for emacs rust-mode.
# It must be possible to find emacs via PATH.
emacs -batch -l rust-mode.el -l rust-mode-tests.el -f ert-run-tests-batch-and-exit
Loading