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 0D5AC431FCF for ; Tue, 2 Feb 2010 08:53:00 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -3.306 X-Spam-Level: X-Spam-Status: No, score=-3.306 tagged_above=-999 required=5 tests=[AWL=0.693, 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 gQd8++KK3jEu for ; Tue, 2 Feb 2010 08:52:59 -0800 (PST) Received: from brinza.cc.columbia.edu (brinza.cc.columbia.edu [128.59.29.8]) by olra.theworths.org (Postfix) with ESMTP id 50D0B431FCB for ; Tue, 2 Feb 2010 08:52:59 -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 o12GqkC9004415 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 2 Feb 2010 11:52:56 -0500 (EST) Received: from jrollins by servo.finestructure.net with local (Exim 4.71) (envelope-from ) id 1NcLza-0001Oq-EY; Tue, 02 Feb 2010 11:52:46 -0500 From: Jameson Rollins To: Michal Sojka , notmuch@notmuchmail.org In-Reply-To: <87eil3ehjh.fsf@servo.finestructure.net> References: <201001291049.21048.sojkam1@fel.cvut.cz> <1265122868-12133-1-git-send-email-sojkam1@fel.cvut.cz> <87eil3ehjh.fsf@servo.finestructure.net> Date: Tue, 02 Feb 2010 11:52:43 -0500 Message-ID: <87636feg10.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 16:53:00 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 02 Feb 2010 11:20:02 -0500, Jameson Rollins wrote: > I just gave it a try, though, and it seemed to be behaving a little > strangely. I currently have two subdirectories, "inbox" and "sent". > However, new mail to either directory was showing up under the search: >=20 > notmuch search folder:inbox >=20 > and nothing was showing up under the search: >=20 > notmuch search folder:sent >=20 > I wonder if there's a problem with the logic it uses to determine the > folder naming? Do you think you could look into this? I would really > like to push to have a patch like this applied upstream soon. I think I was wrong about this. It looks like I'm seeing a different issue that may not be related. As a test I was sending mail to myself, which meant that it was showing up in both "inbox" *and* "sent", and it looks like in the face of an email in duplicate directories, the "inbox" was winning. Mail sent to not me is showing up under folder:sent just fine. So I think this is working! jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJLaFhbAAoJEO00zqvie6q8PNwP/17WfG/g1lYlURWBMf3oDcXl VyCHbCoTrYF5ym3vOMyYRyO8zjd/rZXSWwaKXdSflzGfHQAO3QHDIOmtuD84NUmG lICTOgn1BUYTTOif0vSb+c283MJNfsqAW0fAkgXFzPQhXUn7ASIOmQnqVpdG3K3T cTBPoyxedrH/BcK2tUzS6oi07fLFdNQeNng79nn3Ug0n1u0pgrunicmjr6bKe1zb rW5fw5ly9VXXHCINX16u43s6iWbuu1nCQVBAHcopR9Yi0hr1H3GvG9WInpacpmFo aT9U85/FmyP0hBm6y/Osdbk8mRYo3S5noOi4549dcLhDmOH1J8IWa+KPLWpMO5mf Q+8KMp+KWdHOj8ZrcoiWH4vbwPe/oxOpJfMN6dzHVBT1Qn58i041nx9oFCcZG+dT vuumHeSpjANM0olCkcxHkuDtK3Wa+xYsJ/D8YFfaOexJjsiMksi6mCe1RDIbZxYT 83KX2XpQk77SiQ2mSiEFv8xo5LE7N7r7PZcGPSeWXReHCfcB2HGURyeqUSwBb2oN YGOlQaiJkhRzLFWl5fZxBVfc/eEBzqTsNulir0fGy1wR70SGk+GS4f0Omv94XEPi FzSVQqJzxH6RmyOiDb+Qlb3vvqO/75/LI3IXbcSJsl5N9HP7wavOErv4WppGIg99 J10vd1kDreSPO5KurYRC =7MXu -----END PGP SIGNATURE----- --=-=-=--