<<< Date Index >>>     <<< Thread Index >>>

Re: detect from mailcap whether called for view or reply



Cameron Simpson wrote:  [Fri Jan 30 2009, 07:35:27PM EST]
> You could get your reply keystroke macro to set some state before commencing
> the reply, for example. Untested (and this hould be one line):
> 
>   macro index,pager r '<shell-escape>touch 
> $HOME/var/flag/80-cols<enter><reply><shell-escape>rm -f 
> $HOME/var/flag/80-cols<enter>'

Heh, I'd briefly thought about this, just couldn't stomach
implementing it.  Thanks for the suggestion. :-)

> This woud be a lot slicker if mutt had a setenv/unsetenv command.

That's what I'll look into next, thanks.