-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, April 7 at 02:47 PM, quoth zhang zhengquan: >> When you do not specify a simple pattern operator, mutt uses the >> value >> of $default_hook to construct the pattern. I don't know what yours is, >> but... the default value of $default_hook is "~f %s !~P | (~P ~C %s)", >> but who knows what it is on your system. It's better to be explicit: >> >> send-hook '~t a...@abc.edu' \ >> "push '<edit-cc>,o...@abc.edu<enter>'" >I put > >send-hook '~t ccl-t...@ccl.northwestern.edu' \ > "push '<edit-cc>,o...@ccl.northwestern.edu<enter>'" > >send2-hook '~t ccl-t...@ccl.northwestern.edu !~C o...@ccl.northwestern.edu' \ > "push '<edit-cc>,o...@ccl.northwestern.edu<enter>'" > >in my muttrc and when I launch mutt I have >Error in /home/zhengquan/.mutt/muttrc, line 51: push >'<edit-cc>,o...@ccl.northwestern.edu<enter>': unknown command >Error in /home/zhengquan/.mutt/muttrc, line 54: push >'<edit-cc>,o...@ccl.northwestern.edu<enter>': unknown command
Sounds like mutt didn't recognize the \ at the end of the line. (did you leave some extra spaces in there?) Try making them single lines. ~Kyle - -- Suppose ye that I am come to give peace on earth? I tell you, Nay; but rather division: For henceforth there shall be five in one house divided, three against two, and two against three. The father shall be divided against the son, and the son against the father; the mother against the daughter, and the daughter against the mother; the mother in law against her daughter in law, and the daughter in law against her mother in law. -- Prince of Peace, Jesus Christ (Luke 12:51-53) -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iEYEARECAAYFAknbvRgACgkQBkIOoMqOI17wQgCeI1/VKXJnn3u+QbY4IJYtQ3ST 14IAnRWFyvBWHOFi6YfrzSwxC4mYuDlS =MZ4h -----END PGP SIGNATURE-----