Georg Dahn wrote:
> --- Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> > It's mentioned at "gq". Any other place it should be mentioned?
>
> I would say, here:
>
> :h fo-table
>
> just scroll down to
>
> -----
> With 't' and 'c' you can specify when Vim performs auto-wrapping:
> value action ~
> "" no automatic formatting (you can use "gq" for manual formatting)
> "t" automatic formatting of text, but not comments
> "c" automatic formatting for comments, but not text (good for C code)
> "tc" automatic formatting for text and comments
>
> Note that when 'textwidth' is 0, Vim does no formatting anyway (but
> does
> insert comment leaders according to the 'comments' option).
> -----
>
> to me, this is wrong, because if autoformatting wraps at 80, if
> textwidth is zero, then it is wrong to say, that Vim does no formatting
> in this case. I think, that a remark is really missing here.
When does Vim do automatic formatting when 'textwidth' is zero? I don't
see an obvious situation. Looking at the code it doesn't seem to be
possible.
> It may be senseful at the following places, too, although I don't
> consider it as important as in the above case:
>
> :help textwidth
> :ins-textwidth
>
> a remark could be fine, too. Especially here: ins-textwidth
>
> -----
> If you set 'textwidth' to 0, this feature is disabled.
> -----
>
> If autoformatting 'a' and the 't' flag of the formatoptions are
> enabled, this is not true.
I don't see why.
> Note, that I really searched the help files before I wrote to the
> mailing list. What I expected after reading the help files, was a
> wrapping at the right border of the window.
You still haven't told us how you cause the formatting to take place.
--
How To Keep A Healthy Level Of Insanity:
14. Put mosquito netting around your work area. Play a tape of jungle
sounds all day.
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///