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 6F66A429E5C for ; Sun, 15 Feb 2015 04:39:34 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 2.338 X-Spam-Level: ** X-Spam-Status: No, score=2.338 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DNS_FROM_AHBL_RHSBL=2.438] 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 Zv58QAag8kWt for ; Sun, 15 Feb 2015 04:39:33 -0800 (PST) Received: from upsilon.cc (upsilon.cc [178.32.142.91]) by olra.theworths.org (Postfix) with ESMTP id 32C5E429E37 for ; Sun, 15 Feb 2015 04:39:26 -0800 (PST) Received: from timira.takhisis.invalid (unknown [78.194.69.54]) by upsilon.cc (Postfix) with ESMTPSA id AA95410E52; Sun, 15 Feb 2015 13:39:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upsilon.cc; s=mail; t=1424003955; bh=1Ufj3ZkwFgvA72npstKTEaCu2O77DDxw8WTim9/T9f0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=faYV1p+Yl2wPieXvykFad3+X/iwsfNUPQJXM60YD1gTIp7laQxNPAZ6/TceA1USrm IKThH27YXMdXdVCmNEfi8JF4Uu6BoNMlTF3O2Pq2f/QEruhqz6QEbC7bGJpg9TKWBv 6vYUN4sp2I/MeqCrApq36zsGOZzu9r/FbQqmVbBE= Received: by timira.takhisis.invalid (Postfix, from userid 1000) id 0499C600E0; Sun, 15 Feb 2015 13:39:14 +0100 (CET) From: Stefano Zacchiroli To: notmuch@notmuchmail.org Subject: notmuch-mutt: support for messages that lack Message-ID headers (v3) Date: Sun, 15 Feb 2015 13:39:05 +0100 Message-Id: <1424003948-17642-1-git-send-email-zack@upsilon.cc> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: Cc: zack@upsilon.cc 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: Sun, 15 Feb 2015 12:39:35 -0000 Take #3 on adding support for messages that lack Message-ID headers to notmuch-mutt. For context see: - http://notmuchmail.org/pipermail/notmuch/2015/thread.html#20171 - http://notmuchmail.org/pipermail/notmuch/2015/thread.html#20079 I've rewritten the patch taking into account the suggestions by Tomi Ollila, who suggested a much cleaner approach for processing headers and possibly fallback to synthetic Message-IDs (thanks Tomi!). I'll be happy to hear further comments on this patch series. If there are none, please merge it into master. Cheers.