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 2403B431FBC for ; Tue, 2 Feb 2010 10:22:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -3.453 X-Spam-Level: X-Spam-Status: No, score=-3.453 tagged_above=-999 required=5 tests=[AWL=0.546, BAYES_50=0.001, RCVD_IN_DNSWL_MED=-4] 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 onvAGWdCwKFB for ; Tue, 2 Feb 2010 10:22:56 -0800 (PST) Received: from brinza.cc.columbia.edu (brinza.cc.columbia.edu [128.59.29.8]) by olra.theworths.org (Postfix) with ESMTP id 4CF28431FAE for ; Tue, 2 Feb 2010 10:22:56 -0800 (PST) Received: from servo.finestructure.net (geco.phys.columbia.edu [128.59.170.159]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by brinza.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o12IMWoO002964 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 2 Feb 2010 13:22:35 -0500 (EST) Received: from jrollins by servo.finestructure.net with local (Exim 4.71) (envelope-from ) id 1NcNOS-0000eN-3y; Tue, 02 Feb 2010 13:22:32 -0500 From: Jameson Rollins To: Arvid Picciani , notmuch@notmuchmail.org In-Reply-To: <4B686569.7030408@exys.org> References: <201001291049.21048.sojkam1@fel.cvut.cz> <1265122868-12133-1-git-send-email-sojkam1@fel.cvut.cz> <87eil3ehjh.fsf@servo.finestructure.net> <4B686569.7030408@exys.org> Date: Tue, 02 Feb 2010 13:22:29 -0500 Message-ID: <873a1jebve.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 128.59.29.8 Subject: Re: [PATCHv2] Preserve folder information when indexing 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: Tue, 02 Feb 2010 18:22:57 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 02 Feb 2010 18:48:25 +0100, Arvid Picciani wrote: > On Tue, 2 Feb 2010 16:01:08 +0100, Michal Sojka=20 > wrote: > unfortunately it doesnt do anything here :/ > i rebuilt the entire index, but no folder: field is added. > can anyone who got it working tell me their directory layout? > mine would be something like: What search terms are you using? You shouldn't consider the cur/new/tmp maildir subdirectories in the folder naming. Those are fundamental parts of maildirs. You would want to look at the maildir name itself. I'm starting to think that maybe the folder: field is not the right way to do this, though. What if a message moves? Only new mails are having this field modified, so if messages are moved that field is not modified, and since it's being added as part of the message (like "subject:") it's not modifiable. It also can't be added down the line to messages that don't already have it. I'm going back to my original suggestion, which was that the configuration should state tag that should be added for messages in certain folders. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJLaG1lAAoJEO00zqvie6q8ut8QALknUDQoV5cpGih0TQLlF46S hd9/Fm4tOWsayz4HSr9MfzcRaIXU46CIPI37+BC9q4itSdy9SPniJOawBDcZ88LW u1Dz68UH7xosVpQ+FzaepqtEtzjvPadpCff8Ogw+yt/0ZDrdZlnnYJg7q48NvsU6 oxj1rhGWuhbghNhNRBNPHjjRRoLMHcIbbh7lKA6RotYLSIN0CfDq/uhj9VFDklG2 N0phxF9PiO8nQl4zB/tZH4DHbr7692SDCHqkRLAeXvKv7HIxAr0xQqBhV7mgMaxy xcNsuGHNjCmUGduKKEVNRZ5JbIQb+JImnjwFir9QYa5orC4qmHJ5VlB+lul5Ue/4 u/LDOwP4nq/XlVk7wrh+USjNupSt9GebYzOsRlC9bjvmzuQnl6XlqJv7ysE56efV KPr5e+Ed4Ld5/dE4JZbiETvZeTyK/fg78Il86R+LIwddpsL+5qMWwtG3r+E4uIbX J3RaxFAyypv7MtquDTGsVd6xnAUED3TNaDDqd+VQ/J58XWqItcUYC40ZvI7Q4ZLF owg7oAHQVbUOBZHJ1mIHtPwtwbZwabSTzgt6oT0lN0sU0JhFxyhtbZfJRO5H81lC XUuoyE9XRp9bEtVNqq0KqJcC3GGD15OVYkSkGMlMc1jkbVstvrwBK8mREpwf9OoN Djx5eeLMyNJyC68MCpEK =Q8lH -----END PGP SIGNATURE----- --=-=-=--