all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Timeline not working in 5.20
@ 2008-02-06  9:59 Sven Bretfeld
  2008-02-06 15:56 ` Carsten Dominik
  0 siblings, 1 reply; 11+ messages in thread
From: Sven Bretfeld @ 2008-02-06  9:59 UTC (permalink / raw)
  To: emacs-org


[-- Attachment #1.1: Type: text/plain, Size: 337 bytes --]

Hi 

I've installed 5.20 today. There seems to be a bug with "Timeline for
current buffer" (C-c aL)

Arithmetic range error: "floor", -0.0e+NaN

The Agenda buffer shows only one timestamped item. It's the same on
both my machines (with an identical org-file). I'm using GNUEmacs
23.0.50.1 on Debian Etch. 

Greetings

Sven

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Timeline not working in 5.20
  2008-02-06  9:59 Timeline not working in 5.20 Sven Bretfeld
@ 2008-02-06 15:56 ` Carsten Dominik
  2008-02-06 18:57   ` Wanrong Lin
  0 siblings, 1 reply; 11+ messages in thread
From: Carsten Dominik @ 2008-02-06 15:56 UTC (permalink / raw)
  To: Sven Bretfeld; +Cc: emacs-org

Hi Sven,

please make a minimal file that still reproduces this bug,
or at least prepare a backtrace so that we can have a chance.

When I take a random file, the timeline works just fine for me.

- Carsten

On Feb 6, 2008, at 10:59 AM, Sven Bretfeld wrote:

> Hi
>
> I've installed 5.20 today. There seems to be a bug with "Timeline for
> current buffer" (C-c aL)
>
> Arithmetic range error: "floor", -0.0e+NaN
>
> The Agenda buffer shows only one timestamped item. It's the same on
> both my machines (with an identical org-file). I'm using GNUEmacs
> 23.0.50.1 on Debian Etch.
>
> Greetings
>
> Sven
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Timeline not working in 5.20
  2008-02-06 15:56 ` Carsten Dominik
@ 2008-02-06 18:57   ` Wanrong Lin
  2008-02-06 21:13     ` Sven Bretfeld
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Wanrong Lin @ 2008-02-06 18:57 UTC (permalink / raw)
  Cc: emacs-org


I have the same problem, and here is a mini-example that will generate 
the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it helps.

Wanrong

-----
* Human Resources
*** TODO Do Employee survey
    DEADLINE: <2008-02-14 Thu>
------



Carsten Dominik wrote:
> Hi Sven,
>
> please make a minimal file that still reproduces this bug,
> or at least prepare a backtrace so that we can have a chance.
>
> When I take a random file, the timeline works just fine for me.
>
> - Carsten
>
> On Feb 6, 2008, at 10:59 AM, Sven Bretfeld wrote:
>
>> Hi
>>
>> I've installed 5.20 today. There seems to be a bug with "Timeline for
>> current buffer" (C-c aL)
>>
>> Arithmetic range error: "floor", -0.0e+NaN
>>
>> The Agenda buffer shows only one timestamped item. It's the same on
>> both my machines (with an identical org-file). I'm using GNUEmacs
>> 23.0.50.1 on Debian Etch.
>>
>> Greetings
>>
>> Sven
>> _______________________________________________
>> 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
>
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Timeline not working in 5.20
  2008-02-06 18:57   ` Wanrong Lin
@ 2008-02-06 21:13     ` Sven Bretfeld
  2008-02-06 23:10     ` Phil Jackson
  2008-02-07  7:29     ` Carsten Dominik
  2 siblings, 0 replies; 11+ messages in thread
From: Sven Bretfeld @ 2008-02-06 21:13 UTC (permalink / raw)
  To: emacs-org


[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]

Hi

Wanrong Lin <wanrong.lin@gmail.com> writes:

> -----
> * Human Resources
> *** TODO Do Employee survey
>    DEADLINE: <2008-02-14 Thu>
> ------

This minimal example reproduces that error on my system too. 

Greetings

Sven

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Timeline not working in 5.20
  2008-02-06 18:57   ` Wanrong Lin
  2008-02-06 21:13     ` Sven Bretfeld
@ 2008-02-06 23:10     ` Phil Jackson
  2008-02-07  2:11       ` Mark Ochocki
  2008-02-07  7:13       ` Carsten Dominik
  2008-02-07  7:29     ` Carsten Dominik
  2 siblings, 2 replies; 11+ messages in thread
From: Phil Jackson @ 2008-02-06 23:10 UTC (permalink / raw)
  To: Wanrong Lin; +Cc: emacs-org

Wanrong Lin <wanrong.lin@gmail.com> writes:

> I have the same problem, and here is a mini-example that will generate
> the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it
> helps.

I've had a look and I think the culprit is:

 ,----[ line 21411 ]
 |  dfrac (/ (* 1.0 (- wdays diff)) wdays)
 `----

Which evals to -0.0e+NaN and then propagates. Might see if I can dig
further tomorrow if I get time.

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Timeline not working in 5.20
  2008-02-06 23:10     ` Phil Jackson
@ 2008-02-07  2:11       ` Mark Ochocki
  2008-02-07  7:12         ` Carsten Dominik
  2008-02-07  7:13       ` Carsten Dominik
  1 sibling, 1 reply; 11+ messages in thread
From: Mark Ochocki @ 2008-02-07  2:11 UTC (permalink / raw)
  To: emacs-orgmode

Phil Jackson wrote:
> Wanrong Lin <wanrong.lin@gmail.com> writes:
> 
>> I have the same problem, and here is a mini-example that will generate
>> the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it
>> helps.
> 
> I've had a look and I think the culprit is:
> 
>  ,----[ line 21411 ]
>  |  dfrac (/ (* 1.0 (- wdays diff)) wdays)
>  `----
> 
> Which evals to -0.0e+NaN and then propagates. Might see if I can dig
> further tomorrow if I get time.
> 
> Cheers,
> Phil

I believe line 21411 also causes problems with Deadlines when individual 
items are changed from the default set in org-deadline-warning-days.

Here's an example from my org file:

Day-agenda:
   Controller:    In   4 d.:  TODO Review Fin... :workpc:(priority 1060)
   Controller:    In   5 d.:  TODO Brief MA...   :work:  (priority 1050)
   Controller:    In   4 d.:  TODO Run sale...   :workpc:(priority 1042)

org file:
***** TODO Run sale...			 	:workpc:
       DEADLINE: <2008-02-10 Sun +1m -7d>
***** TODO Review Fin... 			:workpc:
       DEADLINE: <2008-02-10 Sun +1m -10d>
***** TODO Brief MA...				  :work:
       DEADLINE: <2008-02-11 Mon -10d>


I think the 5 day deadline should have a lower priority than the 4 day 
priority regardless of the percentage of completion. Agree?

Mark J. Ochocki

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: Timeline not working in 5.20
  2008-02-07  2:11       ` Mark Ochocki
@ 2008-02-07  7:12         ` Carsten Dominik
  2008-02-07 14:48           ` Bernt Hansen
  0 siblings, 1 reply; 11+ messages in thread
From: Carsten Dominik @ 2008-02-07  7:12 UTC (permalink / raw)
  To: Mark Ochocki; +Cc: emacs-orgmode


On Feb 7, 2008, at 3:11 AM, Mark Ochocki wrote:

> Phil Jackson wrote:
>> Wanrong Lin <wanrong.lin@gmail.com> writes:
>>> I have the same problem, and here is a mini-example that will  
>>> generate
>>> the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it
>>> helps.
>> I've had a look and I think the culprit is:
>> ,----[ line 21411 ]
>> |  dfrac (/ (* 1.0 (- wdays diff)) wdays)
>> `----
>> Which evals to -0.0e+NaN and then propagates. Might see if I can dig
>> further tomorrow if I get time.
>> Cheers,
>> Phil
>
> I believe line 21411 also causes problems with Deadlines when  
> individual items are changed from the default set in org-deadline- 
> warning-days.
>
> Here's an example from my org file:
>
> Day-agenda:
>  Controller:    In   4 d.:  TODO Review Fin... :workpc:(priority 1060)
>  Controller:    In   5 d.:  TODO Brief MA...   :work:  (priority 1050)
>  Controller:    In   4 d.:  TODO Run sale...   :workpc:(priority 1042)
>
> org file:
> ***** TODO Run sale...			 	:workpc:
>      DEADLINE: <2008-02-10 Sun +1m -7d>
> ***** TODO Review Fin... 			:workpc:
>      DEADLINE: <2008-02-10 Sun +1m -10d>
> ***** TODO Brief MA...				  :work:
>      DEADLINE: <2008-02-11 Mon -10d>

Well, I guess this is a matter of taste.  Do you want the deadlines  
prioritized
according to the fraction of warning time that has past, or according to
the number of days left to do them.  Opinions?

- Carsten

>
>
>
> I think the 5 day deadline should have a lower priority than the 4  
> day priority regardless of the percentage of completion. Agree?
>
> Mark J. Ochocki
>
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Timeline not working in 5.20
  2008-02-06 23:10     ` Phil Jackson
  2008-02-07  2:11       ` Mark Ochocki
@ 2008-02-07  7:13       ` Carsten Dominik
  1 sibling, 0 replies; 11+ messages in thread
From: Carsten Dominik @ 2008-02-07  7:13 UTC (permalink / raw)
  To: Phil Jackson; +Cc: emacs-org

Fixed, thanks.

- Carsten

On Feb 7, 2008, at 12:10 AM, Phil Jackson wrote:

> Wanrong Lin <wanrong.lin@gmail.com> writes:
>
>> I have the same problem, and here is a mini-example that will  
>> generate
>> the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it
>> helps.
>
> I've had a look and I think the culprit is:
>
> ,----[ line 21411 ]
> |  dfrac (/ (* 1.0 (- wdays diff)) wdays)
> `----
>
> Which evals to -0.0e+NaN and then propagates. Might see if I can dig
> further tomorrow if I get time.
>
> Cheers,
> Phil
> -- 
> Phil Jackson
> http://www.shellarchive.co.uk
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Timeline not working in 5.20
  2008-02-06 18:57   ` Wanrong Lin
  2008-02-06 21:13     ` Sven Bretfeld
  2008-02-06 23:10     ` Phil Jackson
@ 2008-02-07  7:29     ` Carsten Dominik
  2 siblings, 0 replies; 11+ messages in thread
From: Carsten Dominik @ 2008-02-07  7:29 UTC (permalink / raw)
  To: Wanrong Lin; +Cc: emacs-org

Fixed, thanks.

- Carsten

On Feb 6, 2008, at 7:57 PM, Wanrong Lin wrote:

>
> I have the same problem, and here is a mini-example that will  
> generate the error "Arithmetic range error: "floor", -0.0e+NaN ",  
> hope it helps.
>
> Wanrong
>
> -----
> * Human Resources
> *** TODO Do Employee survey
>   DEADLINE: <2008-02-14 Thu>
> ------
>
>
>
> Carsten Dominik wrote:
>> Hi Sven,
>>
>> please make a minimal file that still reproduces this bug,
>> or at least prepare a backtrace so that we can have a chance.
>>
>> When I take a random file, the timeline works just fine for me.
>>
>> - Carsten
>>
>> On Feb 6, 2008, at 10:59 AM, Sven Bretfeld wrote:
>>
>>> Hi
>>>
>>> I've installed 5.20 today. There seems to be a bug with "Timeline  
>>> for
>>> current buffer" (C-c aL)
>>>
>>> Arithmetic range error: "floor", -0.0e+NaN
>>>
>>> The Agenda buffer shows only one timestamped item. It's the same on
>>> both my machines (with an identical org-file). I'm using GNUEmacs
>>> 23.0.50.1 on Debian Etch.
>>>
>>> Greetings
>>>
>>> Sven
>>> _______________________________________________
>>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Timeline not working in 5.20
  2008-02-07  7:12         ` Carsten Dominik
@ 2008-02-07 14:48           ` Bernt Hansen
  2008-02-08  8:12             ` Carsten Dominik
  0 siblings, 1 reply; 11+ messages in thread
From: Bernt Hansen @ 2008-02-07 14:48 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode, Mark Ochocki

Carsten Dominik <dominik@science.uva.nl> writes:

> On Feb 7, 2008, at 3:11 AM, Mark Ochocki wrote:
>
>> Phil Jackson wrote:
>>> Wanrong Lin <wanrong.lin@gmail.com> writes:
>>>> I have the same problem, and here is a mini-example that will
>>>> generate
>>>> the error "Arithmetic range error: "floor", -0.0e+NaN ", hope it
>>>> helps.
>>> I've had a look and I think the culprit is:
>>> ,----[ line 21411 ]
>>> |  dfrac (/ (* 1.0 (- wdays diff)) wdays)
>>> `----
>>> Which evals to -0.0e+NaN and then propagates. Might see if I can dig
>>> further tomorrow if I get time.
>>> Cheers,
>>> Phil
>>
>> I believe line 21411 also causes problems with Deadlines when
>> individual items are changed from the default set in org-deadline- 
>> warning-days.
>>
>> Here's an example from my org file:
>>
>> Day-agenda:
>>  Controller:    In   4 d.:  TODO Review Fin... :workpc:(priority 1060)
>>  Controller:    In   5 d.:  TODO Brief MA...   :work:  (priority 1050)
>>  Controller:    In   4 d.:  TODO Run sale...   :workpc:(priority 1042)
>>
>> org file:
>> ***** TODO Run sale...			 	:workpc:
>>      DEADLINE: <2008-02-10 Sun +1m -7d>
>> ***** TODO Review Fin... 			:workpc:
>>      DEADLINE: <2008-02-10 Sun +1m -10d>
>> ***** TODO Brief MA...				  :work:
>>      DEADLINE: <2008-02-11 Mon -10d>
>
> Well, I guess this is a matter of taste.  Do you want the deadlines
> prioritized
> according to the fraction of warning time that has past, or according to
> the number of days left to do them.  Opinions?
>
> - Carsten

Here's my two cents :)

I think prioritizing it based on the number of days left to complete it
and still meet the deadline makes more sense to me.  I set longer time
frames for some deadlines because I want them to be visible early on the
agenda as a reminder even if I'm not planning to work on them right
away.  Deadlines are drop dead dates for me and things need to be
completed on or before the deadline expires.  Working on the things that
expire first just feels more natural to me.

-Bernt

>
>>
>>
>>
>> I think the 5 day deadline should have a lower priority than the 4
>> day priority regardless of the percentage of completion. Agree?
>>
>> Mark J. Ochocki

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Timeline not working in 5.20
  2008-02-07 14:48           ` Bernt Hansen
@ 2008-02-08  8:12             ` Carsten Dominik
  0 siblings, 0 replies; 11+ messages in thread
From: Carsten Dominik @ 2008-02-08  8:12 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode, Mark Ochocki


On Feb 7, 2008, at 3:48 PM, Bernt Hansen wrote:
>> Well, I guess this is a matter of taste.  Do you want the deadlines
>> prioritized
>> according to the fraction of warning time that has past, or  
>> according to
>> the number of days left to do them.  Opinions?
>>
>> - Carsten
>
> Here's my two cents :)
>
> I think prioritizing it based on the number of days left to complete  
> it
> and still meet the deadline makes more sense to me.  I set longer time
> frames for some deadlines because I want them to be visible early on  
> the
> agenda as a reminder even if I'm not planning to work on them right
> away.  Deadlines are drop dead dates for me and things need to be
> completed on or before the deadline expires.  Working on the things  
> that
> expire first just feels more natural to me.

Hmm, ok, I guess you guys are right.  I have made the change.

- Carsten

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-02-08  9:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-06  9:59 Timeline not working in 5.20 Sven Bretfeld
2008-02-06 15:56 ` Carsten Dominik
2008-02-06 18:57   ` Wanrong Lin
2008-02-06 21:13     ` Sven Bretfeld
2008-02-06 23:10     ` Phil Jackson
2008-02-07  2:11       ` Mark Ochocki
2008-02-07  7:12         ` Carsten Dominik
2008-02-07 14:48           ` Bernt Hansen
2008-02-08  8:12             ` Carsten Dominik
2008-02-07  7:13       ` Carsten Dominik
2008-02-07  7:29     ` Carsten Dominik

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.