From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: [BUG] tags sparse tree broken Date: Thu, 9 Feb 2012 03:22:55 +0100 Message-ID: <20120209032255.431e8197@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/MnHGkdTtxk=VhEv2NdXpaji" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvJfA-0002LV-4a for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 21:23:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvJf5-0007Pt-N9 for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 21:23:08 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:55760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvJf5-0007Pn-B3 for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 21:23:03 -0500 Received: by eaag11 with SMTP id g11so418249eaa.0 for ; Wed, 08 Feb 2012 18:23:01 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org mode mailing list --MP_/MnHGkdTtxk=VhEv2NdXpaji Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I believe the sparse tree search is broken. It has been broken for a while I think. Searching for tags returns no matches. I get the following backtrace with debug enabled on a minimal emacs on using `next-error' after a tag search which should return a positive result. Debugger entered--Lisp error: (error "No more matches") signal(error ("No more matches")) error("No more matches") byte-code("=08`\305\"\211=11\2036 org-occur-next-match(1 nil) next-error(nil) call-interactively(next-error nil nil) To replicate this, open the attached org file and search for the tag Qn. C-c / m Q n RET I tried running a quick edebug on org-sparse-tree, but I am having a problem in answering the prompt and stepping forward with the edebug simultaneously. Hopefully someone else will have a better luck. Thanks, --=20 Suvayu Open source is the future. It sets us free. --MP_/MnHGkdTtxk=VhEv2NdXpaji Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=tag-test.org DQoqIEJz4oGwIGRlY2F5DQoqKiBEZWNheSBtb2RlbAkJCQkJCQkJIDpRbjoNCjEuIEp1c3RpZnkg bmVnbGVjdGluZyBDUCB2aW9sYXRpb24NCiAgIC0gaW4gZGVjYXkgZm9yIHRoZSBEc0sgY2hhbm5l bA0KICAgLSBpbiBCcyBtaXhpbmcgZm9yIGJvdGggRHNLIGFuZCBEc8+AIGNoYW5uZWxzDQoyLiBW ZXJpZnkgbWFzdGVyIGVxdWF0aW9ucw0KDQoqKiBCdWlsZCBQREYJCQkJCQkJCSA6UW46DQo= --MP_/MnHGkdTtxk=VhEv2NdXpaji--