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 1415F431FAF for ; Mon, 12 Aug 2013 08:53:41 -0700 (PDT) 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 KLgFW4X89YiG for ; Mon, 12 Aug 2013 08:53:32 -0700 (PDT) Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 85C96431FAE for ; Mon, 12 Aug 2013 08:53:32 -0700 (PDT) Received: by mail-we0-f176.google.com with SMTP id q56so5577040wes.21 for ; Mon, 12 Aug 2013 08:53:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=kzHyLccyDs+1hPY7LHAxSAKQhAjOxJwGSXl3Q2c4OyU=; b=iYe5PdIEB7aza6iAUwOgZKe4yZcGFqEUtuZ3bF50t9fKE7PzaZDQWOtnVoNNKhgaw0 9uGWrWCyKRpBKEXbbyoDijJihd/Gd+z6CV66aabHTTq2Coi/oqJWxO6DkbWw5Gk4y824 ToYK+aGsHP/LAkhe5Qb5j3RYelZtiDmyi5F8mtw5EEAytO8bVr83y6IQ91lEwZei1sF5 ihWGzF27KqxQ2YyYdMu26dnVjXape3SnLu59LQRcw7nK78uJyT2JJ5eUILKYS7ZO8jjr c82imr9gjU3HNvn/R6s/3+NDBBSFYZzrUy9AaRkUHtTItlzdScTMMgQ8vmpzQMLm6xYf c/4g== X-Gm-Message-State: ALoCoQnhtRnromAqJ0O1EBx0SjQxFppan2F/EmewO4ghuLbN7lBQ4bEnq+8djjRSyA88m+LdfnVB MIME-Version: 1.0 X-Received: by 10.195.13.45 with SMTP id ev13mr8816941wjd.20.1376322811398; Mon, 12 Aug 2013 08:53:31 -0700 (PDT) Sender: awg@xvx.ca Received: by 10.194.35.35 with HTTP; Mon, 12 Aug 2013 08:53:31 -0700 (PDT) X-Originating-IP: [68.150.39.45] In-Reply-To: <20130812093443.GB16684@virt.cz.oracle.com> References: <20130812093443.GB16684@virt.cz.oracle.com> Date: Mon, 12 Aug 2013 09:53:31 -0600 X-Google-Sender-Auth: zs92Be8bMoNm8FNh61mYyFIOeVw Message-ID: Subject: Re: Possible addtions to notmuch new ? From: Adam Wolfe Gordon To: Vladimir Marek Content-Type: text/plain; charset=ISO-8859-1 Cc: Notmuch Mail 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: Mon, 12 Aug 2013 15:53:41 -0000 On Mon, Aug 12, 2013 at 3:34 AM, Vladimir Marek wrote: > [dir] would limit the scope of 'notmuch' new search to dir and it's > subdirectories. Alternatively we could have set of include or exclude > rules similarly to rsync (for example), but [dir] is easier to > implement. I sent a series recently that added a command to essentially run 'notmuch new' on a single message file. One reviewer suggested that I make it an option to notmuch new rather than its own command, which I think is is a good idea. When I have some time to get back to that patch series, I'll make the change as suggested. I think it makes sense to let it take either a subdirectory or a single file, which would make it work for this part of your usecase. -- Adam