Suresh Govindachar wrote:

  Benjamin Esham wrote:

I use the non-Vim-friendly Apple Mail for my e-mail, but I use pan
and Vim for Usenet; here is the function that's called whenever I set
filetype=usenet:

[snip]

The second function does a beautiful job of reflowing
paragraphs to  take up the entire textwidth; it was
devised by Peppe on  comp.editors.  (If anyone has
questions about how any of this works,  please ask!)

 Please explain FormatUsenetParagraph().

See <http://groups.google.com/group/comp.editors/browse_thread/thread/ a382470b98eb4671/2f6728e3d24a5d11?#2f6728e3d24a5d11>; there's a fair amount of discussion and dissection there.

 Also, where is InsertSpoilerSpace()?

Sorry for the omission.  Here it is:

function! InsertSpoilerSpace()
    call append(0, ["Spoiler Space (24 lines)", ""])
    let @a = 22
    while @a >= 2
        call append(24 - @a, [getreg("a"), ""])
        let @a = @a - 2
    endwhile
endfunction

This inserts numbers that count down the number of lines of spoiler space left. Apparently this is helpful for people who use screen readers.

HTH,
--
Benjamin D. Esham
[EMAIL PROTECTED]  |  AIM: bdesham128  |  Jabber: same as e-mail
Esperanto, the international language  ☆  http://www.lernu.net


Reply via email to