* Problem with sparse tree not displaying results
@ 2009-11-03 12:30 Chris Randle
2009-11-03 13:31 ` Giovanni Ridolfi
2009-11-03 14:36 ` Carsten Dominik
0 siblings, 2 replies; 6+ messages in thread
From: Chris Randle @ 2009-11-03 12:30 UTC (permalink / raw)
To: emacs-orgmode
Hi Carsten
I'm using Org-mode 6.32b under GNU Emacs 22.1.1 and Windows XP Pro SP3.
I've just noticed that creating a sparse tree with `C-c / r' is not
displaying matches in my org file. It hasn't always been this way, I
*think* things were working OK around 6.29, but it's hard to be sure.
I've managed to pare my org file down to a few lines that demonstrate
the problem
===============================
* Customers
** Customer A
*** Billing
**** Support during September :ARCHIVE:
** Customer B
07964-xxxxxx
*** Problem with Laptop
** Customer C
*** Current Details
*** Test of 07968 showing up
** Customer D
01673-xxxxxx
07968-xxxxxx
*** Laptop slowdown fix
spoolsv.exe at 99%
===================================
Setting a sparse tree by regexp 0796[48] returns "3 match(es) for regexp
0796[48]", but the tree doesn't expand at the hit locations. If I
manually expand the tree at the locations of the hits, the results are
highlighted. It makes no difference if the hits are in a headline or in
notes beneath a headline.
Remove the ARCHIVE tag from the "Support during September" headline with
`C-c C-x a' and redo the sparse tree. Everything now appears expanded as
I'd expect.
The values of my org-show variables are
org-show-hierarchy-above is a variable defined in `org.el'.
Its value is ((default . t))
org-show-following-heading is a variable defined in `org.el'.
Its value is ((default))
org-show-siblings is a variable defined in `org.el'.
Its value is
((default)
(isearch t))
org-show-entry-below is a variable defined in `org.el'.
Its value is ((default))
--
Chris Randle
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with sparse tree not displaying results
2009-11-03 12:30 Problem with sparse tree not displaying results Chris Randle
@ 2009-11-03 13:31 ` Giovanni Ridolfi
2009-11-03 14:47 ` Bernt Hansen
2009-11-03 14:36 ` Carsten Dominik
1 sibling, 1 reply; 6+ messages in thread
From: Giovanni Ridolfi @ 2009-11-03 13:31 UTC (permalink / raw)
To: emacs-orgmode, Chris Randle
--- Mar 3/11/09, Chris Randle <chris@amlog.co.uk> ha scritto:
>
> I'm using Org-mode 6.32b under GNU Emacs 22.1.1 and Windows
> XP Pro SP3.
>
> I've just noticed that creating a sparse tree with
> `C-c / r'
> is not displaying matches in my org file.
Org-mode version 6.32trans (2009-11-03 0:45)
GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
Windows XP Pro SP3
I confirm this. If the :ARCHIVE: is removed the
tree is displayed.
cheers,
Giovanni
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with sparse tree not displaying results
2009-11-03 12:30 Problem with sparse tree not displaying results Chris Randle
2009-11-03 13:31 ` Giovanni Ridolfi
@ 2009-11-03 14:36 ` Carsten Dominik
1 sibling, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2009-11-03 14:36 UTC (permalink / raw)
To: Chris Randle; +Cc: emacs-orgmode
Fixed, thanks.
- Carsten
On Nov 3, 2009, at 1:30 PM, Chris Randle wrote:
> Hi Carsten
>
> I'm using Org-mode 6.32b under GNU Emacs 22.1.1 and Windows XP Pro
> SP3.
>
> I've just noticed that creating a sparse tree with `C-c / r' is not
> displaying matches in my org file. It hasn't always been this way, I
> *think* things were working OK around 6.29, but it's hard to be sure.
>
> I've managed to pare my org file down to a few lines that
> demonstrate the problem
>
> ===============================
>
> * Customers
> ** Customer A
> *** Billing
> **** Support during September :ARCHIVE:
> ** Customer B
> 07964-xxxxxx
>
> *** Problem with Laptop
> ** Customer C
> *** Current Details
>
> *** Test of 07968 showing up
> ** Customer D
> 01673-xxxxxx
> 07968-xxxxxx
>
> *** Laptop slowdown fix
> spoolsv.exe at 99%
>
> ===================================
>
> Setting a sparse tree by regexp 0796[48] returns "3 match(es) for
> regexp 0796[48]", but the tree doesn't expand at the hit locations.
> If I manually expand the tree at the locations of the hits, the
> results are highlighted. It makes no difference if the hits are in a
> headline or in notes beneath a headline.
>
> Remove the ARCHIVE tag from the "Support during September" headline
> with `C-c C-x a' and redo the sparse tree. Everything now appears
> expanded as I'd expect.
>
> The values of my org-show variables are
>
> org-show-hierarchy-above is a variable defined in `org.el'.
> Its value is ((default . t))
>
> org-show-following-heading is a variable defined in `org.el'.
> Its value is ((default))
>
> org-show-siblings is a variable defined in `org.el'.
> Its value is
> ((default)
> (isearch t))
>
> org-show-entry-below is a variable defined in `org.el'.
> Its value is ((default))
>
> --
> Chris Randle
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with sparse tree not displaying results
2009-11-03 13:31 ` Giovanni Ridolfi
@ 2009-11-03 14:47 ` Bernt Hansen
2009-11-03 15:12 ` Bernt Hansen
2009-11-03 16:32 ` Carsten Dominik
0 siblings, 2 replies; 6+ messages in thread
From: Bernt Hansen @ 2009-11-03 14:47 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:
> --- Mar 3/11/09, Chris Randle <chris@amlog.co.uk> ha scritto:
>>
>> I'm using Org-mode 6.32b under GNU Emacs 22.1.1 and Windows
>> XP Pro SP3.
>>
>> I've just noticed that creating a sparse tree with
>> `C-c / r'
>> is not displaying matches in my org file.
>
> Org-mode version 6.32trans (2009-11-03 0:45)
> GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
> Windows XP Pro SP3
>
> I confirm this. If the :ARCHIVE: is removed the
> tree is displayed.
git bisect identifies the following commit as causing the problem:
525b0148c5d53280c46b3ecfb2d2adcfcbf999bc is the first bad commit
commit 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc
Author: Carsten Dominik <carsten.dominik@gmail.com>
Date: Fri Sep 18 13:53:23 2009 +0100
Make testing for headline independent of visibility
:040000 040000 ba0fd654b88682f598ad22ec2bc1a092e7bbc6cc d3abe9044257023f6000a88dc697ebdf7f650fa8 M lisp
-Bernt
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with sparse tree not displaying results
2009-11-03 14:47 ` Bernt Hansen
@ 2009-11-03 15:12 ` Bernt Hansen
2009-11-03 16:32 ` Carsten Dominik
1 sibling, 0 replies; 6+ messages in thread
From: Bernt Hansen @ 2009-11-03 15:12 UTC (permalink / raw)
To: emacs-orgmode
[cc list culled]
Bernt Hansen <bernt@norang.ca> writes:
> git bisect identifies the following commit as causing the problem:
>
> 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc is the first bad commit
> commit 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc
> Author: Carsten Dominik <carsten.dominik@gmail.com>
> Date: Fri Sep 18 13:53:23 2009 +0100
>
> Make testing for headline independent of visibility
>
> :040000 040000 ba0fd654b88682f598ad22ec2bc1a092e7bbc6cc d3abe9044257023f6000a88dc697ebdf7f650fa8 M lisp
In case anyone is interested I used the following setup to find it:
In my org-mode git repository I checked out master and ran
$ make clean # to remove compiled files
$ minimal-emacs /tmp/foo.org -l /tmp/exec.el -f foo # this is my test case
and verified that it beeped (showing failure)
$ git checkout release_6.29
$ minimal-emacs /tmp/foo.org -l /tmp/exec.el -f foo
This works (no beep)
Then
$ git bisect start master release_6.29
and for each checked out version
$ minimal-emacs /tmp/foo.org -l /tmp/exec.el -f foo
If it fails do
$ git bisect bad
otherwise do
$ git bisect good
rinse and repeat until the bad commit is identified.
There are 671 commits between release_6.29 and master and this finds the
bad commit by looking at only 10 commits (12 if you count the initial
test of master and release_6.29)
,----[ git bisect log ]
| $ git bisect log
| # bad: [5a24f6c9d2f0b479f0c7970607ccbddf00feb861] Keep compiler happy
| # good: [d67a9be8a20c270aaa8ac3bbd562fa458567c452] Release 6.29
| git bisect start 'master' 'release_6.29'
| # good: [8ba39da7e9debf3862c80f8066cc9c15d5e47d3c] [BUG FIX] DONE non-orgtbl formatted lists
| git bisect good 8ba39da7e9debf3862c80f8066cc9c15d5e47d3c
| # bad: [d5f8d47192d9b5a67a6eb687517a41413d005dc9] Improve documentation for MobileOrg
| git bisect bad d5f8d47192d9b5a67a6eb687517a41413d005dc9
| # good: [3f640c191a4789b24a7589e04c4f63ec16444abb] outline-end-of-subtree: Bugfix.
| git bisect good 3f640c191a4789b24a7589e04c4f63ec16444abb
| # good: [0ad03e87b81bd92e78c8ba6bc8febc2e772021dd] Merge commit 'origin/master'
| git bisect good 0ad03e87b81bd92e78c8ba6bc8febc2e772021dd
| # good: [6f9644682bfc53fc11229a3c5747a424feb28b8a] org-babel now explicitly requires org-table
| git bisect good 6f9644682bfc53fc11229a3c5747a424feb28b8a
| # good: [8c2a918fd97716a21a7e1fd8e7e258ec048f3979] Merge branch 'MobileOrg'
| git bisect good 8c2a918fd97716a21a7e1fd8e7e258ec048f3979
| # good: [2e8ece9219f0164b5f9c1abff1b65119089bef42] New STARTUP keyword `showeverything'
| git bisect good 2e8ece9219f0164b5f9c1abff1b65119089bef42
| # bad: [3492407250f4c2b9a65be7603c46dcc2e68132e5] Rename the Mobileorg capture file
| git bisect bad 3492407250f4c2b9a65be7603c46dcc2e68132e5
| # bad: [525b0148c5d53280c46b3ecfb2d2adcfcbf999bc] Make testing for headline independent of visibility
| git bisect bad 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc
| # good: [762136b25c5ba363ea210742aab85ae34b9ecb93] Fix problem with insertion of statistics cookies at visibility boundaries
| git bisect good 762136b25c5ba363ea210742aab85ae34b9ecb93
`----
-Bernt
,----[ /tmp/foo.org ]
|
| * Customers
| ** Customer A
| *** Billing
| **** Support during September :ARCHIVE:
| ** Customer B
| 07964-xxxxxx
|
| *** Problem with Laptop
| ** Customer C
| *** Current Details
|
| *** Test of 07968 showing up
| ** Customer D
| 01673-xxxxxx
| 07968-xxxxxx
|
| *** Laptop slowdown fix
| spoolsv.exe at 99%
|
`----
,----[ /tmp/exec.el ]
| (defun foo ()
| (interactive)
| (org-occur "0796[48]")
| (next-line))
`----
,----[ ~/bin/minimal-emacs ]
| #!/bin/sh
| emacs -q -l ~/minimal.emacs $*
`----
,----[ ~/minimal.emacs ]
| (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
| (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
| (require 'org-install)
|
| (global-set-key "\C-cl" 'org-store-link)
| (global-set-key "\C-ca" 'org-agenda)
| (global-set-key "\C-cb" 'org-iswitchb)
`----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problem with sparse tree not displaying results
2009-11-03 14:47 ` Bernt Hansen
2009-11-03 15:12 ` Bernt Hansen
@ 2009-11-03 16:32 ` Carsten Dominik
1 sibling, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2009-11-03 16:32 UTC (permalink / raw)
To: Bernt Hansen; +Cc: Carsten Dominik, emacs-orgmode
Hi Bernt,
this is an interesting piece of information, thanks. That commit did
fix bug, but apparently exposed a sleeping bug. Everything should be
working now.
- Carsten
On Nov 3, 2009, at 3:47 PM, Bernt Hansen wrote:
> Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:
>
>> --- Mar 3/11/09, Chris Randle <chris@amlog.co.uk> ha scritto:
>>>
>>> I'm using Org-mode 6.32b under GNU Emacs 22.1.1 and Windows
>>> XP Pro SP3.
>>>
>>> I've just noticed that creating a sparse tree with
>>> `C-c / r'
>>> is not displaying matches in my org file.
>>
>> Org-mode version 6.32trans (2009-11-03 0:45)
>> GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
>> Windows XP Pro SP3
>>
>> I confirm this. If the :ARCHIVE: is removed the
>> tree is displayed.
>
> git bisect identifies the following commit as causing the problem:
>
> 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc is the first bad commit
> commit 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc
> Author: Carsten Dominik <carsten.dominik@gmail.com>
> Date: Fri Sep 18 13:53:23 2009 +0100
>
> Make testing for headline independent of visibility
>
> :040000 040000 ba0fd654b88682f598ad22ec2bc1a092e7bbc6cc
> d3abe9044257023f6000a88dc697ebdf7f650fa8 M lisp
>
> -Bernt
- Carsten
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-11-03 17:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-03 12:30 Problem with sparse tree not displaying results Chris Randle
2009-11-03 13:31 ` Giovanni Ridolfi
2009-11-03 14:47 ` Bernt Hansen
2009-11-03 15:12 ` Bernt Hansen
2009-11-03 16:32 ` Carsten Dominik
2009-11-03 14:36 ` Carsten Dominik
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).