Damien <[EMAIL PROTECTED]> wrote on Thu, 26 Oct 2000:
> binding a key do a number of functions at once: namedly mark thread as read,
> move to next thread, then call current-middle
> 
> i've looked through the documentation but have been unable to find anything
> touching upon this issue. does mutt support 1 key -> multi functions? and if
> not, why not?

Sure it does, they're called macros. :-)  It's possible that you missed
it in the documentation since single key definitions are done with
"bind", but if you want more than one action, you have to use "macro".

So, do something like this:

  macro index <F1> <read-thread><next-new><current-middle>

or do it the traditional way, using key bindings:

  macro index <F1> \cR\t<current-middle>

(hmm, there doesn't seem to be a default key binding for current-middle,
so have to call it using the function name here too.)

Of course, <F1> is just an example, it could be any key really.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
God is REAL, unless explicitly declared INTEGER.

Reply via email to