If you're going to report a bug -- thank you!
Please use M-x racket-bug-report to generate a buffer with information that will help to reproduce and understand the bug:
- Emacs version
- racket-mode-version
- value of important racket-mode variables
- minor-modes that are active
Please copy this and paste in your bug report.
If you'd like to make a pull request -- thank you!
Here is some information to help you.
racket-mode depends on some other packages. In racket-mode.el
see
the Package-Requires:
line.
You can install these manually with M-x package-install,
or, run make deps
. The latter is also used by .travis.yml
.
The recent trend has been for racket-mode to depend on fewer packages,
not more. For example dash.el
was dropped in favor of using native
Emacs Lisp constructs.
Having said that, if your PR truly needs a new package, please make sure your PR updates all of:
- the
Package-Requires:
line inracket-mode.el
- the
deps
target inmakefile
Although Reference.md
is N/A for people using racket-mode within
Emacs, it is useful to have the features documented online, too. The
file is is generated from doc strings.
-
If you add a brand-new command,
defcustom
, ordefface
, please also add it to appropriate list inracket-make-doc.el
. -
Whenever you edit a doc string for a command,
defcustom
, ordefface
, pleasemake doc
and commit the updatedReference.md
.
Currently tests are on the light side. More are welcome.
Please do run make test
to ensure your changes pass the existing
tests. Travis CI will also do this automatically on your pull request.
Indentation is tested by comparing to a couple reference files,
example/*.rkt
.
If you change indentation intentionally, you may need to refresh each reference file:
- Open it.
- Reindent it all
- C-x h
- M-C-\
- Save it.
Font-lock is tested by comparing to a couple reference files,
example/*.rkt.faceup
.
If you change font-lock, you may need to refresh each reference file:
- Open it.
- M-x faceup-write-file