[Orgmode] clocksum bug in agenda-view with log-mode on

2008-06-22 Thread iemacs
I'm using 6.05 currently.

I've found a problem with the clocksum function in agenda-view with
log-mode.  The following org file has two tasks with clock-time events:

#+COLUMNS: %25ITEM(Task) %CLOCKSUM
* TODO task1
  :CLOCK:
  CLOCK: [2008-06-21 Sat 15:37]--[2008-06-21 Sat 16:37] =>  1:00
  CLOCK: [2008-06-22 Sun 19:37]--[2008-06-22 Sun 20:37] =>  1:00
  :END:
* TODO task2
  :CLOCK:
  CLOCK: [2008-06-22 Sun 18:00]--[2008-06-22 Sun 19:00] =>  1:00
  CLOCK: [2008-06-22 Sun 21:00]--[2008-06-22 Sun 22:00] =>  1:00
  :END:

In the Agenda-View, the clocksum include more clock-time event for
calculation, and it doesn't limit the calculation to the specific day in
agenda-view.  It shows like this:

Task| CLOC |
Day-agenda (W25):
Sunday 22 June 2008 | 6:00 |
TODO task2  | 2:00 |
TODO task1  | 2:00 |
TODO task2  | 2:00 |


-- 
Kind regards,

Tian Qiu


___
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


Re: [Orgmode] clocksum bug in agenda-view with log-mode on

2008-06-22 Thread Carsten Dominik


Hi Tian,

yes, this is known and documented in, item 3.

http://orgmode.org/manual/Agenda-column-view.html#Agenda-column-view

In column view, the clocksum of an entry is treated as a single  
property that is
displayed by the agenda, without limiting the time shown to the agenda  
time range.


- Carsten

On Jun 22, 2008, at 4:00 PM, [EMAIL PROTECTED] wrote:


I'm using 6.05 currently.

I've found a problem with the clocksum function in agenda-view with
log-mode.  The following org file has two tasks with clock-time  
events:


#+COLUMNS: %25ITEM(Task) %CLOCKSUM
* TODO task1
 :CLOCK:
 CLOCK: [2008-06-21 Sat 15:37]--[2008-06-21 Sat 16:37] =>  1:00
 CLOCK: [2008-06-22 Sun 19:37]--[2008-06-22 Sun 20:37] =>  1:00
 :END:
* TODO task2
 :CLOCK:
 CLOCK: [2008-06-22 Sun 18:00]--[2008-06-22 Sun 19:00] =>  1:00
 CLOCK: [2008-06-22 Sun 21:00]--[2008-06-22 Sun 22:00] =>  1:00
 :END:

In the Agenda-View, the clocksum include more clock-time event for
calculation, and it doesn't limit the calculation to the specific  
day in

agenda-view.  It shows like this:

Task| CLOC |
Day-agenda (W25):
Sunday 22 June 2008 | 6:00 |
TODO task2  | 2:00 |
TODO task1  | 2:00 |
TODO task2  | 2:00 |


--
Kind regards,

Tian Qiu


___
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


Re: [Orgmode] org-publish

2008-06-22 Thread Manish
  On Sun, Jun 22, 2008 at 9:57 AM, Nick Dokos wrote:

  [snip]

  > I have a minimal setup that works fine for me. Here is the relevant
  > section from my org initialization file, which gets loaded from .emacs:
  >
  > ;;; org-publish
  > (setq org-publish-project-alist
  >  '(("status"
  > :base-directory "~/lib/status/weekly"
  > :publishing-directory "/ssh:[EMAIL PROTECTED]:~/public_html/logs"
  > :publishing-function org-publish-org-to-html
  > :headline-levels 3
  > :section-numbers nil
  > :table-of-contents nil
  > ; :style nil
  > :auto-preamble t
  > :auto-postamble nil
  > )))
  >
  > (require 'org-publish)

  [example snipped]

I have similar settings but I still do not get any output.  Any
ideas what I can check or what other debug information can I
provide?

Any thoughts appreciated.

-- Manish


___
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


Re: [Orgmode] org-publish

2008-06-22 Thread Carsten Dominik

Have you tried

(setq org-publish-use-timestamps-flag nil)


?  Maybe you have not changed the input files for a while, and Org  
thinks they have already been published..


- Carsten

On Jun 22, 2008, at 4:25 PM, Manish wrote:


 On Sun, Jun 22, 2008 at 9:57 AM, Nick Dokos wrote:

 [snip]


I have a minimal setup that works fine for me. Here is the relevant
section from my org initialization file, which gets loaded  
from .emacs:


;;; org-publish
(setq org-publish-project-alist
'(("status"
   :base-directory "~/lib/status/weekly"
   :publishing-directory "/ssh:[EMAIL PROTECTED]:~/public_html/ 
logs"

   :publishing-function org-publish-org-to-html
   :headline-levels 3
   :section-numbers nil
   :table-of-contents nil
; :style nil
   :auto-preamble t
   :auto-postamble nil
   )))

(require 'org-publish)


 [example snipped]

I have similar settings but I still do not get any output.  Any
ideas what I can check or what other debug information can I
provide?

Any thoughts appreciated.

-- Manish


___
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


Re: [Orgmode] org-publish

2008-06-22 Thread Manish
  Nick>>> I have a minimal setup that works fine for me. Here is the relevant
  Nick>>> section from my org initialization file, which gets loaded
from .emacs:
  Nick>>>
  Nick>>> ;;; org-publish
  Nick>>> (setq org-publish-project-alist
  Nick>>>'(("status"
  Nick>>>   :base-directory "~/lib/status/weekly"
  Nick>>>   :publishing-directory "/ssh:[EMAIL 
PROTECTED]:~/public_html/logs"
  Nick>>>   :publishing-function org-publish-org-to-html
  Nick>>>   :headline-levels 3
  Nick>>>   :section-numbers nil
  Nick>>>   :table-of-contents nil
  Nick>>> ; :style nil
  Nick>>>   :auto-preamble t
  Nick>>>   :auto-postamble nil
  Nick>>>   )))
  Nick>>>
  Nick>>> (require 'org-publish)

  Manish>> I have similar settings but I still do not get any output.  Any
  Manish>> ideas what I can check or what other debug information can I
  Manish>> provide?
  Manish>>
  Manish>> Any thoughts appreciated.

  Carsten> Have you tried
  Carsten>
  Carsten> (setq org-publish-use-timestamps-flag nil)
  Carsten>
  Carsten>
  Carsten> ?  Maybe you have not changed the input files for a while,
and Org thinks
  Carsten> they have already been published..

Works perfectly now!

What is curious is that it did not work earlier even when the
files were modified and saved.  But now it works not just after
setting this to nil (publish irrespective of modified time) but
publishes correctly with t after the files are modified as it
should (it did not work earlier, I swear.)  I will try various
settings to see if I can repeat that state and report if I
succeed.

Thanks again.

Best,
-- Manish


___
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


[Orgmode] ical export

2008-06-22 Thread Cooke Karen

Hi,

I'm interested in using the ical export functionality to get todos and  
appointments onto my new mobile phone.  Todos are appearing in the  
todo list as I've set org-icalendar-include-todo, however I'd like for  
the todo's with a deadline associated with them to have the due date  
set (eg DUE;VALUE=DATE:20080623) and not appear as an appointment as  
they do at the moment. I've worked out the function where all this  
happens is org-print-icalendar-entries but my lisp skills are none  
existent so any pointers or assistance would be greatly appreciated.


Regards

Karen


___
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


Re: [Orgmode] org-publish

2008-06-22 Thread Carsten Dominik


On Jun 22, 2008, at 5:27 PM, Manish wrote:

 Nick>>> I have a minimal setup that works fine for me. Here is the  
relevant

 Nick>>> section from my org initialization file, which gets loaded
from .emacs:
 Nick>>>
 Nick>>> ;;; org-publish
 Nick>>> (setq org-publish-project-alist
 Nick>>>'(("status"
 Nick>>>   :base-directory "~/lib/status/weekly"
 Nick>>>   :publishing-directory "/ssh:[EMAIL PROTECTED]:~/ 
public_html/logs"

 Nick>>>   :publishing-function org-publish-org-to-html
 Nick>>>   :headline-levels 3
 Nick>>>   :section-numbers nil
 Nick>>>   :table-of-contents nil
 Nick>>> ; :style nil
 Nick>>>   :auto-preamble t
 Nick>>>   :auto-postamble nil
 Nick>>>   )))
 Nick>>>
 Nick>>> (require 'org-publish)

 Manish>> I have similar settings but I still do not get any  
output.  Any

 Manish>> ideas what I can check or what other debug information can I
 Manish>> provide?
 Manish>>
 Manish>> Any thoughts appreciated.

 Carsten> Have you tried
 Carsten>
 Carsten> (setq org-publish-use-timestamps-flag nil)
 Carsten>
 Carsten>
 Carsten> ?  Maybe you have not changed the input files for a while,
and Org thinks
 Carsten> they have already been published..

Works perfectly now!

What is curious is that it did not work earlier even when the
files were modified and saved.  But now it works not just after
setting this to nil (publish irrespective of modified time) but
publishes correctly with t after the files are modified as it
should (it did not work earlier, I swear.)


I guess this means that the tree with the timestamps directory ~/.org- 
timestamps

was somehow bad, did contain wrong times or was corrupt in another way.

- Carsten



___
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


Re: [Orgmode] clocksum bug in agenda-view with log-mode on

2008-06-22 Thread iemacs
Hi Carsten,

Press `R' in the agenda is even better, thank you.  BTW, after I
posted this message,
I tried to use Dynamic blocks and found `yesterday' doesn't work in

#+BEGIN: clocktable :maxlevel 2 :scope file :block yesterday

I had to use `today-1' to get it work.

On Sun, Jun 22, 2008 at 10:08 PM, Carsten Dominik
<[EMAIL PROTECTED]> wrote:
>
> Hi Tian,
>
> yes, this is known and documented in, item 3.
>
> http://orgmode.org/manual/Agenda-column-view.html#Agenda-column-view
>
> In column view, the clocksum of an entry is treated as a single property
> that is
> displayed by the agenda, without limiting the time shown to the agenda time
> range.
>
> - Carsten
>
> On Jun 22, 2008, at 4:00 PM, [EMAIL PROTECTED] wrote:
>
>> I'm using 6.05 currently.
>>
>> I've found a problem with the clocksum function in agenda-view with
>> log-mode.  The following org file has two tasks with clock-time events:
>>
>> #+COLUMNS: %25ITEM(Task) %CLOCKSUM
>> * TODO task1
>>  :CLOCK:
>>  CLOCK: [2008-06-21 Sat 15:37]--[2008-06-21 Sat 16:37] =>  1:00
>>  CLOCK: [2008-06-22 Sun 19:37]--[2008-06-22 Sun 20:37] =>  1:00
>>  :END:
>> * TODO task2
>>  :CLOCK:
>>  CLOCK: [2008-06-22 Sun 18:00]--[2008-06-22 Sun 19:00] =>  1:00
>>  CLOCK: [2008-06-22 Sun 21:00]--[2008-06-22 Sun 22:00] =>  1:00
>>  :END:
>>
>> In the Agenda-View, the clocksum include more clock-time event for
>> calculation, and it doesn't limit the calculation to the specific day in
>> agenda-view.  It shows like this:
>>
>> Task| CLOC |
>> Day-agenda (W25):
>> Sunday 22 June 2008 | 6:00 |
>> TODO task2  | 2:00 |
>> TODO task1  | 2:00 |
>> TODO task2  | 2:00 |
>>
>>
>> --
>> Kind regards,
>>
>> Tian Qiu
>>
>>
>> ___
>> 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
>
>



-- 
Kind regards,

Tian Qiu


___
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


Re: [Orgmode] clocksum bug in agenda-view with log-mode on

2008-06-22 Thread Carsten Dominik


On Jun 23, 2008, at 3:02 AM, [EMAIL PROTECTED] wrote:

I tried to use Dynamic blocks and found `yesterday' doesn't work in

#+BEGIN: clocktable :maxlevel 2 :scope file :block yesterday

I had to use `today-1' to get it work.


Fixed, thanks.

- Carsten





On Sun, Jun 22, 2008 at 10:08 PM, Carsten Dominik
<[EMAIL PROTECTED]> wrote:


Hi Tian,

yes, this is known and documented in, item 3.

http://orgmode.org/manual/Agenda-column-view.html#Agenda-column-view

In column view, the clocksum of an entry is treated as a single  
property

that is
displayed by the agenda, without limiting the time shown to the  
agenda time

range.

- Carsten

On Jun 22, 2008, at 4:00 PM, [EMAIL PROTECTED] wrote:


I'm using 6.05 currently.

I've found a problem with the clocksum function in agenda-view with
log-mode.  The following org file has two tasks with clock-time  
events:


#+COLUMNS: %25ITEM(Task) %CLOCKSUM
* TODO task1
:CLOCK:
CLOCK: [2008-06-21 Sat 15:37]--[2008-06-21 Sat 16:37] =>  1:00
CLOCK: [2008-06-22 Sun 19:37]--[2008-06-22 Sun 20:37] =>  1:00
:END:
* TODO task2
:CLOCK:
CLOCK: [2008-06-22 Sun 18:00]--[2008-06-22 Sun 19:00] =>  1:00
CLOCK: [2008-06-22 Sun 21:00]--[2008-06-22 Sun 22:00] =>  1:00
:END:

In the Agenda-View, the clocksum include more clock-time event for
calculation, and it doesn't limit the calculation to the specific  
day in

agenda-view.  It shows like this:

Task| CLOC |
Day-agenda (W25):
Sunday 22 June 2008 | 6:00 |
TODO task2  | 2:00 |
TODO task1  | 2:00 |
TODO task2  | 2:00 |


--
Kind regards,

Tian Qiu


___
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







--
Kind regards,

Tian Qiu




___
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