I have specified two source Org files for Org-mode to search when creating an agenda. In the agenda view, how do I filter (view) tasks from only one of the files?

1 Answer 1


After opening the agenda (C-c a), press < to add restrictions. < once will restrict the agenda to the current buffer; < twice will restrict it the subtree the cursor is on. > will remove the restrictions.

  • I tried that, but it didn't do anything, so I posted the question. Any ideas? Also, how does that show me only agenda items in File1.org rather than the default, which shows agenda items from File1.org and File2.org.
    – SabreWolfy
    Feb 20, 2019 at 19:04
  • 1
    C-c a < while the point is in File1.org should generate an agenda containing only items in File1.org
    – erikstokes
    Feb 20, 2019 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.