From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 74BE9415121 for ; Sun, 8 Jan 2012 13:48:42 -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 fQFuUNsRggH1 for ; Sun, 8 Jan 2012 13:48:42 -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 DA2C6415120 for ; Sun, 8 Jan 2012 13:48:41 -0800 (PST) Received: by eekd41 with SMTP id d41so2496075eek.26 for ; Sun, 08 Jan 2012 13:48:40 -0800 (PST) Received: by 10.14.95.140 with SMTP id p12mr5217745eef.105.1326059320524; Sun, 08 Jan 2012 13:48:40 -0800 (PST) Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi. [80.220.92.23]) by mx.google.com with ESMTPS id y12sm281188307eeb.11.2012.01.08.13.48.37 (version=SSLv3 cipher=OTHER); Sun, 08 Jan 2012 13:48:39 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH v2 0/6] reply to sender Date: Sun, 8 Jan 2012 23:48:29 +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: Sun, 08 Jan 2012 21:48:42 -0000 Hi all, here's v2 of the reply-to-sender series. Patches 1 & 2 are exactly the same as before. Changes since first version: - Patch 3: Settle on --reply-to=(all|sender) option for "notmuch reply". This was originally Carl Worth's suggestion, predates this patch set, and, as you'd expect, is in line with the rest of the CLI. Acked by David on IRC. - Patch 3: Handle replying to user's own messages gracefully. Credits to Mark Walters for his earlier work on this. - Patch 3: Update man page. - Patch 4: Change emacs implementation to keep old function names for old reply-to-all functionality, and add new reply-to-sender versions for new functionality, instead of vice versa. Suggested by Mark Walters. - Add patch 5 to change emacs keybindings, 'r' for reply-to-sender, 'R' for reply-to-all. I think everyone was in favour of this. - Add patch 6, written by Mark Winters, to test the cli. Comments are, as always, welcome. BR, Jani. Jani Nikula (5): cli: fix use of uninitialized variable in "notmuch reply" cli: convert "notmuch reply" to use the new argument parser 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 | 155 ++++++++++++++++++++++------------ test/notmuch-test | 1 + test/reply-to-sender | 209 ++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 356 insertions(+), 69 deletions(-) create mode 100755 test/reply-to-sender -- 1.7.5.4