Rocco --

...and then Rocco Rutte said...
% 
% Hi,

Hello!


% 
% On Wed, Mar 20, 2002 at 06:11:22:PM -0700 Steve Talley wrote:
% 
% There's only one thing I really miss: I'd like to be abled to define my
% own commands. Something like:
% 
%      define <my-command-1> '<mutt-command-1><mutt-command-2><enter>'
%      define <my-command-2> '<mutt-command-1><my-command-1><mutt-command-3><enter>'
% 
% in my .muttrc to bind to keys instead of building ugly looking
% statements based on 'macro'.

If you accept for the moment that such a define feature would either be
limited to defining global commands or have to take a context parameter
(pager, index, compose, ...) to set the scope of the command, how are the
two at all different?

  macro index ,filter 'set editor=filter;<edit-message>;set editor=vim'
  define index ,filter 'set editor=filter;<edit-message>;set editor=vim'

Looks pretty similar to me...  What am I missing?  Is my precondition
somehow off base?


% 
% Regards, Rocco


:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg25856/pgp00000.pgp
Description: PGP signature

Reply via email to