From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luke Amdor Subject: Bug: org-habit and headlines with links Date: Sun, 17 Jan 2010 09:45:33 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1707337159==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWXKD-0004wC-3o for emacs-orgmode@gnu.org; Sun, 17 Jan 2010 10:46:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWXK7-0004vy-J3 for emacs-orgmode@gnu.org; Sun, 17 Jan 2010 10:45:59 -0500 Received: from [199.232.76.173] (port=45236 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWXK7-0004vv-FU for emacs-orgmode@gnu.org; Sun, 17 Jan 2010 10:45:55 -0500 Received: from mail-px0-f192.google.com ([209.85.216.192]:38288) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWXK6-00059s-Va for emacs-orgmode@gnu.org; Sun, 17 Jan 2010 10:45:55 -0500 Received: by pxi30 with SMTP id 30so1468444pxi.14 for ; Sun, 17 Jan 2010 07:45:54 -0800 (PST) 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 --===============1707337159== Content-Type: multipart/alternative; boundary=0016e64cb3f0c6c2f6047d5e214c --0016e64cb3f0c6c2f6047d5e214c Content-Type: text/plain; charset=ISO-8859-1 When I have a headline with a link on it and I have that headline's habit property set to true, org-habit will barf all over my link when presenting the agenda. This will only happen when org-habit-graph-column is set something shorter than the full raw text of the link (which is about all of them). I ran git bisect on org-mode and found the bad commit to be: commit 2f5f6e401f187c2db8131cdbc4355b688ce4c55a Author: Carsten Dominik Date: Mon Jan 4 09:58:53 2010 +0100 Turn off invisibility while constructing habit graphs Bernt Hansen reported strange things happening to the display when graph tasks are hidden while updating a task in the agenda. Here's my bisect log: # bad: [0e370d498b34469a025cdce864fd5c5987bf8050] Fix typo # good: [a7fb89e9edf59f50294199046e570b4b11bb13b1] Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode git bisect start 'origin/master' 'HEAD' # good: [21ad7f0bef20addfe15fbe3e95d65e6c810d68f1] Fix typo git bisect good 21ad7f0bef20addfe15fbe3e95d65e6c810d68f1 # good: [0b5d9bf1c62454523b275dd6a6b95bf881580eb1] Merge branch 'org-ctags' git bisect good 0b5d9bf1c62454523b275dd6a6b95bf881580eb1 # bad: [588a42d4fd2e59e3f69d5a3f9ea00ff3a64f5df9] org-exp-generic.el: Fix bug with closing bodies git bisect bad 588a42d4fd2e59e3f69d5a3f9ea00ff3a64f5df9 # bad: [32441cd15150f541d3ba50633cfb9fffc8d3d11a] Fix agenda link opening bug git bisect bad 32441cd15150f541d3ba50633cfb9fffc8d3d11a # bad: [ddcb2be1c8920fabfbca3777cc774ed1ac653a6e] Work-around for formatting bug with email subject line from wanderlust git bisect bad ddcb2be1c8920fabfbca3777cc774ed1ac653a6e # good: [c23ade5d8e4b3cd4f0c4dbe5260cad1f227d2710] Make C-c r C customize remember templates git bisect good c23ade5d8e4b3cd4f0c4dbe5260cad1f227d2710 # good: [f266ee62bb8282cc883adea9f26362b2d3b1ab7d] Fix typo git bisect good f266ee62bb8282cc883adea9f26362b2d3b1ab7d # bad: [2f5f6e401f187c2db8131cdbc4355b688ce4c55a] Turn off invisibility while constructing habit graphs git bisect bad 2f5f6e401f187c2db8131cdbc4355b688ce4c55a Luke --0016e64cb3f0c6c2f6047d5e214c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable When I have a headline with a link on it and I have that headline's hab= it property set to true, org-habit will barf all over my link when presenti= ng the agenda. This will only happen when=A0org-habit-graph-column is set s= omething shorter than the full raw text of the link (which is about all of = them).

I ran git bisect on org-mode and found the bad commit to be:=

commit 2f5f6e401f187c2db8131cdbc4355b688ce4c55a
Author:= Carsten Dominik <carsten.dominik@gmail.com>
Date: =A0 Mon Jan 4 09= :58:53 2010 +0100

=A0=A0 =A0Turn off invisibility while constructing habi= t graphs
=A0=A0 =A0
=A0=A0 =A0Bernt Hansen reported str= ange things happening to the display when
=A0=A0 =A0graph tasks a= re hidden while updating a task in the agenda.

Here's my bisect log:

# ba= d: [0e370d498b34469a025cdce864fd5c5987bf8050] Fix typo
# good: [a= 7fb89e9edf59f50294199046e570b4b11bb13b1] Merge branch 'master' of g= it+ssh://r= epo.or.cz/srv/git/org-mode
git bisect start 'origin/master' 'HEAD'
# go= od: [21ad7f0bef20addfe15fbe3e95d65e6c810d68f1] Fix typo
git bisec= t good 21ad7f0bef20addfe15fbe3e95d65e6c810d68f1
# good: [0b5d9bf1= c62454523b275dd6a6b95bf881580eb1] Merge branch 'org-ctags'
git bisect good 0b5d9bf1c62454523b275dd6a6b95bf881580eb1
# b= ad: [588a42d4fd2e59e3f69d5a3f9ea00ff3a64f5df9] org-exp-generic.el: Fix bug = with closing bodies
git bisect bad 588a42d4fd2e59e3f69d5a3f9ea00f= f3a64f5df9
# bad: [32441cd15150f541d3ba50633cfb9fffc8d3d11a] Fix agenda link open= ing bug
git bisect bad 32441cd15150f541d3ba50633cfb9fffc8d3d11a
# bad: [ddcb2be1c8920fabfbca3777cc774ed1ac653a6e] Work-around for = formatting bug with email subject line from wanderlust
git bisect bad ddcb2be1c8920fabfbca3777cc774ed1ac653a6e
# go= od: [c23ade5d8e4b3cd4f0c4dbe5260cad1f227d2710] Make C-c r C customize remem= ber templates
git bisect good c23ade5d8e4b3cd4f0c4dbe5260cad1f227= d2710
# good: [f266ee62bb8282cc883adea9f26362b2d3b1ab7d] Fix typo
= git bisect good f266ee62bb8282cc883adea9f26362b2d3b1ab7d
# bad: [= 2f5f6e401f187c2db8131cdbc4355b688ce4c55a] Turn off invisibility while const= ructing habit graphs
git bisect bad 2f5f6e401f187c2db8131cdbc4355b688ce4c55a

=
Luke
--0016e64cb3f0c6c2f6047d5e214c-- --===============1707337159== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1707337159==--