Re: set fill 72 have no effect

Satoshi Yoshida <[email protected]> Sun, 17 Jul 2022 17:45:24 +0900
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
On Sun, Jul 17, 2022 at 09:45:47AM +0200, Benno Schulenberg wrote:
 
> Setting 'fill' doesn't mean that displayed lines will not be longer than
> the given number.  It just means that lines will be *broken* at or before
> that point (_when possible_) when you edit them and hard-wrapping is on.
> (If the line does not contain any blanks, it will not be broken anywhere.)

Now I understand.
 
> To enable automatic hard-wrapping, use also 'set breaklonglines'.  (Since
> version 4.0 hard-wrapping is no longer the default.)

This is the answer I wanted.
 
> Or maybe you want something like 'set softwrap'?  It will "soft wrap" the
> text at the right edge of the screen.  (There is no option to specify at
> which width to soft wrap.)  Use also 'set atblanks' if you want to wrap
> only at whitespace (when possible).

I will use these settings someday I need. Thank you very much.

-- 
Satoshi Yoshida