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 1BC594196F3 for ; Thu, 8 Apr 2010 12:44:50 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 LMjYGaURS4UJ for ; Thu, 8 Apr 2010 12:44:49 -0700 (PDT) Received: from everglades.pioto.org (everglades.pioto.org [207.192.69.249]) by olra.theworths.org (Postfix) with ESMTP id 5876E418C25 for ; Thu, 8 Apr 2010 12:44:47 -0700 (PDT) Received: from aether.pioto.org (pool-96-236-149-110.pitbpa.fios.verizon.net [96.236.149.110]) (Authenticated sender: pioto) by everglades.pioto.org (Postfix) with ESMTPA id 13837160E00; Thu, 8 Apr 2010 15:44:47 -0400 (EDT) Received: by aether.pioto.org (Postfix, from userid 1000) id 4FA896B08C; Thu, 8 Apr 2010 15:45:51 -0400 (EDT) From: Mike Kelly To: notmuch@notmuchmail.org Subject: [PATCH 3/3] document new `notmuch new` behavior Date: Thu, 8 Apr 2010 15:45:31 -0400 Message-Id: <1270755931-24290-3-git-send-email-pioto@pioto.org> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1270755931-24290-1-git-send-email-pioto@pioto.org> References: <1270755931-24290-1-git-send-email-pioto@pioto.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: Thu, 08 Apr 2010 19:44:50 -0000 --- notmuch.1 | 8 +++++--- notmuch.c | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/notmuch.1 b/notmuch.1 index 0e6a2ed..8b4021e 100644 --- a/notmuch.1 +++ b/notmuch.1 @@ -93,9 +93,11 @@ The .B new command scans all sub-directories of the database, performing full-text indexing on new messages that are found. Each new message -will automatically be tagged with both the -.BR inbox " and " unread -tags. +will automatically be tagged with the +.BR inbox +tag, and, unless it was already "seen" by another client, the +.BR unread +tag. You should run .B "notmuch new" diff --git a/notmuch.c b/notmuch.c index f5669fc..9002e7d 100644 --- a/notmuch.c +++ b/notmuch.c @@ -125,9 +125,10 @@ command_t commands[] = { { "new", notmuch_new_command, "[--verbose]", "Find and import new messages to the notmuch database.", - "\tScans all sub-directories of the mail directory, performing\n" - "\tfull-text indexing on new messages that are found. Each new\n" - "\tmessage will be tagged as both \"inbox\" and \"unread\".\n" + "\t\tScans all sub-directories of the mail directory, performing\n" + "\t\tfull-text indexing on new messages that are found. Each new\n" + "\t\tmessage will be tagged as \"inbox\" and, unless it is\n" + "\t\tmarked as \"seen\", \"unread\".\n" "\n" "\tYou should run \"notmuch new\" once after first running\n" "\t\"notmuch setup\" to create the initial database. The first\n" -- 1.7.0.4