On Thu, May 06, 1999 at 10:13:48PM +0800, [EMAIL PROTECTED] wrote:
> What I did was try this macro:
> macro index I "c=<Tab><Tab>`JAY=j$JAY ; echo $JAY`"   
> I exported JAY through all my initialization files for my login
> and inter/active shells, but it still doesn't work.

I think this won't work because you change the value of the variable
only in a subshell (note that ` create a subshell) and thus mutt's
envirnoment doesn't see the change. But you might try somethign like:

macro index I "c=<Tab><Tab>`echo -n j>>$HOME/.jay;cat $HOME/.jay`"      

Which uses a file to stor the 'j's. You'd have to clear this file before
starting mutt, though.

CU,
    Sec
-- 
Dennis Ritchie:  "So fsck was originally called something else"
Question:        "what was it called?"
Dennis Ritchie:  "Well, the second letter was different."

Reply via email to