Next: , Previous: , Up: Org Setup   [Index]


2.5 Agenda and Capture Setup

org-directory:

Default location in which to look for Org files (originally ‘$HOME/org’). Currently ‘$HOME/.org’. It is used when:

  1. a capture template specifies a target file (no absolute path)
  2. the value of variable org-agenda-files is a single file
org-agenda-files:

The files to be used for agenda display. It is originally empty.

  • If an entry is a directory, then all org-files in it will be part of the file list.
  • If the value of the variable is a single file name, this file can contain a list of agenda files, which can be given relative to org-directory. Tilde-expansion and ENVIRONMENT variable substitution is also made.
  • Entries may be added to and removed from this list with
    • M-x org-agenda-file-to-front
    • M-x org-remove-file
org-default-notes-file:

Default target for storing notes. It is a fallback file for org-capture, for templates that do not specify a target file.

  • Original value was: $HOME/.notes
  • Current value is: ‘$HOME/.org/notes.org
C-c c(org-capture):

Capture something using a template from org-capture-templates and file it. The captured text is inserted at its target location and an indirect buffer is opened allowing you to edit it. When done, ‘C-c C-c’ lets you continue with your work.

  • C-u C-c c’ GOTO file without capturing anything
org-capture-templates:

Templates for the creation of new entries. It’s default value is ‘nil’. Most target specifications contain a file name. If that file name is the empty string, it defaults to org-default-notes-file. When an absolute path is not specified for a target, it is taken as relative to org-directory.


Next: Initial Visibility, Previous: Set Up Structure Templates and Org Tempo Snippets, Up: Org Setup   [Index]