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 4A051429E25 for ; Thu, 12 Jan 2012 13:40:27 -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 UWEyI7ILpvGZ for ; Thu, 12 Jan 2012 13:40:26 -0800 (PST) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id B372B431FB6 for ; Thu, 12 Jan 2012 13:40:26 -0800 (PST) Received: by wibhr12 with SMTP id hr12so1742120wib.26 for ; Thu, 12 Jan 2012 13:40:24 -0800 (PST) Received: by 10.180.76.235 with SMTP id n11mr3758412wiw.11.1326404424231; Thu, 12 Jan 2012 13:40:24 -0800 (PST) Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi. [80.220.92.23]) by mx.google.com with ESMTPS id v28sm7860402wbo.18.2012.01.12.13.40.21 (version=SSLv3 cipher=OTHER); Thu, 12 Jan 2012 13:40:22 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH v4 0/5] reply to sender Date: Thu, 12 Jan 2012 23:40:14 +0200 Message-Id: X-Mailer: git-send-email 1.7.5.4 In-Reply-To: References: 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, 12 Jan 2012 21:40:27 -0000 Hi all, changes since v3: Split the first patch into two, the first one refactoring the reply/from address scanning, and the second one adding the actual reply-to-sender feature. This addresses Austins comments in id:"20120112033146.GU20796@mit.edu" (and does improve the code). Patches 3-5 remain unchanged. BR, Jani. Jani Nikula (4): cli: slightly refactor "notmuch reply" address scanning functions cli: add support for replying just to the sender in "notmuch reply" emacs: add support for replying just to the sender emacs: bind 'r' to reply-to-sender and 'R' to reply-to-all Mark Walters (1): test: add tests for "notmuch reply" --reply-to=sender emacs/notmuch-mua.el | 9 ++- emacs/notmuch-show.el | 12 ++- emacs/notmuch.el | 11 ++- man/man1/notmuch-reply.1 | 28 +++++- notmuch-reply.c | 122 +++++++++++++++++---------- test/notmuch-test | 1 + test/reply-to-sender | 209 ++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 335 insertions(+), 57 deletions(-) create mode 100755 test/reply-to-sender -- 1.7.5.4