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 AFDCA431FBC for ; Thu, 14 Jan 2010 09:47:20 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.85 X-Spam-Level: X-Spam-Status: No, score=-0.85 tagged_above=-999 required=5 tests=[AWL=0.149, BAYES_50=0.001, RCVD_IN_DNSWL_LOW=-1] 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 m9BVedLpK+lP for ; Thu, 14 Jan 2010 09:47:19 -0800 (PST) X-Greylist: delayed 592 seconds by postgrey-1.32 at olra; Thu, 14 Jan 2010 09:47:19 PST Received: from smtp2.mundo-r.com (smtp4.mundo-r.com [212.51.32.151]) by olra.theworths.org (Postfix) with ESMTP id 6188A431FAE for ; Thu, 14 Jan 2010 09:47:19 -0800 (PST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArEEAM7kTkvVPH5h/2dsb2JhbACBRYIbx3KCBgiLRgqCNQiBE1YE X-IronPort-AV: E=Sophos;i="4.49,276,1262559600"; d="asc'?scan'208";a="575753324" Received: from 97.126.60.213.dynamic.mundo-r.com (HELO hikari.localdomain) ([213.60.126.97]) by smtp2.mundo-r.com with ESMTP; 14 Jan 2010 18:37:25 +0100 Received: from hikari (localhost [127.0.0.1]) by hikari.localdomain (Postfix) with ESMTP id 3832830E771A for ; Thu, 14 Jan 2010 18:38:55 +0100 (CET) Date: Thu, 14 Jan 2010 18:38:54 +0100 From: Adrian Perez de Castro To: notmuch@notmuchmail.org Message-ID: <20100114183854.1d04f111@hikari> In-Reply-To: <878wc0623y.fsf@exys.org> References: <4B4ED7E8.20501@exys.org> <878wc0623y.fsf@exys.org> Organization: Igalia X-Mailer: Claws Mail 3.7.3 (GTK+ 2.19.3; x86_64-redhat-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAADBQTFRFBwcHFhYWKCgoNzc3SEhIV1dXaGhod3d3iIiIlpaWqKiouLi4x8fH2NjY5+fn/v7+rSjDkgAAAjVJREFUOE9l07tvE0EQwOHfrkV9O+eko7g701BBfECJsIigT2IpooIqaSiRUEB0REj00FBQgYSCkhry+gecUPJybJeIxLumTbilsH2PMNXufDOa3ZVW+1JkpbUmD/8+vXR3c7or4Gz93mH309Kz8/C9/RQge7VfhW/LW+PF8IkrQ7Z6OKmQr1tl+LU/yWP9mxJka9O88fZHPwf/7u0kLyCnX3I4fQhgjAgIfi+HHw5A1Y2ggIMcFKAEnRoL0M3BosI4TI2IATjuT8DvSNJoNNJgkIhxlr9TUHeSpDnfohlIrMBlU+BGmsZqfr69FMfGMw4NoG835+J62riWyjQ/uXlTQjNUIoYegMsBM0pCD8oDas7n4HQsBghXFxJTW42KDs+4XLfjsN0wOYgABqARjMKIHIaAQnmHjsI5Cvi9Cf6k03OoWBkpIP3Q7354+dEimFBKHbMP9oKjwfd9gbrxR5KDToczK4uPF8UgNomKU2GaENRi77zyDKICxKBS4xXYbONPMQMdYZTBwMiMWiUg9g6UJ3OBogzjV8E7sBVwyvfAOYdQhsABzuOxI1MGZbs98Q6Md5UOfbbR2R0eWOesrnRw5ajT6f60LrNhWIHZpBnUWv2s14ukArWWTqTes3YQxRXgFkcMu70TPYqqUBs0YwmO967OVIdTG4bY4a7WLaqgLm5vbHdH5np0Dri//fmg7y8scB4u3+zsuNlH0X+g19bby69b+TYH6isvns8VdQWgxj9tHP8AR5/hSdYqkwsAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/UkPUFFKsRX.IY8QM3h1kgti"; protocol="application/pgp-signature" Subject: Re: [notmuch] indexing 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: Thu, 14 Jan 2010 17:47:20 -0000 --Sig_/UkPUFFKsRX.IY8QM3h1kgti Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 14 Jan 2010 18:13:53 +0100, Arvid wrote: > On Thu, 14 Jan 2010 09:38:00 +0100, Arvid Picciani wrote: >=20 > > on the first run (when no .notmuch is there yet), it finds some=20 > > messages, but doesn't index them either. Yuk! I logged-in via Gmail's web interface and found that I have some new messages which are not being picked by Notmuch. > the offending commit is 2c4555f1a56602ff1dd55a63699810522ba4d91e >=20 > from readdir (3): >=20 > "Currently, only some file systems (among them: Btrfs, ext2, ext3, > and ext4) have full support returning the file > type in d_type. All applications must properly handle a return > of DT_UNKNOWN." I am using XFS, which always returns DT_UNKNOWN. Taking into account that there is a good deal of people using filesystems other than the ones you mention, and that other non-linux filesystems may also return DT_UNKNOWN, in my opinion there should be a fall-back. I will try to post a patch Anytime Soon=E2=84=A2. Also, I have the feeling that the "d_type" field from "struct dirent" may not be available in some OSes because it is a BSD extension. Cheers, --=20 Adrian Perez de Castro Igalia - Free Software Engineering --Sig_/UkPUFFKsRX.IY8QM3h1kgti Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAktPVq4ACgkQkcVZ2+TJEjulHwCffQcUg3I4T9ygPAUQX+LF0VVZ 5l8An0HvCye3NXWj0h2DSvJz4HYIv96v =riiE -----END PGP SIGNATURE----- --Sig_/UkPUFFKsRX.IY8QM3h1kgti--