-
Notifications
You must be signed in to change notification settings - Fork 343
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
haskell-simple-indent-mode non-responsive #867
Comments
Does this happen in source code directly or only in org mode embedded
source?
|
Only in the embedded source. Indentation doesn't seem to work at all for me however (I can't just have an expression at the start of the line, it's always insistent on having it indented to some level (generally 2)). I'm not entirely sure why this is. |
Probably an interaction between org-mode's tabbing and haskell-mode. What does |
Currently, And to the org-mode tabbing issue, I enter the code block using |
We had some reports about yas causing issues. You may want to search archives. AFAIK we weren't able to find what is going on. Having said that can you try |
Sure. It doesn't lock things up, but I still get weird indentation. I.E.:
Even though I'd rather have something like
And actually, for every character I type, it indents a little bit more. |
Can you try again with 'haskell-indentation-mode'?
|
I did. That's when I the get wonky indentation. No idea why, no messages printed about it. I disable yas-minor-mode in haskell-mode, so that shouldn't be causing a problem. |
Staircase used to be due to electric-indent-mode, but that one should be
disabled by default.
Can you check if you have electric-indent-mode enabled by chance?
|
I do have it enabled (well, did). I went ahead and disabled it in Haskell mode, and it works as expected. Thanks. |
It should not be enabled as we take steps to disable it. Do you know why
did you have had it enabled?
|
It's enabled globally. Adding a hook function to purposely disable it and |
What is aggressive-indent-mode?
|
An add-on to electric-indent-mode. It indents stuff even more automatically than aggressive indent mode. I use it when writing lisp (which I do a lot). |
If you write a lot of lisp then feel invited to helping us with
haskell-mode. We could use an experienced lisper.
|
Wrong kind of lisp. I do a lot of DB and web stuff, emacs lisp is not my forte. |
Emacs lisp is tiny compared to any other lisp. Also Emacs as an execution
environment has only tiny amount of functions to use and quirks to learn.
It all fits nicely in the head at once.
|
Might as well try, but as it is, I'm learning haskell, so having someone who doesn't know the language working on its major mode doesn't seem like a good idea... |
We have quite many obvious tasks and bugs. Just look at the
well-defined-task label:
https://github.com/haskell/haskell-mode/issues?q=is%3Aopen+is%3Aissue+label%3Awell-defined-task
|
I'll think about it, but I need to take care of other things (school) first. And I'd like to get access to my primary GH account first anyways. |
When I enable haskell-simple-indent-mode, and attempt to do anything other than indent in haskell mode, emacs becomes non responsive. Hitting C-g will cause it to interrupt, and throw an error regarding undo and the undo size, when I finally get my input in the buffer, it appears backwards.
print
will appear astnirp
.The Warnings buffer shows the following:
Any suggestions/recommendations?
The text was updated successfully, but these errors were encountered: