emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Problem with sparse tree not displaying results


From: Bernt Hansen
Subject: [Orgmode] Re: Problem with sparse tree not displaying results
Date: Tue, 03 Nov 2009 10:12:54 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

[cc list culled]

Bernt Hansen <address@hidden> writes:

> git bisect identifies the following commit as causing the problem:
>
> 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc is the first bad commit
> commit 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc
> Author: Carsten Dominik <address@hidden>
> 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)
`----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]