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

CTRLF used with adaptive-wrap.el can cause emacs to hang #104

Open
kings2u opened this issue Oct 31, 2021 · 1 comment
Open

CTRLF used with adaptive-wrap.el can cause emacs to hang #104

kings2u opened this issue Oct 31, 2021 · 1 comment

Comments

@kings2u
Copy link

kings2u commented Oct 31, 2021

Emacs freezes at a certain spot in my init.el file while using CTRLF on my laptop. I realized this was caused by the smaller laptop display when I couldn’t reproduce the issue on my desktop, whose screen has more room to work with. The real cause of the freeze turns out to be adaptive-wrap.el. It shoves the indentation rightwards and causes CTRLF to get choked at a particularly indented part of my init file:

image

You can see how the indentation caused by adaptive-wrap.el nearly reaches the right edge of the window. CTRLF is not the only package that hangs if it finds a match in the region; I’ve also seen consult-line freeze emacs at this same part of my init file.

I understand if this problem is solely with adaptive-wrap but thought I’d raise the issue in case there is an easy fix on your end. Thank you so much!

@raxod502
Copy link
Member

Huh, interesting, I don't know offhand why that might be. Thanks for the report, although unfortunately I don't have a quick resolution.

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

No branches or pull requests

2 participants