* On 2002.06.10, in <[EMAIL PROTECTED]>, * "Mike Arrison" <[EMAIL PROTECTED]> wrote: > On Mon, Jun 10, 2002 at 06:44:28PM +0200, Nicolas Rachinsky wrote: > > > macro compose 3 "<edit-from>^Umy_alias^M; \ > > > <edit-bcc>^Uother_addr^M " "Set From to my_alias" > > > > Why is there a ';', I don't think you need it. Try it without the ';' > > and remove all unneccessary whitespace (the leading in the second > > line, and the whitespace before the '\'). > > Aha! Eureka. The semicolon is allowed, but all whitespace is not.
It's probably allowed because it's the default binding for tag-prefix. You don't need anything to separate keystrokes; the commands "just know" how many strokes are "theirs". I suggest using "<kill-line>" rather than "^U" and "<enter>" rather than "^M". These are binding-independent; if you change your bindings, or need to post a macro to a list, they'll work again this way. Another approach is to split them into submacros: macro compose <esc>_3a "<edit-from><kill-line>my_alias<enter>" macro compose <esc>_3b "<edit-bcc><kill-line>other_addr<enter>" macro compose <esc>_3c "...something else..." macro compose 3 <esc>_3a<esc>_3b<esc>_3c "Set From to my_alias" -- -D. [EMAIL PROTECTED] NSIT University of Chicago