Re: notmuch-mutt: Use of uninitialized value.

Subject: Re: notmuch-mutt: Use of uninitialized value.

Date: Thu, 14 Feb 2013 10:13:36 +0100

To: notmuch@notmuchmail.org

Cc:

From: Suvayu Ali


On Thu, Feb 14, 2013 at 09:37:13AM +0100, Stefano Zacchiroli wrote:
> 
> I guess it would also be nice to actually disable $pipe_decode in the
> relevant Mutt macros, but I'm not sure about to do that without
> interfering with user desired configuration. Kevin: do you know if there
> is a common Mutt trick to store the value of a variable before changing
> it, and restoring it a posteriori?  More isolation for this kind of
> things in Mutt would definitely be welcome...

This should work:

"<enter-command>set my_var=$var<enter><enter-command>unset var<enter>\
<do-your-stuff>\
<enter-command>set var=$my_var<enter>"

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

Thread: