Re: Problems with Emacs mode for Nim

2019-11-17 Thread Vindaar
Be that as it may, the fact remains that nim-mode is written in elisp. ;) I don't even think these changes are hard at all, but I don't know my way around how to find the code responsible for those indentations without studying all of nim-mode first.

Re: Problems with Emacs mode for Nim

2019-11-17 Thread edu500ac
As far as I know, Vindaar, it is possible to program Emacs in any language through the Emacs Dynamic Mode. I believe that even in Nim. It is also possible to write extensions in neovim for any language, although the feature works better in the case of dynamic languages, such as Common Lisp, Hask

Re: Problems with Emacs mode for Nim

2019-11-16 Thread Vindaar
You're right that there's a couple of examples where the indentation of nim-mode is all over the place and this is one of them. I've been meaning to take a look at this too, but lack of time and not being that experienced with elisp means I haven't done so. Something like this is another:

Problems with Emacs mode for Nim

2019-11-16 Thread edu500ac
Students who are trying to learn Nim complain that Emacs modes for Nim do not work flawlessly, and are huge. These students tried nimrod-mode and nim-mode. Here are a small sample of the problems that they encountered: 1 -- nimrod-mode does not highlight multiline comments. 2 -- nim-mode often

Re: Problems with Emacs mode for Nim

2019-11-16 Thread edu500ac
By the way, I posted these comments about nimrod-mode and nim-mode because one often asks why Marcus and Luciano are using lem with their students.