Re: [O] Bug report: org-habit is not required by default

2012-09-14 Thread Bastien
Hi Christopher,

Christopher Schmidt  writes:

> Russell Branca  writes:
>> While playing with org agenda mode and habits, I ran into the error:
>>
>> symbol's function definition is void "org-is-habit-p"
>>
>> The underlying problem was that org-habit did not get loaded. After
>> manually requiring org-habit everything works as expected.
>>
>> If this is expected behavior, then I'm fine manually requiring
>> org-habit, but it was mentioned on #emacs that this was probably a
>> bug, so I'm sending it in.
>
> This non-issue is documented.  Check (info "(org)Tracking your
> habits").

org-habit.el should be loaded when org-agenda.el needs it.

Can you provide a fix for this?

Thanks!

-- 
 Bastien



Re: [O] suggestion for org manual

2012-09-14 Thread Bastien
Hi Memnon,

Memnon Anon  writes:

>> I would expect here
>> # In order to get meaningful consistency graphs state logging for
>> state "DONE" must be enabled.
>> (Link to article about enable logging or explain it here.)
>
> Tracking TODO state changes is in 5.3.2, i.e. just one "[" keypress
> away, if you read the emacs info pages?! But a link rarely hurts, I
> guess :).
>
> Thanks for your suggestions!

Can you create a patch for this?

Thanks!

-- 
 Bastien



Re: [O] capture templates and org-contacts

2012-09-14 Thread Bastien
Hi Achim,

Achim Gratz  writes:

> Actually,
> this function really should be autoloaded by Gnus but isn't.

Can you tell the Gnus developers about this?

Thanks!

-- 
 Bastien



Re: [O] LinkedIn Group & Company

2012-09-14 Thread Bastien
Hi Neil,

Neil Smithline  writes:

> - I don't think the Org Mode group was announced to this email list.
> Problem resolved with this email :-D

Thanks.  

> - I would like to create a LinkedIn Company for Org Mode. LinkedIn
> allows you to list charitable work you have done for organizations. I
> have listed Org Mode as an organization as an ad hoc organization to
> which I have donated. I think it would be nice to have an official
> company/organization for people to list Org Mode in their LinkedIn
> profile. I think it would benefit individuals to be able to list an
> official company and benefit Org Mode to have the extra publicity. 
>
> Assuming the powers that be think having an official LinkedIn company
> /organization is a good idea, I can either create it or leave it to
> one of the major Org Mode engineers to create it. (Instructions
> available at  http://j.mp/TmQK5R).

I'm not fond of having a "company", since Org is no company.
It is not an association either.  So all this would be confusing.

Of course, Org is not trademarked, so anyone is free to do whatever 
he thinks is good/fun.  But I would not join such a "company".

2 cts,

-- 
 Bastien



Re: [O] Question on latex source block

2012-09-14 Thread Bastien
Jambunathan K  writes:

> Abdó Roig-Maranges  writes:
>
>> Hi,
>>
>> Here is a patch. Sorry for the bug!
>
> Thanks.  I did a quick test and pushed the patch to repo.

Abdo, thanks for the patch!  And thanks to Jambunathan for 
applying it.

-- 
 Bastien



Re: [O] Another tricky question: accessing named values

2012-09-14 Thread Bastien
Hi Erich,

Neuwirth Erich  writes:

> Is there a way of accessing the value of something defined by a #name: 
> statement as part of plain text,
> of within the definition of a macro?

This is a bit cryptic to me.  Care to give an example?

Thanks,

-- 
 Bastien



Re: [O] Problem with ltxpng path for html and odt exports

2012-09-14 Thread Bastien
Hi Abdó,

Abdó Roig-Maranges  writes:

> Here is a patch fixing a bug introduced in commit
> 8474115b20ff2ac907d62f30a0f543064318f47d. That commit added a config
> variable with the path for the ltxpng directory (latex images) but
> didn't take into account html and odt exports.

Applied, thanks.

(PS: I edited the changelog a bit, please see my edits for further
commits and ChangeLogs.)

-- 
 Bastien



Re: [O] Status of org-sync?

2012-09-14 Thread Aurélien Aptel
Hi all,

On Thu, Sep 13, 2012 at 8:44 PM, Marcelo de Moraes Serpa
 wrote:
> What's the current status of org-sync? Is it already a contrib? I'd like to
> extend it to support Acunote.

I'm no longer in vacation so contributions are going to be a lot
slower than they were in the summer. I didn't touch it since the GSoC
ended, I was enjoying my last free days. But don't worry, I will
continue working on org-sync in my freetime :) My current priority is
to improve the redmine backend which is very basic.

As Bastien said, it's not ready to be in contrib.

I've already received few off-list emails about org-sync and I'm glad
people find it useful. Someone has contacted me to inform me he
started working on Trello and Podio backends and wanted some advices.
Here's what I sent him:

You have to write a function to download tasks and a function to
"upload" them (create new ones/modify existing ones/delete). This can
be done in 2 steps so you can write the download function and test it
without the upload one to start. The rest is boiler plate code.
Merging, parsing (of the buffer), etc is handled by org-sync.

You have to convert the things you download to the internal "bug"
representation. Likewise, in the send function, you are given task in
the internal format and you have to convert them to whatever form you
need before sending (json, xml, ...). Look at the tutorial or an
existing backend.

Org-sync is still young. If you think something should be done in
org-sync instead of in the backend (or the other way around) it can be
done, we just have to talk about it :)

Keep me informed, don't hesitate to ask me questions and good luck!



Re: [O] Another tricky question: accessing named values

2012-09-14 Thread Neuwirth Erich
Here is an example of what I would like.

#+title: Macro test


Define a name with a value

#+name: myval
#+begin_src elisp :exports both
(+ 1 2)
#+end_src


The named value can be accessed in another code block


#+begin_src elisp :session *elisp* :var myval2=myval :exports both
(setq myval3 myval2)
myval2
#+end_src


I can also (with some trickery as shown above) 
use the value in running text: value equals 
src_elisp[:session *elisp*]{myval3}

One of the minor annoyances here is that output of the inline src 
is always put between equals signs, and in some cases I would like the same
formatting as the surrounding text.

Macros create output without additional formatting.

#+macro: testmac this is plain macro text

Before macro expanded :  {{{testmac}}} :  after macro expanded

Macros with arguments work nicely:

#+macro: testmacarg the argument is $1


{{{testmacarg(my argument)}}}


I would like to get the value of the name =myval= into the argument of the 
macro.

I also would like to be able to say something like

=evalorg(myval)= 

and get the value of myval into my running text without any 
additional formatting.

What I would like to be able to do is put results of computations
into running text. A typical example would be something like

 #+BEGIN_QUOTE
As the table above shows we hav 1217 cases in our analysis.
#+END_QUOTE

The number 1217 would come from a named code block, but it should
be typeset as running text, not as code text.

Since macros do the right kind of formatting, 
being able to  the value of org names in a macro would solve my problem.




On Sep 14, 2012, at 9:33 AM, Bastien  wrote:

> Hi Erich,
> 
> Neuwirth Erich  writes:
> 
>> Is there a way of accessing the value of something defined by a #name: 
>> statement as part of plain text,
>> of within the definition of a macro?
> 
> This is a bit cryptic to me.  Care to give an example?
> 
> Thanks,
> 
> -- 
> Bastien




[O] PATCH: using ido when inserting links

2012-09-14 Thread tony day
I had a look through and couldn't see an obvious reason why you can't use ido 
with org-insert-link, so here's a patch to enable it.

I haven't looked at using ido for editing links yet, but I figure org-capture 
would be a good pattern to do this.  The other thought here is to add an 'org:' 
link type so you can fire up ido just like org-capture (not sure what non-ido 
org-capture looks like).

This is my first patch, so please let me know if I'm not doing things right.

Tony



0001-org-insert-link-allow-ido-usage-when-inserting-links.patch
Description: Binary data




Re: [O] Another tricky question: accessing named values

2012-09-14 Thread Sebastien Vauban
Hi Erich,

Neuwirth Erich wrote:
> I also would like to be able to say something like
>
> =evalorg(myval)= 
>
> and get the value of myval into my running text without any 
> additional formatting.

For this bit, a call with raw results such as

  call_evalorg(myval)[:results raw]

should not have quoted results.

Best regards,
  Seb

-- 
Sebastien Vauban




[O] [PATCH] org-insert-link: allow ido usage when inserting links

2012-09-14 Thread tony day
This time with patch inlined.

I had a look through and couldn't see an obvious reason why you can't use ido 
with org-insert-link, so here's a patch to enable it.

I haven't looked at using ido for editing links yet, but I figure org-capture 
would be a good pattern to do this.  The other thought here is to add an 'org:' 
link type so you can fire up ido just like org-capture (not sure what non-ido 
org-capture looks like).

This is my first patch, so please let me know if I'm not doing things right.

Tony

[PATCH] org-insert-link: allow ido usage when inserting links

* lisp/org.el (org-insert-link): added all-links to cleanly create 
prefix+stored links for use in ido
(org-i-read-file-name): new defun to allow ido to read a file: link if allowed

TINYCHANGE
---
 lisp/org.el | 39 +--
 1 file changed, 25 insertions(+), 14 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 1c18d70..a918cfc 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -9397,7 +9397,7 @@ be used as the default description."
 tmphist ; byte-compile incorrectly complains about this
 (link link-location)
 (abbrevs org-link-abbrev-alist-local)
-entry file all-prefixes auto-desc)
+entry file all-links all-prefixes auto-desc)
 (cond
  (link-location) ; specified by arg, just use it.
  ((org-in-regexp org-bracket-link-regexp 1)
@@ -9443,19 +9443,19 @@ Use TAB to complete link prefixes, then RET for 
type-specific completion support
 org-link-types))
   (unwind-protect
  (progn
+   (setq all-links (append
+(mapcar 'car org-stored-links)
+(mapcar 'cadr org-stored-links)
+(mapcar (lambda (x) (concat x ":"))
+all-prefixes)))
+   (setq all-links (delete nil all-links))
(setq link
- (let ((org-completion-use-ido nil)
-   (org-completion-use-iswitchb nil))
-   (org-completing-read
-"Link: "
-(append
- (mapcar (lambda (x) (list (concat x ":")))
- all-prefixes)
- (mapcar 'car org-stored-links)
- (mapcar 'cadr org-stored-links))
-nil nil nil
-'tmphist
-(caar org-stored-links
+ (org-completing-read
+  "Link: "
+  all-links
+  nil nil nil
+  'tmphist
+  (caar org-stored-links)))
(if (not (string-match "\\S-" link))
(error "No link selected"))
(mapc (lambda(l)
@@ -9542,7 +9542,7 @@ Use TAB to complete link prefixes, then RET for 
type-specific completion support
 (defun org-file-complete-link (&optional arg)
   "Create a file link using completion."
   (let (file link)
-(setq file (read-file-name "File: "))
+(setq file (org-i-read-file-name "File: "))
 (let ((pwd (file-name-as-directory (expand-file-name ".")))
  (pwd1 (file-name-as-directory (abbreviate-file-name
 (expand-file-name ".")
@@ -9560,6 +9560,17 @@ Use TAB to complete link prefixes, then RET for 
type-specific completion support
(t (setq link (concat "file:" file)
 link))
 
+(defun org-i-read-file-name (&rest args)
+  "Read-file-name using `ido-mode' speedup if available."
+  (org-without-partial-completion
+   (if (and org-completion-use-ido
+(fboundp 'ido-read-file-name)
+(boundp 'ido-mode) ido-mode
+(listp (second args)))
+   (let ((ido-enter-matching-directory nil))
+ (apply 'ido-read-file-name args))
+ (apply 'read-file-name args
+
 (defun org-completing-read (&rest args)
   "Completing-read with SPACE being a normal character."
   (let ((enable-recursive-minibuffers t)
-- 
1.7.12




Re: [O] Another tricky question: accessing named values

2012-09-14 Thread Christian Moe

Hi,

You could just call the named block from inline:

: value equals call_myval()[:results raw]

The `:results raw' argument should take care of the formatting.

No macros needed. But if you want to use macros, e.g. because the call 
lines get very long, or you want to add fancy formatting around the 
result of each calculation (not what you're looking for here, I 
think), you could write a macro to expand to a call_() expression.


Yours,
Christian



On 9/14/12 10:52 AM, Neuwirth Erich wrote:

Define a name with a value

#+name: myval
#+begin_src elisp :exports both
(+ 1 2)
#+end_src


The named value can be accessed in another code block


#+begin_src elisp :session*elisp*  :var myval2=myval :exports both
(setq myval3 myval2)
myval2
#+end_src


I can also (with some trickery as shown above)
use the value in running text: value equals
src_elisp[:session*elisp*]{myval3}

One of the minor annoyances here is that output of the inline src
is always put between equals signs, and in some cases I would like the same
formatting as the surrounding text.





[O] htmlize doesn't work in --batch mode

2012-09-14 Thread Dmitri Makarov
If anyone interested, it's easy to explicitly load the required ELPA packages 
in batch mode.  For example, the following command loads htmlize for publishing 
org files in batch mode

emacs --batch -l ~/.emacs.d/init.el --eval "(progn (add-to-list 'load-path 
\"~/.emacs.d/elpa/htmlize-20120616.1716\") (require 'htmlize))" -f 
org-publish-all

It should be easy to include such a command in a makefile or build.xml and 
automatically locate the latest installation of necessary packages rather than 
explicitly specifying the path.

Still I wonder why ELPA packages are not loaded by default in --batch mode even 
though (package-initialize) is being evaluated.

Regards,

Dmitri




Re: [O] [PATCH] org-insert-link: allow ido usage when inserting links

2012-09-14 Thread Giovanni Ridolfi
Hi, Tony,

thanks for submitting the patch,


however I suspect it is longer than 20 lines. 
Therefore it could be applied only if you've 
assigned the copyright to the FSF. For more infos please refer to:

http://orgmode.org/worg/org-contribute.html

Would it be possible for you?

Thanks,

Giovanni


- Messaggio originale -
Da: tony day 
A: emacs-orgmode@gnu.org
Cc: 
Inviato: Venerdì 14 Settembre 2012 11:21
Oggetto: [O] [PATCH] org-insert-link: allow ido usage when inserting links

This time with patch inlined.

I had a look through and couldn't see an obvious reason why you can't use ido 
with org-insert-link, so here's a patch to enable it.

I haven't looked at using ido for editing links yet, but I figure org-capture 
would be a good pattern to do this.  The other thought here is to add an 'org:' 
link type so you can fire up ido just like org-capture (not sure what non-ido 
org-capture looks like).

This is my first patch, so please let me know if I'm not doing things right.

Tony

[PATCH] org-insert-link: allow ido usage when inserting links

* lisp/org.el (org-insert-link): added all-links to cleanly create 
prefix+stored links for use in ido
(org-i-read-file-name): new defun to allow ido to read a file: link if allowed

TINYCHANGE
---
lisp/org.el | 39 +--
1 file changed, 25 insertions(+), 14 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 1c18d70..a918cfc 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -9397,7 +9397,7 @@ be used as the default description."
     tmphist ; byte-compile incorrectly complains about this
     (link link-location)
     (abbrevs org-link-abbrev-alist-local)
-     entry file all-prefixes auto-desc)
+     entry file all-links all-prefixes auto-desc)
     (cond
      (link-location) ; specified by arg, just use it.
      ((org-in-regexp org-bracket-link-regexp 1)
@@ -9443,19 +9443,19 @@ Use TAB to complete link prefixes, then RET for 
type-specific completion support
                 org-link-types))
       (unwind-protect
      (progn
+        (setq all-links (append
+                 (mapcar 'car org-stored-links)
+                 (mapcar 'cadr org-stored-links)
+                 (mapcar (lambda (x) (concat x ":"))
+                     all-prefixes)))
+        (setq all-links (delete nil all-links))
        (setq link
-          (let ((org-completion-use-ido nil)
-            (org-completion-use-iswitchb nil))
-            (org-completing-read
-             "Link: "
-             (append
-              (mapcar (lambda (x) (list (concat x ":")))
-                  all-prefixes)
-              (mapcar 'car org-stored-links)
-              (mapcar 'cadr org-stored-links))
-             nil nil nil
-             'tmphist
-             (caar org-stored-links
+          (org-completing-read
+           "Link: "
+           all-links
+           nil nil nil
+           'tmphist
+           (caar org-stored-links)))
        (if (not (string-match "\\S-" link))
        (error "No link selected"))
        (mapc (lambda(l)
@@ -9542,7 +9542,7 @@ Use TAB to complete link prefixes, then RET for 
type-specific completion support
(defun org-file-complete-link (&optional arg)
   "Create a file link using completion."
   (let (file link)
-    (setq file (read-file-name "File: "))
+    (setq file (org-i-read-file-name "File: "))
     (let ((pwd (file-name-as-directory (expand-file-name ".")))
      (pwd1 (file-name-as-directory (abbreviate-file-name
                     (expand-file-name ".")
@@ -9560,6 +9560,17 @@ Use TAB to complete link prefixes, then RET for 
type-specific completion support
        (t (setq link (concat "file:" file)
     link))

+(defun org-i-read-file-name (&rest args)
+  "Read-file-name using `ido-mode' speedup if available."
+  (org-without-partial-completion
+   (if (and org-completion-use-ido
+            (fboundp 'ido-read-file-name)
+            (boundp 'ido-mode) ido-mode
+            (listp (second args)))
+       (let ((ido-enter-matching-directory nil))
+         (apply 'ido-read-file-name args))
+     (apply 'read-file-name args
+
(defun org-completing-read (&rest args)
   "Completing-read with SPACE being a normal character."
   (let ((enable-recursive-minibuffers t)
-- 
1.7.12



Re: [O] Store org-files in a git repository?

2012-09-14 Thread Bernt Hansen
Moritz Ulrich  writes:

> A simple cron job for committing doesn't sound that bad anymore ;-)

Hi Moritz,

I use an hourly cron/windows schedule job to make commits when changes
occur in my org files.  My script details are here in case you find it
useful:

http://doc.norang.ca/org-mode.html#GitSync

Regards,
Bernt



[O] ELPA org-mode daily build(s)?

2012-09-14 Thread George McNinch
Hi--

The FAQ here:

http://orgmode.org/worg/org-faq.html

still asserts that

,
[ Daily builds of Org-mode are distributed as an ELPA package 
`

But as far as I can tell, those builds have not been appearing ... daily
(for a few weeks now):

http://orgmode.org/pkg/daily/

Probably not too big a deal, but it seems a bit confusing.

best,
gm 


-- 
  ,---
  | George McNinch 
  | http://gmcninch.math.tufts.edu
  `---




[O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-14 Thread Sebastien Vauban
Hello,

I'm trying to use the export to TJ3 on Windows (I installed Ruby from Cygwin),
but don't succeed to get the first view of the project, as shown on
http://orgmode.org/worg/org-tutorials/org-taskjuggler.html.

I'm using the very first example given at line "Your resulting Org mode
project file will look somewhat like the following:", add the required tag
:taskjuggler_project: to the node "Accounting Software".

Then, I export it to TJ (C-c C-e j) and run tj3 against it:

$ tj3 org-tj3.tjp

Results:

--8<---cut here---start->8---
TaskJuggler v3.3.0 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012
  by Chris Schlaeger 

This program is free software; you can redistribute it and/or modify it under
the terms of version 2 of the GNU General Public License as published by the
Free Software Foundation.

org-tj3.tjp:11: Error: allocations is not a known attribute for this property
 purge allocations
--8<---cut here---end--->8---

I comment the purge "allocation line", and try to run it further...

--8<---cut here---start->8---
TaskJuggler v3.3.0 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012
  by Chris Schlaeger 

This program is free software; you can redistribute it and/or modify it under
the terms of version 2 of the GNU General Public License as published by the
Free Software Foundation.

org-tj3.tjp:70: Warning: The keyword 'hierarchindex' has been deprecated! See 
the reference manual for details.
  columns hierarchindex
org-tj3.tjp:70: Warning: The keyword 'completed' has been deprecated! See the 
reference manual for details.
  columns hierarchindex, name, start, end, effort, duration, completed
org-tj3.tjp:77: Error: Unexpected token 'utilization' found. Expecting one of 
'activetasks', 'annualleave', 'annualleavebalance', 'alert', 'alertmessages', 
'alertsummaries', 'alerttrend', 'balance', 'bsi', 'chart', 'closedtasks', 
'complete', 'completed', 'criticalness', 'cost', 'daily', 'directreports', 
'duration', 'duties', 'efficiency', 'effort', 'effortdone', 'effortleft', 
'email', 'end', 'flags', 'followers', 'freetime', 'freework', 'fte', 'gauge', 
'headcount', 'hierarchindex', 'hourly', 'id', 'index', 'inputs', 'journal', 
'journal_sub', 'journalmessages', 'journalsummaries', 'line', 'managers', 
'maxend', 'maxstart', 'minend', 'minstart', 'monthly', 'no', 'name', 'note', 
'opentasks', 'pathcriticalness', 'precursors', 'priority', 'quarterly', 'rate', 
'reports', 'resources', 'responsible', 'revenue', 'scenario', 'seqno', 
'sickleave', 'specialleave', 'start', 'status', 'targets', 'wbs', 
'unpaidleave', 'weekly', 'yearly'
  columns no, name, utilization
--8<---cut here---end--->8---

So, it seems that the output file is not up-to-date (tj v3.3.0), or do I miss
something?

Best regards,
  Seb

PS - Org-mode version 7.9.1 (release_7.9.1-199-g6589b9 @ 
d:/home/sva/src/org-mode/lisp/)

-- 
Sebastien Vauban




Re: [O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-14 Thread Buddy Butterfly

Hi,

tj3 support is still buggy. And tj export gets confused with the task_id
tags.
It does not generate unique IDs nor does  it have manual ID marking. So
it gets
scrampled. So, for a bigger project it does not really work.

Verify to use

*Org Export Taskjuggler Target Version:
*
3.0

I have used the following settings with M-x customize-group ->
org-export-taskjuggler
and worked for me as a first shot with tj3:


*Org Export Taskjuggler Default Global Properties:
*
shift s40 "Part time shift" {
  workinghours wed, thu, fri off
}

account cost "Project Cost" {
  aggregate tasks
}

account rev "Payments" {
}

*Org Export Taskjuggler Default Reports:*

# Now the project has been specified completely. Stopping here would
# result in a valid TaskJuggler file that could be processed and
# scheduled. But no reports would be generated to visualize the
# results.

navigator navbar {
  hidereport @none
}

macro TaskTip [
  tooltip istask() -8<-
'''Start: ''' <-query attribute='start'->
'''End: ''' <-query attribute='end'->

'''Resources:'''

<-query attribute='resources'->

'''Precursors: '''

<-query attribute='precursors'->

'''Followers: '''

<-query attribute='followers'->
->8-
]

textreport frame "" {
  header -8<-
== mwit Projects ==
<[navigator id="navbar"]>
  ->8-
  footer ""
  textreport index "Overview" {
formats html
center '<[report id="overview"]>'
  }

  textreport "Status" {
formats html
center -8<-
  <[report id="status.dashboard"]>
  
  <[report id="status.completed"]>
  
  <[report id="status.ongoing"]>
  
  <[report id="status.future"]>
->8-
  }

  textreport development "Development" {
formats html
center '<[report id="development"]>'
  }

  textreport "ContactList" {
formats html
title "Contact List"
center '<[report id="contactList"]>'
  }
  textreport "ResourceGraph" {
formats html
title "Resource Graph"
center '<[report id="resourceGraph"]>'
  }
}

# A traditional Gantt chart with a project overview.
taskreport overview "" {
  header -8<-
=== Project Overview ===

The project is structured into 3 phases.

# Specification
# <-reportlink id='frame.development'->
# Testing

=== Original Project Plan ===
  ->8-
  columns bsi { title 'WBS' },
  name, start, end, effort, cost,
  revenue, chart { ${TaskTip} }
  # For this report we like to have the abbreviated weekday in front
  # of the date. %a is the tag for this.
  timeformat "%a %Y-%m-%d"
  loadunit days
  hideresource @all
  balance cost rev
  caption 'All effort values are in man days.'

  footer -8<-
=== Staffing ===

All project phases are properly staffed. See [[ResourceGraph]] for
detailed resource allocations.

=== Current Status ===

The project started off with a delay of 4 days. This slightly affected
the original schedule. See [[Deliveries]] for the impact on the
delivery dates.
  ->8-
}

# Macro to set the background color of a cell according to the alert
# level of the task.
macro AlertColor [
  cellcolor plan.alert = 0 "#00D000" # green
  cellcolor plan.alert = 1 "#D0D000" # yellow
  cellcolor plan.alert = 2 "#D0" # red
]

taskreport status "" {
  columns bsi { width 50 title 'WBS' }, name { width 150 },
  start { width 100 }, end { width 100 },
  effort { width 100 },
  alert { tooltip plan.journal
  != '' "<-query attribute='journal'->" width 150 },
  status { width 150 }

  taskreport dashboard "" {
headline "Project Dashboard (<-query attribute='now'->)"
columns name { title "Task" ${AlertColor} width 200},
resources { width 200 ${AlertColor}
listtype bullets
listitem "<-query attribute='name'->"
start ${projectstart} end ${projectend} },
alerttrend { title "Trend" ${AlertColor} width 50 },
journal { width 350 ${AlertColor} }
journalmode status_up
journalattributes headline, author, date, summary, details
hidetask ~hasalert(0)
sorttasks alert.down
period %{${now} - 1w} +8w
  }
  taskreport completed "" {
headline "Already completed tasks"
hidetask ~(plan.end <= ${now})
  }
  taskreport ongoing "" {
headline "Ongoing tasks"
hidetask ~((plan.start <= ${now}) & (plan.end > ${now}))
  }
  taskreport future "" {
headline "Future tasks"
hidetask ~(plan.start > ${now})
  }
}

# A list of tasks showing the resources assigned to each task.
taskreport development "" {
  headline "Development - Resource Allocation Report"
  columns bsi { title 'WBS' }, name, start, end, effort { title "Work" },
  duration, chart { ${TaskTip} scale day width 500 }
  timeformat "%Y-%m-%d"
  hideresource ~(isleaf() & isleaf_())
  sortresources name.up
}

# A list of all employees with their contact det

Re: [O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-14 Thread Sebastien Vauban
Hi Buddy,

Buddy Butterfly wrote:
> Am 14.09.2012 15:13, schrieb Sebastien Vauban:
>> I'm trying to use the export to TJ3 on Windows (I installed Ruby from 
>> Cygwin),
>> but don't succeed to get the first view of the project, as shown on
>> http://orgmode.org/worg/org-tutorials/org-taskjuggler.html.
>>
>> --8<---cut here---start->8---
>> TaskJuggler v3.3.0 - A Project Management Software
>>
>> Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012
>>   by Chris Schlaeger 
>>
>> This program is free software; you can redistribute it and/or modify it under
>> the terms of version 2 of the GNU General Public License as published by the
>> Free Software Foundation.
>>
>> org-tj3.tjp:11: Error: allocations is not a known attribute for this property
>>  purge allocations
>> org-tj3.tjp:70: Warning: The keyword 'hierarchindex' has been deprecated! 
>> See the reference manual for details.
>>   columns hierarchindex
>> org-tj3.tjp:70: Warning: The keyword 'completed' has been deprecated! See 
>> the reference manual for details.
>>   columns hierarchindex, name, start, end, effort, duration, completed
>> org-tj3.tjp:77: Error: Unexpected token 'utilization' found. Expecting one 
>> of 'activetasks', 'annualleave', 'annualleavebalance', 'alert', 
>> 'alertmessages', 'alertsummaries', 'alerttrend', 'balance', 'bsi', 'chart', 
>> 'closedtasks', 'complete', 'completed', 'criticalness', 'cost', 'daily', 
>> 'directreports', 'duration', 'duties', 'efficiency', 'effort', 'effortdone', 
>> 'effortleft', 'email', 'end', 'flags', 'followers', 'freetime', 'freework', 
>> 'fte', 'gauge', 'headcount', 'hierarchindex', 'hourly', 'id', 'index', 
>> 'inputs', 'journal', 'journal_sub', 'journalmessages', 'journalsummaries', 
>> 'line', 'managers', 'maxend', 'maxstart', 'minend', 'minstart', 'monthly', 
>> 'no', 'name', 'note', 'opentasks', 'pathcriticalness', 'precursors', 
>> 'priority', 'quarterly', 'rate', 'reports', 'resources', 'responsible', 
>> 'revenue', 'scenario', 'seqno', 'sickleave', 'specialleave', 'start', 
>> 'status', 'targets', 'wbs', 'unpaidleave', 'weekly', 'yearly' columns no, 
>> name, utilization
>> --8<---cut here---end--->8---
>>
>> So, it seems that the output file is not up-to-date (tj v3.3.0), or do I miss
>> something?
>
> tj3 support is still buggy. And tj export gets confused with the task_id
> tags. It does not generate unique IDs nor does it have manual ID marking. So
> it gets scrampled. So, for a bigger project it does not really work.
>
> Verify to use
>
> *Org Export Taskjuggler Target Version: ...
> *Org Export Taskjuggler Default Global Properties: ...
> *Org Export Taskjuggler Default Reports: ...

I'm going further:

--8<---cut here---start->8---
TaskJuggler v3.3.0 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012
  by Chris Schlaeger 

This program is free software; you can redistribute it and/or modify it under
the terms of version 2 of the GNU General Public License as published by the
Free Software Foundation.

Reading file org-tj3.tjp [  Done  ]
Preparing scenario Plan Scenario [  Done  ]
Scheduling scenario Plan Scenario[  Done  ]
Checking scenario Plan Scenario  [  Done  ]
org-tj3.tjp:103: Warning: The report frame has no 'balance' defined. No cost or 
revenue computation will be possible.
org-tj3.tjp:109: Warning: The report frame.index has no 'balance' defined. No 
cost or revenue computation will be possible.
org-tj3.tjp:114: Warning: The report frame.report3 has no 'balance' defined. No 
cost or revenue computation will be possible.
org-tj3.tjp:127: Warning: The report frame.development has no 'balance' 
defined. No cost or revenue computation will be possible.
org-tj3.tjp:132: Warning: The report frame.report5 has no 'balance' defined. No 
cost or revenue computation will be possible.
org-tj3.tjp:137: Warning: The report frame.report6 has no 'balance' defined. No 
cost or revenue computation will be possible.
org-tj3.tjp:190: Warning: The report status has no 'balance' defined. No cost 
or revenue computation will be possible.
org-tj3.tjp:198: Warning: The report status.dashboard has no 'balance' defined. 
No cost or revenue computation will be possible.
org-tj3.tjp:213: Warning: The report status.completed has no 'balance' defined. 
No cost or revenue computation will be possible.
org-tj3.tjp:217: Warning: The report status.ongoing has no 'balance' defined. 
No cost or revenue computation will be possible.
org-tj3.tjp:221: Warning: The report status.future has no 'balance' defined. No 
cost or revenue computation will be possible.
org-tj3.tjp:228: Warning: The report development has no 'balance' defined. No 
cost or revenue computation will be possible.
org-tj3

Re: [O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-14 Thread Buddy Butterfly

Hi Seb,

ah, true, that is pretty anoying. Also is for me.
There is no GUI anymore for tj3. It is meant to be only exported.
So you should find some html structures being generated.

Best regards,
Matt


Am 14.09.2012 16:38, schrieb Sebastien Vauban:
> Hi Buddy,
>
> Buddy Butterfly wrote:
>> Am 14.09.2012 15:13, schrieb Sebastien Vauban:
>>> I'm trying to use the export to TJ3 on Windows (I installed Ruby from 
>>> Cygwin),
>>> but don't succeed to get the first view of the project, as shown on
>>> http://orgmode.org/worg/org-tutorials/org-taskjuggler.html.
>>>
>>> --8<---cut here---start->8---
>>> TaskJuggler v3.3.0 - A Project Management Software
>>>
>>> Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012
>>>   by Chris Schlaeger 
>>>
>>> This program is free software; you can redistribute it and/or modify it 
>>> under
>>> the terms of version 2 of the GNU General Public License as published by the
>>> Free Software Foundation.
>>>
>>> org-tj3.tjp:11: Error: allocations is not a known attribute for this 
>>> property
>>>  purge allocations
>>> org-tj3.tjp:70: Warning: The keyword 'hierarchindex' has been deprecated! 
>>> See the reference manual for details.
>>>   columns hierarchindex
>>> org-tj3.tjp:70: Warning: The keyword 'completed' has been deprecated! See 
>>> the reference manual for details.
>>>   columns hierarchindex, name, start, end, effort, duration, completed
>>> org-tj3.tjp:77: Error: Unexpected token 'utilization' found. Expecting one 
>>> of 'activetasks', 'annualleave', 'annualleavebalance', 'alert', 
>>> 'alertmessages', 'alertsummaries', 'alerttrend', 'balance', 'bsi', 'chart', 
>>> 'closedtasks', 'complete', 'completed', 'criticalness', 'cost', 'daily', 
>>> 'directreports', 'duration', 'duties', 'efficiency', 'effort', 
>>> 'effortdone', 'effortleft', 'email', 'end', 'flags', 'followers', 
>>> 'freetime', 'freework', 'fte', 'gauge', 'headcount', 'hierarchindex', 
>>> 'hourly', 'id', 'index', 'inputs', 'journal', 'journal_sub', 
>>> 'journalmessages', 'journalsummaries', 'line', 'managers', 'maxend', 
>>> 'maxstart', 'minend', 'minstart', 'monthly', 'no', 'name', 'note', 
>>> 'opentasks', 'pathcriticalness', 'precursors', 'priority', 'quarterly', 
>>> 'rate', 'reports', 'resources', 'responsible', 'revenue', 'scenario', 
>>> 'seqno', 'sickleave', 'specialleave', 'start', 'status', 'targets', 'wbs', 
>>> 'unpaidleave', 'weekly', 'yearly' columns no, name, utilization
>>> --8<---cut here---end--->8---
>>>
>>> So, it seems that the output file is not up-to-date (tj v3.3.0), or do I 
>>> miss
>>> something?
>> tj3 support is still buggy. And tj export gets confused with the task_id
>> tags. It does not generate unique IDs nor does it have manual ID marking. So
>> it gets scrampled. So, for a bigger project it does not really work.
>>
>> Verify to use
>>
>> *Org Export Taskjuggler Target Version: ...
>> *Org Export Taskjuggler Default Global Properties: ...
>> *Org Export Taskjuggler Default Reports: ...
> I'm going further:
>
> --8<---cut here---start->8---
> TaskJuggler v3.3.0 - A Project Management Software
>
> Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012
>   by Chris Schlaeger 
>
> This program is free software; you can redistribute it and/or modify it under
> the terms of version 2 of the GNU General Public License as published by the
> Free Software Foundation.
>
> Reading file org-tj3.tjp [  Done  
> ]
> Preparing scenario Plan Scenario [  Done  
> ]
> Scheduling scenario Plan Scenario[  Done  
> ]
> Checking scenario Plan Scenario  [  Done  
> ]
> org-tj3.tjp:103: Warning: The report frame has no 'balance' defined. No cost 
> or revenue computation will be possible.
> org-tj3.tjp:109: Warning: The report frame.index has no 'balance' defined. No 
> cost or revenue computation will be possible.
> org-tj3.tjp:114: Warning: The report frame.report3 has no 'balance' defined. 
> No cost or revenue computation will be possible.
> org-tj3.tjp:127: Warning: The report frame.development has no 'balance' 
> defined. No cost or revenue computation will be possible.
> org-tj3.tjp:132: Warning: The report frame.report5 has no 'balance' defined. 
> No cost or revenue computation will be possible.
> org-tj3.tjp:137: Warning: The report frame.report6 has no 'balance' defined. 
> No cost or revenue computation will be possible.
> org-tj3.tjp:190: Warning: The report status has no 'balance' defined. No cost 
> or revenue computation will be possible.
> org-tj3.tjp:198: Warning: The report status.dashboard has no 'balance' 
> defined. No cost or revenue computation will be possible.
> org-tj3.tjp:213: Warning: The report status.completed has no 'balance' 
> defined. No cost or revenue computation will be p

Re: [O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-14 Thread Giovanni Ridolfi
Hi, Seb,


> Buddy Butterfly wrote:
> Am 14.09.2012 15:13, schrieb Sebastien Vauban:
>> I'm trying to use the export to TJ3 on Windows (I installed Ruby from 
>> Cygwin),
>> but don't succeed to get the first view of the project, as shown on
>> http://orgmode.org/worg/org-tutorials/org-taskjuggler.html.


almost one month ago Yann Hodique proposed 10 patches for the taskjuggler 
exporter,
please see:


http://article.gmane.org/gmane.emacs.orgmode/58851

Bastien has a branch with these patches, but he'll apply them
when he will have received the FSF papers signed.
I hope soon :-)

But I'm pretty sure you can apply them to your file.

cheers,

Giovanni




Re: [O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-14 Thread Buddy Butterfly

Hi Giovanni,

thanks for info. I will give this a try when I'll find the time.
At the moment, because of the scrambled handling of task_ids it
is not really usable. Let's see what he fixed in it.

Best regards,
Matt

Am 14.09.2012 17:09, schrieb Giovanni Ridolfi:
> Hi, Seb,
>
>
>> Buddy Butterfly wrote:
>> Am 14.09.2012 15:13, schrieb Sebastien Vauban:
>>> I'm trying to use the export to TJ3 on Windows (I installed Ruby from 
>>> Cygwin),
>>> but don't succeed to get the first view of the project, as shown on
>>> http://orgmode.org/worg/org-tutorials/org-taskjuggler.html.
>
> almost one month ago Yann Hodique proposed 10 patches for the taskjuggler 
> exporter,
> please see:
>
>
> http://article.gmane.org/gmane.emacs.orgmode/58851
>
> Bastien has a branch with these patches, but he'll apply them
> when he will have received the FSF papers signed.
> I hope soon :-)
>
> But I'm pretty sure you can apply them to your file.
>
> cheers,
>
> Giovanni
>



Re: [O] org-agenda-sticky -> Recursive load

2012-09-14 Thread Thomas S. Dye
Bastien  writes:

> Hi Thomas,
>
> t...@tsdye.com (Thomas S. Dye) writes:
>
>> Is there a command that can be used to determine if there is a "ghost
>> installation behind the scene?"
>
> I guess you already know this, so my help is not probably much here, 
> but M-x org-version RET tells you whether there is a mixed installation.
>
> Best,

Thanks Bastien.  I've updated the FAQ with this information.

All the best,
Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



Re: [O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-14 Thread Yann Hodique
> "Buddy" == Buddy Butterfly  writes:

>> Am 14.09.2012 17:09, schrieb:
>>> Hi, Seb,
>>> almost one month ago Yann Hodique proposed 10 patches for the taskjuggler 
>>> exporter,
>>> please see:
>>> 
>>> 
>>> http://article.gmane.org/gmane.emacs.orgmode/58851
>>> 
>>> Bastien has a branch with these patches, but he'll apply them
>>> when he will have received the FSF papers signed.
>>> I hope soon :-)
>>> 
>>> But I'm pretty sure you can apply them to your file.
>>> 
>>> cheers,
>> 
>> Giovanni
>> 

> Hi Giovanni,

> thanks for info. I will give this a try when I'll find the time.
> At the moment, because of the scrambled handling of task_ids it
> is not really usable. Let's see what he fixed in it.

Hi,

actually, those patches have been merged in master already (now that the
paperwork is in order :))

That said, I don't think it'll fix anything regarding task_id handling.
I started using TJ with versions 3.x, so I'm not sure what problem
you're talking about exactly.

At the moment I'm kinda contemplating doing a major rewrite of the TJ
exporter to use the org-export framework, which would make it easier to
introduce things like task references through org links, and so on. If
I can fix a thing or two in the process, I'd be happy to. So, if you
have specific limitations in mind, feel free to elaborate.

Cheers,

Yann.

-- 
All technology is suspect, and must be considered potentially dangerous.

  -- BUTLERIAN JIHAD, Handbook for Our Grandchildren



Re: [O] Creating Gantt charts by Exporting to TaskJuggler 3.3.0

2012-09-14 Thread Buddy Butterfly

Hi Yann,

thanks a lot for your effort.
This really sound very interesting. And I am willed to report
further issues to you. I will try to nail them down more precisely.

The biggest change I would do is to make the properties more generic.
Something like prefixing all properties with a special prefix (configurable)
like "tj_" and just pass them all over to tj. This would allow the user
to use all properties that are, were and will be available for tj
versions and
not having the exporter document we support this and that property
in this and
that version of tj

Best regards,
Matt

Am 14.09.2012 17:55, schrieb Yann Hodique:
>> "Buddy" == Buddy Butterfly  writes:
>>> Am 14.09.2012 17:09, schrieb:
 Hi, Seb,
 almost one month ago Yann Hodique proposed 10 patches for the taskjuggler 
 exporter,
 please see:


 http://article.gmane.org/gmane.emacs.orgmode/58851

 Bastien has a branch with these patches, but he'll apply them
 when he will have received the FSF papers signed.
 I hope soon :-)

 But I'm pretty sure you can apply them to your file.

 cheers,
>>> Giovanni
>>>
>> Hi Giovanni,
>> thanks for info. I will give this a try when I'll find the time.
>> At the moment, because of the scrambled handling of task_ids it
>> is not really usable. Let's see what he fixed in it.
> Hi,
>
> actually, those patches have been merged in master already (now that the
> paperwork is in order :))
>
> That said, I don't think it'll fix anything regarding task_id handling.
> I started using TJ with versions 3.x, so I'm not sure what problem
> you're talking about exactly.
>
> At the moment I'm kinda contemplating doing a major rewrite of the TJ
> exporter to use the org-export framework, which would make it easier to
> introduce things like task references through org links, and so on. If
> I can fix a thing or two in the process, I'd be happy to. So, if you
> have specific limitations in mind, feel free to elaborate.
>
> Cheers,
>
> Yann.
>



[O] Nice site using Org HTML/CSS

2012-09-14 Thread Jambunathan K

Happened to see this
   http://pirilampo.org/org-mode/

Looks nice.  Don't fail to explore the tabs on top.

I have seen the Chinese proverb on the home page in Emacs mailing list.
Anyways the CSS could be had just by asking the author.

-- 



[O] New LaTeX exporter and #+call:

2012-09-14 Thread Thomas S. Dye
Aloha Nicolas,

#+call: lines appear to flummox the new LaTeX exporter.

This exports as I expect:

#+caption[Old wood]: Old wood graph.
#+label: fig:old-wood
#+results: old-wood[:file old-wood.pdf]():results file
[[file:old-wood.pdf]]

But this yields "\url{file://nil}":

#+call: old-wood[:file old-wood.pdf]() :results file
#+caption[Old wood]: Old wood graph.
#+label: fig:old-wood
#+results: old-wood[:file old-wood.pdf]():results file
[[file:old-wood.pdf]]

Similarly with tables, where export with the #+call: line looks like this:

\label{tab:old-wood}
\begin{verbatim}
nil
\end{verbatim}

All the best,
Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



[O] Org Camp Paris

2012-09-14 Thread Ivan Kanis
Hi Bastien,

The last time we did this was two years ago IIRC. How about we organize
it again? Is Frederic Couchet on the org mailing list?
-- 
Ivan Kanis
http://ivan.kanis.fr

Good breeding consists in concealing how much we think of ourselves
and how little we think of the other person.
-- Mark Twain