From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <fatkasuvayu+linux@gmail.com>
Received: from localhost (localhost [127.0.0.1])
	by olra.theworths.org (Postfix) with ESMTP id D2553431FB6
	for <notmuch@notmuchmail.org>; Thu, 14 Feb 2013 01:13:43 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
X-Spam-Flag: NO
X-Spam-Score: -0.799
X-Spam-Level: 
X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
Received: from olra.theworths.org ([127.0.0.1])
	by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id BFKVJjZjXKjw for <notmuch@notmuchmail.org>;
	Thu, 14 Feb 2013 01:13:43 -0800 (PST)
Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com
	[209.85.212.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
	(No client certificate requested)
	by olra.theworths.org (Postfix) with ESMTPS id 518CF431FAF
	for <notmuch@notmuchmail.org>; Thu, 14 Feb 2013 01:13:43 -0800 (PST)
Received: by mail-wi0-f172.google.com with SMTP id ez12so6742834wid.5
	for <notmuch@notmuchmail.org>; Thu, 14 Feb 2013 01:13:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:sender:date:from:to:subject:message-id:mail-followup-to
	:references:mime-version:content-type:content-disposition
	:in-reply-to:user-agent;
	bh=8yAeOUvN/MasaDfW1u5DdhsbWZaDHbvGBPgUKsn7LUc=;
	b=So8gYoiNOuU5YgaCgF+tydKCgaTrJ1sPMZJUMn7Sb7hyT6ez9aOtHwG+32V1qcPirG
	OxEa7IhXi9Fc8Pt7s5H/UGgtZRDTL+itRVYtVpSC+zMRawUF6ArVc9lHYlJdz+c0DCNu
	k1q0ZPsxB3zqYbaIq99cC6hDvZqH0HYrsMN09CkV/GzqWc5vSVKyfhy9UAXpz7utOWF6
	fnmRVLF2C+Q9XkSYt5YRjJcrx1TOY32H3Gzhw6smfGMxMs/vkZRj2ITsan/7+GGDCSac
	/rusYLmdaq7fcIU175hk/74pfDN1ejGos8fIT3d34CljLZbK6FCTYj0iSIJVLdX9C+Oo
	z0CA==
X-Received: by 10.194.9.166 with SMTP id a6mr22842232wjb.2.1360833220696;
	Thu, 14 Feb 2013 01:13:40 -0800 (PST)
Received: from kuru.dyndns-at-home.com
	(AAnnecy-651-1-327-76.w90-36.abo.wanadoo.fr. [90.36.246.76])
	by mx.google.com with ESMTPS id m6sm50905081wic.2.2013.02.14.01.13.38
	(version=TLSv1.2 cipher=RC4-SHA bits=128/128);
	Thu, 14 Feb 2013 01:13:39 -0800 (PST)
Sender: suvayu ali <fatkasuvayu@gmail.com>
Date: Thu, 14 Feb 2013 10:13:36 +0100
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: notmuch@notmuchmail.org
Subject: Re: notmuch-mutt: Use of uninitialized value.
Message-ID: <20130214091336.GB21133@kuru.dyndns-at-home.com>
Mail-Followup-To: notmuch@notmuchmail.org
References: <20130212005801.GA8419@soarin> <20130213223535.GA3258@zaogao.lan>
	<20130213233657.GA4489@soarin> <20130214083713.GA4123@upsilon.cc>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20130214083713.GA4123@upsilon.cc>
User-Agent: Mutt/1.5.21 (2012-12-30)
X-BeenThere: notmuch@notmuchmail.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: "Use and development of the notmuch mail system."
	<notmuch.notmuchmail.org>
List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
	<mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
List-Archive: <http://notmuchmail.org/pipermail/notmuch>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
	<mailto:notmuch-request@notmuchmail.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Feb 2013 09:13:44 -0000

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.