[O] using org-mode with MS Outlook

2011-03-03 Thread David Ellis
I would like to move my calendar and task data from MS Outlook into
org files. I would like to know if anyone has done this and what is
the best way to do this. I know that MS Outlook can export to an
icalendar file. So, if there is an easy way to import that into and
org file, that will solve the calendar issue.

I appreciate any help you can provide.

--
David Ellis



Re: [O] using org-mode with MS Outlook

2011-03-03 Thread David Ellis
After I sent this email, I found ical2org.el. I saved a month of my
calendar from Outlook to an iCalendar file. Then, I used
ical2org/convert-file to convert it to an org file. All of the times
were off by 6 hours. Since I live in the Central time zone in the US
that is GMT-6, I wondered if this was the issue. When I used
icalendar-import-file to convert the iCalendar file to a diary file,
the times were okay.

I edited the iCalendar file and removed the timezone section which
included the following:

BEGIN:VTIMEZONE
TZID:Central Time (US  Canada)
BEGIN:STANDARD
DTSTART:16011104T02
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
TZOFFSETFROM:-0500
TZOFFSETTO:-0600
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010311T02
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
TZOFFSETFROM:-0600
TZOFFSETTO:-0500
END:DAYLIGHT
END:VTIMEZONE

After this ical2org/convert-file produced an org file with the correct
times. The times in the iCalendar file produced by Outlook were in
GMT.

Is there a way to get this to work without manually editing the iCalendar file?

-- 

David Ellis

On Thu, Mar 3, 2011 at 2:31 PM, David Ellis ddellis...@gmail.com wrote:
 I would like to move my calendar and task data from MS Outlook into
 org files. I would like to know if anyone has done this and what is
 the best way to do this. I know that MS Outlook can export to an
 icalendar file. So, if there is an easy way to import that into and
 org file, that will solve the calendar issue.

 I appreciate any help you can provide.

 --
 David Ellis




[Orgmode] checklist and org-after-todo-statistics-hook

2010-03-25 Thread David Ellis
I have the following in my .emacs file to automatically update the todo
state of a parent todo based on the number of completed children.

(defun org-summary-todo (n-done n-not-done)
  Switch entry to DONE when all subentries are done, to TODO otherwise.
  (this is an unquoted list)
  (let (org-log-done org-log-states)   ; turn off logging
(org-todo (if (= n-not-done 0)
  DONE
(if (= n-done 0) TODO STARTED)

(add-hook 'org-after-todo-statistics-hook 'org-summary-todo)

I have started using checklists and notices that this hook does not get
called when the statistics cookie is updated.

For example, in the following, the parent todo state gets updated as the
statistics cookie is updated:

* STARTED Project 1 [1/3]
** DONE task 1
** TODO task 2
** TODO task 3

In the following example, the statistics are updated but the hook is not
called

* TODO Project 1 [1/3]
- [X] task 1
- [ ] task 2
- [ ] task 3

Is it possible to change it to call the hook for the second example?

Dave
___
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


[Orgmode] odd table behavior

2010-01-14 Thread David Ellis
I haven't used tables much so please forgive me if this is a dumb question.

I thought if I typed the following:

|this|is|a|test|
|will tables work?|

and I pressed the enter key with the cursor at the end of the second
line, the tables would reformat. This doesn't seem to be working
anymore for me. If I press the TAB key that reformats.

I am using GNU Emacs 23.1.1on Windows with org version 6.33f.

I also noticed that if I type |- at the beginning of a line and then
hit return, it remains |-. If I press TAB, it works correctly.

First of all, am I correct that return should reformat. If so, what
should I check to try to fix this.

Thanks,

Dave


___
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


[orgmode] time-to-number-of-days

2010-01-11 Thread David Ellis
When I try to use column view in my org file (C-c C-x C-c), I get the
following error:

  Symbol's function definition is void: time-to-number-of-days

I looked at time-date.el and found the definition of time-to-number-of-days.
I noticed that many of the functions in time-date.el have the following
comment before the function is defined:

  ;;;###autoload

I am using emacs 23.1.1 on Windows XP.

Can anyone give me some help how to get this working.

Thanks,

Dave
___
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


[Orgmode] Using [/] or [%]

2009-04-21 Thread David Ellis
The manual includes the following:

To keep the overview over the fraction of subtasks that are already
completed, insert either ‘[/]’ or ‘[%]’ anywhere in the headline. These
cookies will be updates each time the todo status of a child changes. For
example:

 * Organize Party [33%]
 ** TODO Call people [1/2]
 *** TODO Peter
 *** DONE Sarah
 ** TODO Buy food
 ** DONE Talk to neighbor

This seems to mean that if I enter the following into an org file:
** TODO test3 [/]
*** TODO test 1
*** TODO test 2
*** TODO test 3
the [/] should be updated as I mark the sub tasks done. This doesn't work
for me.

I can get [/] and [%] to work with checkboxes. Is there some variable that I
need to set to get this to work?

Dave Ellis
___
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