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

Entering text before a guide removes style. #78

Open
ColemanGariety opened this issue Mar 23, 2020 · 5 comments
Open

Entering text before a guide removes style. #78

ColemanGariety opened this issue Mar 23, 2020 · 5 comments
Labels

Comments

@ColemanGariety
Copy link

You can put your cursor on a guide and insert text before the guide, and the guide will lose its style. It doesn't appear to save along with the buffer, but it looks like it will, because it moves with text and does not go away with the other indent guides.

@ColemanGariety
Copy link
Author

Possibly identical to #70

@DarthFennec
Copy link
Owner

Similar to #70, but not necessarily identical. This is some sort of bug. The mode is written so that when you insert text before a guide, the guide is removed entirely. I expect this is happening for the same reason as your other issue, #77 (whatever that reason might be). So, same questions as I asked there: Does this happen only in specific situations, or any time you insert text before a guide? Does it work properly for you if you use an empty emacs configuration, where only this mode is loaded? There might be some conflict in your configuration that's causing it.

@ColemanGariety
Copy link
Author

@DarthFennec I can reproduce it with an empty config + web-mode. It happens any time you insert text before a guide, as long as web-mode is enabled in that buffer. web-mode is rather bloated, but it's currently the only way to get tsx file highlighting in emacs, so it looks like it will remain a major player in the emacs ecosystem for a while.

@DarthFennec
Copy link
Owner

In that case it probably is related to #70, since they're both web-mode exclusive. I'll look deeper into web-mode and see if I can find anything weird. Thanks.

@ColemanGariety ColemanGariety changed the title Entering text before a guide remove style. Entering text before a guide removes style. Mar 30, 2020
@someonewithpc
Copy link

I'm also seeing this behaviour in emacs-lisp-mode, with Doom Emacs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants