also sprach dman <dsh8290@rit.edu> [2002.01.16.1948 +0100]:
> textwidth --
>
> Maximum width of text that is being inserted. A longer line will be
> broken after white space to get this width. A zero value disables
> this.
>
> If you have 'tw' set to 0 then no wrapping will occur automatically.
right, but i am not using textwidth for wrapping, i am using wrapmargin.
that *basically* sets textwidth to `columns - wrapmargin`. i don't know
why exactly i chose this over textwidth, but i remember having a reason.
nevertheless, wrapmargin is only used if textwidth is 0.
> In addition, the 'formatoptions' variable controls where automatic
> wrapping will be done (see :help fo-table for details on the flags).
> For mail messages you'll want to wrap normal text. For code I have
> only comments automatically wrapped.
formatoptions=tcq
> Also check the filetype of your message. (":set ft?") Vim is pretty
> good at identifying files as type 'mail', which you can set some
> autocommands for.
i know.
> That last autocommand clears the sig out of the message I reply to
> when the buffer is read. (put a literal 0x0d character in place of "^M").
also aware.
> filetype on
> filetype plugin on
> filetype indent on
dto.
> I don't see the problem. Did you ":set paste" prior to typing that
> line? Sometimes I set 'paste' so I can paste some already-formatted
> text into a buffer, and forget to unset it afterwards.
no, i checked that first. and right this second, i also can't reproduce
it. but earlier i could, and last night it almost drove me nuts.
remember your exim/spamassassin mail? my reply started out with
$HOME isn't set. and so on. and i happily typed and typed and it didn't
wrap. damn, now it did. i don't know. i just wanted to report it.
> Vi IMproved 6.0 (2001 Sep 26, compiled Dec 12 2001 15:59:22)
> Included patches: 1, 3, 2, 4-93
> Compiled by wichert@tornado
VIM - Vi IMproved 6.0 (2001 Sep 26, compiled Dec 12 2001 15:44:32)
Included patches: 1, 3, 2, 4-93
Compiled by wichert@tornado
i feel like someone is playing a joke on me. my vim is as up to date as
yours, or are you running unstable? nevertheless, yours was compiled 14
minutes and 50 seconds before mine.
*wichert*???
(i think wichert is doing this on purpose
to me, laughing into his fists! watch him,
he'll deny it...!)
--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
la lune, c'est comme les canards
il faut aimer caresser les chats
pour avoir envie d'y aller.
Attachment:
pgpPOVIAgJreE.pgp
Description: PGP signature