Hi all im trying to create a custom agenda based on TODO keywords and category but with no success. i have this code block ("z" "Office block agenda" todo "TODO|BGU|EXP" ( (tags-todo "CATEGORY=\"work\"") )) this does work but shows the 3 todo types from all agenda files and not just agenda files that have the #+CATEGORY: work on top any clue what im missing here? best Z