Re: [Orgmode] Can't get tasks [%] and [/] to work

2009-09-01 Thread Michel Blanc
Sebastian Rose a écrit :

> `C-c #' is what doesn't work here (not sure why). But moving to some
> subheading and pressing `S-LEFT S-RIGHT' will update the top headline
> here.

Yes, it works ! Thanks !

> 
> 
>> Another example is here :
>>
>>  DONE Web interface [100%]
>> - [X] Fix lang page
>> - Implement buttons in web interface [0/1]
>>   - [ ] Refresh Medias (content)
>>
> How should Org-mode know, that there is a nested task?

Oh well, if I had any clue how OrgMode works internally, I probably
wouldn't post noob questions here ;)

> This is, how it should look
> like:
> 
>  DONE Web interface [50%]
> - [X] Fix lang page
> - [ ] Implement buttons in web interface [0/1]
>   - [ ] Refresh Medias (content)

Again, you spotted the problem. Thanks a lot for your help Sebastian !

M
-- 
Michel Blanc - Systèmes/Réseaux Erasme
Erasme/CG69/Saint Clément les Places/FR69930
T +33-474706840 
http://reseau.erasme.org
FA67 4EDA D648 9E50 BFA4 3F29 FDF5 4971 24B3 5C22


___
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] Can't get tasks [%] and [/] to work

2009-09-01 Thread Michel Blanc
Dear All,

I probably miss something here, but I really cannot get subtasks stats
to work (i.e. what's described in the manual at "5.5 Breaking tasks down
into subtasks").

For instance, in the snippet below :

*** Cage [%]
 DONE Redesign motherboard
 SCHEDULED: <2009-07-29 mer.>
 - State "DONE"   from "TODO"   [2009-09-01 mar. 10:59]
 DONE Solder motherboard
 SCHEDULED: <2009-07-30 jeu.>
 - State "DONE"   from "TODO"   [2009-09-01 mar. 10:59]
 DONE Write code
 SCHEDULED: <2009-07-31 ven.>
 - State "DONE"   from "TODO"   [2009-09-01 mar. 10:59]


All subentries are marked DONE, but the [%] next to cage stays empty.

If I try to force an update with 'C-c #', I get :

*** Cage [0%]

which is also wrong.

Another example is here :

 DONE Web interface [100%]
- [X] Fix lang page
- Implement buttons in web interface [0/1]
  - [ ] Refresh Medias (content)

100% is wrong, since "Refresh Medias" isn't checked.
(org-hierarchical-todo-statistics is set globally).

I probably messed up things somewhere. If anyone has an idea...

Thanks for reading,

M
-- 
Michel Blanc - Systèmes/Réseaux Erasme
Erasme/CG69/Saint Clément les Places/FR69930
T +33-474706840 
http://reseau.erasme.org
FA67 4EDA D648 9E50 BFA4 3F29 FDF5 4971 24B3 5C22


___
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] Calendar export questions (ical & html)

2009-07-28 Thread Michel Blanc
Bastien a écrit :
> Michel Blanc  writes:
> 
>>   (org-icalendar-use-scheduled '(todo-due event-if-todo \ 
>>  event-if-not-todo))
>>   (org-icalendar-use-deadline '(todo-due event-if-todo \
>>  event-if-not-todo)))
> 
> Btw, unless you use different global values for the variables
> `org-icalendar-use-deadline' and sisters, maybe you can simply
> add them to your Org configuration?
> 

Indeed. I started this way because I didn't know how org-agenda-ndays
would impact things and I ended up stuffin everything there. But when I
get to stable situation I'll do some factorizing.

Thanks,

M
-- 
Michel Blanc - Systèmes/Réseaux Erasme
Erasme/CG69/Saint Clément les Places/FR69930
T +33-474706840 
http://reseau.erasme.org
FA67 4EDA D648 9E50 BFA4 3F29 FDF5 4971 24B3 5C22


___
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] Calendar export questions (ical & html)

2009-07-28 Thread Michel Blanc
Richard Riley a écrit :

> FYI and still half asleep here, I think you can do the name. here is my
> ical cust section:
> 
> 
>   org-combined-agenda-icalendar-file "~/webs/richardriley/sync/org.ics"
>   org-icalendar-include-todo t
>   org-icalendar-combined-name (quote "Richard Riley ORG")
>   org-icalendar-use-scheduled '(todo-due  event-if-todo event-if-not-todo)
>   org-icalendar-use-deadline '(todo-due event-if-todo event-if-not-todo)
>   org-icalendar-timezone "Europe/Berlin"
>   org-icalendar-include-bbdb-anniversaries t
> ;  org-icalendar-timezone nil
>   org-icalendar-store-UID t

Hey Richard,

Woohoo it seems that this solves everything !
I had to fiddle a bit (again, my Elisp abilities are more than lame) to
make it work for my 2 agendas. Here is my .emacs section if it can help
anyone :

8<===8<===8<===
(setq org-agenda-custom-commands
  '(("h" "Home-related tasks"
 ((tags "@home")
  (tags-todo "@home"))
 ((org-agenda-ndays 300)
  (org-icalendar-include-todo t)
  (org-icalendar-combined-name "Perso")
  (org-icalendar-use-scheduled '(todo-due  event-if-todo
event-if-not-todo))
  (org-icalendar-use-deadline '(todo-due event-if-todo
event-if-not-todo)))
 ("~/org/homecal.ics" "~/org/homecal.html"))
("w" "Work-related tasks"
 ((tags "@work")
  (tags-todo "@work"))
 ((org-agenda-ndays 300)
  (org-icalendar-include-todo t)
  (org-icalendar-combined-name "Work")
  (org-icalendar-use-scheduled '(todo-due  event-if-todo
event-if-not-todo))
  (org-icalendar-use-deadline '(todo-due event-if-todo
event-if-not-todo)))
 ("~/org/workcal.ics" "~/org/workcal.html"
8<===8<===8<===

Now TODOs dates are exported (DEADLINEs and SCHEDULED) and I realize how
late I am in my work playing too much with Org mode :)

I'll drop HTML export now that ICS works perfectly. Too bad GoogleAgenda
refresh is so random...

Thanks a lot Richard for the tips,

M
-- 
Michel Blanc


___
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] Calendar export questions (ical & html)

2009-07-28 Thread Michel Blanc
Bastien a écrit :
> Hi Michel,
> 
> A todo like this
> 
> * TODO Do this
>   <2009-07-28 mar>
> 
> will be exported both as a VTODO and as a VEVENT.
> 
> Note that this is not the case for DEADLINE and SCHEDULED, maybe the
> code need to be more consistent about this.

Well, TODOs exported as VTODOS seems fine to me. And using TODOs in Org
for project management is really very helpful, but it seems that
calendar application out there consider TODOs as laundry lists and never
display them in views.
May be it could be nice to ask Org mode to force exporting VTODOs as
VEVENTs (just like it does for non-TODO DEADLINEd events) to circumvent
those applications limitations ? Don't know if it could be useful to
others though, and this could be done easily with an external script too.

>> Also, the HTML exports for my agenda contains nothing but TODO's,
>> without any date (see example here
>> ...
>> I suspect I'm off the mark in some way here...
> 
> There are several types of agenda views: the tags and tags-todo types
> don't display the dates, but the agenda type does.

Oh well, I probably didn't read the manual deeply enough, sorry about that.

>> Finally, is there a way to customize the agenda name (i.e. X-WR-CALNAME
>> in the ICS file) ? 
> Again, sorry to disappoint but the answer is no -- at least not to my
> knowledge. 

Ok. Thanks Bastien for your answers et bonne continuation.

M
-- 
Michel Blanc - Systèmes/Réseaux Erasme
Twitter : l3u
http://reseau.erasme.org
FA67 4EDA D648 9E50 BFA4 3F29 FDF5 4971 24B3 5C22


___
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] Calendar export questions (ical & html)

2009-07-27 Thread Michel Blanc
Dear Org people,

I started Org mode last week, in order to replace the GTDTiddlyWiki I
used previously. So please, bare with me, I'm just starting and my
questions are probably noobish. Also note that while I've been using
emacs for the last 15 years, my Elisp skills are close to nil (and my
emacs skills in a fuzzy spot between nil and t).

I am impressed by Org mode and I'm pretty sure it will cover all my
needs and more, and since the Carsten's GTalk definitively convinced me,
I decided to go for it and get rid of all the others agendas/note
taking/planning stuff/editor (shame on me, I'm weak and use vim from
time to time).

I have few problems though, I'd be glad if you guys could point me in
the right direction.

First, I discovered that all the calendar applications I tried do not
show TODO entries (Google Agenda, PHP-iCalndar, Thunderbird, ...)
*inside* the day/week/... view, but in sidebars or so (when the do).
However, I am required to publish my agenda on GoogleAgenda (using "Add
by URL"). Is there any way to export TODO entries as VEVENT instead of
VTODO in ical exports, so they get showed in external apps ?

Also, the HTML exports for my agenda contains nothing but TODO's,
without any date (see example here
http://leucos.lstilde.org/workcal.html). There are many
SCHEDULED/DEADLINE enabled entries, but nothing is shown besides
hierarchy. I suspect I'm off the mark in some way here...

Finally, is there a way to customize the agenda name (i.e. X-WR-CALNAME
in the ICS file) ? I export 2 different ics files (the classic
personal/work duo) and I would like to set relevant names for them.


Here is an excerpt from my .emacs :

(setq org-agenda-custom-commands
  '(("h" "Home-related tasks"
 ((tags "@home")
  (tags-todo "@home"))
 ((org-agenda-ndays 300)
  (org-icalendar-include-todo t))
 ("~/org/homecal.ics" "~/org/homecal.html"))
("w" "Work-related tasks"
 ((tags "@work")
  (tags-todo "@work"))
 ((org-agenda-ndays 300)
  (org-icalendar-include-todo t))
 ("~/org/workcal.ics" "~/org/workcal.html"

(setq org-icalendar-include-todo t)

BTW, I tried with (agenda "") and without, I didn't see any change. And
I have no clue what it is for. Close to nil as I said :)

I export everything by calling update-all-calendars :

(defun update-all-calendars()
  (interactive)
  (org-store-agenda-views)
  (shell-command "scp ~/org/{workcal,homecal}.ics ...")
  (shell-command "scp ~/org/{workcal,homecal}.html ...")
)

I use Org mode 6.14 with Emacs 22.2.1 & 23.0.94.1

Thanks a lot for reading,

M
-- 
Michel Blanc - Systèmes/Réseaux Erasme
Erasme/CG69/Saint Clément les Places/FR69930
T +33-474706840 
http://reseau.erasme.org
FA67 4EDA D648 9E50 BFA4 3F29 FDF5 4971 24B3 5C22


___
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