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 23BBA431FAF for ; Sat, 21 Jan 2012 01:48:32 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 4f4sh6CDADcN for ; Sat, 21 Jan 2012 01:48:31 -0800 (PST) Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) by olra.theworths.org (Postfix) with ESMTP id 7A6C7431FAE for ; Sat, 21 Jan 2012 01:48:31 -0800 (PST) Received: by guru.guru-group.fi (Postfix, from userid 501) id B574C68055; Sat, 21 Jan 2012 11:48:32 +0200 (EET) From: Tomi Ollila To: Austin Clements , notmuch@notmuchmail.org Subject: Re: [PATCH] lib: Save filenames for files detected as "not an email file" in the database. In-Reply-To: <1327096827-5760-1-git-send-email-amdragon@mit.edu> References: <1327096827-5760-1-git-send-email-amdragon@mit.edu> User-Agent: Notmuch/0.11+71~gefa5d6c (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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, 21 Jan 2012 09:48:32 -0000 On Fri, 20 Jan 2012 17:00:27 -0500, Austin Clements wrote: > Later runs of "notmuch new" won't scan these files again and won't > print warnings. > > Various programs (Dovecot, in my case) store indexes and caches and > such in the maildir. Without this, notmuch persistently complains > about such files. > --- LGTM... > Every time I run notmuch new I get a slew of these warnings. It was > starting to get on my nerves, so I implemented the solution suggested > by the TODO file. [ ... ] > -large so the detection could be potentially slow). 2. A "notmuch > -search" syntax could be added to allow the user to find these files, > -(and perhaps delete them or move them away as appropriate). > +Add a "notmuch search" syntax to allow uses to find files recorded as > +non-emails in the database (and perhaps delete them or move them away > +as appropriate). Could these messages be tagged with some fixed tag -- we already have 'signed' and 'attachment' tag. maybe 'nonemail' (or something) could be used for these messages ? Tomi