This won't be exactly earth-shattering, but in playing around I might have a hackish workaround which may or may not be helpful...
export "FullProject.tjp" { taskattributes all hideresource 0 }
On Mon, 06 Sep 2010 11:39:47 +0200, Christian Egli <christian.egli@sbs.ch> wrote:Yes, I can see that from the code. It doesn't seem to do anything out
>
> Eric S Fraga <ucecesf@ucl.ac.uk> writes:
>
> > However, org-taskjuggler seems to use the global value regardless.
>
> Hm, org-taskjuggler doesn't do anything magic here. It just takes the
> value of org-export-taskjuggler-default-project-duration.
of the ordinary with this variable.
I'm glad you can understand that help documentation! I cannot figure
> > Is there something I need to do to get it to pay attention to my file
> > local variable value? A pointer to a relevant section in the emacs
> > lisp manual would suffice
>
> I just looked at the help string for defcustom (C-h f defcustom) where
> it says:
>
> > If symbol has a local binding, then this form affects the local
> > binding. This is normally not what you want. Thus, if you need to load
> > a file defining variables with this form, or with `defvar' or
> > `defconst', you should always load that file _outside_ any bindings
> > for these variables. (`defvar' and `defconst' behave similarly in this
> > respect.)
>
> So if I understand this correctly it appears that defcustom is
> overwriting your file variable. I don't understand however how you could
> make your file variable work.
out what "... load that file _outside_ any bindings ..." actually
means!
Good question. I'll see if I can figure this out (and play with your
> Maybe the variable org-export-taskjuggler-default-project-duration needs
> to be buffer-local. How does this interact with defcustom?
code) in due course. In the meantime, I had to give up and have
prepared my tj file directly (which is not that onerous of course).
When this project bid is finished, I'll come back to this.
Thanks again for your help,
eric
--
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D
_______________________________________________
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