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 E7808431FAE for ; Fri, 4 Dec 2009 11:20:27 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 cBiBhxjJGfvx for ; Fri, 4 Dec 2009 11:20:27 -0800 (PST) Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com [209.85.218.224]) by olra.theworths.org (Postfix) with ESMTP id 8F985431FBC for ; Fri, 4 Dec 2009 11:20:27 -0800 (PST) Received: by bwz24 with SMTP id 24so2222827bwz.30 for ; Fri, 04 Dec 2009 11:20:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :in-reply-to:references:date:message-id:mime-version:content-type; bh=1t/CifoVH0ygxWLkknnzPc0Vpp/rf14X6NkbDBXbdMo=; b=SGkaHVq/XHRTJR4W37TWmYmU8i8bEALMMPOwkHrJXc3LuODwcpHixNS/VnOSTqBRVM q1k/EiG2H/4Z3w9TSosSJwggMpLwj6MIDTaSKsOInak2pCpVNEnAuZtHA6j+igfwR3pe tRGsY+2EDg9dheTnKyxGqlY4l1ews8mFiz0G8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; b=yDCLLqAjSU83sOOBInoJXD0YpRQh8AJqqCQDabToalVeTPgZ4hajNNlzP+CT/uB1+y lN1STsT4WNPbZ8tQe+CyYO3PRNPt8eUyBOYs8uyce5wyB/BZ6KKiuA17enC4J4MUCJsk LT1vvE8eKm6/3SxefxfyKGKgdV30IhcZoRm2w= Received: by 10.204.153.202 with SMTP id l10mr3738467bkw.92.1259954425580; Fri, 04 Dec 2009 11:20:25 -0800 (PST) Received: from kunyang (vawpc43.ethz.ch [129.132.59.11]) by mx.google.com with ESMTPS id 35sm1263395fkt.10.2009.12.04.11.20.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Dec 2009 11:20:24 -0800 (PST) Sender: Jed Brown From: Jed Brown To: Carl Worth , "Aneesh Kumar K.V" , aneesh.kumar@linux.vnet.ibm.com In-Reply-To: <87638mfth1.fsf@yoom.home.cworth.org> References: <1259830005-3439-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <87638mfth1.fsf@yoom.home.cworth.org> Date: Fri, 04 Dec 2009 20:21:09 +0100 Message-ID: <87ws12y28q.fsf@59A2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Aneesh Kumar K.V" , notmuch@notmuchmail.org Subject: Re: [notmuch] [PATCH 1/2] notmuch-reply: Add support for replying only to sender X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Fri, 04 Dec 2009 19:20:28 -0000 On Fri, 04 Dec 2009 11:07:54 -0800, Carl Worth wrote: > But surely there's a way to implement this with dramatically less code > duplication? It should just be very short after this series id:1259450376-24523-1-git-send-email-jed@59A2.org I think --format= should not be used for this, formatting is orthogonal to selecting recipients. Speaking of code duplication, perhaps it is worth abstracting options parsing (or using an existing library). Jed