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 0BBA3431FC0 for ; Mon, 2 Apr 2012 10:54:55 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 3pDK9BKDDXfP for ; Mon, 2 Apr 2012 10:54:53 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id BECD8431FCF for ; Mon, 2 Apr 2012 10:54:52 -0700 (PDT) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id 67CAA2E50D72; Mon, 2 Apr 2012 10:54:52 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from finestructure.net (gwave-213.ligo.caltech.edu [131.215.114.213]) (Authenticated sender: jrollins) by fire-doxen-submit (Postfix) with ESMTP id 83119328026; Mon, 2 Apr 2012 10:54:49 -0700 (PDT) Received: by finestructure.net (Postfix, from userid 1000) id AB0F6183; Mon, 2 Apr 2012 10:54:48 -0700 (PDT) From: Jameson Graef Rollins To: Andrei POPESCU , notmuch@notmuchmail.org Subject: Re: Handling of symlinked maildirs? In-Reply-To: <20120402112828.GW21443@sid.nuvreauspam> References: <20120402112828.GW21443@sid.nuvreauspam> User-Agent: Notmuch/0.12+87~g3c4c85f (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Mon, 02 Apr 2012 10:54:48 -0700 Message-ID: <87sjgm3tp3.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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, 02 Apr 2012 17:54:55 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, Apr 02 2012, Andrei POPESCU wrote: > Im sorting my mailing lists with generic maildrop rules like this one: > > if (/^List-Id:.*/) > to Maildir/.debian.$MATCH1/ > > However, I'm subscribed to a *lot* of mailing lists and in order to keep= =20 > my folder view sane I use symlinks to conflate some of them, e.g.=20 > > .debian.devel-announce -> .debian.devel > > This works well since mutt simply ignores the symlink(s) so I don't even= =20 > need to exclude them in the config, but it seems that notmuch does index= =20 > each of the symlinks as a separate folder[1]. > > Does it make sense to have this configurable or even completely exclude=20 > the symlinks? Hey, Andrei. I would say that if you have a compelling reason that notmuch should be able to ignore symlinked directories then it maybe makes sense to have it configurable. However, I must say that I have completely dropped the whole folder concept myself since I find it totally redundant with notmuch's tagging and searching capabilities. > On a somewhat related note, unless I'm missing something, notmuch is=20 > currently indexing only a few header fields, not including List-Id, and=20 > there is no way to add custom fields. Am I correct? > > The reason I'm asking is that in theory one could completely drop any=20 > sorting (just drop all mail in one folder) and use something like=20 > 'list-id: debian-devel' instead. Unfortunately notmuch does only index a limited subset of headers (pretty much just the "primary" ones). There has been a desire to be able to index arbitrary headers for a long time now (and List-Id: has been one of the oft-cited missing headers). It would certainly improve the search interface if we could. Unfortunately no one has yet got around to coding it up. I don't think there are any fundamental impediments, it will just take a bit of work. In the mean time, I wonder if it makes sense to just add List-Id to the list of headers that we do index? I think that would be a pretty simple change, and I think a lot of folks would benefit. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJPeefoAAoJEO00zqvie6q8zD8P/3AzT5mqMZitRC5ujcjLBZoG CZqQhP3gqDK00uLEr2HBgGt6rDKVnHyU4cuEl96QTABEFiYqYrck6EGwjWavm1d8 JnkJBps7zZjP9zRbFfENYwT7/tt2rnJFJ2Hs9rCGPPuuI8VxkGJtWBqhhUp5G7tT h8B6ltHGPxS+vkm84RE5q9Vl7kNJb0t9K4pWN5Qlj5r0notdxNbvjh/fKjFx/xZt Tk6t0tkskzRrmzGhbG+9rnMLX2nQ2XjN03pLkyBeN6I/NB8JhQHZHHejgR/bRbea wM6nyVMjyZuyl7hZIa3ul3RjbMEwPGDt7VphumK9JfyB6PnMrzuvNoXK2WQMsiFf tyBoUlwiPe9g6DVQsoPpb2a3vmDUHWP14LbE0XKt7D4Q2g3gnUDOq49am0yF5ST5 4wCIl28WLgLSV1yMlvaX7e8wAg1nNC4hWXc4j4dVF5u66XLcaFgbuLkGOPMsOZpG bYK3ZhSAlhqxRVHX/S0K+oH57oQgVy6hD236gJMs58kMeGbW4jB5DJAZC79Uw58C BLO6bep3XjctFqCX5ueQ7SXTOsG9uSrS2wP3gDc3GZbd9TaaJv5owL2w8CfAS3ir t1H8j9YG51x+VE4kYqctv+ilQthhPRM+gBqhz+YfQiEdaI0f6IC2YGXsqMvt+aC1 rNVV0tZ5kpBOAO1+KW+B =MF5l -----END PGP SIGNATURE----- --=-=-=--