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

Hangs when rhombus lexer errors #728

Open
greghendershott opened this issue Nov 13, 2024 · 1 comment
Open

Hangs when rhombus lexer errors #728

greghendershott opened this issue Nov 13, 2024 · 1 comment
Labels
bug racket-hash-lang-mode Issues using racket-hash-lang-mode instead of "classic" racket-mode for edit buffers

Comments

@greghendershott
Copy link
Owner

greghendershott commented Nov 13, 2024

I get the hangs particularly when the lexer errors. See racket/rhombus#573 for related info.

Originally posted by @samth in #726 (comment)

@greghendershott greghendershott added bug racket-hash-lang-mode Issues using racket-hash-lang-mode instead of "classic" racket-mode for edit buffers labels Nov 13, 2024
@greghendershott
Copy link
Owner Author

Although the ultimate, best fix will be for the lexer not to error, I'll look at handling lexer exceptions more smoothly than freezing.

(It might not be much smoother -- racket-hash-lang-mode depends on the lexer for nearly everything, from navigation to coloring. I might need to change the buffer's major mode back to plain old prog-mode or racket-mode. Which would still suck, just not as badly as freezing.

In any case my goal should be to reflect enough exception details up into an Emacs error message, so users understand and we know roughly what to do, where.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug racket-hash-lang-mode Issues using racket-hash-lang-mode instead of "classic" racket-mode for edit buffers
Projects
None yet
Development

No branches or pull requests

1 participant