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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday, August 16 at 10:54 PM, quoth Michelle Konzack:
>>> 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 ;-)

Try something like shell-escapes, like so:

    set editor=`/usr/bin/someprogram`

I've never tried embedding them in a macro, but I don't see why you 
couldn't offhand. You just have to go through enough escaping to make 
sure they get evaluated when the macro gets executed, rather than when 
the macro gets defined.

> 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?

Talk to Rado S. about that.

~Kyle
- -- 
Every American expects and deserves clean air, and then we act on that 
belief, then we will set an example for the rest of the world to 
follow.
                                                  -- George H. W. Bush
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFE5fL8BkIOoMqOI14RAqFwAKCE5N+5B5v+yPCNzS7F891bOiSDZACeL1MW
SMYEX7xn8Ipi4/U1NsLKkyw=
=7FwE
-----END PGP SIGNATURE-----