embark icon indicating copy to clipboard operation
embark copied to clipboard

Maybe disable visual-line-mode?

Open apc opened this issue 2 years ago • 3 comments

If you enable global-visual-line-mode like I do (perhaps unwisely), Embark collect buffers don't look great:

image

Is there a reason not to ensure visual-line-mode is off in Embark collect buffers?

Thanks again for Embark!

apc avatar Dec 06 '23 03:12 apc

Embark neither enables nor disables visual-line-mode in any of its buffers, leaving that to user preference.

oantolin avatar Dec 06 '23 05:12 oantolin

Sorry, I should have been clearer. The problem I think is due to the fact that consult (or is it embark-consult?) inserts these separators between different consult sources, which get awkwardly truncated in Embark collect buffers when global-visual-line is turned on.

image

But maybe this is as intended?

I'd have thought it'd be nicer to have the wrapping happen after the name/title of the different sources, but this may just be a matter of idiosyncratic taste.

apc avatar Dec 06 '23 15:12 apc

That's not intended, but I may not be able to fix it, the display engine can be tricky. I'll look into it.

oantolin avatar Dec 06 '23 16:12 oantolin