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 0D6AF4196F0 for ; Wed, 28 Apr 2010 15:41:24 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.89 X-Spam-Level: X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] 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 12MP-7JX90q5 for ; Wed, 28 Apr 2010 15:41:23 -0700 (PDT) Received: from tarap.cc.columbia.edu (tarap.cc.columbia.edu [128.59.29.7]) by olra.theworths.org (Postfix) with ESMTP id E4F12431FC1 for ; Wed, 28 Apr 2010 15:41:22 -0700 (PDT) Received: from servo.finestructure.net (cpe-72-227-128-66.nyc.res.rr.com [72.227.128.66]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by tarap.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o3SMfLuG020779 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 28 Apr 2010 18:41:22 -0400 (EDT) Received: from jrollins by servo.finestructure.net with local (Exim 4.71) (envelope-from ) id 1O7FwX-0005fc-MB for notmuch@notmuchmail.org; Wed, 28 Apr 2010 18:41:21 -0400 From: Jameson Rollins To: Notmuch Mail Subject: Re: bug report: xapian error for message id with '..' In-Reply-To: <87y6g7zr6q.fsf@servo.finestructure.net> References: <87y6g7zr6q.fsf@servo.finestructure.net> User-Agent: Notmuch/0.3.1-18-gaf7aad2 (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu) Date: Wed, 28 Apr 2010 18:41:18 -0400 Message-ID: <87vdbbw67l.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.7 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: Wed, 28 Apr 2010 22:41:24 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable I have a followup on this report. Olly suggested quoting the quoting of the id, so that the quoting gets properly passed to Xapian, and that seems to work: 0 servo:~ $ notmuch search id:'"4bd73e8cb3d79_1a3c..fb637ff610e@skinner.tma= il"' thread:000000000000c4cf Yest. 15:44 [1/1] XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX= XXXXXXXXXXXX 0 servo:~ $=20 So I think this means that the problem probably lies mostly in the emacs UI not properly quoting the id string. What originally got me on this problem is that I was not able to manipulate the tag of this email from within emacs. On Wed, 28 Apr 2010 08:39:57 -0400, Jameson Rollins wrote: > 0 servo$ notmuch search id:4bd73e8cb3d79_1a3c..fb637ff610e@skinner.tmail > A Xapian exception occurred performing query: Unknown range operation > Query string was: id:4bd73e8cb3d79_1a3c..fb637ff610e@skinner.tmail > 0 servo$=20 I also note here that notmuch is not returning an error, even though a Xapian exception occurred and the search failed. This is another important issue. I'm not sure if I should bring it up in a separate message or not. This goes back to the bug tracking issue. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJL2LmOAAoJEO00zqvie6q8r+MP/1fzvsQS8FYDpVPrzB2WiZMH nv4V0VYYSgTmTbt9hFCsN68wIU90BhVyWBPSkZdp70jB3qLzbZaF+q2swr7AP3pd rgXSKbETKl5Nlryuk46NYGfLdP/9yQMYC239S3ztP9TvxkwZaTWwwrCCst+Eh4bC qx4Z/tnQrchUFRz1yAX6f9ATwQwCe2mwnTOfJywwLIXKCz1WrGn6RPSlaToHKGhN gYt17o1t9E0iE0+o27+IYkaXoYIvzpBJNTyq9eLxxX4SZaZSDZy+hHjpjaI32aTp 8h1qrTKmhOeZV/ivhBxJWF1zwWELYEexbz7a43mS0ObzHtPWap4AlykYIgH6Cwuc M/dhH0AV3fVgJhYVp5o5rwt9kWe9beqRFB8sDbbwQCMQvNdZZUmIyYjZ2y5MImcK jq4Vi2Avx0ay7a+Sp4S7O3iTofOLUi8YrPbxxjcBuHnuG/tBKau1zX+FRovZUhdF XJqK8Xq1RIbTIAcRYBS6LUTK3gDpb2xdS5cZWzAno7XtAJ0ErzBXq1MYqEcngOev HzZEpYzvAUt+CPVhaao0Jc0qOhcFlnVbsvWSWZqundg1nkSh+km3U+O2Ke2+alv/ 7EFNqH4LVXdOB9OnPgptys+ygJnSAigFrzDI/mlau5csWjihJ5EAi05h0xytNiQN 95p4ls5coiEU4QrnvTzw =vTAn -----END PGP SIGNATURE----- --=-=-=--