Re: delayed variable expansion within macro

2016-02-06 Thread Raph
On Sat, Jan 30, 2016 at 03:13:10AM +0100, Gabriel Philippe wrote: > On Tue, Oct 27, 2015 at 5:45 PM, Raph wrote: > > The issue is the expansion of $from which happens during the evaluation of > > the > > double-quoted string. This is too soon. It would have to be del

Re: pgp_getkeys_command and conditional key fetching

2016-02-06 Thread Raph
On Fri, Jan 29, 2016 at 03:43:18PM +, Darac Marjal wrote: > I don't know if this helps, but I have the following options in my > ~/.gnupg/gpg.conf: Didn't know about the auto-key-locate, I thought it would fit my need. But it seems it does not affect the `--search-keys ` syntax. Since I want

Re: delayed variable expansion within macro

2016-01-29 Thread Raph
please, let me up this one. On Tue, Oct 27, 2015 at 01:45:49PM -0300, Raph wrote: > Hi, > I'm trying to change $from and $sendmail when in the compose menu. > > For this, in my muttrc I use: > > set from=foo sendmail=foo > > color status yellow blue > > mac

pgp_getkeys_command and conditional key fetching

2016-01-29 Thread Raph
Hi, I want to pass custom option to the way unknown keys are fetched (custom keyring and a couple of `expect` things) For this I define `pgp_getkeys_command`. The issue is that as soon as it's defined, it's command (approximately `gpg --search-keys ''`) is run every time, *even if the key is alr

delayed variable expansion within macro

2015-10-27 Thread Raph
Hi, I'm trying to change $from and $sendmail when in the compose menu. For this, in my muttrc I use: > set from=foo sendmail=foo > color status yellow blue > macro compose "L" "source > ~/other-account$from" Where ~/other-account contains > set from=bar sendmail=bar > color status red blue > mac

Re: imap_idle and index refresh question

2010-11-26 Thread Raph
On Mon, Nov 22, 2010 at 08:51:15AM -0800, Michael Elkins wrote: > On Sun, Nov 21, 2010 at 05:34:04PM +0100, Raph wrote: > >I wanted to try imap_idle=yes, with gmail. > >I unset mail_check and timeout, then > > These two variables are integers, not booleans, and thus y

imap_idle and index refresh question

2010-11-21 Thread Raph
Hi, I wanted to try imap_idle=yes, with gmail. I unset mail_check and timeout, then set imap_passive and imap_idle to 'yes'. I run tcpdump to see what happens (gmail TLS though) I saw that when sending a new email (from another account), gmail send a packet to mutt (which reply), but sadly, the in