|
From: | Juan Queipo de Llano Moya |
Subject: | [O] custom agenda command with function doesn't work |
Date: | Fri, 20 Jan 2012 07:52:07 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 |
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 address@hidden Tel: 91 302 04 40 ext. 202 |
[Prev in Thread] | Current Thread | [Next in Thread] |