* [BUG] tags sparse tree broken
@ 2012-02-09 2:22 Suvayu Ali
2012-02-12 18:41 ` David Maus
0 siblings, 1 reply; 3+ messages in thread
From: Suvayu Ali @ 2012-02-09 2:22 UTC (permalink / raw
To: Org mode mailing list
[-- Attachment #1: Type: text/plain, Size: 912 bytes --]
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("\b`\305\"\211\x11\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,
--
Suvayu
Open source is the future. It sets us free.
[-- Attachment #2: tag-test.org --]
[-- Type: text/plain, Size: 224 bytes --]
* Bsâ° decay
** Decay model :Qn:
1. Justify neglecting CP violation
- in decay for the DsK channel
- in Bs mixing for both DsK and DsÏ channels
2. Verify master equations
** Build PDF :Qn:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] tags sparse tree broken
2012-02-09 2:22 [BUG] tags sparse tree broken Suvayu Ali
@ 2012-02-12 18:41 ` David Maus
2012-02-12 20:48 ` suvayu ali
0 siblings, 1 reply; 3+ messages in thread
From: David Maus @ 2012-02-12 18:41 UTC (permalink / raw
To: Suvayu Ali; +Cc: Org mode mailing list
[-- Attachment #1: Type: text/plain, Size: 797 bytes --]
At Thu, 9 Feb 2012 03:22:55 +0100,
Suvayu Ali wrote:
>
> [1 <text/plain; UTF-8 (quoted-printable)>]
> 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.
I pushed a patch to master that should fix the problem. Sparse tree
search for a tag as outlined in the example works now in current
master the same way it did in Org 7.7.
It was not the matching that was broken, but the highlighting of the
matches.
Could you check if this problem is fixed for you?
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] tags sparse tree broken
2012-02-12 18:41 ` David Maus
@ 2012-02-12 20:48 ` suvayu ali
0 siblings, 0 replies; 3+ messages in thread
From: suvayu ali @ 2012-02-12 20:48 UTC (permalink / raw
To: David Maus; +Cc: Org mode mailing list
Hi David,
On Sun, Feb 12, 2012 at 19:41, David Maus <dmaus@ictsoc.de> wrote:
> I pushed a patch to master that should fix the problem. Sparse tree
> search for a tag as outlined in the example works now in current
> master the same way it did in Org 7.7.
>
> It was not the matching that was broken, but the highlighting of the
> matches.
>
> Could you check if this problem is fixed for you?
Your patch fixes the problem. Thanks a lot. :)
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-12 20:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-09 2:22 [BUG] tags sparse tree broken Suvayu Ali
2012-02-12 18:41 ` David Maus
2012-02-12 20:48 ` suvayu ali
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.