From 02ddfa164e459a797d17b7a5723cb234fe60f041 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Mon, 26 Mar 2012 22:40:14 +0300 Subject: [PATCH] Re: [PATCH] emacs: content-type comparison should be case insensitive. --- b5/4250c796d68c7f20c83ecac2a24f11d26cda00 | 68 +++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 b5/4250c796d68c7f20c83ecac2a24f11d26cda00 diff --git a/b5/4250c796d68c7f20c83ecac2a24f11d26cda00 b/b5/4250c796d68c7f20c83ecac2a24f11d26cda00 new file mode 100644 index 000000000..a4544b167 --- /dev/null +++ b/b5/4250c796d68c7f20c83ecac2a24f11d26cda00 @@ -0,0 +1,68 @@ +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 8C6E8431FAF + for ; Mon, 26 Mar 2012 12:49:00 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 azjY5sH06HOa for ; + Mon, 26 Mar 2012 12:48:59 -0700 (PDT) +Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) + by olra.theworths.org (Postfix) with ESMTP id A8D7F431FAE + for ; Mon, 26 Mar 2012 12:48:59 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id D6A3968055; Mon, 26 Mar 2012 22:40:14 +0300 (EEST) +From: Tomi Ollila +To: Mark Walters , notmuch@notmuchmail.org +Subject: Re: [PATCH] emacs: content-type comparison should be case + insensitive. +In-Reply-To: <1332636208-9784-1-git-send-email-markwalters1009@gmail.com> +References: + + <1332636208-9784-1-git-send-email-markwalters1009@gmail.com>User-Agent: + Notmuch/0.12+68~g2b97293 (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +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: Mon, 26 Mar 2012 19:49:00 -0000 + +On Sun, Mar 25 2012, Mark Walters wrote: + +> The function notmuch-match-content-type was comparing content types +> case sensitively. Fix it so it tests case insensitively. +> +> This fixes a bug where emacs would not include any body when replying +> to a message with content-type TEXT/PLAIN. +> --- + ++1 + +Tomi + +> emacs/notmuch-lib.el | 5 +++-- +> 1 files changed, 3 insertions(+), 2 deletions(-) +> -- 2.26.2