Correct syntax of send hook

2014-05-08 Thread Guy Gold
Greetings List. I'm trying to add this command: vim -c ':r !cat /tmp/file' to be used in a send hook : send-hook ~t...@domain.com set editor= vim ':r !cat /tmp/bla' The contents of /tmp/file should then be 'cat ' into the new email. While the above works fine from the main declaration in my

Re: Correct syntax of send hook

2014-05-08 Thread Christian Brabandt
Hi Guy! On Do, 08 Mai 2014, Guy Gold wrote: Greetings List. I'm trying to add this command: vim -c ':r !cat /tmp/file' to be used in a send hook : send-hook ~t...@domain.com set editor= vim ':r !cat /tmp/bla' The contents of /tmp/file should then be 'cat ' into the new email.

Re: Correct syntax of send hook

2014-05-08 Thread Guy Gold
On Fri,May 09 12:24:AM, Christian Brabandt wrote: I am surprised, this works for your normal editor command. From my understanding, Vim should try to open 2 files, namely ':r !cat /tmp/bla' and the /tmp/mutt-... (which is your actual mail template. To make this work, you should at least

[no subject]

2014-05-08 Thread Shawn Zaidermann
approve 48zvVL unsubscribe mutt-dev shawnzaiderm...@gmail.com