Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 36991431FB6 for ; Tue, 12 Feb 2013 08:27:07 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[FAKE_REPLY_C=0.001] 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 Q+R9u-op+4pH for ; Tue, 12 Feb 2013 08:27:04 -0800 (PST) Received: from upsilon.hackadomia.org (upsilon.hackadomia.org [91.121.245.170]) by olra.theworths.org (Postfix) with ESMTP id CD6A1431FAF for ; Tue, 12 Feb 2013 08:27:04 -0800 (PST) Received: from usha.takhisis.invalid (maths.r-prg.net.univ-paris7.fr [81.194.27.158]) by upsilon.hackadomia.org (Postfix) with ESMTPSA id DCD687E00D; Tue, 12 Feb 2013 17:27:02 +0100 (CET) Received: by usha.takhisis.invalid (Postfix, from userid 1000) id C69C9680D6B; Tue, 12 Feb 2013 17:27:02 +0100 (CET) Date: Tue, 12 Feb 2013 17:27:02 +0100 From: Stefano Zacchiroli To: notmuch@notmuchmail.org Subject: Re: notmuch-mutt: Use of uninitialized value. Message-ID: <20130212162702.GA29880@upsilon.cc> Mail-Followup-To: notmuch@notmuchmail.org, Stefano Zacchiroli MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130212005801.GA8419@soarin> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: mail@profpatsch.de X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 16:27:07 -0000 [ many thanks to David Bremner for the forward ] On Tue, 12 Feb 2013 01:58:01 +0100, Profpatsch wrote: > # Construct a thread ouf of the marked mail (or something like that, > # doesn’t work atm (errors out)) > I hope this still works, best to put it on one line I guess. > > Error message: > Use of uninitialized value in pattern match (m//) at > /usr/bin/notmuch-mutt line 124, line 28. > Use of uninitialized value $mid in concatenation (.) or string at > /usr/bin/notmuch-mutt line 145, line 28. Heya, thanks for your report. The only reasonable explanation I can think of is that you hit while being on a mail that does not contain a Message-Id header, which is uncommon. Do you still have the mail in question? Can you verify if it is the case or not? If that's the case, I'd agree that the error message could be better, but without a message-id there won't be much that can be done to rebuild a thread in any reliable way. (One possibility might be falling back to subject-based thread reconstruction, but I'd rather not do that.) Cheers. -- Stefano Zacchiroli . . . . . . . zack@upsilon.cc . . . . o . . . o . o Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o Debian Project Leader . . . . . . @zack on identi.ca . . o o o . . . o . « the first rule of tautology club is the first rule of tautology club »