From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Problem with sparse tree not displaying results Date: Tue, 03 Nov 2009 10:12:54 -0500 Message-ID: <87ljinhcax.fsf@gollum.intra.norang.ca> References: <4AF02254.4070702@amlog.co.uk> <374131.76137.qm@web28308.mail.ukl.yahoo.com> <87pr7zhdgn.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5L4C-0002Wh-Fs for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 10:13:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5L48-0002Ub-8S for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 10:13:03 -0500 Received: from [199.232.76.173] (port=38237 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5L47-0002UV-VW for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 10:13:00 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:55893) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5L47-0007nk-KR for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 10:12:59 -0500 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1N5L45-000OEw-Or for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 15:12:58 +0000 Received: from gollum.intra.norang.ca (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.14.3/8.14.3/Debian-5) with ESMTP id nA3FCs1f030979 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 3 Nov 2009 10:12:55 -0500 Received: from gollum.intra.norang.ca (localhost [127.0.0.1]) by gollum.intra.norang.ca (8.14.3/8.14.3/Debian-5) with ESMTP id nA3FCsKj027599 for ; Tue, 3 Nov 2009 10:12:54 -0500 In-Reply-To: <87pr7zhdgn.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Tue\, 03 Nov 2009 09\:47\:52 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org [cc list culled] Bernt Hansen writes: > git bisect identifies the following commit as causing the problem: > > 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc is the first bad commit > commit 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc > Author: Carsten Dominik > 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) `----