Am I the only one that thinks it's crazy #emacs doesn't let you specify a "fill-column" for visual line mode?

If my window is very wide, I don't want the text to span the width!

@beetle_b I use olivetti-mode for this. It might not be quite ideal but it helps.

@benjamineskola Some questions:

1. I assume it is only visual, and not modifying the content, right?

2. If I want the fill-column to be roughly 80 characters, what happens if I shrink my window to a smaller width?

3. I don't really want it centered. I assume I can disable that in the code easily.

@beetle_b Yes, it’s only visual. I use it for markdown files that I don’t want hard-wrapped but that are inconvenient to read in a wide window.

I haven’t tried experimenting with it enough to answer the other two questions, sorry.

@benjamineskola

OK, seems olivetti will work. It doesn't have an option NOT to center, but I had an LLM generate an advice around it to make the left margin 0 and add to the right margin.

Thanks!

@beetle_b @benjamineskola There is also the aptly-named "visual-fill-column" package.
@thetemp that’s useful, I’ve just replaced olivetti with it, thanks!

@benjamineskola @thetemp It's funny, I thought ... what are you on about, GNU #Emacs does that!

Then I had a look at my init file (kept with Org babel) and there it was:

use-package visual-fill-column

etc.

It's been there so long that I'd basically forgotten about it.