Re: [Mutt] Re: [Mutt] Re: Long subject lines

2018-08-19 Thread David Woodfall
On Sunday 19 August 2018 18:38,
Mihai Lazarescu  put forth the proposition:
> On Sunday, August 19, 2018 at 14:57:20 +0100, David Woodfall wrote:
>
> > On Sunday 19 August 2018 13:58, Mihai Lazarescu  put 
> > forth the proposition:
> >
> > > BTW, piping the message through "formail -c" would
> > > concatenate continued fields in the header.
> >
> > Can I add a pipe to the editor command somehow, or how would
> > I go about it?
>
> I'd do the pipe in vim — you were using vim, right? Something like:
>
> autocmd BufRead /tmp/mutt-* silent! normal ggV}k!formail -fc^M}dd
>
> where ^M is actually the ASCII 13 Ctrl-M (carriage return) control character.
>
> Mihai
>

OK. Thanks.

Dave

--

'Mounting' is used for three things: climbing on a horse, linking in a
hard disk unit in data systems, and, well, mounting during sex.
  -- Christa Keil

.--.  oo
   ()//
~'


Re: [Mutt] Re: [Mutt] Re: Long subject lines

2018-08-19 Thread Mihai Lazarescu

On Sunday, August 19, 2018 at 14:57:20 +0100, David Woodfall wrote:


On Sunday 19 August 2018 13:58, Mihai Lazarescu  put forth 
the proposition:

> BTW, piping the message through "formail -c" would
> concatenate continued fields in the header.

Can I add a pipe to the editor command somehow, or how would
I go about it?


I'd do the pipe in vim — you were using vim, right? 
Something like:


autocmd BufRead /tmp/mutt-* silent! normal ggV}k!formail -fc^M}dd

where ^M is actually the ASCII 13 Ctrl-M (carriage return) 
control character.


Mihai