On Thu, Sep 20, 2001 at 09:21:52 -0400, David T-G wrote:
> Hi, all --
>
> ...and then David T-G said...
> %
> % Hokay, so I've given this a try and it works -- once. I can \cx to
> % rotate and \cx to unrotate but then it stops. My muttrc has
> %
> % macro pager ,@r13on "<enter-command>set
>display_filter=$HOME/local/bin/rot13\n<enter-command>macro pager \\cx
>,@r13off\n<display-toggle-weed><display-toggle-weed>"
> % macro pager ,@r13off "<enter-command>set display_filter=\n<enter-command>macro
>pager\\cx ,@r13on\n<display-toggle-weed><display-toggle-weed>"
> % macro pager \cx ,@r13on "Toggle ROT13 decoding"
You can do it a little shorter as several commands can be entered at
the same command line. "\n<enter-command>" can be replaced by ";" in
the on and the off macros.