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 EDC37431FB6 for ; Fri, 3 Feb 2012 04:14:19 -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 pE0XN0VKWhzq for ; Fri, 3 Feb 2012 04:14:19 -0800 (PST) Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) by olra.theworths.org (Postfix) with ESMTP id 3404B431FAF for ; Fri, 3 Feb 2012 04:14:19 -0800 (PST) Received: by guru.guru-group.fi (Postfix, from userid 501) id 3462268055; Fri, 3 Feb 2012 14:14:21 +0200 (EET) From: Tomi Ollila To: Pieter Praet , David Edmondson , David Bremner Subject: Re: [PATCH] test: add tests wrt ignoring user-specified files and directories In-Reply-To: <1328105573-4626-1-git-send-email-pieter@praet.org> References: <1328105573-4626-1-git-send-email-pieter@praet.org> User-Agent: Notmuch/0.11+146~geb6dc33 (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 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: Fri, 03 Feb 2012 12:14:20 -0000 On Wed, 1 Feb 2012 15:12:53 +0100, Pieter Praet wrote: > Files and directories which are specified in 'new.ignore' in the > config file shouldn't be indexed nor reported by `notmuch new'. > > --- +1 tested file order with: $ touch ~/mail/mails/a $ touch ~/mail/mails/d $ touch ~/mail/mails/o $ touch ~/mail/mails/p $ touch ~/mail/mails/g $ touch ~/mail/mails/z $ touch ~/mail/mails/u $ touch ~/mail/mails/l $ notmuch new Note: Ignoring non-mail file: /home/too/mail/mails/a Note: Ignoring non-mail file: /home/too/mail/mails/d Note: Ignoring non-mail file: /home/too/mail/mails/g Note: Ignoring non-mail file: /home/too/mail/mails/l Note: Ignoring non-mail file: /home/too/mail/mails/o Note: Ignoring non-mail file: /home/too/mail/mails/p Note: Ignoring non-mail file: /home/too/mail/mails/u Note: Ignoring non-mail file: /home/too/mail/mails/z So we can be pretty confident that files are printed in ASCII order. Tomi