Skip to content
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

Lispy does not work in lfe-inferior-mode #592

Open
pierre-rouleau opened this issue Apr 25, 2021 · 1 comment
Open

Lispy does not work in lfe-inferior-mode #592

pierre-rouleau opened this issue Apr 25, 2021 · 1 comment

Comments

@pierre-rouleau
Copy link

I tried using using lisp-mode in several REPL including emacs-lisp-inferior-mode, lisp-inferior-mode, sly-mrepl-mode and that works fine.

I also tried to us emit in lfe-inferior-mode (for the LFE - Lisp Flavoured Erlang - repl) but that fails. It reports unbalanced parens and the REPL no longer works until the lisp-mode is turned off.

Tested on:

  • Emacs 26.3
  • Emacs 27.2
  • Both with LFE 1.3

LFE displays ASCII art when it starts. I wonder if that is part of the problem. It shows the following:

Erlang/OTP 23 [erts-11.1.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] [dtrace]

   ..-~.~_~---..
  (      \\     )    |   A Lisp-2+ on the Erlang VM
  |`-.._/_\\_.-':    |   Type (help) for usage info.
  |         g |_ \   |
  |        n    | |  |   Docs: http://docs.lfe.io/
  |       a    / /   |   Source: http://github.com/rvirding/lfe
   \     l    |_/    |
    \   r     /      |   LFE v1.3 (abort with ^G)
     `-E___.-'

lfe> 

The failure reports: Scan error: "Unbalanced parentheses", 408, 462
The location 408 is the last | just before the LFE v1.3 (abort with ^G) and location 462 is the opening paren of the first lisp form entered.

Unfortunately LFE has no option to disable the ASCII art. I'll have to get the source and try disabling that.

Any idea what else I could try?

@pierre-rouleau
Copy link
Author

I have been able to prevent the banner to be printed (the latest LFE development version has a -nobanner switch). The problem remains. Lispy also does not work in lisp-inferior-mode, even though it works in emacs-lisp-inferior-mode (ielm) and in SLY (have not yet tested in Slime). More investigation is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant