diff options
author | Christian Egli <christian.egli@alumni.ethz.ch> | 2010-04-21 11:30:52 +0200 |
---|---|---|
committer | Christian Egli <christian.egli@alumni.ethz.ch> | 2010-06-08 09:20:33 +0200 |
commit | 399844ee5233d6cd757ae6a4c170e26ae85324fe (patch) | |
tree | c40acb4700529d4dc1f5993dd3ac8699d0b6e44c | |
parent | 5c89333555a0d23f9b9489faf62991c387bdf3c7 (diff) | |
download | org-mode-399844ee5233d6cd757ae6a4c170e26ae85324fe.tar.gz |
Add more documentation about resource id generation
-rw-r--r-- | lisp/org-taskjuggler.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el index b4dd0c9..ef8ebe1 100644 --- a/lisp/org-taskjuggler.el +++ b/lisp/org-taskjuggler.el @@ -82,7 +82,8 @@ ;; optionally assign an ID to the resources (using the standard org ;; properties commands) or you can let the exporter generate IDs ;; automatically (the exporter picks the first word of the headline as -;; the ID as long as it is unique). Using that ID you can then +;; the ID as long as it is unique, see the documentation of +;; `org-taskjuggler-get-unique-id'). Using that ID you can then ;; allocate resources to tasks. This is again done with the "allocate" ;; property on the tasks. Do this in column view or when on the task ;; type @@ -184,7 +185,7 @@ resources for the project." :group 'org-export-taskjuggler :type 'string) -(defcustom org-export-taskjuggler-default-project-duration 180 +(defcustom org-export-taskjuggler-default-project-duration 280 "Default project duration if no start and end date have been defined in the root node of the task tree, i.e. the tree that has been marked with `org-export-taskjuggler-project-tag'" @@ -487,9 +488,9 @@ return nil." (defun org-taskjuggler-get-unique-id (item unique-ids) "Return a unique id for an ITEM which can be a task or a resource. The id is derived from the headline and made unique against -UNIQUE-IDS. If the first part of the headline is not unique try -to add more parts of the headline or finally add more underscore -characters (\"_\")." +UNIQUE-IDS. If the (downcased) first token of the headline is not +unique try to add more (downcased) tokens of the headline or +finally add more underscore characters (\"_\")." (let* ((headline (cdr (assoc "headline" item))) (parts (split-string headline)) (id (org-taskjuggler-clean-id (downcase (pop parts))))) |