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 CDF05431FBC for ; Tue, 16 Feb 2010 11:11:58 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.98 X-Spam-Level: X-Spam-Status: No, score=-0.98 tagged_above=-999 required=5 tests=[AWL=-0.981, BAYES_50=0.001] autolearn=ham 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 SgR2dZzlTyzc for ; Tue, 16 Feb 2010 11:11:58 -0800 (PST) Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com [209.85.219.220]) by olra.theworths.org (Postfix) with ESMTP id 09D52431FAE for ; Tue, 16 Feb 2010 11:11:57 -0800 (PST) Received: by ewy20 with SMTP id 20so6986059ewy.0 for ; Tue, 16 Feb 2010 11:11:57 -0800 (PST) Received: by 10.213.48.5 with SMTP id p5mr1910645ebf.53.1266347502243; Tue, 16 Feb 2010 11:11:42 -0800 (PST) Received: from aw.hh.sledj.net (gmp-ea-fw-1b.sun.com [192.18.8.1]) by mx.google.com with ESMTPS id 28sm19071055eyg.44.2010.02.16.11.11.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Feb 2010 11:11:40 -0800 (PST) Received: by aw.hh.sledj.net (Postfix, from userid 1000) id 352117007C; Tue, 16 Feb 2010 19:11:24 +0000 (GMT) To: James Westby , notmuch@notmuchmail.org In-Reply-To: <1266346260-3858-1-git-send-email-jw+debian@jameswestby.net> References: <1266346260-3858-1-git-send-email-jw+debian@jameswestby.net> From: David Edmondson Date: Tue, 16 Feb 2010 19:11:24 +0000 Message-ID: <871vgl5737.fsf@aw.hh.sledj.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] [PATCH] Look for text/html content types ignoring case 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, 16 Feb 2010 19:11:59 -0000 On Tue, 16 Feb 2010 18:51:00 +0000, James Westby wrote: > Some people send html parts as text/HTML or similar, so do a > case-sensitive comparison when checking for html parts. There are various other places where `equal' is used to compare MIME types with strings. Shouldn't they all be fixed? (I see TEXT/PLAIN frequently.) dme. -- David Edmondson, http://dme.org