Closed sandinmyjoints closed 4 years ago
I agree. Would you like to prepare a patch? I think the simplest solution is to add a wrap-prefix
on the error message in the error list, of the appropriate width.
Wait, actually: are you reporting this for flycheck in general, or specifically for flycheck-inline?
flycheck-inline
already wraps the text of an error, AFAIK. Do you have a screenshot where it doesn't?
Here's a screenshot:
I tried closing the left window and saw that after I did that, the text is wrapped:
I usually have two windows side by side, so wrapping in that case would be ideal!
Hmm looks like truncate-partial-width-windows
kicks in in the first screenshot. Try to set that variable to a lower value, or even nil
to disable its effect (and test that it is indeed the culprit!).
Ah, thanks, that was the problem. It was being set to t
in a long-forgotten prog-mode-hook.
When the text of a message is wider than window-body, it is cut off by the window's edge. It'd be great if the message could wrap instead!