Hello,
I'm trying to write a custom agenda command that cycles through a list
of names and builds an agenda block for each one with his tasks.
I wrote a command, that I have called org-sec-tasksbymember that throws
a list of tags-todo with the parameters I want. For example, for a list
of members ("Me" "Pablo" "Miguel" "Carlos"), defined in a variable, the
evaluation of (org-sec-tasksbymember) throws:
((tags-todo "+Resp=\"Me\"") (tags-todo "+Resp=\"Pablo\"") (tags-todo
"+Resp=\"Miguel\"") (tags-todo "+Resp=\"Carlos\""))
If I define a custom agenda command like (without using the command):
("q" "Tasks by member" ((tags-todo "+Resp=\"Me\"") (tags-todo
"+Resp=\"Pablo\"") (tags-todo "+Resp=\"Miguel\"") (tags-todo
"+Resp=\"Carlos\"")))
It works, but if use this agenda command:
("q" "Tasks by member" (org-sec-tasksbymember))
I got an error of Wrong type argument: listp, org-sec-tasksbymember
I can't find a solution. Can anyone help me. I'm sorry if this is dumb.
Thanks
--
*Juan Queipo de Llano Moya*
Instituto de Ciencias de la Construcción Eduardo Torroja - CSIC
c/ Serrano Galvache, 4
28033 MADRID
jque...@ietcc.csic.es <mailto:jque...@ietcc.csic.es>
Tel: 91 302 04 40 ext. 202