-
Notifications
You must be signed in to change notification settings - Fork 167
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
Indentation of code blocks after pressing enter on Emacs 24.5.1 #28
Comments
This issue is still occurring for me exactly as the example here above. I'm using Emacs 24.5.1 and I've tried with:
And the error occurs in every case. Is there any way I could try to determine why this is still happening on my system despite the fix? |
I added a regression test when this issue came up, and it's still passing, so I don't think it's the same issue with As for your local configuration: I'd first check to see if something is overriding your return key: M-x describe-key RET. It should be bound to |
Many thanks for your help. |
Maybe it's me, I'm new to markdown mode on Emacs. I never used it before, so I can't compare with a previous version of Emacs. But it seems that indentation of code blocks is broken.
Let's say I want to write a code block, I hit
Tab
, then type my first line. It gives:Now, when I hit enter, my line is brought back to the beginning of the line:
Does anybody else experience that ? I saw that ticket #16 looks a little bit like this, maybe it's related...
Anyway, the workaround is simple: I go back to the first line, hit
Tab
to reindent, go to the second line, hitTab
to indent, write some code, hitEnter
. And at this moment the indentation remains, and I can keep on writing my code block. The problem only happens for the first line of the code block.The text was updated successfully, but these errors were encountered: