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 8968D431FDA for ; Thu, 28 Jan 2010 07:25:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.959 X-Spam-Level: X-Spam-Status: No, score=-0.959 tagged_above=-999 required=5 tests=[AWL=-0.774, BAYES_40=-0.185] 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 Mefzx9IzUb1B for ; Thu, 28 Jan 2010 07:25:42 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by olra.theworths.org (Postfix) with ESMTP id C79E8431FD5 for ; Thu, 28 Jan 2010 07:25:42 -0800 (PST) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by mx.perfora.net (node=mxus2) with ESMTP (Nemesis) id 0MMDEz-1Nhwtz0chR-008449 for notmuch@notmuchmail.org; Thu, 28 Jan 2010 10:25:38 -0500 Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id AB71819F33CF; Thu, 28 Jan 2010 16:25:36 +0100 (CET) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id qcc9MaVhp9YE; Thu, 28 Jan 2010 16:25:32 +0100 (CET) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id 8E5CC19F338D; Thu, 28 Jan 2010 16:25:32 +0100 (CET) Received: from localhost.localdomain (k335-30.felk.cvut.cz [147.32.86.30]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id 036C3FA003; Thu, 28 Jan 2010 16:25:32 +0100 (CET) From: Michal Sojka To: notmuch@notmuchmail.org Date: Thu, 28 Jan 2010 16:25:16 +0100 Message-Id: <1264692317-9175-1-git-send-email-sojkam1@fel.cvut.cz> X-Mailer: git-send-email 1.6.6 In-Reply-To: <201001281624.01577.sojkam1@fel.cvut.cz> References: <201001281624.01577.sojkam1@fel.cvut.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [notmuch] [PATCH 1/2] Skip German "aw:" prefix in subjects 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: Thu, 28 Jan 2010 15:25:43 -0000 This was originally present in Andreas Klöckner's patch. --- lib/index.cc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/index.cc b/lib/index.cc index 7e2da08..eb97f91 100644 --- a/lib/index.cc +++ b/lib/index.cc @@ -116,6 +116,8 @@ skip_re_in_subject (const char *subject) s++; if (strncasecmp (s, "re:", 3) == 0) s += 3; + else if (strncasecmp (s, "aw:", 3) == 0) + s += 3; else break; } -- 1.6.6