nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Filtering mails with inc; passing arguments to Editor

2011-07-24 05:18:38
Hi Mikhail,

Joel Reicher wrote:
On Feb 3 2011, Mikhail wrote:
Is there any other solution than creating #!/bin/sh script and
putting it in $PATH?

I don't think so, no. MH expects the profile entry to be the name of
an executable; it is interpreting your "command plus args" line as a
single name with whitespaces in it.

I use this.

    $ cat ~/.vim/filetype.vim
    if exists("did_load_filetypes")
        finish
    endif
    augroup filetypedetect
        au! BufRead,BufNewFile /home/ralph/mail/drafts/* setfiletype mail
        au! BufRead,BufNewFile /tmp/ci.*.template setfiletype diff
    augroup END
    $ 

Cheers, Ralph.

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>