Re: flowed text (was: Adding delsp=yes to Content-Type)
On Wed, Aug 28, 2019 at 01:37:02PM -0700, Kevin J. McCarthy wrote: Mutt doesn't add the trailing spaces. However, if you are replying to a flowed message, they won't be removed. Whether to reflow the quoted content is up to you. There may be some cases where it's not appropriate to do so. This makes sense, now that you mention it. It wouldn't be appropriate to automatically reflow code blocks, etc. Thanks for the clarification. Cheers, -- José María (Chema) Mateos || https://rinzewind.org/
Re: flowed text (was: Adding delsp=yes to Content-Type)
On Thu, Aug 22, 2019 at 08:24:30PM -0400, José María Mateos wrote: I'm back to trying to get flowed mode working for me, but I'm finding something funny: mutt is not adding the trailing space to every line when quoting. Mutt doesn't add the trailing spaces. However, if you are replying to a flowed message, they won't be removed. Whether to reflow the quoted content is up to you. There may be some cases where it's not appropriate to do so. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Re: flowed text (was: Adding delsp=yes to Content-Type)
On Thu, Aug 22, 2019 at 08:24:30PM -0400, José María Mateos wrote: On Sun, Jul 07, 2019 at 10:02:51AM -0400, José María Mateos wrote: And, as far as I can tell, this cannot be done correctly with flowed text. Plus sometimes I send e-mails to lists that need to copy & paste code and one needs to be extra careful with that. In the end, I didn't find any obvious advantage to the flowed format (apart from the fact that, yes, it degrades gracefully when one's reading the e-mail on a phone or something like that) and I went back to this option. I'm back to trying to get flowed mode working for me, but I'm finding something funny: mutt is not adding the trailing space to every line when quoting. I would have assumed this is done automatically, should I use my editor to reformat the relevant quotations again? And on top of that I forgot to set the proper vim variables to add trailing spaces to my own lines, so obviously my previous message didn't flow at all. Cheers, -- José María (Chema) Mateos || https://rinzewind.org
Re: flowed text (was: Adding delsp=yes to Content-Type)
On Sun, Jul 07, 2019 at 10:02:51AM -0400, José María Mateos wrote: And, as far as I can tell, this cannot be done correctly with flowed text. Plus sometimes I send e-mails to lists that need to copy & paste code and one needs to be extra careful with that. In the end, I didn't find any obvious advantage to the flowed format (apart from the fact that, yes, it degrades gracefully when one's reading the e-mail on a phone or something like that) and I went back to this option. I'm back to trying to get flowed mode working for me, but I'm finding something funny: mutt is not adding the trailing space to every line when quoting. I would have assumed this is done automatically, should I use my editor to reformat the relevant quotations again? Cheers, -- José María (Chema) Mateos || https://rinzewind.org
Re: flowed text (was: Adding delsp=yes to Content-Type)
On Sun, Jul 07, 2019 at 09:59:15AM +1000, Cameron Simpson wrote: > I'm curious about your experiments with composing flowed text. I'm > using vim invoked thus: > > vim \ > -c 'silent 1,/^$/s/ *$//' \ > -c 'set filetype=mail' \ > -c 'set formatoptions=waqj' > > which produces a ... workable experience. It is a little prone to > minor breakage and I do go back to check for the trailing spaces used > to mark flowed lines. > > I'd be happy to find improvements. > > What did you try, and how did it fail? What was good? Right now this is my vim configuration for mail (not flowed, but fixed-with): setl tw=72 setl fo=watqj setl nojs setl nosmartindent setl noautoindent " Mark trailing spaces, so we know we are doing flowed format right "match ErrorMsg '\s\+$' " Better way "setl list set formatprg=par\ 72q Right now this makes for a quite pleasant experience too; I have to reflow replies manually so that par does its magic, but that's fine. I stopped using flowed format because I like doing stuff like this: 1. A list, in which the paragraph gets aligned to the first letter of the block, so it's more noticeable. Otherwise it just looks like a regular paragraph with a number at the beginning. And, as far as I can tell, this cannot be done correctly with flowed text. Plus sometimes I send e-mails to lists that need to copy & paste code and one needs to be extra careful with that. In the end, I didn't find any obvious advantage to the flowed format (apart from the fact that, yes, it degrades gracefully when one's reading the e-mail on a phone or something like that) and I went back to this option. Cheers, -- José María (Chema) Mateos || https://rinzewind.org/