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 34097431FBD for ; Sat, 4 Feb 2012 12:44:36 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.201 X-Spam-Level: X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, 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 bL3+mgSRrzlB for ; Sat, 4 Feb 2012 12:44:35 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 346DC431FB6 for ; Sat, 4 Feb 2012 12:44:35 -0800 (PST) Received: by mail-ww0-f45.google.com with SMTP id dt12so4385514wgb.2 for ; Sat, 04 Feb 2012 12:44:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=pXPGokw6KayhacX1h1w8dGHK6WSNi0PJhWqe+FdaDks=; b=J4maTeIHjzhPLhMe1P0wruenz2aqgCoxIRwKUgbyp8BgbFw0SUXS3NVjxLMWZFPEve 6es9lz9AIFdPXkd97SxPZ6LLFV9Z3XFmCnLr9wzXJVpKR4oEokWW2swt1PzWbNCS2BFk HfXLv+i+JxlNSGFxLgsb5HISW7nmV8CQXCtCI= Received: by 10.180.89.67 with SMTP id bm3mr19022589wib.13.1328388274901; Sat, 04 Feb 2012 12:44:34 -0800 (PST) Received: from localhost (94-192-233-223.zone6.bethere.co.uk. [94.192.233.223]) by mx.google.com with ESMTPS id y6sm2707164wix.10.2012.02.04.12.44.33 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Feb 2012 12:44:34 -0800 (PST) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH v2 2/4] cli: update man page for notmuch-reply --from: Date: Sat, 4 Feb 2012 20:45:15 +0000 Message-Id: <1328388317-20161-3-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1328388317-20161-1-git-send-email-markwalters1009@gmail.com> References: <1328388317-20161-1-git-send-email-markwalters1009@gmail.com> 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: Sat, 04 Feb 2012 20:44:36 -0000 --- man/man1/notmuch-reply.1 | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/man/man1/notmuch-reply.1 b/man/man1/notmuch-reply.1 index 5160ece..101ed47 100644 --- a/man/man1/notmuch-reply.1 +++ b/man/man1/notmuch-reply.1 @@ -62,6 +62,33 @@ addresses), try To:, Cc:, and Bcc: headers in this order, and copy values from the first that contains something other than only the user's addresses. .RE +.TP 4 +.BR \-\-from= ( default | fallback-all | fallback-received | fallback-none | none | primary ) +.RS +.TP 4 +Controls the choice of the From: header returned. +.TP 4 +.BR default | fallback-all +Chooses the From: address by looking at the reply-to/from/to/cc +headers of the message being replied to, if no user address is found +look in the delivery headers, if still no user address is found return +the user's primary address. +.TP 4 +.BR fallback-received +As above but if no user address is found after looking in the delivery +headers returns an empty From: header. +.TP 4 +.BR fallback-none +Only look at the reply-to/from/to/cc of the original message. If no +user address is found return an empty From: header. +.TP 4 +.BR none +Always return an empty From: header. +.TP 4 +.BR primary +Always return the users primary address as the From: header. +.RE +.RE .RE See \fBnotmuch-search-terms\fR(7) -- 1.7.2.3