On Sat, Apr 17, 2010 at 6:51 PM, Brian Ryans <brian.l.ry...@gmail.com> wrote: > Quoting Asif Iqbal on 2010-04-17 12:47:36: >> Hi All >> >> Our company policy is to forward the spam as an attachment to company >> abuse address. >> >> So, I am doing all the following 6 steps to do just that >> >> f <hit this in index to forward> >> To: <type the abuse address at this prompt> >> Subject: the long message <hit enter to accept as it is> >> Forward as attachment? <type yes> >> <type :wq exit vim editor> >> <hit y to send it> >> >> Is it possible to bind all these steps to one key like for example `S' >> in index ?
so far I have done this macro index,pager,compose \es "<forward-message> iqb...@qwestip.net<enter><enter><enter> <send-message>" I am stuck at the step `:wq' when at vim editor. How do I automate that > > Yes, it's possible. You're looking for macro functionality. Please see > [1]. A tip for macro usage, from experience: When writing macros, don't > use specific keys, but use function names instead. That's also covered > in the manual. > > Also, I don't know your specific company policy, but all the abuse desks > I've worked with ask for a full copy of the message. You'll want to > bounce it to your company's abuse desk if company policy requires all > headers to be intact. > > [1] /usr/share/doc/mutt/html/configuration.html > > Offtopic: _LOVE_ your sig. > > -- > _ Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 . > ( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com ..: > X ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org > / \ Any technology distinguishable from magic is insufficiently advanced > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkvKO3EACgkQCtCwFMESE9CjvQCdGY2ZMAcuScJnKeIEiFztjP6P > BLUAoIDY2CHYpFMNoZnKlS5yumu1hR57 > =l9qk > -----END PGP SIGNATURE----- > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?