-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
As opposed to racket-eldoc-function. By volume, most of this commit is documentation explaining why. Closes #181. Closes #199.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -199,6 +199,27 @@ init file: | |
(require 'smartparens-config) | ||
``` | ||
|
||
### eldoc | ||
|
||
By default racket-mode sets `eldoc-documentation-function` to `nil` -- | ||
no `eldoc-mode` support. You may set it to `racket-eldoc-function` in | ||
a `racket-mode-hook` if you really want to use `eldoc-mode` with | ||
Racket. But it is not a very satisfying experience because Racket is | ||
not a very "eldoc-friendly" language. Although racket-mode attempts | ||
to discover argument lists, contracts, or types this doesn't work in | ||
many common cases: | ||
|
||
- Many Racket functions are defined in `#%kernel`. There's no easy way | ||
to determine their argument lists. Most are not `provide`d with a | ||
contract. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
greghendershott
Owner
|
||
|
||
- Many of the interesting Racket forms are syntax (macros) not | ||
functions. There's no easy way to determine their "argument | ||
lists". | ||
This comment has been minimized.
Sorry, something went wrong.
cpitclaudel
Contributor
|
||
|
||
A more satisfying experience is to use `racket-describe' or | ||
`racket-doc'. | ||
|
||
## Documentation | ||
|
||
Within Emacs, use the usual help functions. | ||
|
Is there an existing racket bug report about this?