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

Re: How to reload a message from a macro, if "display_filter" has changed



Am 2006-08-11 13:36:37, schrieb Kyle Wheeler:

> macro pager ,T "<enter-command>set display_filter=\"t-prot -cemtwk 
> -M=mutt\"<enter><exit><display-message><enter-command>macro pager t ,t 
> \"toggle tofu filter\"<enter>" "filter message for tofu"
> macro pager ,t "<enter-command>unset 
> display_filter<enter><exit><display-message><enter-command>macro pager 
> t ,T \"toggle tofu filter\"<enter>" "don't filter message for tofu"
> macro pager t ,t

Nice Idea...

> >Is it possibel, to GET a settings from a macro and pipe it into a
> >command?
> 
> Nope. What are you trying to do?

E.g. if you type 'set editor=<tab>' then it autocomplete the setting
Now I was thinking on a trick to catch it from an external program ;-)

> >Since I can source the muttrc from bash, its realy funny...  to
> >change the settings from within a macro and Xdialog, write it back
> >into the muttrc using sed and push setting on STDOUT.
> 
> Egads.

I am coding a X window tool using "Xdialog" for configuring mutt from
a GUI.  My only problem is, how to group the 290 variables from muttrc?

pgp, smime, imap and pop3 are easy to group, but the rest?

Note:   I am using "Xdialog --treeview" but ALL 290 dialogs can called
        Stand-Alone.  =8O

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)