Mike Schiraldi wrote: > > Perhaps something as simple as renaming the edit-message function to > > tweak-message, telling it to use $tweak_prog which defaults to $editor > > if $t_p is undefined, and explaining in the manual why tweak-message is > > bound to 'e' would do it. > > How about just adding a command called <edit-with>? It prompts "Edit with > command: " and then calls the <edit>, but with your command as the editor. > > Then you could say: > > macro index ^ "<edit-with>filter.pl\n" > > and have your one-key filter.
Exactly! I was calling it <filter-message> but this is exactly how it should work! This way you could write much simpler (like the above) macros instead of setting/resetting $editor. Steve