>>>>> On Fri, 13 Sep 2002, "Wendy" == Wendy P. Roberts wrote:
Wendy> I've been trying to set a button called which
Wendy> automatically forwards mail using a '-form mycomps'
Wendy> without going through the editor, but so far haven't got
I have one that uses dist to send stuff from my work mail to my
home mail.  The binding looks like this:
set {bindings(key,HD_Dist_Silently -form distcomps.to-me)} <Meta-dollar>
The "HD_Dist_Silently" is a hacked up version of the proc that
does dist in exmh and is pasted in below.  It's getting old and
probably should be "resynced" with the current code.  But it
still works (on a relatively recent CVS copy of exmh)
It's also possible that there's an easier way but I hacked this
together quickly a year or more ago and when it worked I moved
if {[string compare [info command $args] $args] == 0} {
if [catch {$args $exmh(folder) $m} err] {   ;# Setup draft msg
eval {MhExec dist +$exmh(folder) $m} -nowhatnowproc $args

from localhost (jalapeno [127.0.0.1])
	by jmason.org (Postfix) with ESMTP id 4E22B16F03
	for <jm@localhost>; Mon, 16 Sep 2002 15:30:56 +0100 (IST)
from jalapeno [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Mon, 16 Sep 2002 15:30:56 +0100 (IST)
from listman.spamassassin.taint.org (listman.spamassassin.taint.org [66.187.233.211]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g8GDbTC27396 for
    <jm-exmh@jmason.org>; Mon, 16 Sep 2002 14:37:29 +0100
from listman.spamassassin.taint.org (localhost.localdomain [127.0.0.1]) by
    listman.redhat.com (Postfix) with ESMTP id A283F3EAA8; Mon, 16 Sep 2002
    09:37:56 -0400 (EDT)
from int-mx1.corp.spamassassin.taint.org (int-mx1.corp.spamassassin.taint.org
    [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 847DB3EF88
    for <exmh-users@listman.redhat.com>; Mon, 16 Sep 2002 09:35:01 -0400 (EDT)
(from mail@localhost) by int-mx1.corp.spamassassin.taint.org (8.11.6/8.11.6)
    id g8GDYtY31245 for exmh-users@listman.redhat.com; Mon, 16 Sep 2002
    09:34:55 -0400
from mx1.spamassassin.taint.org (mx1.spamassassin.taint.org [172.16.48.31]) by
    int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g8GDYtk31241 for
    <exmh-users@redhat.com>; Mon, 16 Sep 2002 09:34:55 -0400
from opt.nrl.navy.mil (opt.nrl.navy.mil [132.250.123.123]) by
    mx1.redhat.com (8.11.6/8.11.6) with SMTP id g8GDI1w03532 for
    <exmh-users@redhat.com>; Mon, 16 Sep 2002 09:18:01 -0400
from opt.nrl.navy.mil (hoppel@localhost) by opt.nrl.navy.mil
    (8.11.6/8.11.6) with ESMTP id g8G1aQk05815 for <exmh-users@redhat.com>;
    Sun, 15 Sep 2002 21:36:26 -0400
From exmh-users-admin@redhat.com  Mon Sep 16 15:30:56 2002