Re: notmuch-mutt: Use of uninitialized value.
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 12 Feb 2013 16:27:02 +0000 (17:27 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:34 +0000 (09:53 -0800)
0b/8f67ea3e744a9573d8e7a25404eb983581a8e7 [new file with mode: 0644]

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