Re: macro help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, June 2 at 11:25 AM, quoth johns@xxxxxxxxxxxxxxx:
> what i'd like to do is to be able to forward a mail somewhere with
> one keypress. i've got everything working, but when mutt brings up
> my editor- it loses control and the macro stops.
That's easy: change your editor so that you don't lose control.
> i don't want to edit these messages, just send them on. they need to
> be in my inbox, though, because it is a difficult programming
> project to differentiate between spam and ham.
>
> so this is the macro i have now:
> macro index \cb
> <forward-message>spam<enter><enter><send-message><delete-message>
Try this (all one line, of course):
macro index \cb "<enter-command>set
editor=/bin/true<enter><forward-message>spam<enter><enter><send-message><delete-message><enter-command>set
editor=$EDITOR<enter>"
~Kyle
- --
And thou shalt smite the house of Ahab thy master, that I may avenge
the blood of my servants the prophets, and the blood of all the
servants of the LORD, at the hand of Jezebel. For the whole house of
Ahab shall perish.
-- Bible, II Kings (9:7-8)
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFEgQVeBkIOoMqOI14RAp03AJ9L1IYwpbvAVfaZufZtktI7rcuweACdFFVn
ESfI6D7flm+pCyw0z40xqiM=
=NIh8
-----END PGP SIGNATURE-----