Search code examples
emacslispemacs24hy

Use repl for Hy in Emacs


I have successfully installed hy-mode from https://github.com/hylang/hy-mode. I now can open a .hy file in emacs and have syntax highlighting, and editing with paredit is a joy.

I however, don't know how to start a REPL. At the bottom of the github readme, it says:

When in hy-mode, you can launch a Hy REPL by launching a Lisp inferior process

M-x lisp-inferior-process

That function, however, is not defined for me. What else do I need to install or check to be able to use the repl for Hy?

I am currently using: GNU Emacs 24.3.1.


Solution

  • Have you tried to set inferior-lisp-program to "hy" and then doing M-x run-lisp?

    This is the standard way (or maybe just the "way I know about") of having an inferior lisp process.