Wrap long text
sandinmyjoints opened this issue · comments
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!
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?
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.