El 20/01/12 17:02, Bastien escribió: > Hi Juan, > > Juan Queipo de Llano Moya writes: > >> 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 > You want > > (setq org-agenda-custom-commands > `(("q" > "Tasks by member" > ,(org-sec-tasksbymember)))) > > Look for Macro expansion in the Emacs (lisp) manual. > > HTH, > It works! Thanks a lot. I've learned something today. :) *Juan Queipo de Llano Moya*