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 5564F431FD0 for ; Sun, 25 Dec 2011 14:00:14 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 IGk4ZRpvDsVX for ; Sun, 25 Dec 2011 14:00:14 -0800 (PST) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C1E7D431FB6 for ; Sun, 25 Dec 2011 14:00:13 -0800 (PST) Received: by eekd41 with SMTP id d41so12900601eek.26 for ; Sun, 25 Dec 2011 14:00:11 -0800 (PST) Received: by 10.14.11.142 with SMTP id 14mr9383111eex.9.1324850411166; Sun, 25 Dec 2011 14:00:11 -0800 (PST) Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi. [80.220.92.23]) by mx.google.com with ESMTPS id q67sm21126441eea.8.2011.12.25.14.00.08 (version=SSLv3 cipher=OTHER); Sun, 25 Dec 2011 14:00:09 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH v2 0/2] emacs: patch filename from subject Date: Mon, 26 Dec 2011 00:00:04 +0200 Message-Id: X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1321657368-13872-1-git-send-email-jani@nikula.org> References: <1321657368-13872-1-git-send-email-jani@nikula.org> 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, 25 Dec 2011 22:00:14 -0000 Hi all, v2 with the following changes: * split the conversion function into three * figure out patch sequence number from the [PATCH N/M] style prefixes * write a bunch of tests for the functions * update the regexps according to bugs found in tests :) BR, Jani. Jani Nikula (2): emacs: create patch filename from subject for inline patch fake parts test: emacs: test notmuch-wash-subject-to-* functions emacs/notmuch-wash.el | 43 ++++++++++++- test/emacs-subject-to-filename | 138 ++++++++++++++++++++++++++++++++++++++++ test/notmuch-test | 1 + 3 files changed, 181 insertions(+), 1 deletions(-) create mode 100755 test/emacs-subject-to-filename -- 1.7.5.4