• format flowed - wrapping text in editor

    From Tim Woodall@21:1/5 to All on Sat Mar 15 11:20:03 2025
    Hi,

    I have the following setting in my (remote) pinerc:

    Viewer Margin Right = 72c

    Not sure it's relevant but in vim I have
    textwidth=72
    formatoptions=tcqlw

    This means that format-flowed emails wrap at 72 characters on my screen
    in alpine but when I reply to one of these emails the resulting text
    gets wrapped at column 80 in vim.

    I can then tell vim to reflow to get back to 72 character widths but is
    there a config setting somewhere to tell alpine to give vim the 72 char
    wrapped text instead of the 80 char wrapped text?

    Tim.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eben King@21:1/5 to Tim Woodall on Sat Mar 15 16:00:01 2025
    On 3/15/25 05:49, Tim Woodall wrote:

    This means that format-flowed emails wrap at 72 characters on my screen
    in alpine but when I reply to one of these emails the resulting text
    gets wrapped at column 80 in vim.

    I can then tell vim to reflow to get back to 72 character widths but is
    there a config setting somewhere to tell alpine to give vim the 72 char wrapped text instead of the 80 char wrapped text?

    Can you have Alpine call vi with the appropriate options to do that,
    instead of just calling naked vi?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tim Woodall@21:1/5 to Eben King on Sat Mar 15 16:50:01 2025
    On Sat, 15 Mar 2025, Eben King wrote:



    On 3/15/25 05:49, Tim Woodall wrote:

    This means that format-flowed emails wrap at 72 characters on my screen
    in alpine but when I reply to one of these emails the resulting text
    gets wrapped at column 80 in vim.

    I can then tell vim to reflow to get back to 72 character widths but is
    there a config setting somewhere to tell alpine to give vim the 72 char
    wrapped text instead of the 80 char wrapped text?

    Can you have Alpine call vi with the appropriate options to do that,
    instead of just calling naked vi?


    I'm not sure, I hadn't even thought of doing that. Thanks for the idea.

    Apologies, I'd meant to send this to the alpine-info mailing list I've
    obvously made a mistake configuring my rule and I've put in the wrong
    default too address. I was wondering where the email had gone!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)