-
-
Notifications
You must be signed in to change notification settings - Fork 247
Derive the mode from prog-mode or lisp-data-mode #662
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
Comments
Isn't Line 615 in 81b67ec
Also, I did that by actually looking at what |
FWIW it's OK to use stuff from I did re-implement these functions for I don't see many references to With |
Indeed. I wasn't too keen on reimplementing the indentation engine. Thanks for the input! We mostly use Not something particularly important, especially if we hope to replace |
I've noticed on emacs-devel that Lisp-like modes weren't supposed to derive from
lisp-mode
(which is a major mode for Common Lisp), but rather fromlisp-data-mode
or directly fromprog-mode
. There's also a nice related discussion about this infennel-mode
's issue tracker (https://gitlab.com/technomancy/fennel-mode/-/issues/11). Here's the most interesting part for us:And here are the changes done by @andreyorst in
fennel-mode
to switch to prog-mode as the parent - https://gitlab.com/technomancy/fennel-mode/-/merge_requests/31 I'm guessing we can do something very similar.That's kind of related the ancient #270 - I've long felt that our original approach to derive from
lisp-mode
created just as many problems as it solved.The text was updated successfully, but these errors were encountered: