Next: , Previous: Agenda views, Up: Agenda views


8.1 Agenda files

The information to be shown is collected from all agenda files, the files listed in the variable org-agenda-files1. Thus even if you only work with a single Org-mode file, this file should be put into that list2. You can customize org-agenda-files, but the easiest way to maintain it is through the following commands

C-c [
Add current file to the list of agenda files. The file is added to the front of the list. If it was already in the list, it is moved to the front. With prefix arg, file is added/moved to the end.
C-c ]
Remove current file from the list of agenda files.
C-,
C-'
Cycle through agenda file list, visiting one file after the other.

The Org menu contains the current list of files and can be used to visit any of them.


Footnotes

[1] If the value of that variable is not a list, but a single file name, then the list of agenda files will be maintained in that external file.

[2] When using the dispatcher, pressing 1 before selecting a command will actually limit the command to the current file, and ignore org-agenda-files until the next dispatcher command.