From alpine-info at u.washington.edu Sat Mar 15 08:44:21 2025 From: alpine-info at u.washington.edu (Tim Woodall via Alpine-info) Date: Sat Mar 15 08:44:27 2025 Subject: [Alpine-info] format flowed - wrapping text in editor Message-ID: <9380824f-704f-6edb-1b48-73a9ca57f32f@woodall.me.uk> 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. From alpine-info at u.washington.edu Sun Mar 16 04:32:33 2025 From: alpine-info at u.washington.edu (Carlos E. R. via Alpine-info) Date: Sun Mar 16 04:32:39 2025 Subject: [Alpine-info] format flowed - wrapping text in editor In-Reply-To: <9380824f-704f-6edb-1b48-73a9ca57f32f@woodall.me.uk> References: <9380824f-704f-6edb-1b48-73a9ca57f32f@woodall.me.uk> Message-ID: <29d5dc9c-f883-4b12-8256-b6399ca07008@telefonica.net> On 2025-03-15 16:44, Tim Woodall via Alpine-info wrote: > 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? I understand that when you use an external editor, that external editor has the control of editing. When back on Pine, the text is not changed, not reflowed unless you command it. -- Cheers / Saludos, Carlos E. R. (from 15.6 x86_64 at Telcontar) -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 209 bytes Desc: OpenPGP digital signature URL: From alpine-info at u.washington.edu Sun Mar 16 04:45:58 2025 From: alpine-info at u.washington.edu (Chime Hart via Alpine-info) Date: Sun Mar 16 04:46:03 2025 Subject: [Alpine-info] format flowed - wrapping text in editor In-Reply-To: <29d5dc9c-f883-4b12-8256-b6399ca07008@telefonica.net> References: <9380824f-704f-6edb-1b48-73a9ca57f32f@woodall.me.uk> <29d5dc9c-f883-4b12-8256-b6399ca07008@telefonica.net> Message-ID: Well Carlos-and-Tim, I think my situation is exactly an oposit. While I have 240 columns, Alpine only puts 76 on a line while composing. In my setup I have 79 but the help says 80 is max. Chime From alpine-info at u.washington.edu Sun Mar 16 06:36:52 2025 From: alpine-info at u.washington.edu (Carlos E. R. via Alpine-info) Date: Sun Mar 16 06:36:59 2025 Subject: [Alpine-info] format flowed - wrapping text in editor In-Reply-To: References: <9380824f-704f-6edb-1b48-73a9ca57f32f@woodall.me.uk> <29d5dc9c-f883-4b12-8256-b6399ca07008@telefonica.net> Message-ID: <6960be11-2545-48c5-3801-86c91a0b63e0@telefonica.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2025-03-16 at 04:45 -0700, Chime Hart via Alpine-info wrote: > Well Carlos-and-Tim, I think my situation is exactly an oposit. While I have > 240 columns, Alpine only puts 76 on a line while composing. In my setup I > have 79 but the help says 80 is max. Well, both in Alpine and Thunderbird your mail line wraps at the end of the display, ie, 180 chars. It is not hard wrap, but soft. This is the way I prefer email, actually. When replying, both TB and Pine wraps the quoted part at a much smaller size. - -- Cheers, Carlos E. R. (from openSUSE 15.6 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZ9bT9Bwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVqDgAnjQL/dyiMPBPF6B2URx0 C3k02HraAKCNqM4svzheT1YrBDlerwDohn/jbw== =NxgU -----END PGP SIGNATURE----- From alpine-info at u.washington.edu Sun Mar 16 07:26:36 2025 From: alpine-info at u.washington.edu (Tim Woodall via Alpine-info) Date: Sun Mar 16 07:26:43 2025 Subject: [Alpine-info] format flowed - wrapping text in editor In-Reply-To: <29d5dc9c-f883-4b12-8256-b6399ca07008@telefonica.net> References: <9380824f-704f-6edb-1b48-73a9ca57f32f@woodall.me.uk> <29d5dc9c-f883-4b12-8256-b6399ca07008@telefonica.net> Message-ID: <91a2284b-b79b-165b-9019-25b97723f163@woodall.me.uk> On Sun, 16 Mar 2025, Carlos E. R. via Alpine-info wrote: > On 2025-03-15 16:44, Tim Woodall via Alpine-info wrote: >> 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? > > I understand that when you use an external editor, that external editor has > the control of editing. When back on Pine, the text is not changed, not > reflowed unless you command it. > > Yes, but both alpine and my editor are told two wrap the text at 72 characters. And what I see in alpine when I view your replys is: (f-f trailing spaces are removed so this will have hard line breaks) ==== > 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. > ==== but as you can see above (in the raw email), my editor has received ==== (The literal $ replace the end of line spaces from format-flowed) >> 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. >>$ ==== and if I copy that text and then reflow the paragraph in vim with `gqap` I get ==== (with the trailing spaces manually replaced with $) >> 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. >>$ ==== The word resulting has moved line as a result of the extra quote character from what was originally on the screen in alpine, and I don't mind whether alpine leaves it on the same line or moves it to the next line, but I want to know if there's a way to stop it moving that "screen in" onto the previous line so that the lines are wrapped at 80 characters when the editor receives them instead of wrapped at 72 characters as I see on the screen in alpine. Certainly I can `gqG` and reflow the entire document in vim in three key strokes but I don't always want to reflow everything, some lines can deliberately be longer than 80 characters and that will cause vim to wrap them. And fwiw, this is what that paragraph looks like originally as received via the mailing list (again with trailing spaced replaced by $) ==== 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. ==== f-f is working nicely except for the alpine->editor transition where alpine seems to be using 80 characters to wrap f-f when it writes the (in my case /tmp/pico.) file. Tim. From alpine-info at u.washington.edu Sun Mar 16 07:49:05 2025 From: alpine-info at u.washington.edu (Tim Woodall via Alpine-info) Date: Sun Mar 16 07:49:11 2025 Subject: [Alpine-info] format flowed - wrapping text in editor In-Reply-To: References: <9380824f-704f-6edb-1b48-73a9ca57f32f@woodall.me.uk> <29d5dc9c-f883-4b12-8256-b6399ca07008@telefonica.net> Message-ID: <9dabc338-c11f-c8da-4481-526773b5faa5@woodall.me.uk> On Sun, 16 Mar 2025, Chime Hart via Alpine-info wrote: > Well Carlos-and-Tim, I think my situation is exactly an oposit. While I have > 240 columns, Alpine only puts 76 on a line while composing. In my setup I have > 79 but the help says 80 is max. > Chime > > _______________________________________________ > Alpine-info mailing list > Alpine-info@u.washington.edu > http://mailman12.u.washington.edu/mailman/listinfo/alpine-info > > Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" ... Well Carlos-and-Tim, I think my situation is exactly an oposit. While I have 240 columns, Alpine only puts 76 on a line while composing. In my setup I have 79 but the help says 80 is max. Chime Hmmm, weird, I think my version of alpine doesn't understand Format="flowed" only format=flowed. No idea if it's the capital letter or the quotes but your email didn't wrap cleanly in alpine. $ alpine -v Alpine 2.26 (DEB 649 2022-06-02) built Tue Feb 25 08:44:48 UTC 2025 on debian But if you're seeing messages wrapping at 76 characters when you reply then it does suggest that there's an option somewhere to set this but I cannot work out what it can be.