Release 5.11b
[org-mode/org-mode-NeilSmithlineMods.git] / org
blob15e9848278b7f15e350056658d6c6491bd9963b0
1 This is org, produced by makeinfo version 4.7 from org.texi.
3 INFO-DIR-SECTION Emacs
4 START-INFO-DIR-ENTRY
5 * Org Mode: (org).      Outline-based notes management and organizer
6 END-INFO-DIR-ENTRY
8    This manual is for Org-mode (version 5.11b).
10    Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation
12      Permission is granted to copy, distribute and/or modify this
13      document under the terms of the GNU Free Documentation License,
14      Version 1.1 or any later version published by the Free Software
15      Foundation; with no Invariant Sections, with the Front-Cover texts
16      being "A GNU Manual," and with the Back-Cover Texts as in (a)
17      below.  A copy of the license is included in the section entitled
18      "GNU Free Documentation License."
20      (a) The FSF's Back-Cover Text is: "You have freedom to copy and
21      modify this GNU Manual, like GNU software.  Copies published by
22      the Free Software Foundation raise funds for GNU development."
24 \x1f
25 File: org,  Node: Top,  Next: Introduction,  Prev: (dir),  Up: (dir)
27 Org Mode Manual
28 ***************
30 This manual is for Org-mode (version 5.11b).
32    Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation
34      Permission is granted to copy, distribute and/or modify this
35      document under the terms of the GNU Free Documentation License,
36      Version 1.1 or any later version published by the Free Software
37      Foundation; with no Invariant Sections, with the Front-Cover texts
38      being "A GNU Manual," and with the Back-Cover Texts as in (a)
39      below.  A copy of the license is included in the section entitled
40      "GNU Free Documentation License."
42      (a) The FSF's Back-Cover Text is: "You have freedom to copy and
43      modify this GNU Manual, like GNU software.  Copies published by
44      the Free Software Foundation raise funds for GNU development."
46 * Menu:
48 * Introduction::                Getting started
49 * Document structure::          A tree works like your brain
50 * Tables::                      Pure magic for quick formatting
51 * Hyperlinks::                  Notes in context
52 * TODO items::                  Every tree branch can be a TODO item
53 * Tags::                        Tagging headlines and matching sets of tags
54 * Properties and columns::      Storing information about an entry
55 * Timestamps::                  Assign date and time to items
56 * Remember::                    Quickly adding nodes to the outline tree
57 * Agenda views::                Collecting information into views
58 * Embedded LaTeX::              LaTeX fragments and formulas
59 * Exporting::                   Sharing and publishing of notes
60 * Publishing::                  Create a web site of linked Org-mode files
61 * Miscellaneous::               All the rest which did not fit elsewhere
62 * Extensions and Hacking::      It is possible to write add-on code
63 * History and Acknowledgments::  How Org-mode came into being
64 * Index::                       The fast road to specific information
65 * Key Index::                   Key bindings and where they are described
67  --- The Detailed Node Listing ---
69 Introduction
71 * Summary::                     Brief summary of what Org-mode does
72 * Installation::                How to install a downloaded version of Org-mode
73 * Activation::                  How to activate Org-mode for certain buffers.
74 * Feedback::                    Bug reports, ideas, patches etc.
76 Document Structure
78 * Outlines::                    Org-mode is based on outline-mode
79 * Headlines::                   How to typeset org-tree headlines
80 * Visibility cycling::          Show and hide, much simplified
81 * Motion::                      Jumping to other headlines
82 * Structure editing::           Changing sequence and level of headlines
83 * Archiving::                   Move done task trees to a different place
84 * Sparse trees::                Matches embedded in context
85 * Plain lists::                 Additional structure within an entry
86 * Drawers::                     Tucking stuff away
87 * orgstruct-mode::              Structure editing outside Org-mode
89 Archiving
91 * ARCHIVE tag::                 Marking a tree as inactive
92 * Moving subtrees::             Moving a tree to an archive file
94 Tables
96 * Built-in table editor::       Simple tables
97 * Narrow columns::              Stop wasting space in tables
98 * Column groups::               Grouping to trigger vertical lines
99 * orgtbl-mode::                 The table editor as minor mode
100 * The spreadsheet::             The table editor has spreadsheet capabilities.
102 The spreadsheet
104 * References::                  How to refer to another field or range
105 * Formula syntax for Calc::     Using Calc to compute stuff
106 * Formula syntax for Lisp::     Writing formulas in Emacs Lisp
107 * Field formulas::              Formulas valid for a single field
108 * Column formulas::             Formulas valid for an entire column
109 * Editing and debugging formulas::  Fixing formulas
110 * Updating the table::          Recomputing all dependent fields
111 * Advanced features::           Field names, parameters and automatic recalc
113 Hyperlinks
115 * Link format::                 How links in Org-mode are formatted
116 * Internal links::              Links to other places in the current file
117 * External links::              URL-like links to the world
118 * Handling links::              Creating, inserting and following
119 * Using links outside Org-mode::  Linking from my C source code?
120 * Link abbreviations::          Shortcuts for writing complex links
121 * Search options::              Linking to a specific location
122 * Custom searches::             When the default search is not enough
124 Internal links
126 * Radio targets::               Make targets trigger links in plain text.
128 TODO items
130 * TODO basics::                 Marking and displaying TODO entries
131 * TODO extensions::             Workflow and assignments
132 * Progress logging::            Dates and notes for progress
133 * Priorities::                  Some things are more important than others
134 * Breaking down tasks::         Splitting a task into manageable pieces
135 * Checkboxes::                  Tick-off lists
137 Extended use of TODO keywords
139 * Workflow states::             From TODO to DONE in steps
140 * TODO types::                  I do this, Fred the rest
141 * Multiple sets in one file::   Mixing it all, and still finding your way
142 * Fast access to TODO states::  Single letter selection of a state
143 * Per file keywords::           Different files, different requirements
144 * Faces for TODO keywords::     Highlighting states
146 Progress Logging
148 * Closing items::               When was this entry marked DONE?
149 * Tracking TODO state changes::  When did the status change?
151 Tags
153 * Tag inheritance::             Tags use the tree structure of the outline
154 * Setting tags::                How to assign tags to a headline
155 * Tag searches::                Searching for combinations of tags
157 Properties and Columns
159 * Property syntax::             How properties are spelled out
160 * Special properties::          Access to other Org-mode features
161 * Property searches::           Matching property values
162 * Column view::                 Tabular viewing and editing
163 * Property API::                Properties for Lisp programmers
165 Column View
167 * Defining columns::            The COLUMNS format property
168 * Using column view::           How to create and use column view
170 Defining Columns
172 * Scope of column definitions::  Where defined, where valid?
173 * Column attributes::           Appearance and content of a column
175 Timestamps
177 * Time stamps::                 Assigning a time to a tree entry
178 * Creating timestamps::         Commands which insert timestamps
179 * Deadlines and scheduling::    Planning your work
180 * Clocking work time::
182 Creating timestamps
184 * The date/time prompt::        How org-mode helps you entering date and time
185 * Custom time format::          Making dates look differently
187 Deadlines and Scheduling
189 * Inserting deadline/schedule::  Planning items
190 * Repeated tasks::              Items that show up again and again
192 Remember
194 * Setting up remember::         Some code for .emacs to get things going
195 * Remember templates::          Define the outline of different note types
196 * Storing notes::               Directly get the note to where it belongs
198 Agenda Views
200 * Agenda files::                Files being searched for agenda information
201 * Agenda dispatcher::           Keyboard access to agenda views
202 * Built-in agenda views::       What is available out of the box?
203 * Presentation and sorting::    How agenda items are prepared for display
204 * Agenda commands::             Remote editing of org trees
205 * Custom agenda views::         Defining special searches and views
207 The built-in agenda views
209 * Weekly/Daily agenda::         The calendar page with current tasks
210 * Global TODO list::            All unfinished action items
211 * Matching tags and properties::  Structured information with fine-tuned search
212 * Timeline::                    Time-sorted view for single file
213 * Stuck projects::              Find projects you need to review
215 Presentation and sorting
217 * Categories::                  Not all tasks are equal
218 * Time-of-day specifications::  How the agenda knows the time
219 * Sorting of agenda items::     The order of things
221 Custom agenda views
223 * Storing searches::            Type once, use often
224 * Block agenda::                All the stuff you need in a single buffer
225 * Setting Options::             Changing the rules
226 * Exporting Agenda Views::      Writing agendas to files.
227 * Extracting Agenda Information for other programs::
229 Embedded LaTeX
231 * Math symbols::                TeX macros for symbols and Greek letters
232 * Subscripts and Superscripts::  Simple syntax for raising/lowering text
233 * LaTeX fragments::             Complex formulas made easy
234 * Processing LaTeX fragments::  Previewing LaTeX processing
235 * CDLaTeX mode::                Speed up entering of formulas
237 Exporting
239 * ASCII export::                Exporting to plain ASCII
240 * HTML export::                 Exporting to HTML
241 * LaTeX export::                Exporting to LaTeX
242 * XOXO export::                 Exporting to XOXO
243 * iCalendar export::            Exporting in iCalendar format
244 * Text interpretation::         How the exporter looks at the file
246 HTML export
248 * HTML Export commands::        How to invoke LaTeX export
249 * Quoting HTML tags::           Using direct HTML in Org-mode
250 * Links::                       Transformation of links for HTML
251 * Images::                      How to include images
252 * CSS support::                 Changing the appearence of the output
254 LaTeX export
256 * LaTeX export commands::       How to invoke LaTeX export
257 * Quoting LaTeX code::          Incorporating literal LaTeX code
259 Text interpretation by the exporter
261 * Comment lines::               Some lines will not be exported
262 * Initial text::                Text before the first headline
263 * Footnotes::                   Numbers like [1]
264 * Enhancing text::              Subscripts, symbols and more
265 * Export options::              How to influence the export settings
267 Publishing
269 * Configuration::               Defining projects
270 * Sample configuration::        Example projects
271 * Triggering publication::      Publication commands
273 Configuration
275 * Project alist::               The central configuration variable
276 * Sources and destinations::    From here to there
277 * Selecting files::             What files are part of the project?
278 * Publishing action::           Setting the function doing the publishing
279 * Publishing options::          Tweaking HTML export
280 * Publishing links::            Which links keep working after publishing?
281 * Project page index::          Publishing a list of project files
283 Sample configuration
285 * Simple example::              One-component publishing
286 * Complex example::             A multi-component publishing example
288 Miscellaneous
290 * Completion::                  M-TAB knows what you need
291 * Customization::               Adapting Org-mode to your taste
292 * In-buffer settings::          Overview of the #+KEYWORDS
293 * The very busy C-c C-c key::   When in doubt, press C-c C-c
294 * Clean view::                  Getting rid of leading stars in the outline
295 * TTY keys::                    Using Org-mode on a tty
296 * Interaction::                 Other Emacs packages
297 * Bugs::                        Things which do not work perfectly
299 Interaction with other packages
301 * Cooperation::                 Packages Org-mode cooperates with
302 * Conflicts::                   Packages that lead to conflicts
304 Extensions, Hooks and Hacking
306 * Extensions::                  Existing 3rd-part extensions
307 * Adding hyperlink types::      New custom link types
308 * Tables in arbitrary syntax::  Orgtbl for LaTeX and other programs
309 * Dynamic blocks::              Automatically filled blocks
310 * Special agenda views::        Customized views
311 * Using the property API::      Writing programs that use entry properties
313 Tables in arbitrary syntax
315 * Radio tables::                Sending and receiving
316 * A LaTeX example::             Step by step, almost a tutorial
317 * Translator functions::        Copy and modify
319 \x1f
320 File: org,  Node: Introduction,  Next: Document structure,  Prev: Top,  Up: Top
322 1 Introduction
323 **************
325 * Menu:
327 * Summary::                     Brief summary of what Org-mode does
328 * Installation::                How to install a downloaded version of Org-mode
329 * Activation::                  How to activate Org-mode for certain buffers.
330 * Feedback::                    Bug reports, ideas, patches etc.
332 \x1f
333 File: org,  Node: Summary,  Next: Installation,  Prev: Introduction,  Up: Introduction
335 1.1 Summary
336 ===========
338 Org-mode is a mode for keeping notes, maintaining TODO lists, and doing
339 project planning with a fast and effective plain-text system.
341    Org-mode develops organizational tasks around NOTES files that
342 contain lists or information about projects as plain text.  Org-mode is
343 implemented on top of outline-mode, which makes it possible to keep the
344 content of large files well structured.  Visibility cycling and
345 structure editing help to work with the tree.  Tables are easily created
346 with a built-in table editor.  Org-mode supports TODO items, deadlines,
347 time stamps, and scheduling.  It dynamically compiles entries into an
348 agenda that utilizes and smoothly integrates much of the Emacs calendar
349 and diary.  Plain text URL-like links connect to websites, emails,
350 Usenet messages, BBDB entries, and any files related to the projects.
351 For printing and sharing of notes, an Org-mode file can be exported as a
352 structured ASCII file, as HTML, or (todo and agenda items only) as an
353 iCalendar file.  It can also serve as a publishing tool for a set of
354 linked webpages.
356    An important design aspect that distinguishes Org-mode from for
357 example Planner/Muse is that it encourages to store every piece of
358 information only once.  In Planner, you have project pages, day pages
359 and possibly other files, duplicating some information such as tasks.
360 In Org-mode, you only have notes files.  In your notes you mark entries
361 as tasks, label them with tags and timestamps.  All necessary lists
362 like a schedule for the day, the agenda for a meeting, tasks lists
363 selected by tags etc are created dynamically when you need them.
365    Org-mode keeps simple things simple.  When first fired up, it should
366 feel like a straightforward, easy to use outliner.  Complexity is not
367 imposed, but a large amount of functionality is available when you need
368 it.  Org-mode is a toolbox and can be used in different ways, for
369 example as:
371      * outline extension with visibility cycling and structure editing
372      * ASCII system and table editor for taking structured notes
373      * ASCII table editor with spreadsheet-like capabilities
374      * TODO list editor
375      * full agenda and planner with deadlines and work scheduling
376      * environment to implement David Allen's GTD system
377      * a basic database application
378      * simple hypertext system, with HTML export
379      * publishing tool to create a set of interlinked webpages
381    Org-mode's automatic, context sensitive table editor with spreadsheet
382 capabilities can be integrated into any major mode by activating the
383 minor Orgtbl-mode.  Using a translation step, it can be used to maintain
384 tables in arbitrary file types, for example in LaTeX.  The structure
385 editing and list creation capabilities can be used outside Org-mode with
386 the minor Orgstruct-mode.
388    There is a website for Org-mode which provides links to the newest
389 version of Org-mode, as well as additional information, frequently asked
390 questions (FAQ), links to tutorials etc.  This page is located at
391 `http://orgmode.org'.
393 \x1f
394 File: org,  Node: Installation,  Next: Activation,  Prev: Summary,  Up: Introduction
396 1.2 Installation
397 ================
399 Important: If Org-mode is part of the Emacs distribution or an XEmacs
400 package, please skip this section and go directly to *Note Activation::.
402    If you have downloaded Org-mode from the Web, you must take the
403 following steps to install it: Go into the Org-mode distribution
404 directory and edit the top section of the file `Makefile'.  You must
405 set the name of the Emacs binary (likely either `emacs' or `xemacs'),
406 and the paths to the directories where local Lisp and Info files are
407 kept.  If you don't have access to the system-wide directories, create
408 your own two directories for these files, enter them into the Makefile,
409 and make sure Emacs finds the Lisp files by adding the following line
410 to `.emacs':
412      (setq load-path (cons "~/path/to/lispdir" load-path))
414    XEmacs users now need to install the file `noutline.el' from the
415 `xemacs' subdirectory of the Org-mode distribution.  Use the command:
417      make install-noutline
419 Now byte-compile and install the Lisp files with the shell commands:
421      make
422      make install
424 If you want to install the info documentation, use this command:
426      make install-info
428 Then add to `.emacs':
430      ;; This line only if org-mode is not part of the X/Emacs distribution.
431      (require 'org-install)
433 \x1f
434 File: org,  Node: Activation,  Next: Feedback,  Prev: Installation,  Up: Introduction
436 1.3 Activation
437 ==============
439 Add the following lines to your `.emacs' file.  The last two lines
440 define _global_ keys for the commands `org-store-link' and `org-agenda'
441 - please choose suitable keys yourself.
443      ;; The following lines are always needed.  Choose your own keys.
444      (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
445      (global-set-key "\C-cl" 'org-store-link)
446      (global-set-key "\C-ca" 'org-agenda)
448    Furthermore, you must activate `font-lock-mode' in org-mode buffers,
449 because significant functionality depends on font-locking being active.
450 You can do this with either one of the following two lines (XEmacs
451 user must use the second option):
452      (global-font-lock-mode 1)                     ; for all buffers
453      (add-hook 'org-mode-hook 'turn-on-font-lock)  ; org-mode buffers only
455    With this setup, all files with extension `.org' will be put into
456 Org-mode.  As an alternative, make the first line of a file look like
457 this:
459      MY PROJECTS    -*- mode: org; -*-
461 which will select Org-mode for this buffer no matter what the file's
462 name is.  See also the variable `org-insert-mode-line-in-empty-file'.
464 \x1f
465 File: org,  Node: Feedback,  Prev: Activation,  Up: Introduction
467 1.4 Feedback
468 ============
470 If you find problems with Org-mode, or if you have questions, remarks,
471 or ideas about it, please contact the maintainer Carsten Dominik at
472 <carsten at orgmode dot org>.
474    For bug reports, please provide as much information as possible,
475 including the version information of Emacs (`C-h v emacs-version
476 <RET>') and Org-mode (`C-h v org-version <RET>'), as well as the
477 Org-mode related setup in `.emacs'.  If an error occurs, a backtrace
478 can be very useful (see below on how to create one).  Often a small
479 example file helps, along with clear information about:
481   1. What exactly did you do?
483   2. What did you expect to happen?
485   3. What happened instead?
486         Thank you for helping to improve this mode.
488 How to create a useful backtrace
489 ................................
491 If working with Org-mode produces an error with a message you don't
492 understand, you may have hit a bug.  The best way to report this is by
493 providing, in addition to what was mentioned above, a _Backtrace_.
494 This is information from the built-in debugger about where and how the
495 error occurred.  Here is how to produce a useful backtrace:
497   1. Start a fresh Emacs or XEmacs, and make sure that it will load the
498      original Lisp code in `org.el' instead of the compiled version in
499      `org.elc'.  The backtrace contains much more information if it is
500      produced with uncompiled code.  To do this, either rename `org.elc'
501      to something else before starting Emacs, or ask Emacs explicitly
502      to load `org.el' by using the command line
503           emacs -l /path/to/org.el
505   2. Go to the `Options' menu and select `Enter Debugger on Error'
506      (XEmacs has this option in the `Troubleshooting' sub-menu).
508   3. Do whatever you have to do to hit the error.  Don't forget to
509      document the steps you take.
511   4. When you hit the error, a `*Backtrace*' buffer will appear on the
512      screen.  Save this buffer to a file (for example using `C-x C-w')
513      and attach it to your bug report.
515 \x1f
516 File: org,  Node: Document structure,  Next: Tables,  Prev: Introduction,  Up: Top
518 2 Document Structure
519 ********************
521 Org-mode is based on outline mode and provides flexible commands to
522 edit the structure of the document.
524 * Menu:
526 * Outlines::                    Org-mode is based on outline-mode
527 * Headlines::                   How to typeset org-tree headlines
528 * Visibility cycling::          Show and hide, much simplified
529 * Motion::                      Jumping to other headlines
530 * Structure editing::           Changing sequence and level of headlines
531 * Archiving::                   Move done task trees to a different place
532 * Sparse trees::                Matches embedded in context
533 * Plain lists::                 Additional structure within an entry
534 * Drawers::                     Tucking stuff away
535 * orgstruct-mode::              Structure editing outside Org-mode
537 \x1f
538 File: org,  Node: Outlines,  Next: Headlines,  Prev: Document structure,  Up: Document structure
540 2.1 Outlines
541 ============
543 Org-mode is implemented on top of outline-mode.  Outlines allow a
544 document to be organized in a hierarchical structure, which (at least
545 for me) is the best representation of notes and thoughts.  An overview
546 of this structure is achieved by folding (hiding) large parts of the
547 document to show only the general document structure and the parts
548 currently being worked on.  Org-mode greatly simplifies the use of
549 outlines by compressing the entire show/hide functionality into a single
550 command `org-cycle', which is bound to the <TAB> key.
552 \x1f
553 File: org,  Node: Headlines,  Next: Visibility cycling,  Prev: Outlines,  Up: Document structure
555 2.2 Headlines
556 =============
558 Headlines define the structure of an outline tree.  The headlines in
559 Org-mode start with one or more stars, on the left margin(1).  For
560 example:
562      * Top level headline
563      ** Second level
564      *** 3rd level
565          some text
566      *** 3rd level
567          more text
569      * Another top level headline
571 Some people find the many stars too noisy and would prefer an outline
572 that has whitespace followed by a single star as headline starters.
573 *Note Clean view:: describes a setup to realize this.
575    An empty line after the end of a subtree is considered part of it and
576 will be hidden when the subtree is folded.  However, if you leave at
577 least two empty lines, one empty line will remain visible after folding
578 the subtree, in order to structure the collapsed view.  See the
579 variable `org-cycle-separator-lines' to modify this behavior.
581    ---------- Footnotes ----------
583    (1) See the variable `org-special-ctrl-a/e' to configure special
584 behavior of `C-a' and `C-e' in headlines.
586 \x1f
587 File: org,  Node: Visibility cycling,  Next: Motion,  Prev: Headlines,  Up: Document structure
589 2.3 Visibility cycling
590 ======================
592 Outlines make it possible to hide parts of the text in the buffer.
593 Org-mode uses just two commands, bound to <TAB> and `S-<TAB>' to change
594 the visibility in the buffer.
596 `<TAB>'
597      _Subtree cycling_: Rotate current subtree among the states
599           ,-> FOLDED -> CHILDREN -> SUBTREE --.
600           '-----------------------------------'
602      The cursor must be on a headline for this to work(1).  When the
603      cursor is at the beginning of the buffer and the first line is not
604      a headline, then <TAB> actually runs global cycling (see
605      below)(2).  Also when called with a prefix argument (`C-u <TAB>'),
606      global cycling is invoked.
608 `S-<TAB>'
609 `C-u <TAB>'
610      _Global cycling_: Rotate the entire buffer among the states
612           ,-> OVERVIEW -> CONTENTS -> SHOW ALL --.
613           '--------------------------------------'
615      When `S-<TAB>' is called with a numerical prefix N, the CONTENTS
616      view up to headlines of level N will be shown.  Note that inside
617      tables, `S-<TAB>' jumps to the previous field.
619 `C-c C-a'
620      Show all.  
622 `C-c C-r'
623      Reveal context around point, showing the current entry, the
624      following heading and the hierarchy above.  Useful for working
625      near a location exposed by a sparse tree command (*note Sparse
626      trees::) or an agenda command (*note Agenda commands::).  With
627      prefix arg show, on each level, all sibling headings.  
629 `C-c C-x b'
630      Show the current subtree in an indirect buffer(3).  With numerical
631      prefix ARG, go up to this level and then take that tree.  If ARG is
632      negative, go up that many levels.  With `C-u' prefix, do not remove
633      the previously used indirect buffer.
635    When Emacs first visits an Org-mode file, the global state is set to
636 OVERVIEW, i.e. only the top level headlines are visible.  This can be
637 configured through the variable `org-startup-folded', or on a per-file
638 basis by adding one of the following lines anywhere in the buffer:
640      #+STARTUP: overview
641      #+STARTUP: content
642      #+STARTUP: showall
644    ---------- Footnotes ----------
646    (1) see, however, the option `org-cycle-emulate-tab'.
648    (2) see the option `org-cycle-global-at-bob'.
650    (3) The indirect buffer (*note Indirect Buffers: (emacs)Indirect
651 Buffers.)  will contain the entire buffer, but will be narrowed to the
652 current tree.  Editing the indirect buffer will also change the
653 original buffer, but without affecting visibility in that buffer.
655 \x1f
656 File: org,  Node: Motion,  Next: Structure editing,  Prev: Visibility cycling,  Up: Document structure
658 2.4 Motion
659 ==========
661 The following commands jump to other headlines in the buffer.
663 `C-c C-n'
664      Next heading.  
666 `C-c C-p'
667      Previous heading.  
669 `C-c C-f'
670      Next heading same level.  
672 `C-c C-b'
673      Previous heading same level.  
675 `C-c C-u'
676      Backward to higher level heading.  
678 `C-c C-j'
679      Jump to a different place without changing the current outline
680      visibility.  Shows the document structure in a temporary buffer,
681      where you can use the following keys to find your destination:
682           <TAB>         Cycle visibility.
683           <down> / <up>   Next/previous visible headline.
684           n / p        Next/previous visible headline.
685           f / b        Next/previous headline same level.
686           u            One level up.
687           0-9          Digit argument.
688           <RET>         Select this location.
690 \x1f
691 File: org,  Node: Structure editing,  Next: Archiving,  Prev: Motion,  Up: Document structure
693 2.5 Structure editing
694 =====================
696 `M-<RET>'
697      Insert new heading with same level as current.  If the cursor is
698      in a plain list item, a new item is created (*note Plain lists::).
699      To force creation of a new headline, use a prefix arg, or first
700      press <RET> to get to the beginning of the next line.  When this
701      command is used in the middle of a line, the line is split and the
702      rest of the line becomes the new headline.  If the command is used
703      at the beginning of a headline, the new headline is created before
704      the current line.  If at the beginning of any other line, the
705      content of that line is made the new heading.  If the command is
706      used at the end of a folded subtree (i.e. behind the ellipses at
707      the end of a headline), then a headline like the current one will
708      be inserted after the end of the subtree.  
710 `C-<RET>'
711      Insert a new heading after the current subtree, same level as the
712      current headline.  This command works from anywhere in the entry.  
714 `M-S-<RET>'
715      Insert new TODO entry with same level as current heading.  
717 `M-<left>'
718      Promote current heading by one level.  
720 `M-<right>'
721      Demote current heading by one level.  
723 `M-S-<left>'
724      Promote the current subtree by one level.  
726 `M-S-<right>'
727      Demote the current subtree by one level.  
729 `M-S-<up>'
730      Move subtree up (swap with previous subtree of same level).  
732 `M-S-<down>'
733      Move subtree down (swap with next subtree of same level).  
735 `C-c C-x C-w'
736 `C-c C-x C-k'
737      Kill subtree, i.e. remove it from buffer but save in kill ring.  
739 `C-c C-x M-w'
740      Copy subtree to kill ring.  
742 `C-c C-x C-y'
743      Yank subtree from kill ring.  This does modify the level of the
744      subtree to make sure the tree fits in nicely at the yank position.
745      The yank level can also be specified with a prefix arg, or by
746      yanking after a headline marker like `****'.  
748 `C-c ^'
749      Sort same-level entries.  When there is an active region, all
750      entries in the region will be sorted.  Otherwise the children of
751      the current headline are sorted.  The command prompts for the
752      sorting method, which can be alphabetically, numerically, by time
753      (using the first time stamp in each entry), by priority, and each
754      of these in reverse order.  With a `C-u' prefix, sorting will be
755      case-sensitive.  With two `C-u C-u' prefixes, duplicate entries
756      will also be removed.
758    When there is an active region (transient-mark-mode), promotion and
759 demotion work on all headlines in the region.  To select a region of
760 headlines, it is best to place both point and mark at the beginning of a
761 line, mark at the beginning of the first headline, and point at the line
762 just after the last headline to change.  Note that when the cursor is
763 inside a table (*note Tables::), the Meta-Cursor keys have different
764 functionality.
766 \x1f
767 File: org,  Node: Archiving,  Next: Sparse trees,  Prev: Structure editing,  Up: Document structure
769 2.6 Archiving
770 =============
772 When a project represented by a (sub)tree is finished, you may want to
773 move the tree out of the way and to stop it from contributing to the
774 agenda.  Org-mode knows two ways of archiving.  You can mark a tree with
775 the ARCHIVE tag, or you can move an entire (sub)tree to a different
776 location.
778 * Menu:
780 * ARCHIVE tag::                 Marking a tree as inactive
781 * Moving subtrees::             Moving a tree to an archive file
783 \x1f
784 File: org,  Node: ARCHIVE tag,  Next: Moving subtrees,  Prev: Archiving,  Up: Archiving
786 2.6.1 The ARCHIVE tag
787 ---------------------
789 A headline that is marked with the ARCHIVE tag (*note Tags::) stays at
790 its location in the outline tree, but behaves in the following way:
791    - It does not open when you attempt to do so with a visibility
792      cycling command (*note Visibility cycling::).  You can force
793      cycling archived subtrees with `C-<TAB>', or by setting the option
794      `org-cycle-open-archived-trees'.  Also normal outline commands like
795      `show-all' will open archived subtrees.
797    - During sparse tree construction (*note Sparse trees::), matches in
798      archived subtrees are not exposed, unless you configure the option
799      `org-sparse-tree-open-archived-trees'.
801    - During agenda view construction (*note Agenda views::), the
802      content of archived trees is ignored unless you configure the
803      option `org-agenda-skip-archived-trees'.
805    - Archived trees are not exported (*note Exporting::), only the
806      headline is.  Configure the details using the variable
807      `org-export-with-archived-trees'.
809    The following commands help managing the ARCHIVE tag:
811 `C-c C-x C-a'
812      Toggle the ARCHIVE tag for the current headline.  When the tag is
813      set, the headline changes to a shadowish face, and the subtree
814      below it is hidden.  
816 `C-u C-c C-x C-a'
817      Check if any direct children of the current headline should be
818      archived.  To do this, each subtree is checked for open TODO
819      entries.  If none are found, the command offers to set the ARCHIVE
820      tag for the child.  If the cursor is _not_ on a headline when this
821      command is invoked, the level 1 trees will be checked.  
823 `C-TAB'
824      Cycle a tree even if it is tagged with ARCHIVE.
826 \x1f
827 File: org,  Node: Moving subtrees,  Prev: ARCHIVE tag,  Up: Archiving
829 2.6.2 Moving subtrees
830 ---------------------
832 Once an entire project is finished, you may want to move it to a
833 different location, either in the current file, or even in a different
834 file, the archive file.
836 `C-c C-x C-s'
837      Archive the subtree starting at the cursor position to the location
838      given by `org-archive-location'.  Context information that could be
839      lost like the file name, the category, inherited tags, and the todo
840      state will be store as properties in the entry.  
842 `C-u C-c C-x C-s'
843      Check if any direct children of the current headline could be
844      moved to the archive.  To do this, each subtree is checked for
845      open TODO entries.  If none are found, the command offers to move
846      it to the archive location.  If the cursor is _not_ on a headline
847      when this command is invoked, the level 1 trees will be checked.
849    The default archive location is a file in the same directory as the
850 current file, with the name derived by appending `_archive' to the
851 current file name.  For information and examples on how to change this,
852 see the documentation string of the variable `org-archive-location'.
853 There is also an in-buffer option for setting this variable, for
854 example(1):
856      #+ARCHIVE: %s_done::
858 If you would like to have a special ARCHIVE location for a single entry
859 or a (sub)tree, give the entry an `:ARCHIVE:' property with the
860 location as the value (*note Properties and columns::).
862    ---------- Footnotes ----------
864    (1) If there are several such lines in the buffer, each will be
865 valid for the entries below it.  The first will also apply to any text
866 before it.  This method is only kept for backward compatibility.  The
867 preferred methods for setting multiple archive locations is using a
868 property.
870 \x1f
871 File: org,  Node: Sparse trees,  Next: Plain lists,  Prev: Archiving,  Up: Document structure
873 2.7 Sparse trees
874 ================
876 An important feature of Org-mode is the ability to construct _sparse
877 trees_ for selected information in an outline tree.  A sparse tree
878 means that the entire document is folded as much as possible, but the
879 selected information is made visible along with the headline structure
880 above it(1).  Just try it out and you will see immediately how it works.
882    Org-mode contains several commands creating such trees.  The most
883 basic one is `org-occur':
885 `C-c /'
886      Occur.  Prompts for a regexp and shows a sparse tree with all
887      matches.  If the match is in a headline, the headline is made
888      visible.  If the match is in the body of an entry, headline and
889      body are made visible.  In order to provide minimal context, also
890      the full hierarchy of headlines above the match is shown, as well
891      as the headline following the match.  Each match is also
892      highlighted; the highlights disappear when the buffer is changed
893      by an editing command, or by pressing `C-c C-c'.  When called with
894      a `C-u' prefix argument, previous highlights are kept, so several
895      calls to this command can be stacked.
896    For frequently used sparse trees of specific search strings, you can
897 use the variable `org-agenda-custom-commands' to define fast keyboard
898 access to specific sparse trees.  These commands will then be
899 accessible through the agenda dispatcher (*note Agenda dispatcher::).
900 For example:
902      (setq org-agenda-custom-commands
903            '(("f" occur-tree "FIXME")))
905 will define the key `C-c a f' as a shortcut for creating a sparse tree
906 matching the string `FIXME'.
908    Other commands use sparse trees as well.  For example `C-c C-v'
909 creates a sparse TODO tree (*note TODO basics::).
911    To print a sparse tree, you can use the Emacs command
912 `ps-print-buffer-with-faces' which does not print invisible parts of
913 the document (2).  Or you can use the command `C-c C-e v' to export
914 only the visible part of the document and print the resulting file.
916    ---------- Footnotes ----------
918    (1) See also the variables `org-show-hierarchy-above',
919 `org-show-following-heading', and `org-show-siblings' for detailed
920 control on how much context is shown around each match.
922    (2) This does not work under XEmacs, because XEmacs uses selective
923 display for outlining, not text properties.
925 \x1f
926 File: org,  Node: Plain lists,  Next: Drawers,  Prev: Sparse trees,  Up: Document structure
928 2.8 Plain lists
929 ===============
931 Within an entry of the outline tree, hand-formatted lists can provide
932 additional structure.  They also provide a way to create lists of
933 checkboxes (*note Checkboxes::).  Org-mode supports editing such lists,
934 and the HTML exporter (*note Exporting::) does parse and format them.
936    Org-mode knows ordered and unordered lists.  Unordered list items
937 start with `-', `+', or `*'(1) as bullets.  Ordered list items start
938 with `1.' or `1)'.  Items belonging to the same list must have the same
939 indentation on the first line.  In particular, if an ordered list
940 reaches number `10.', then the 2-digit numbers must be written
941 left-aligned with the other numbers in the list.  Indentation also
942 determines the end of a list item.  It ends before the next line that
943 is indented like the bullet/number, or less.  Empty lines are part of
944 the previous item, so you can have several paragraphs in one item.  If
945 you would like an empty line to terminate all currently open plain
946 lists, configure the variable `org-empty-line-terminates-plain-lists'.
947 Here is an example:
949      ** Lord of the Rings
950         My favorite scenes are (in this order)
951         1. The attack of the Rohirrim
952         2. Eowyns fight with the witch king
953            + this was already my favorite scene in the book
954            + I really like Miranda Otto.
955         3. Peter Jackson being shot by Legolas
956             - on DVD only
957            He makes a really funny face when it happens.
958         But in the end, not individual scenes matter but the film as a whole.
960    Org-mode supports these lists by tuning filling and wrapping
961 commands to deal with them correctly(2).
963    The following commands act on items when the cursor is in the first
964 line of an item (the line with the bullet or number).
966 `<TAB>'
967      Items can be folded just like headline levels if you set the
968      variable `org-cycle-include-plain-lists'.  The level of an item is
969      then given by the indentation of the bullet/number.  Items are
970      always subordinate to real headlines, however; the hierarchies
971      remain completely separated.
973      If `org-cycle-include-plain-lists' has not been set, <TAB> fixes
974      the indentation of the curent line in a heuristic way.  
976 `M-<RET>'
977      Insert new item at current level.  With prefix arg, force a new
978      heading (*note Structure editing::).  If this command is used in
979      the middle of a line, the line is _split_ and the rest of the line
980      becomes the new item.  If this command is executed in the
981      _whitespace before a bullet or number_, the new item is created
982      _before_ the current item.  If the command is executed in the
983      white space before the text that is part of an item but does not
984      contain the bullet, a bullet is added to the current line.  
986 `M-S-<RET>'
987      Insert a new item with a checkbox (*note Checkboxes::).  
989 `S-<up>'
990 `S-<down>'
991      Jump to the previous/next item in the current list.  
993 `M-S-<up>'
994 `M-S-<down>'
995      Move the item including subitems up/down (swap with previous/next
996      item of same indentation).  If the list is ordered, renumbering is
997      automatic.  
999 `M-S-<left>'
1000 `M-S-<right>'
1001      Decrease/increase the indentation of the item, including subitems.
1002      Initially, the item tree is selected based on current indentation.
1003      When these commands are executed several times in direct
1004      succession, the initially selected region is used, even if the new
1005      indentation would imply a different hierarchy.  To use the new
1006      hierarchy, break the command chain with a cursor motion or so.  
1008 `C-c C-c'
1009      If there is a checkbox (*note Checkboxes::) in the item line,
1010      toggle the state of the checkbox.  If not, make this command makes
1011      sure that all the items on this list level use the same bullet.
1012      Furthermore, if this is an ordered list, make sure the numbering
1013      is ok.  
1015 `C-c -'
1016      Cycle the entire list level through the different itemize/enumerate
1017      bullets (`-', `+', `*', `1.', `1)').  With prefix arg, select the
1018      nth bullet from this list.
1020    ---------- Footnotes ----------
1022    (1) When using `*' as a bullet, lines must be indented or they will
1023 be seen as top-level headlines.  Also, when you are hiding leading
1024 stars to get a clean outline view, plain list items starting with a
1025 star are visually indistinguishable from true headlines.  In short:
1026 even though `*' is supported, it may be better not to use it for plain
1027 list items.
1029    (2) Org-mode only changes the filling settings for Emacs.  For
1030 XEmacs, you should use Kyle E. Jones' `filladapt.el'.  To turn this on,
1031 put into `.emacs': `(require 'filladapt)'
1033 \x1f
1034 File: org,  Node: Drawers,  Next: orgstruct-mode,  Prev: Plain lists,  Up: Document structure
1036 2.9 Drawers
1037 ===========
1039 Sometimes you want to keep information associated with an entry, but you
1040 normally don't want to see it.  For this, Org-mode has _drawers_.
1041 Drawers need to be configured with the variable `org-drawers', and look
1042 like this:
1044      ** This is a headline
1045         Still outside the drawer
1046         :DRAWERNAME:
1047            This is inside the drawer.
1048         :END:
1049         After the drawer.
1051    Visibility cycling (*note Visibility cycling::) on the headline will
1052 hide and show the entry, but keep the drawer collapsed to a single line.
1053 In order to look inside the drawer, you need to move the cursor to the
1054 drawer line and press <TAB> there.  Org-mode uses a drawer for storing
1055 properties (*note Properties and columns::).
1057 \x1f
1058 File: org,  Node: orgstruct-mode,  Prev: Drawers,  Up: Document structure
1060 2.10 The Orgstruct minor mode
1061 =============================
1063 If you like the intuitive way the Org-mode structure editing and list
1064 formatting works, you might want to use these commands in other modes
1065 like text-mode or mail-mode as well.  The minor mode Orgstruct-mode
1066 makes this possible.  You can always toggle the mode with `M-x
1067 orgstruct-mode'.  To turn it on by default, for example in mail mode,
1070      (add-hook 'mail-mode-hook 'turn-on-orgstruct)
1072    When this mode is active and the cursor is on a line that looks to
1073 Org-mode like a headline of the first line of a list item, most
1074 structure editing commands will work, even if the same keys normally
1075 have different functionality in the major mode you are using.  If the
1076 cursor is not in one of those special lines, Orgstruct-mode lurks
1077 silently in the shadow.
1079 \x1f
1080 File: org,  Node: Tables,  Next: Hyperlinks,  Prev: Document structure,  Up: Top
1082 3 Tables
1083 ********
1085 Org-mode has a very fast and intuitive table editor built-in.
1086 Spreadsheet-like calculations are supported in connection with the
1087 Emacs `calc' package.
1089 * Menu:
1091 * Built-in table editor::       Simple tables
1092 * Narrow columns::              Stop wasting space in tables
1093 * Column groups::               Grouping to trigger vertical lines
1094 * orgtbl-mode::                 The table editor as minor mode
1095 * The spreadsheet::             The table editor has spreadsheet capabilities.
1097 \x1f
1098 File: org,  Node: Built-in table editor,  Next: Narrow columns,  Prev: Tables,  Up: Tables
1100 3.1 The built-in table editor
1101 =============================
1103 Org-mode makes it easy to format tables in plain ASCII.  Any line with
1104 `|' as the first non-whitespace character is considered part of a
1105 table.  `|' is also the column separator.  A table might look like this:
1107      | Name  | Phone | Age |
1108      |-------+-------+-----|
1109      | Peter |  1234 |  17 |
1110      | Anna  |  4321 |  25 |
1112    A table is re-aligned automatically each time you press <TAB> or
1113 <RET> or `C-c C-c' inside the table.  <TAB> also moves to the next
1114 field (<RET> to the next row) and creates new table rows at the end of
1115 the table or before horizontal lines.  The indentation of the table is
1116 set by the first line.  Any line starting with `|-' is considered as a
1117 horizontal separator line and will be expanded on the next re-align to
1118 span the whole table width.  So, to create the above table, you would
1119 only type
1121      |Name|Phone|Age|
1122      |-
1124 and then press <TAB> to align the table and start filling in fields.
1126    When typing text into a field, Org-mode treats <DEL>, <Backspace>,
1127 and all character keys in a special way, so that inserting and deleting
1128 avoids shifting other fields.  Also, when typing _immediately after the
1129 cursor was moved into a new field with `<TAB>', `S-<TAB>' or `<RET>'_,
1130 the field is automatically made blank.  If this behavior is too
1131 unpredictable for you, configure the variables
1132 `org-enable-table-editor' and `org-table-auto-blank-field'.
1134 Creation and conversion
1135 .......................
1137 `C-c |'
1138      Convert the active region to table. If every line contains at
1139      least one TAB character, the function assumes that the material is
1140      tab separated.  If every line contains a comma, comma-separated
1141      values (CSV) are assumed.  If not, lines are split at whitespace
1142      into fields.  You can use a prefix argument to force a specific
1143      separator: `C-u' forces CSV, `C-u C-u' forces TAB, and a numeric
1144      argument N indicates that at least N consequtive spaces, or
1145      alternatively a TAB will be the separator.
1146      If there is no active region, this command creates an empty
1147      Org-mode table.  But it's easier just to start typing, like
1148      `|Name|Phone|Age <RET> |- <TAB>'.
1150 Re-aligning and field motion
1151 ............................
1153 `C-c C-c'
1154      Re-align the table without moving the cursor.  
1156 `<TAB>'
1157      Re-align the table, move to the next field.  Creates a new row if
1158      necessary.  
1160 `S-<TAB>'
1161      Re-align, move to previous field.  
1163 `<RET>'
1164      Re-align the table and move down to next row.  Creates a new row if
1165      necessary.  At the beginning or end of a line, <RET> still does
1166      NEWLINE, so it can be used to split a table.
1168 Column and row editing
1169 ......................
1171 `M-<left>'
1172 `M-<right>'
1173      Move the current column left/right.  
1175 `M-S-<left>'
1176      Kill the current column.  
1178 `M-S-<right>'
1179      Insert a new column to the left of the cursor position.  
1181 `M-<up>'
1182 `M-<down>'
1183      Move the current row up/down.  
1185 `M-S-<up>'
1186      Kill the current row or horizontal line.  
1188 `M-S-<down>'
1189      Insert a new row above (with arg: below) the current row.  
1191 `C-c -'
1192      Insert a horizontal line below current row. With prefix arg, the
1193      line is created above the current line.  
1195 `C-c ^'
1196      Sort the table lines in the region.  The position of point
1197      indicates the column to be used for sorting, and the range of
1198      lines is the range between the nearest horizontal separator lines,
1199      or the entire table.  If point is before the first column, you
1200      will be prompted for the sorting column.  If there is an active
1201      region, the mark specifies the first line and the sorting column,
1202      while point should be in the last line to be included into the
1203      sorting.  The command prompts for the sorting type
1204      (alphabetically, numerically, or by time).  When called with a
1205      prefix argument, alphabetic sorting will be case-sensitive.
1207 Regions
1208 .......
1210 `C-c C-x M-w'
1211      Copy a rectangular region from a table to a special clipboard.
1212      Point and mark determine edge fields of the rectangle.  The
1213      process ignores horizontal separator lines.  
1215 `C-c C-x C-w'
1216      Copy a rectangular region from a table to a special clipboard, and
1217      blank all fields in the rectangle.  So this is the "cut" operation.  
1219 `C-c C-x C-y'
1220      Paste a rectangular region into a table.  The upper right corner
1221      ends up in the current field.  All involved fields will be
1222      overwritten.  If the rectangle does not fit into the present table,
1223      the table is enlarged as needed.  The process ignores horizontal
1224      separator lines.  
1226 `C-c C-q'
1227      Wrap several fields in a column like a paragraph.  If there is an
1228      active region, and both point and mark are in the same column, the
1229      text in the column is wrapped to minimum width for the given
1230      number of lines.  A prefix ARG may be used to change the number of
1231      desired lines.  If there is no region, the current field is split
1232      at the cursor position and the text fragment to the right of the
1233      cursor is prepended to the field one line down. If there is no
1234      region, but you specify a prefix ARG, the current field is made
1235      blank, and the content is appended to the field above.
1237 Calculations
1238 ............
1240 `C-c +'
1241      Sum the numbers in the current column, or in the rectangle defined
1242      by the active region.  The result is shown in the echo area and can
1243      be inserted with `C-y'.  
1245 `S-<RET>'
1246      When current field is empty, copy from first non-empty field above.
1247      When not empty, copy current field down to next row and move cursor
1248      along with it.  Depending on the variable
1249      `org-table-copy-increment', integer field values will be
1250      incremented during copy.  This key is also used by CUA-mode (*note
1251      Cooperation::).
1253 Miscellaneous
1254 .............
1256 `C-c `'
1257      Edit the current field in a separate window.  This is useful for
1258      fields that are not fully visible (*note Narrow columns::).  When
1259      called with a `C-u' prefix, just make the full field visible, so
1260      that it can be edited in place.  
1262 `C-c <TAB>'
1263      This is an alias for `C-u C-c `' to make the current field fully
1264      visible.
1266 `M-x org-table-import'
1267      Import a file as a table.  The table should be TAB- or whitespace
1268      separated.  Useful, for example, to import an Excel table or data
1269      from a database, because these programs generally can write
1270      TAB-separated text files.  This command works by inserting the
1271      file into the buffer and then converting the region to a table.
1272      Any prefix argument is passed on to the converter, which uses it
1273      to determine the separator.
1275 `C-c |'
1276      Tables can also be imported by pasting tabular text into the
1277      org-mode buffer, selecting the pasted text with `C-x C-x' and then
1278      using the `C-c |' command (see above under Creation and conversion.
1280 `M-x org-table-export'
1281      Export the table as a TAB-separated file.  Useful for data
1282      exchange with, for example, Excel or database programs.
1284    If you don't like the automatic table editor because it gets in your
1285 way on lines which you would like to start with `|', you can turn it
1286 off with
1288      (setq org-enable-table-editor nil)
1290 Then the only table command that still works is `C-c C-c' to do a
1291 manual re-align.
1293 \x1f
1294 File: org,  Node: Narrow columns,  Next: Column groups,  Prev: Built-in table editor,  Up: Tables
1296 3.2 Narrow columns
1297 ==================
1299 The width of columns is automatically determined by the table editor.
1300 Sometimes a single field or a few fields need to carry more text,
1301 leading to inconveniently wide columns.  To limit(1) the width of a
1302 column, one field anywhere in the column may contain just the string
1303 `<N>' where `N' is an integer specifying the width of the column in
1304 characters.  The next re-align will then set the width of this column
1305 to no more than this value.
1307      |---+------------------------------|               |---+--------|
1308      |   |                              |               |   | <6>    |
1309      | 1 | one                          |               | 1 | one    |
1310      | 2 | two                          |     ----\     | 2 | two    |
1311      | 3 | This is a long chunk of text |     ----/     | 3 | This=> |
1312      | 4 | four                         |               | 4 | four   |
1313      |---+------------------------------|               |---+--------|
1315 Fields that are wider become clipped and end in the string `=>'.  Note
1316 that the full text is still in the buffer, it is only invisible.  To
1317 see the full text, hold the mouse over the field - a tool-tip window
1318 will show the full content.  To edit such a field, use the command `C-c
1319 `' (that is `C-c' followed by the backquote).  This will open a new
1320 window with the full field.  Edit it and finish with `C-c C-c'.
1322    When visiting a file containing a table with narrowed columns, the
1323 necessary character hiding has not yet happened, and the table needs to
1324 be aligned before it looks nice.  Setting the option
1325 `org-startup-align-all-tables' will realign all tables in a file upon
1326 visiting, but also slow down startup.  You can also set this option on
1327 a per-file basis with:
1329      #+STARTUP: align
1330      #+STARTUP: noalign
1332    ---------- Footnotes ----------
1334    (1) This feature does not work on XEmacs.
1336 \x1f
1337 File: org,  Node: Column groups,  Next: orgtbl-mode,  Prev: Narrow columns,  Up: Tables
1339 3.3 Column groups
1340 =================
1342 When Org-mode exports tables, it does so by default without vertical
1343 lines because that is visually more satisfying in general.  Occasionally
1344 however, vertical lines can be useful to structure a table into groups
1345 of columns, much like horizontal lines can do for groups of rows.  In
1346 order to specify column groups, you can use a special row where the
1347 first field contains only `/'.  The further fields can either contain
1348 `<' to indicate that this column should start a group, `>' to indicate
1349 the end of a column, or `<>' to make a column a group of its own.
1350 Boundaries between colum groups will upon export be marked with
1351 vertical lines.  Here is an example:
1353      |   |  N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
1354      |---+----+-----+-----+-----+---------+------------|
1355      | / | <> |   < |     |   > |       < |          > |
1356      | # |  1 |   1 |   1 |   1 |       1 |          1 |
1357      | # |  2 |   4 |   8 |  16 |  1.4142 |     1.1892 |
1358      | # |  3 |   9 |  27 |  81 |  1.7321 |     1.3161 |
1359      |---+----+-----+-----+-----+---------+------------|
1360      #+TBLFM: $3=$2^2::$4=$2^3::$5=$2^4::$6=sqrt($2)::$7=sqrt(sqrt(($2))
1362    It is also sufficient to just insert the colum group starters after
1363 every vertical line you'd like to have:
1365      |  N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
1366      |----+-----+-----+-----+---------+------------|
1367      | /  | <   |     |     | <       |            |
1369 \x1f
1370 File: org,  Node: orgtbl-mode,  Next: The spreadsheet,  Prev: Column groups,  Up: Tables
1372 3.4 The Orgtbl minor mode
1373 =========================
1375 If you like the intuitive way the Org-mode table editor works, you
1376 might also want to use it in other modes like text-mode or mail-mode.
1377 The minor mode Orgtbl-mode makes this possible.  You can always toggle
1378 the mode with `M-x orgtbl-mode'.  To turn it on by default, for example
1379 in mail mode, use
1381      (add-hook 'mail-mode-hook 'turn-on-orgtbl)
1383    Furthermore, with some special setup, it is possible to maintain
1384 tables in arbitrary syntax with Orgtbl-mode.  For example, it is
1385 possible to construct LaTeX tables with the underlying ease and power of
1386 Orgtbl-mode, including spreadsheet capabilities.  For details, see
1387 *Note Tables in arbitrary syntax::.
1389 \x1f
1390 File: org,  Node: The spreadsheet,  Prev: orgtbl-mode,  Up: Tables
1392 3.5 The spreadsheet
1393 ===================
1395 The table editor makes use of the Emacs `calc' package to implement
1396 spreadsheet-like capabilities.  It can also evaluate Emacs Lisp forms to
1397 derive fields from other fields.  While fully featured, Org-mode's
1398 implementation is not identical to other spreadsheets.  For example,
1399 Org-mode knows the concept of a _column formula_ that will be applied
1400 to all non-header fields in a column without having to copy the formula
1401 to each relevant field.
1403 * Menu:
1405 * References::                  How to refer to another field or range
1406 * Formula syntax for Calc::     Using Calc to compute stuff
1407 * Formula syntax for Lisp::     Writing formulas in Emacs Lisp
1408 * Field formulas::              Formulas valid for a single field
1409 * Column formulas::             Formulas valid for an entire column
1410 * Editing and debugging formulas::  Fixing formulas
1411 * Updating the table::          Recomputing all dependent fields
1412 * Advanced features::           Field names, parameters and automatic recalc
1414 \x1f
1415 File: org,  Node: References,  Next: Formula syntax for Calc,  Prev: The spreadsheet,  Up: The spreadsheet
1417 3.5.1 References
1418 ----------------
1420 To compute fields in the table from other fields, formulas must
1421 reference other fields or ranges.  In Org-mode, fields can be referenced
1422 by name, by absolute coordinates, and by relative coordinates.  To find
1423 out what the coordinates of a field are, press `C-c ?' in that field,
1424 or press `C-c }' to toggle the display of a grid.
1426 Field references
1427 ................
1429 Formulas can reference the value of another field in two ways.  Like in
1430 any other spreadsheet, you may reference fields with a letter/number
1431 combination like `B3', meaning the 2nd field in the 3rd row.
1433 Org-mode also uses another, more general operator that looks like this:
1434      @row$column
1436 Column references can be absolute like `1', `2',...`N', or relative to
1437 the current column like `+1' or `-2'.
1439    The row specification only counts data lines and ignores horizontal
1440 separator lines (hlines).  You can use absolute row numbers `1'...`N',
1441 and row numbers relative to the current row like `+3' or `-1'.  Or
1442 specify the row relative to one of the hlines: `I' refers to the first
1443 hline, `II' to the second etc.  `-I' refers to the first such line
1444 above the current line, `+I' to the first such line below the current
1445 line.  You can also write `III+2' which is the second data line after
1446 the third hline in the table.  Relative row numbers like `-3' will not
1447 cross hlines if the current line is too close to the hline.  Instead,
1448 the value directly at the hline is used.
1450    `0' refers to the current row and column.  Also, if you omit either
1451 the column or the row part of the reference, the current row/column is
1452 implied.
1454    Org-mode's references with _unsigned_ numbers are fixed references
1455 in the sense that if you use the same reference in the formula for two
1456 different fields, the same field will be referenced each time.
1457 Org-mode's references with _signed_ numbers are floating references
1458 because the same reference operator can reference different fields
1459 depending on the field being calculated by the formula.
1461    Here are a few examples:
1463      @2$3      2nd row, 3rd column
1464      C2        same as previous
1465      $5        column 5 in the current row
1466      E&        same as previous
1467      @2        current column, row 2
1468      @-1$-3    the field one row up, three columns to the left
1469      @-I$2     field just under hline above current row, column 2
1471 Range references
1472 ................
1474 You may reference a rectangular range of fields by specifying two field
1475 references connected by two dots `..'.  If both fields are in the
1476 current row, you may simply use `$2..$7', but if at least one field is
1477 in a different row, you need to use the general `@row$column' format at
1478 least for the first field (i.e the reference must start with `@' in
1479 order to be interpreted correctly).  Examples:
1481      $1..$3        First three fields in the current row.
1482      $P..$Q        Range, using column names (see under Advanced)
1483      @2$1..@4$3    6 fields between these two fields.
1484      A2..C4        Same as above.
1485      @-1$-2..@-1   3 numbers from the column to the left, 2 up to current row
1487 Range references return a vector of values that can be fed into Calc
1488 vector functions.  Empty fields in ranges are normally suppressed, so
1489 that the vector contains only the non-empty fields (but see the `E'
1490 mode switch below).  If there are no non-empty fields, `[0]' is
1491 returned to avoid syntax errors in formulas.
1493 Named references
1494 ................
1496 `$name' is interpreted as the name of a column, parameter or constant.
1497 Constants are defined globally through the variable
1498 `org-table-formula-constants', and locally (for the file) through a
1499 line like
1501      #+CONSTANTS: c=299792458. pi=3.14 eps=2.4e-6
1503 Also properties (*note Properties and columns::) can be used as
1504 constants in table formulas: For a property `:XYZ:' use the name
1505 `$PROP_XYZ', and the property will be searched in the current outline
1506 entry and in the hierarchy above it.  If you have the `constants.el'
1507 package, it will also be used to resolve constants, including natural
1508 constants like `$h' for Planck's constant, and units like `$km' for
1509 kilometers(1).  Column names and parameters can be specified in special
1510 table lines.  These are described below, see *Note Advanced features::.
1511 All names must start with a letter, and further consist of letters and
1512 numbers.
1514    ---------- Footnotes ----------
1516    (1) `Constant.el' can supply the values of constants in two
1517 different unit systems, `SI' and `cgs'.  Which one is used depends on
1518 the value of the variable `constants-unit-system'.  You can use the
1519 `#+STARTUP' options `constSI' and `constcgs' to set this value for the
1520 current buffer.
1522 \x1f
1523 File: org,  Node: Formula syntax for Calc,  Next: Formula syntax for Lisp,  Prev: References,  Up: The spreadsheet
1525 3.5.2 Formula syntax for Calc
1526 -----------------------------
1528 A formula can be any algebraic expression understood by the Emacs
1529 `Calc' package.  Note that `calc' has the non-standard convention that
1530 `/' has lower precedence than `*', so that `a/b*c' is interpreted as
1531 `a/(b*c)'.  Before evaluation by `calc-eval' (*note calc-eval:
1532 (calc)Calling Calc from Your Programs.), variable substitution takes
1533 place according to the rules described above.  The range vectors can be
1534 directly fed into the calc vector functions like `vmean' and `vsum'.
1536    A formula can contain an optional mode string after a semicolon.
1537 This string consists of flags to influence Calc and other modes during
1538 execution.  By default, Org-mode uses the standard calc modes (precision
1539 12, angular units degrees, fraction and symbolic modes off.  The display
1540 format, however, has been changed to `(float 5)' to keep tables
1541 compact.  The default settings can be configured using the variable
1542 `org-calc-default-modes'.
1544      p20           switch the internal precision to 20 digits
1545      n3 s3 e2 f4   normal, scientific, engineering, or fixed display format
1546      D R           angle modes: degrees, radians
1547      F S           fraction and symbolic modes
1548      N             interpret all fields as numbers, use 0 for non-numbers
1549      T             force text interpretation
1550      E             keep empty fields in ranges
1552 In addition, you may provide a `printf' format specifier to reformat
1553 the final result.  A few examples:
1555      $1+$2                Sum of first and second field
1556      $1+$2;%.2f           Same, format result to two decimals
1557      exp($2)+exp($1)      Math functions can be used
1558      $0;%.1f              Reformat current cell to 1 decimal
1559      ($3-32)*5/9          Degrees F -> C conversion
1560      $c/$1/$cm            Hz -> cm conversion, using `constants.el'
1561      tan($1);Dp3s1        Compute in degrees, precision 3, display SCI 1
1562      sin($1);Dp3%.1e      Same, but use printf specifier for display
1563      vmean($2..$7)        Compute column range mean, using vector function
1564      vmean($2..$7);EN     Same, but treat empty fields as 0
1565      taylor($3,x=7,2)     taylor series of $3, at x=7, second degree
1567    Calc also contains a complete set of logical operations.  For example
1569      if($1<20,teen,string(""))  "teen" if age $1 less than 20, else empty
1571 \x1f
1572 File: org,  Node: Formula syntax for Lisp,  Next: Field formulas,  Prev: Formula syntax for Calc,  Up: The spreadsheet
1574 3.5.3 Emacs Lisp forms as formulas
1575 ----------------------------------
1577 It is also possible to write a formula in Emacs Lisp; this can be useful
1578 for string manipulation and control structures, if the Calc's
1579 functionality is not enough.  If a formula starts with a single quote
1580 followed by an opening parenthesis, then it is evaluated as a lisp form.
1581 The evaluation should return either a string or a number.  Just as with
1582 `calc' formulas, you can specify modes and a printf format after a
1583 semicolon.  With Emacs Lisp forms, you need to be concious about the way
1584 field references are interpolated into the form.  By default, a
1585 reference will be interpolated as a Lisp string (in double quotes)
1586 containing the field.  If you provide the `N' mode switch, all
1587 referenced elements will be numbers (non-number fields will be zero) and
1588 interpolated as Lisp numbers, without quotes.  If you provide the `L'
1589 flag, all fields will be interpolated literally, without quotes.  I.e.,
1590 if you want a reference to be interpreted as a string by the Lisp form,
1591 enclode the reference operator itself in double quotes, like `"$3"'.
1592 Ranges are inserted as space-separated fields, so you can embed them in
1593 list or vector syntax.  A few examples, note how the `N' mode is used
1594 when we do computations in lisp.
1596      Swap the first two characters of the content of column 1
1597        '(concat (substring $1 1 2) (substring $1 0 1) (substring $1 2))
1598      Add columns 1 and 2, equivalent to the Calc's `$1+$2'
1599        '(+ $1 $2);N
1600      Compute the sum of columns 1-4, like Calc's `vsum($1..$4)'
1601        '(apply '+ '($1..$4));N
1603 \x1f
1604 File: org,  Node: Field formulas,  Next: Column formulas,  Prev: Formula syntax for Lisp,  Up: The spreadsheet
1606 3.5.4 Field formulas
1607 --------------------
1609 To assign a formula to a particular field, type it directly into the
1610 field, preceded by `:=', for example `:=$1+$2'.  When you press <TAB>
1611 or <RET> or `C-c C-c' with the cursor still in the field, the formula
1612 will be stored as the formula for this field, evaluated, and the
1613 current field replaced with the result.
1615    Formulas are stored in a special line starting with `#+TBLFM:'
1616 directly below the table.  If you typed the equation in the 4th field of
1617 the 3rd data line in the table, the formula will look like
1618 `@3$4=$1+$2'.  When inserting/deleting/swapping column and rows with
1619 the appropriate commands, absolute references (but not relative ones)
1620 in stored formulas are modified in order to still reference the same
1621 field.  Of cause this is not true if you edit the table structure with
1622 normal editing commands - then you must fix the equations yourself.
1624    Instead of typing an equation into the field, you may also use the
1625 following command
1627 `C-u C-c ='
1628      Install a new formula for the current field.  The command prompts
1629      for a formula, with default taken from the `#+TBLFM:' line, applies
1630      it to the current field and stores it.
1632 \x1f
1633 File: org,  Node: Column formulas,  Next: Editing and debugging formulas,  Prev: Field formulas,  Up: The spreadsheet
1635 3.5.5 Column formulas
1636 ---------------------
1638 Often in a table, the same formula should be used for all fields in a
1639 particular column.  Instead of having to copy the formula to all fields
1640 in that column, org-mode allows to assign a single formula to an entire
1641 column.  If the table contains horizontal separator hlines, everything
1642 before the first such line is considered part of the table _header_ and
1643 will not be modified by column formulas.
1645    To assign a formula to a column, type it directly into any field in
1646 the column, preceded by an equal sign, like `=$1+$2'.  When you press
1647 <TAB> or <RET> or `C-c C-c' with the cursor still in the field, the
1648 formula will be stored as the formula for the current column, evaluated
1649 and the current field replaced with the result.  If the field contains
1650 only `=', the previously stored formula for this column is used.  For
1651 each column, Org-mode will only remember the most recently used
1652 formula.  In the `TBLFM:' line, column formulas will look like
1653 `$4=$1+$2'.
1655    Instead of typing an equation into the field, you may also use the
1656 following command:
1658 `C-c ='
1659      Install a new formula for the current column and replace current
1660      field with the result of the formula.  The command prompts for a
1661      formula, with default taken from the `#+TBLFM' line, applies it to
1662      the current field and stores it.  With a numerical prefix (e.g.
1663      `C-5 C-c =') will apply it to that many consecutive fields in the
1664      current column.
1666 \x1f
1667 File: org,  Node: Editing and debugging formulas,  Next: Updating the table,  Prev: Column formulas,  Up: The spreadsheet
1669 3.5.6 Editing and Debugging formulas
1670 ------------------------------------
1672 You can edit individual formulas in the minibuffer or directly in the
1673 field.  Org-mode can also prepare a special buffer with all active
1674 formulas of a table.  When offering a formula for editing, Org-mode
1675 converts references to the standard format (like `B3' or `D&') if
1676 possible.  If you prefer to only work with the internal format (like
1677 `@3$2' or `$4'), configure the variable
1678 `org-table-use-standard-references'.
1680 `C-c ='
1681 `C-u C-c ='
1682      Edit the formula associated with the current column/field in the
1683      minibuffer.  See *Note Column formulas:: and *Note Field
1684      formulas::.  
1686 `C-u C-u C-c ='
1687      Re-insert the active formula (either a field formula, or a column
1688      formula) into the current field, so that you can edit it directly
1689      in the field.  The advantage over editing in the minibuffer is
1690      that you can use the command `C-c ?'.  
1692 `C-c ?'
1693      While editing a formula in a table field, highlight the field(s)
1694      referenced by the reference at the cursor position in the formula.  
1696 `C-c }'
1697      Toggle the display of row and column numbers for a table, using
1698      overlays.  These are updated each time the table is aligned, you
1699      can force it with `C-c C-c'.  
1701 `C-c {'
1702      Toggle the formula debugger on and off.  See below.  
1704 `C-c ''
1705      Edit all formulas for the current table in a special buffer, where
1706      the formulas will be displayed one per line.  If the current field
1707      has an active formula, the cursor in the formula editor will mark
1708      it.  While inside the special buffer, Org-mode will automatically
1709      highlight any field or range reference at the cursor position.
1710      You may edit, remove and add formulas, and use the following
1711      commands:
1712     `C-c C-c'
1713     `C-x C-s'
1714           Exit the formula editor and store the modified formulas.
1715           With `C-u' prefix, also apply the new formulas to the entire
1716           table.  
1718     `C-c C-q'
1719           Exit the formula editor without installing changes.  
1721     `C-c C-r'
1722           Toggle all references in the formula editor between standard
1723           (like `B3') and internal (like `@3$2').  
1725     `<TAB>'
1726           Pretty-print or indent lisp formula at point.  When in a line
1727           containing a lisp formula, format the formula according to
1728           Emacs Lisp rules.  Another <TAB> collapses the formula back
1729           again.  In the open formula, <TAB> re-indents just like in
1730           Emacs-lisp-mode.  
1732     `M-<TAB>'
1733           Complete Lisp symbols, just like in Emacs-lisp-mode.  
1735     `S-<up>/<down>/<left>/<right>'
1736           Shift the reference at point.  For example, if the reference
1737           is `B3' and you press `S-<right>', it will become `C3'.  This
1738           also works for relative references, and for hline references.  
1740     `M-S-<up>/<down>'
1741           Move the test line for column formulas in the Org-mode buffer
1742           up and down.  
1744     `M-<up>/<down>'
1745           Scroll the window displaying the table.  
1747     `C-c }'
1748           Turn the coordinate grid in the table on and off.
1750    Making a table field blank does not remove the formula associated
1751 with the field, because that is stored in a different line (the `TBLFM'
1752 line) - during the next recalculation the field will be filled again.
1753 To remove a formula from a field, you have to give an empty reply when
1754 prompted for the formula, or to edit the `#+TBLFM' line.
1756    You may edit the `#+TBLFM' directly and re-apply the changed
1757 equations with `C-c C-c' in that line, or with the normal recalculation
1758 commands in the table.
1760 Debugging formulas
1761 ..................
1763 When the evaluation of a formula leads to an error, the field content
1764 becomes the string `#ERROR'.  If you would like see what is going on
1765 during variable substitution and calculation in order to find a bug,
1766 turn on formula debugging in the `Tbl' menu and repeat the calculation,
1767 for example by pressing `C-u C-u C-c = <RET>' in a field.  Detailed
1768 information will be displayed.
1770 \x1f
1771 File: org,  Node: Updating the table,  Next: Advanced features,  Prev: Editing and debugging formulas,  Up: The spreadsheet
1773 3.5.7 Updating the Table
1774 ------------------------
1776 Recalculation of a table is normally not automatic, but needs to be
1777 triggered by a command.  See *Note Advanced features:: for a way to make
1778 recalculation at least semi-automatically.
1780    In order to recalculate a line of a table or the entire table, use
1781 the following commands:
1783 `C-c *'
1784      Recalculate the current row by first applying the stored column
1785      formulas from left to right, and all field formulas in the current
1786      row.  
1788 `C-u C-c *'
1789 `C-u C-c C-c'
1790      Recompute the entire table, line by line.  Any lines before the
1791      first hline are left alone, assuming that these are part of the
1792      table header.  
1794 `C-u C-u C-c *'
1795 `C-u C-u C-c C-c'
1796      Iterate the table by recomputing it until no further changes occur.
1797      This may be necessary if some computed fields use the value of
1798      other fields that are computed later in the calculation sequence.
1800 \x1f
1801 File: org,  Node: Advanced features,  Prev: Updating the table,  Up: The spreadsheet
1803 3.5.8 Advanced features
1804 -----------------------
1806 If you want the recalculation of fields to happen automatically, or if
1807 you want to be able to assign names to fields and columns, you need to
1808 reserve the first column of the table for special marking characters.
1809 `C-#'
1810      Rotate the calculation mark in first column through the states `',
1811      `#', `*', `!', `$'.  The meaning of these characters is discussed
1812      below.  When there is an active region, change all marks in the
1813      region.
1815    Here is an example of a table that collects exam results of students
1816 and makes use of these features:
1818      |---+---------+--------+--------+--------+-------+------|
1819      |   | Student | Prob 1 | Prob 2 | Prob 3 | Total | Note |
1820      |---+---------+--------+--------+--------+-------+------|
1821      | ! |         |     P1 |     P2 |     P3 |   Tot |      |
1822      | # | Maximum |     10 |     15 |     25 |    50 | 10.0 |
1823      | ^ |         |     m1 |     m2 |     m3 |    mt |      |
1824      |---+---------+--------+--------+--------+-------+------|
1825      | # | Peter   |     10 |      8 |     23 |    41 |  8.2 |
1826      | # | Sara    |      6 |     14 |     19 |    39 |  7.8 |
1827      | # | Sam     |      2 |      4 |      3 |     9 |  1.8 |
1828      |---+---------+--------+--------+--------+-------+------|
1829      |   | Average |        |        |        |  29.7 |      |
1830      | ^ |         |        |        |        |    at |      |
1831      | $ | max=50  |        |        |        |       |      |
1832      |---+---------+--------+--------+--------+-------+------|
1833      #+TBLFM: $6=vsum($P1..$P3)::$7=10*$Tot/$max;%.1f::$at=vmean(@-II..@-I);%.1f
1835 Important: Please note that for these special tables, recalculating the
1836 table with `C-u C-c *' will only affect rows that are marked `#' or
1837 `*', and fields that have a formula assigned to the field itself.  The
1838 column formulas are not applied in rows with empty first field.
1840    The marking characters have the following meaning:
1842      The fields in this line define names for the columns, so that you
1843      may refer to a column as `$Tot' instead of `$6'.
1846      This row defines names for the fields _above_ the row.  With such
1847      a definition, any formula in the table may use `$m1' to refer to
1848      the value `10'.  Also, if you assign a formula to a names field, it
1849      will be stored as `$name=...'.
1852      Similar to `^', but defines names for the fields in the row
1853      _below_.
1856      Fields in this row can define _parameters_ for formulas.  For
1857      example, if a field in a `$' row contains `max=50', then formulas
1858      in this table can refer to the value 50 using `$max'.  Parameters
1859      work exactly like constants, only that they can be defined on a
1860      per-table basis.
1863      Fields in this row are automatically recalculated when pressing
1864      <TAB> or <RET> or `S-<TAB>' in this row.  Also, this row is
1865      selected for a global recalculation with `C-u C-c *'.  Unmarked
1866      lines will be left alone by this command.
1869      Selects this line for global recalculation with `C-u C-c *', but
1870      not for automatic recalculation.  Use this when automatic
1871      recalculation slows down editing too much.
1874      Unmarked lines are exempt from recalculation with `C-u C-c *'.
1875      All lines that should be recalculated should be marked with `#' or
1876      `*'.
1879      Do not export this line.  Useful for lines that contain the
1880      narrowing `<N>' markers.
1882    Finally, just to whet your appetite on what can be done with the
1883 fantastic `calc' package, here is a table that computes the Taylor
1884 series of degree `n' at location `x' for a couple of functions
1885 (homework: try that with Excel :-)
1887      |---+-------------+---+-----+--------------------------------------|
1888      |   | Func        | n | x   | Result                               |
1889      |---+-------------+---+-----+--------------------------------------|
1890      | # | exp(x)      | 1 | x   | 1 + x                                |
1891      | # | exp(x)      | 2 | x   | 1 + x + x^2 / 2                      |
1892      | # | exp(x)      | 3 | x   | 1 + x + x^2 / 2 + x^3 / 6            |
1893      | # | x^2+sqrt(x) | 2 | x=0 | x*(0.5 / 0) + x^2 (2 - 0.25 / 0) / 2 |
1894      | # | x^2+sqrt(x) | 2 | x=1 | 2 + 2.5 x - 2.5 + 0.875 (x - 1)^2    |
1895      | * | tan(x)      | 3 | x   | 0.0175 x + 1.77e-6 x^3               |
1896      |---+-------------+---+-----+--------------------------------------|
1897      #+TBLFM: $5=taylor($2,$4,$3);n3
1899 \x1f
1900 File: org,  Node: Hyperlinks,  Next: TODO items,  Prev: Tables,  Up: Top
1902 4 Hyperlinks
1903 ************
1905 Just like HTML, Org-mode provides links inside a file, and external
1906 links to other files, Usenet articles, emails, and much more.
1908 * Menu:
1910 * Link format::                 How links in Org-mode are formatted
1911 * Internal links::              Links to other places in the current file
1912 * External links::              URL-like links to the world
1913 * Handling links::              Creating, inserting and following
1914 * Using links outside Org-mode::  Linking from my C source code?
1915 * Link abbreviations::          Shortcuts for writing complex links
1916 * Search options::              Linking to a specific location
1917 * Custom searches::             When the default search is not enough
1919 \x1f
1920 File: org,  Node: Link format,  Next: Internal links,  Prev: Hyperlinks,  Up: Hyperlinks
1922 4.1 Link format
1923 ===============
1925 Org-mode will recognize plain URL-like links and activate them as
1926 clickable links.  The general link format, however, looks like this:
1928      [[link][description]]       or alternatively           [[link]]
1930    Once a link in the buffer is complete (all brackets present),
1931 Org-mode will change the display so that `description' is displayed
1932 instead of `[[link][description]]' and `link' is displayed instead of
1933 `[[link]]'.  Links will be highlighted in the face `org-link', which by
1934 default is an underlined face.  You can directly edit the visible part
1935 of a link.  Note that this can be either the `link' part (if there is
1936 no description) or the `description' part.  To edit also the invisible
1937 `link' part, use `C-c C-l' with the cursor on the link.
1939    If you place the cursor at the beginning or just behind the end of
1940 the displayed text and press <BACKSPACE>, you will remove the
1941 (invisible) bracket at that location.  This makes the link incomplete
1942 and the internals are again displayed as plain text.  Inserting the
1943 missing bracket hides the link internals again.  To show the internal
1944 structure of all links, use the menu entry `Org->Hyperlinks->Literal
1945 links'.
1947 \x1f
1948 File: org,  Node: Internal links,  Next: External links,  Prev: Link format,  Up: Hyperlinks
1950 4.2 Internal links
1951 ==================
1953 If the link does not look like a URL, it is considered to be internal in
1954 the current file.  Links such as `[[My Target]]' or `[[My Target][Find
1955 my target]]' lead to a text search in the current file.  The link can
1956 be followed with `C-c C-o' when the cursor is on the link, or with a
1957 mouse click (*note Handling links::).  The preferred match for such a
1958 link is a dedicated target: the same string in double angular brackets.
1959 Targets may be located anywhere; sometimes it is convenient to put
1960 them into a comment line. For example
1962      # <<My Target>>
1964 In HTML export (*note HTML export::), such targets will become named
1965 anchors for direct access through `http' links(1).
1967    If no dedicated target exists, Org-mode will search for the words in
1968 the link.  In the above example the search would be for `my target'.
1969 Links starting with a star like `*My Target' restrict the search to
1970 headlines.  When searching, Org-mode will first try an exact match, but
1971 then move on to more and more lenient searches.  For example, the link
1972 `[[*My Targets]]' will find any of the following:
1974      ** My targets
1975      ** TODO my targets are bright
1976      ** my 20 targets are
1978    To insert a link targeting a headline, in-buffer completion can be
1979 used.  Just type a star followed by a few optional letters into the
1980 buffer and press `M-<TAB>'.  All headlines in the current buffer will be
1981 offered as completions.  *Note Handling links::, for more commands
1982 creating links.
1984    Following a link pushes a mark onto Org-mode's own mark ring.  You
1985 can return to the previous position with `C-c &'.  Using this command
1986 several times in direct succession goes back to positions recorded
1987 earlier.
1989 * Menu:
1991 * Radio targets::               Make targets trigger links in plain text.
1993    ---------- Footnotes ----------
1995    (1) Note that text before the first headline is usually not
1996 exported, so the first such target should be after the first headline.
1998 \x1f
1999 File: org,  Node: Radio targets,  Prev: Internal links,  Up: Internal links
2001 4.2.1 Radio targets
2002 -------------------
2004 Org-mode can automatically turn any occurrences of certain target names
2005 in normal text into a link.  So without explicitly creating a link, the
2006 text connects to the target radioing its position.  Radio targets are
2007 enclosed by triple angular brackets.  For example, a target `<<<My
2008 Target>>>' causes each occurrence of `my target' in normal text to
2009 become activated as a link.  The Org-mode file is scanned automatically
2010 for radio targets only when the file is first loaded into Emacs.  To
2011 update the target list during editing, press `C-c C-c' with the cursor
2012 on or at a target.
2014 \x1f
2015 File: org,  Node: External links,  Next: Handling links,  Prev: Internal links,  Up: Hyperlinks
2017 4.3 External links
2018 ==================
2020 Org-mode supports links to files, websites, Usenet and email messages,
2021 and BBDB database entries.  External links are URL-like locators.  They
2022 start with a short identifying string followed by a colon.  There can be
2023 no space after the colon.  The following list shows examples for each
2024 link type.
2026      http://www.astro.uva.nl/~dominik          on the web
2027      file:/home/dominik/images/jupiter.jpg     file, absolute path
2028      file:papers/last.pdf                      file, relative path
2029      news:comp.emacs                           Usenet link
2030      mailto:adent@galaxy.net                   Mail link
2031      vm:folder                                 VM folder link
2032      vm:folder#id                              VM message link
2033      vm://myself@some.where.org/folder#id      VM on remote machine
2034      wl:folder                                 WANDERLUST folder link
2035      wl:folder#id                              WANDERLUST message link
2036      mhe:folder                                MH-E folder link
2037      mhe:folder#id                             MH-E message link
2038      rmail:folder                              RMAIL folder link
2039      rmail:folder#id                           RMAIL message link
2040      gnus:group                                GNUS group link
2041      gnus:group#id                             GNUS article link
2042      bbdb:Richard Stallman                     BBDB link
2043      shell:ls *.org                            A shell command
2044      elisp:(find-file-other-frame "Elisp.org") An elisp form to evaluate
2046    A link should be enclosed in double brackets and may contain a
2047 descriptive text to be displayed instead of the url (*note Link
2048 format::), for example:
2050      [[http://www.gnu.org/software/emacs/][GNU Emacs]]
2052 If the description is a file name or URL that points to an image, HTML
2053 export (*note HTML export::) will inline the image as a clickable
2054 button.  If there is no description at all and the link points to an
2055 image, that image will be inlined into the exported HTML file.
2057    Org-mode also finds external links in the normal text and activates
2058 them as links.  If spaces must be part of the link (for example in
2059 `bbdb:Richard Stallman'), or if you need to remove ambiguities about
2060 the end of the link, enclose them in angular brackets.
2062 \x1f
2063 File: org,  Node: Handling links,  Next: Using links outside Org-mode,  Prev: External links,  Up: Hyperlinks
2065 4.4 Handling links
2066 ==================
2068 Org-mode provides methods to create a link in the correct syntax, to
2069 insert it into an org-mode file, and to follow the link.
2071 `C-c l'
2072      Store a link to the current location.  This is a _global_ command
2073      which can be used in any buffer to create a link.  The link will be
2074      stored for later insertion into an Org-mode buffer (see below).
2075      For Org-mode files, if there is a `<<target>>' at the cursor, the
2076      link points to the target.  Otherwise it points to the current
2077      headline.  For VM, RMAIL, WANDERLUST, MH-E, GNUS and BBDB buffers,
2078      the link will indicate the current article/entry.  For W3 and W3M
2079      buffers, the link goes to the current URL.  For any other files,
2080      the link will point to the file, with a search string (*note
2081      Search options::) pointing to the contents of the current line.
2082      If there is an active region, the selected words will form the
2083      basis of the search string.  If the automatically created link is
2084      not working correctly or accurately enough, you can write custom
2085      functions to select the search string and to do the search for
2086      particular file types - see *Note Custom searches::.  The key
2087      binding `C-c l' is only a suggestion - see *Note Installation::.  
2089 `C-c C-l'
2090      Insert a link.  This prompts for a link to be inserted into the
2091      buffer.  You can just type a link, using text for an internal
2092      link, or one of the link type prefixes mentioned in the examples
2093      above.  All links stored during the current session are part of
2094      the history for this prompt, so you can access them with <up> and
2095      <down> (or `M-p/n').  Completion, on the other hand, will help you
2096      to insert valid link prefixes like `http:' or `ftp:', including
2097      the prefixes defined through link abbreviations (*note Link
2098      abbreviations::).  The link will be inserted into the buffer(1),
2099      along with a descriptive text.  If some text was selected when
2100      this command is called, the selected text becomes the default
2101      description.
2102      Note that you don't have to use this command to insert a link.
2103      Links in Org-mode are plain text, and you can type or paste them
2104      straight into the buffer.  By using this command, the links are
2105      automatically enclosed in double brackets, and you will be asked
2106      for the optional descriptive text.  
2108 `C-u C-c C-l'
2109      When `C-c C-l' is called with a `C-u' prefix argument, a link to a
2110      file will be inserted and you may use file name completion to
2111      select the name of the file.  The path to the file is inserted
2112      relative to the directory of the current org file, if the linked
2113      file is in the current directory or in a subdirectory of it, or if
2114      the path is written relative to the current directory using `../'.
2115      Otherwise an absolute path is used, if possible with `~/' for
2116      your home directory.  You can force an absolute path with two
2117      `C-u' prefixes.
2119 `C-c C-l (with cursor on existing link)'
2120      When the cursor is on an existing link, `C-c C-l' allows you to
2121      edit the link and description parts of the link.  
2123 `C-c C-o'
2124      Open link at point.  This will launch a web browser for URLs (using
2125      `browse-url-at-point'), run vm/mh-e/wanderlust/rmail/gnus/bbdb for
2126      the corresponding links, and execute the command in a shell link.
2127      When the cursor is on an internal link, this commands runs the
2128      corresponding search.  When the cursor is on a TAG list in a
2129      headline, it creates the corresponding TAGS view.  If the cursor
2130      is on a time stamp, it compiles the agenda for that date.
2131      Furthermore, it will visit text and remote files in `file:' links
2132      with Emacs and select a suitable application for local non-text
2133      files.  Classification of files is based on file extension only.
2134      See option `org-file-apps'.  If you want to override the default
2135      application and visit the file with Emacs, use a `C-u' prefix.  
2137 `mouse-2'
2138 `mouse-1'
2139      On links, `mouse-2' will open the link just as `C-c C-o' would.
2140      Under Emacs 22, also `mouse-1' will follow a link.  
2142 `mouse-3'
2143      Like `mouse-2', but force file links to be opened with Emacs, and
2144      internal links to be displayed in another window(2).  
2146 `C-c %'
2147      Push the current position onto the mark ring, to be able to return
2148      easily. Commands following an internal link do this automatically.  
2150 `C-c &'
2151      Jump back to a recorded position.  A position is recorded by the
2152      commands following internal links, and by `C-c %'.  Using this
2153      command several times in direct succession moves through a ring of
2154      previously recorded positions.  
2156 `C-c C-x C-n'
2157 `C-c C-x C-p'
2158      Move forward/backward to the next link in the buffer.  At the
2159      limit of the buffer, the search fails once, and then wraps around.
2160      The key bindings for this are really too long, you might want to
2161      bind this also to `C-n' and `C-p'
2162           (add-hook 'org-load-hook
2163             (lambda ()
2164               (define-key 'org-mode-map "\C-n" 'org-next-link)
2165               (define-key 'org-mode-map "\C-p" 'org-previous-link)))
2167    ---------- Footnotes ----------
2169    (1) After insertion of a stored link, the link will be removed from
2170 the list of stored links.  To keep it in the list later use, use a
2171 triple `C-u' prefix to `C-c C-l', or configure the option
2172 `org-keep-stored-link-after-insertion'.
2174    (2) See the variable `org-display-internal-link-with-indirect-buffer'
2176 \x1f
2177 File: org,  Node: Using links outside Org-mode,  Next: Link abbreviations,  Prev: Handling links,  Up: Hyperlinks
2179 4.5 Using links outside Org-mode
2180 ================================
2182 You can insert and follow links that have Org-mode syntax not only in
2183 Org-mode, but in any Emacs buffer.  For this, you should create two
2184 global commands, like this (please select suitable global keys
2185 yourself):
2187      (global-set-key "\C-c L" 'org-insert-link-global)
2188      (global-set-key "\C-c o" 'org-open-at-point-global)
2190 \x1f
2191 File: org,  Node: Link abbreviations,  Next: Search options,  Prev: Using links outside Org-mode,  Up: Hyperlinks
2193 4.6 Link abbreviations
2194 ======================
2196 Long URLs can be cumbersome to type, and often many similar links are
2197 needed in a document.  For this you can use link abbreviations.  An
2198 abbreviated link looks like this
2200      [[linkword:tag][description]]
2202 where the tag is optional.  Such abbreviations are resolved according to
2203 the information in the variable `org-link-abbrev-alist' that relates
2204 the linkwords to replacement text.  Here is an example:
2206      (setq org-link-abbrev-alist
2207        '(("bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=")
2208          ("google"   . "http://www.google.com/search?q=")
2209          ("ads"      . "http://adsabs.harvard.edu/cgi-bin/
2210                         nph-abs_connect?author=%s&db_key=AST")))
2212    If the replacement text contains the string `%s', it will be
2213 replaced with the tag.  Otherwise the tag will be appended to the string
2214 in order to create the link.  You may also specify a function that will
2215 be called with the tag as the only argument to create the link.
2217    With the above setting, you could link to a specific bug with
2218 `[[bugzilla:129]]', search the web for `OrgMode' with
2219 `[[google:OrgMode]]' and find out what the Org-mode author is doing
2220 besides Emacs hacking with `[[ads:Dominik,C]]'.
2222    If you need special abbreviations just for a single Org-mode buffer,
2223 you can define them in the file with
2225      #+LINK: bugzilla  http://10.1.2.9/bugzilla/show_bug.cgi?id=
2226      #+LINK: google    http://www.google.com/search?q=%s
2228 In-buffer completion *note Completion:: can be used after `[' to
2229 complete link abbreviations.
2231 \x1f
2232 File: org,  Node: Search options,  Next: Custom searches,  Prev: Link abbreviations,  Up: Hyperlinks
2234 4.7 Search options in file links
2235 ================================
2237 File links can contain additional information to make Emacs jump to a
2238 particular location in the file when following a link.  This can be a
2239 line number or a search option after a double(1) colon. For example,
2240 when the command `C-c l' creates a link (*note Handling links::) to a
2241 file, it encodes the words in the current line as a search string that
2242 can be used to find this line back later when following the link with
2243 `C-c C-o'.
2245    Here is the syntax of the different ways to attach a search to a file
2246 link, together with an explanation:
2248      [[file:~/code/main.c::255]]
2249      [[file:~/xx.org::My Target]]
2250      [[file:~/xx.org::*My Target]]
2251      [[file:~/xx.org::/regexp/]]
2253 `255'
2254      Jump to line 255.
2256 `My Target'
2257      Search for a link target `<<My Target>>', or do a text search for
2258      `my target', similar to the search in internal links, see *Note
2259      Internal links::.  In HTML export (*note HTML export::), such a
2260      file link will become an HTML reference to the corresponding named
2261      anchor in the linked file.
2263 `*My Target'
2264      In an Org-mode file, restrict search to headlines.
2266 `/regexp/'
2267      Do a regular expression search for `regexp'.  This uses the Emacs
2268      command `occur' to list all matches in a separate window.  If the
2269      target file is in Org-mode, `org-occur' is used to create a sparse
2270      tree with the matches.
2272    As a degenerate case, a file link with an empty file name can be used
2273 to search the current file.  For example, `[[file:::find me]]' does a
2274 search for `find me' in the current file, just as `[[find me]]' would.
2276    ---------- Footnotes ----------
2278    (1) For backward compatibility, line numbers can also follow a
2279 single colon.
2281 \x1f
2282 File: org,  Node: Custom searches,  Prev: Search options,  Up: Hyperlinks
2284 4.8 Custom Searches
2285 ===================
2287 The default mechanism for creating search strings and for doing the
2288 actual search related to a file link may not work correctly in all
2289 cases.  For example, BibTeX database files have many entries like
2290 `year="1993"' which would not result in good search strings, because
2291 the only unique identification for a BibTeX entry is the citation key.
2293    If you come across such a problem, you can write custom functions to
2294 set the right search string for a particular file type, and to do the
2295 search for the string in the file.  Using `add-hook', these functions
2296 need to be added to the hook variables
2297 `org-create-file-search-functions' and
2298 `org-execute-file-search-functions'.  See the docstring for these
2299 variables for more information.  Org-mode actually uses this mechanism
2300 for BibTeX database files, and you can use the corresponding code as an
2301 implementation example.  Search for `BibTeX links' in the source file.
2303 \x1f
2304 File: org,  Node: TODO items,  Next: Tags,  Prev: Hyperlinks,  Up: Top
2306 5 TODO items
2307 ************
2309 Org-mode does not maintain TODO lists as a separate document.  TODO
2310 items are an integral part of the notes file, because TODO items
2311 usually come up while taking notes!  With Org-mode, you simply mark any
2312 entry in a tree as being a TODO item.  In this way, the information is
2313 not duplicated, and the entire context from which the item emerged is
2314 always present when you check.
2316    Of course, this technique causes TODO items to be scattered
2317 throughout your file.  Org-mode provides methods to give you an
2318 overview over all things you have to do.
2320 * Menu:
2322 * TODO basics::                 Marking and displaying TODO entries
2323 * TODO extensions::             Workflow and assignments
2324 * Progress logging::            Dates and notes for progress
2325 * Priorities::                  Some things are more important than others
2326 * Breaking down tasks::         Splitting a task into manageable pieces
2327 * Checkboxes::                  Tick-off lists
2329 \x1f
2330 File: org,  Node: TODO basics,  Next: TODO extensions,  Prev: TODO items,  Up: TODO items
2332 5.1 Basic TODO functionality
2333 ============================
2335 Any headline can become a TODO item by starting it with the word TODO,
2336 for example:
2338      *** TODO Write letter to Sam Fortune
2340 The most important commands to work with TODO entries are:
2342 `C-c C-t'
2343      Rotate the TODO state of the current item among
2345           ,-> (unmarked) -> TODO -> DONE --.
2346           '--------------------------------'
2348      The same rotation can also be done "remotely" from the timeline and
2349      agenda buffers with the `t' command key (*note Agenda commands::).
2351 `C-u C-c C-t'
2352      Select a specific keyword using completion of (if it has been set
2353      up) the fast selection interface.
2355 `S-<right>'
2356 `S-<left>'
2357      Select the following/preceding TODO state, similar to cycling.
2358      Mostly useful if more than two TODO states are possible (*note
2359      TODO extensions::).  
2361 `C-c C-c'
2362      Use the fast tag interface to quickly and directly select a
2363      specific TODO state.  For this you need to assign keys to TODO
2364      state, like this:
2365           #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) | DONE(d)
2366      See *Note Per file keywords:: and *Note Setting tags:: for more
2367      information.  
2369 `C-c C-v'
2370      View TODO items in a _sparse tree_ (*note Sparse trees::).  Folds
2371      the entire buffer, but shows all TODO items and the headings
2372      hierarchy above them.  With prefix arg, search for a specific
2373      TODO.  You will be prompted for the keyword, and you can also give
2374      a list of keywords like `kwd1|kwd2|...'.  With numerical prefix N,
2375      show the tree for the Nth keyword in the variable
2376      `org-todo-keywords'.  With two prefix args, find all TODO and DONE
2377      entries.  
2379 `C-c a t'
2380      Show the global TODO list.  This collects the TODO items from all
2381      agenda files (*note Agenda views::) into a single buffer.  The
2382      buffer is in `agenda-mode', so there are commands to examine and
2383      manipulate the TODO entries directly from that buffer (*note
2384      Agenda commands::).  *Note Global TODO list::, for more
2385      information.  
2387 `S-M-<RET>'
2388      Insert a new TODO entry below the current one.
2390 \x1f
2391 File: org,  Node: TODO extensions,  Next: Progress logging,  Prev: TODO basics,  Up: TODO items
2393 5.2 Extended use of TODO keywords
2394 =================================
2396 The default implementation of TODO entries is just two states: TODO and
2397 DONE.  You can use the TODO feature for more complicated things by
2398 configuring the variable `org-todo-keywords'.  With special setup, the
2399 TODO keyword system can work differently in different files.
2401    Note that tags are another way to classify headlines in general and
2402 TODO items in particular (*note Tags::).
2404 * Menu:
2406 * Workflow states::             From TODO to DONE in steps
2407 * TODO types::                  I do this, Fred the rest
2408 * Multiple sets in one file::   Mixing it all, and still finding your way
2409 * Fast access to TODO states::  Single letter selection of a state
2410 * Per file keywords::           Different files, different requirements
2411 * Faces for TODO keywords::     Highlighting states
2413 \x1f
2414 File: org,  Node: Workflow states,  Next: TODO types,  Prev: TODO extensions,  Up: TODO extensions
2416 5.2.1 TODO keywords as workflow states
2417 --------------------------------------
2419 You can use TODO keywords to indicate different _sequential_ states in
2420 the process of working on an item, for example(1):
2422      (setq org-todo-keywords
2423        '((sequence "TODO" "FEEDBACK" "VERIFY" "|" "DONE" "DELEGATED")))
2425    The vertical bar separates the TODO keywords (states that _need
2426 action_) from the DONE states (which need _no further action_.  If you
2427 don't provide the separator bar, the last state is used as the DONE
2428 state.  With this setup, the command `C-c C-t' will cycle an entry from
2429 TODO to FEEDBACK, then to VERIFY, and finally to DONE and DELEGATED.
2430 You may also use a prefix argument to quickly select a specific state.
2431 For example `C-3 C-c C-t' will change the state immediately to VERIFY.
2432 If you define many keywords, you can use in-buffer completion (see
2433 *Note Completion::) to insert these words into the buffer.  Changing a
2434 todo state can be logged with a timestamp, see *Note Tracking TODO
2435 state changes:: for more information.
2437    ---------- Footnotes ----------
2439    (1) Changing this variable only becomes effective after restarting
2440 Org-mode in a buffer.
2442 \x1f
2443 File: org,  Node: TODO types,  Next: Multiple sets in one file,  Prev: Workflow states,  Up: TODO extensions
2445 5.2.2 TODO keywords as types
2446 ----------------------------
2448 The second possibility is to use TODO keywords to indicate different
2449 _types_ of action items.  For example, you might want to indicate that
2450 items are for "work" or "home".  Or, when you work with several people
2451 on a single project, you might want to assign action items directly to
2452 persons, by using their names as TODO keywords.  This would be set up
2453 like this:
2455      (setq org-todo-keywords '((type "Fred" "Sara" "Lucy" "|" "DONE")))
2457    In this case, different keywords do not indicate a sequence, but
2458 rather different types.  So the normal work flow would be to assign a
2459 task to a person, and later to mark it DONE.  Org-mode supports this
2460 style by adapting the workings of the command `C-c C-t'(1).  When used
2461 several times in succession, it will still cycle through all names, in
2462 order to first select the right type for a task.  But when you return
2463 to the item after some time and execute `C-c C-t' again, it will switch
2464 from any name directly to DONE.  Use prefix arguments or completion to
2465 quickly select a specific name.  You can also review the items of a
2466 specific TODO type in a sparse tree by using a numeric prefix to `C-c
2467 C-v'.  For example, to see all things Lucy has to do, you would use
2468 `C-3 C-c C-v'.  To collect Lucy's items from all agenda files into a
2469 single buffer, you would use the prefix arg as well when creating the
2470 global todo list: `C-3 C-c t'.
2472    ---------- Footnotes ----------
2474    (1) This is also true for the `t' command in the timeline and agenda
2475 buffers.
2477 \x1f
2478 File: org,  Node: Multiple sets in one file,  Next: Fast access to TODO states,  Prev: TODO types,  Up: TODO extensions
2480 5.2.3 Multiple keyword sets in one file
2481 ---------------------------------------
2483 Sometimes you may want to use different sets of TODO keywords in
2484 parallel.  For example, you may want to have the basic `TODO'/`DONE',
2485 but also a workflow for bug fixing, and a separate state indicating
2486 that an item has been canceled (so it is not DONE, but also does not
2487 require action).  Your setup would then look like this:
2489      (setq org-todo-keywords
2490            '((sequence "TODO" "|" "DONE")
2491              (sequence "REPORT" "BUG" "KNOWNCAUSE" "|" "FIXED")
2492              (sequence "|" "CANCELED")))
2494    The keywords should all be different, this helps Org-mode to keep
2495 track of which subsequence should be used for a given entry.  In this
2496 setup, `C-c C-t' only operates within a subsequence, so it switches from
2497 `DONE' to (nothing) to `TODO', and from `FIXED' to (nothing) to
2498 `REPORT'.  Therefore you need a mechanism to initially select the
2499 correct sequence.  Besides the obvious ways like typing a keyword or
2500 using completion, you may also apply the following commands:
2502 `C-S-<right>'
2503 `C-S-<left>'
2504      These keys jump from one TODO subset to the next.  In the above
2505      example, `C-S-<right>' would jump from `TODO' or `DONE' to
2506      `REPORT', and any of the words in the second row to `CANCELED'.  
2508 `S-<right>'
2509 `S-<left>'
2510      `S-<<left>>' and `S-<<right>>' and walk through _all_ keywords
2511      from all sets, so for example `S-<<right>>' would switch from
2512      `DONE' to `REPORT' in the example above.
2514 \x1f
2515 File: org,  Node: Fast access to TODO states,  Next: Per file keywords,  Prev: Multiple sets in one file,  Up: TODO extensions
2517 5.2.4 Fast access to TODO states
2518 --------------------------------
2520 If you would like to quickly change an entry to an arbitrary TODO state
2521 instead of cycling through the states, you can set up keys for
2522 single-letter access to the states.  This is done by adding the section
2523 key after each keyword, in parenthesis.  For example:
2525      (setq org-todo-keywords
2526            '((sequence "TODO(t)" "|" "DONE(d)")
2527              (sequence "REPORT(r)" "BUG(b)" "KNOWNCAUSE(k)" "|" "FIXED(f)")
2528              (sequence "|" "CANCELED(c)")))
2530    If you then press `C-u C-c C-t' followed by the selection key, the
2531 entry will be switched to this state.  <SPC> can be used to remove any
2532 TODO keyword from an entry.  Should you like this way of selecting TODO
2533 states a lot, you might want to set the variable
2534 `org-use-fast-todo-selection' to `t' and make this behavior the
2535 default.  Check also the variable
2536 `org-fast-tag-selection-include-todo', it allows to change the TODO
2537 state through the tags interface (*note Setting tags::).
2539 \x1f
2540 File: org,  Node: Per file keywords,  Next: Faces for TODO keywords,  Prev: Fast access to TODO states,  Up: TODO extensions
2542 5.2.5 Setting up keywords for individual files
2543 ----------------------------------------------
2545 It can be very useful to use different aspects of the TODO mechanism in
2546 different files.  For file-local settings, you need to add special lines
2547 to the file which set the keywords and interpretation for that file
2548 only.  For example, to set one of the two examples discussed above, you
2549 need one of the following lines, starting in column zero anywhere in the
2550 file:
2552      #+SEQ_TODO: TODO FEEDBACK VERIFY | DONE CANCELED
2553    or
2554      #+TYP_TODO: Fred Sara Lucy Mike | DONE
2556    A setup for using several sets in parallel would be:
2558      #+SEQ_TODO: TODO | DONE
2559      #+SEQ_TODO: REPORT BUG KNOWNCAUSE | FIXED
2560      #+SEQ_TODO: | CANCELED
2562 To make sure you are using the correct keyword, type `#+' into the
2563 buffer and then use `M-<TAB>' completion.
2565    Remember that the keywords after the vertical bar (or the last
2566 keyword if no bar is there) must always mean that the item is DONE
2567 (although you may use a different word).  After changing one of these
2568 lines, use `C-c C-c' with the cursor still in the line to make the
2569 changes known to Org-mode(1).
2571    ---------- Footnotes ----------
2573    (1) Org-mode parses these lines only when Org-mode is activated
2574 after visiting a file.  `C-c C-c' with the cursor in a line starting
2575 with `#+' is simply restarting Org-mode for the current buffer.
2577 \x1f
2578 File: org,  Node: Faces for TODO keywords,  Prev: Per file keywords,  Up: TODO extensions
2580 5.2.6 Faces for TODO keywords
2581 -----------------------------
2583 Org-mode highlights TODO keywords with special faces: `org-todo' for
2584 keywords indicating that an item still has to be acted upon, and
2585 `org-done' for keywords indicating that an item is finished.  If you
2586 are using more than 2 different states, you might want to use special
2587 faces for some of them.  This can be done using the variable
2588 `org-todo-keyword-faces'.  For example:
2590      (setq org-todo-keyword-faces
2591            '(("TODO"      . org-warning)
2592              ("DEFERRED"  . shadow)
2593              ("CANCELED"  . (:foreground "blue" :weight bold))))
2595 \x1f
2596 File: org,  Node: Progress logging,  Next: Priorities,  Prev: TODO extensions,  Up: TODO items
2598 5.3 Progress Logging
2599 ====================
2601 Org-mode can automatically record a time stamp and even a note when you
2602 mark a TODO item as DONE, or even each time you change the state of a
2603 TODO item.
2605 * Menu:
2607 * Closing items::               When was this entry marked DONE?
2608 * Tracking TODO state changes::  When did the status change?
2610 \x1f
2611 File: org,  Node: Closing items,  Next: Tracking TODO state changes,  Prev: Progress logging,  Up: Progress logging
2613 5.3.1 Closing items
2614 -------------------
2616 If you want to keep track of _when_ a certain TODO item was finished,
2617 turn on logging with(1)
2619      (setq org-log-done t)
2621 Then each time you turn a TODO entry into DONE using either `C-c C-t'
2622 in the Org-mode buffer or `t' in the agenda buffer, a line `CLOSED:
2623 [timestamp]' will be inserted just after the headline.  If you turn the
2624 entry back into a TODO item through further state cycling, that line
2625 will be removed again.  In the timeline (*note Timeline::) and in the
2626 agenda (*note Weekly/Daily agenda::), you can then use the `l' key to
2627 display the TODO items closed on each day, giving you an overview of
2628 what has been done on a day.  If you want to record a note along with
2629 the timestamp, use(2)
2631      (setq org-log-done '(done))
2633    ---------- Footnotes ----------
2635    (1) The corresponding in-buffer setting is: `#+STARTUP: logdone'.
2636 You may also set this for the scope of a subtree by adding a `LOGGING'
2637 property with one or more of the logging keywords in the value.
2639    (2) The corresponding in-buffer setting is: `#+STARTUP: lognotedone'
2641 \x1f
2642 File: org,  Node: Tracking TODO state changes,  Prev: Closing items,  Up: Progress logging
2644 5.3.2 Tracking TODO state changes
2645 ---------------------------------
2647 When TODO keywords are used as workflow states (*note Workflow
2648 states::), you might want to keep track of when a state change occurred
2649 and record a note about this change.  With the setting(1)
2651      (setq org-log-done '(state))
2653 each state change will prompt you for a note that will be attached to
2654 the current headline.  If you press `C-c C-c' without typing anything
2655 into the note buffer, only the time of the state change will be noted.
2656 Very likely you do not want this verbose tracking all the time, so it
2657 is probably better to configure this behavior with in-buffer options.
2658 For example, if you are tracking purchases, put these into a separate
2659 file that contains:
2661      #+SEQ_TODO: TODO(t) ORDERED(o) INVOICE(i) PAYED(p) | RECEIVED(r)
2662      #+STARTUP: lognotestate
2664    If you only need to take a note for some of the states, mark those
2665 states with an additional `@', like this:
2667      #+SEQ_TODO: TODO(t) ORDERED(o@) INVOICE(i@) PAYED(p) | RECEIVED(r)
2668      #+STARTUP: lognotestate
2670    ---------- Footnotes ----------
2672    (1) The corresponding in-buffer setting is: `#+STARTUP:
2673 lognotestate'.
2675 \x1f
2676 File: org,  Node: Priorities,  Next: Breaking down tasks,  Prev: Progress logging,  Up: TODO items
2678 5.4 Priorities
2679 ==============
2681 If you use Org-mode extensively to organize your work, you may end up
2682 with a number of TODO entries so large that you'd like to prioritize
2683 them.  This can be done by placing a _priority cookie_ into the
2684 headline, like this
2686      *** TODO [#A] Write letter to Sam Fortune
2688 With its standard setup, Org-mode supports priorities `A', `B', and
2689 `C'.  `A' is the highest priority.  An entry without a cookie is
2690 treated as priority `B'.  Priorities make a difference only in the
2691 agenda (*note Weekly/Daily agenda::).
2693 `C-c ,'
2694      Set the priority of the current headline.  The command prompts for
2695      a priority character `A', `B' or `C'.  When you press <SPC>
2696      instead, the priority cookie is removed from the headline.  The
2697      priorities can also be changed "remotely" from the timeline and
2698      agenda buffer with the `,' command (*note Agenda commands::).  
2700 `S-<up>'
2701 `S-<down>'
2702      Increase/decrease priority of current headline(1).  Note that these
2703      keys are also used to modify time stamps (*note Creating
2704      timestamps::).  Furthermore, these keys are also used by CUA-mode
2705      (*note Conflicts::).
2707    You can change the range of allowed priorities by setting the
2708 variables `org-highest-priority', `org-lowest-priority', and
2709 `org-default-priority'.  For an individual buffer, you may set these
2710 values (highest, lowest, default) like this (please make sure that the
2711 highest priority is earlier in the alphabet than the lowest priority):
2713      #+PRIORITIES: A C B
2715    ---------- Footnotes ----------
2717    (1) See also the option `org-priority-start-cycle-with-default''.
2719 \x1f
2720 File: org,  Node: Breaking down tasks,  Next: Checkboxes,  Prev: Priorities,  Up: TODO items
2722 5.5 Breaking tasks down into subtasks
2723 =====================================
2725 It is often advisable to break down large tasks into smaller, manageable
2726 subtasks.  You can do this by creating an outline tree below a TODO
2727 item, with detailed subtasks on the tree(1).  Another possibility is
2728 the use of checkboxes to identify (a hierarchy of) a large number of
2729 subtasks (*note Checkboxes::).
2731    ---------- Footnotes ----------
2733    (1) To keep subtasks out of the global TODO list, see the
2734 `org-agenda-todo-list-sublevels'.
2736 \x1f
2737 File: org,  Node: Checkboxes,  Prev: Breaking down tasks,  Up: TODO items
2739 5.6 Checkboxes
2740 ==============
2742 Every item in a plain list (*note Plain lists::) can be made a checkbox
2743 by starting it with the string `[ ]'.  This feature is similar to TODO
2744 items (*note TODO items::), but more lightweight.  Checkboxes are not
2745 included into the global TODO list, so they are often great to split a
2746 task into a number of simple steps.  Or you can use them in a shopping
2747 list.  To toggle a checkbox, use `C-c C-c', or try Piotr Zielinski's
2748 `org-mouse.el'.  Here is an example of a checkbox list.
2750      * TODO Organize party [3/6]
2751        - call people [1/3]
2752          - [ ] Peter
2753          - [X] Sarah
2754          - [ ] Sam
2755        - [X] order food
2756        - [ ] think about what music to play
2757        - [X] talk to the neighbors
2759    The `[3/6]' and `[1/3]' in the first and second line are cookies
2760 indicating how many checkboxes are present in this entry, and how many
2761 of them have been checked off.  This can give you an idea on how many
2762 checkboxes remain, even without opening a folded entry.  The cookies
2763 can be placed into a headline or into (the first line of) a plain list
2764 item. Each cookie covers all checkboxes structurally below that
2765 headline/item.  You have to insert the cookie yourself by typing either
2766 `[/]' or `[%]'.  In the first case you get an `n out of m' result, in
2767 the second case you get information about the percentage of checkboxes
2768 checked (in the above example, this would be `[50%]' and `[33%],
2769 respectively').
2771 The following commands work with checkboxes:
2773 `C-c C-c'
2774      Toggle checkbox at point.  With prefix argument, set it to `[-]',
2775      which is considered to be an intermediate state.  
2777 `C-c C-x C-b'
2778      Toggle checkbox at point.
2779         - If there is an active region, toggle the first checkbox in
2780           the region and set all remaining boxes to the same status as
2781           the first.  If you want to toggle all boxes in the region
2782           independently, use a prefix argument.
2784         - If the cursor is in a headline, toggle checkboxes in the
2785           region between this headline and the next (so _not_ the
2786           entire subtree).
2788         - If there is no active region, just toggle the checkbox at
2789           point.
2790      
2791 `M-S-<RET>'
2792      Insert a new item with a checkbox.  This works only if the cursor
2793      is already in a plain list item (*note Plain lists::).  
2795 `C-c #'
2796      Update the checkbox statistics in the current outline entry.  When
2797      called with a `C-u' prefix, update the entire file.  Checkbox
2798      statistic cookies are updated automatically if you toggle
2799      checkboxes with `C-c C-c' and make new ones with `M-S-<RET>'.  If
2800      you delete boxes or add/change them by hand, use this command to
2801      get things back into synch.  Or simply toggle any checkbox twice
2802      with `C-c C-c'.
2804 \x1f
2805 File: org,  Node: Tags,  Next: Properties and columns,  Prev: TODO items,  Up: Top
2807 6 Tags
2808 ******
2810 If you wish to implement a system of labels and contexts for
2811 cross-correlating information, an excellent way is to assign tags to
2812 headlines.  Org-mode has extensive support for using tags.
2814    Every headline can contain a list of tags, at the end of the
2815 headline.  Tags are normal words containing letters, numbers, `_', and
2816 `@'.  Tags must be preceded and followed by a single colon; like
2817 `:WORK:'.  Several tags can be specified like `:WORK:URGENT:'.
2819 * Menu:
2821 * Tag inheritance::             Tags use the tree structure of the outline
2822 * Setting tags::                How to assign tags to a headline
2823 * Tag searches::                Searching for combinations of tags
2825 \x1f
2826 File: org,  Node: Tag inheritance,  Next: Setting tags,  Prev: Tags,  Up: Tags
2828 6.1 Tag inheritance
2829 ===================
2831 Tags make use of the hierarchical structure of outline trees.  If a
2832 heading has a certain tag, all subheadings will inherit the tag as
2833 well.  For example, in the list
2835      * Meeting with the French group      :WORK:
2836      ** Summary by Frank                  :BOSS:NOTES:
2837      *** TODO Prepare slides for him      :ACTION:
2839 the final heading will have the tags `:WORK:', `:BOSS:', `:NOTES:', and
2840 `:ACTION:'.  When executing tag searches and Org-mode finds that a
2841 certain headline matches the search criterion, it will not check any
2842 sublevel headline, assuming that these likely also match, and that the
2843 list of matches can become very long.  This may not be what you want,
2844 however, and you can influence inheritance and searching using the
2845 variables `org-use-tag-inheritance' and `org-tags-match-list-sublevels'.
2847 \x1f
2848 File: org,  Node: Setting tags,  Next: Tag searches,  Prev: Tag inheritance,  Up: Tags
2850 6.2 Setting tags
2851 ================
2853 Tags can simply be typed into the buffer at the end of a headline.
2854 After a colon, `M-<TAB>' offers completion on tags.  There is also a
2855 special command for inserting tags:
2857 `C-c C-c'
2858      Enter new tags for the current headline.  Org-mode will either
2859      offer completion or a special single-key interface for setting
2860      tags, see below.  After pressing <RET>, the tags will be inserted
2861      and aligned to `org-tags-column'.  When called with a `C-u'
2862      prefix, all tags in the current buffer will be aligned to that
2863      column, just to make things look nice.  TAGS are automatically
2864      realigned after promotion, demotion, and TODO state changes (*note
2865      TODO basics::).
2867    Org will support tag insertion based on a _list of tags_.  By
2868 default this list is constructed dynamically, containing all tags
2869 currently used in the buffer.  You may also globally specify a hard list
2870 of tags with the variable `org-tag-alist'.  Finally you can set the
2871 default tags for a given file with lines like
2873      #+TAGS: @WORK @HOME @TENNISCLUB
2874      #+TAGS: Laptop Car PC Sailboat
2876    If you have globally defined your preferred set of tags using the
2877 variable `org-tag-alist', but would like to use a dynamic tag list in a
2878 specific file: Just add an empty TAGS option line to that file:
2880      #+TAGS:
2882    The default support method for entering tags is minibuffer
2883 completion.  However, Org-mode also implements a much better method:
2884 _fast tag selection_.  This method allows to select and deselect tags
2885 with a single key per tag.  To function efficiently, you should assign
2886 unique keys to most tags.  This can be done globally with
2888      (setq org-tag-alist '(("@WORK" . ?w) ("@HOME" . ?h) ("Laptop" . ?l)))
2890 or on a per-file basis with
2892      #+TAGS: @WORK(w)  @HOME(h)  @TENNISCLUB(t)  Laptop(l)  PC(p)
2894 You can also group together tags that are mutually exclusive.  With
2895 curly braces(1)
2897      #+TAGS: { @WORK(w)  @HOME(h)  @TENNISCLUB(t) }  Laptop(l)  PC(p)
2899 you indicate that at most one of `@WORK', `@HOME', and `@TENNISCLUB'
2900 should be selected.
2902 Don't forget to press `C-c C-c' with the cursor in one of these lines
2903 to activate any changes.
2905    If at least one tag has a selection key, pressing `C-c C-c' will
2906 automatically present you with a special interface, listing inherited
2907 tags, the tags of the current headline, and a list of all legal tags
2908 with corresponding keys(2).  In this interface, you can use the
2909 following keys:
2911 `a-z...'
2912      Pressing keys assigned to tags will add or remove them from the
2913      list of tags in the current line.  Selecting a tag in a group of
2914      mutually exclusive tags will turn off any other tags from that
2915      group.  
2917 `<TAB>'
2918      Enter a tag in the minibuffer, even if the tag is not in the
2919      predefined list.  You will be able to complete on all tags present
2920      in the buffer.  
2922 `<SPC>'
2923      Clear all tags for this line.  
2925 `<RET>'
2926      Accept the modified set.
2928 `C-g'
2929      Abort without installing changes.
2932      If `q' is not assigned to a tag, it aborts like `C-g'.
2935      Turn off groups of mutually exclusive tags.  Use this to (as an
2936      exception) assign several tags from such a group.
2938 `C-c'
2939      Toggle auto-exit after the next change (see below).  If you are
2940      using expert mode, the first `C-c' will display the selection
2941      window.
2943 This method lets you assign tags to a headline with very few keys.  With
2944 the above setup, you could clear the current tags and set `@HOME',
2945 `Laptop' and `PC' tags with just the following keys: `C-c C-c <SPC> h l
2946 p <RET>'.  Switching from `@HOME' to `@WORK' would be done with `C-c
2947 C-c w <RET>' or alternatively with `C-c C-c C-c w'.  Adding the
2948 non-predefined tag `Sarah' could be done with `C-c C-c <TAB> S a r a h
2949 <RET> <RET>'.
2951    If you find that most of the time, you need only a single keypress to
2952 modify your list of tags, set the variable
2953 `org-fast-tag-selection-single-key'.  Then you no longer have to press
2954 <RET> to exit fast tag selection - it will immediately exit after the
2955 first change.  If you then occasionally need more keys, press `C-c' to
2956 turn off auto-exit for the current tag selection process (in effect:
2957 start selection with `C-c C-c C-c' instead of `C-c C-c').  If you set
2958 the variable to the value `expert', the special window is not even
2959 shown for single-key tag selection, it comes up only when you press an
2960 extra `C-c'.
2962    ---------- Footnotes ----------
2964    (1) In `org-mode-alist' use `'(:startgroup)' and `'(:endgroup)',
2965 respectively.  Several groups are allowed.
2967    (2) Keys will automatically be assigned to tags which have no
2968 configured keys.
2970 \x1f
2971 File: org,  Node: Tag searches,  Prev: Setting tags,  Up: Tags
2973 6.3 Tag searches
2974 ================
2976 Once a tags system has been set up, it can be used to collect related
2977 information into special lists.
2979 `C-c \'
2980      Create a sparse tree with all headlines matching a tags search.
2981      With a `C-u' prefix argument, ignore headlines that are not a TODO
2982      line.  
2984 `C-c a m'
2985      Create a global list of tag matches from all agenda files.  *Note
2986      Matching tags and properties::.  
2988 `C-c a M'
2989      Create a global list of tag matches from all agenda files, but
2990      check only TODO items and force checking subitems (see variable
2991      `org-tags-match-list-sublevels').
2993    A tags search string can use Boolean operators `&' for AND and `|'
2994 for OR.  `&' binds more strongly than `|'.  Parenthesis are currently
2995 not implemented.  A tag may also be preceded by `-', to select against
2996 it, and `+' is syntactic sugar for positive selection.  The AND
2997 operator `&' is optional when `+' or `-' is present.  Examples:
2999 `+WORK-BOSS'
3000      Select headlines tagged `:WORK:', but discard those also tagged
3001      `:BOSS:'.
3003 `WORK|LAPTOP'
3004      Selects lines tagged `:WORK:' or `:LAPTOP:'.
3006 `WORK|LAPTOP&NIGHT'
3007      Like before, but require the `:LAPTOP:' lines to be tagged also
3008      `NIGHT'.
3010    If you are using multi-state TODO keywords (*note TODO
3011 extensions::), it can be useful to also match on the TODO keyword.
3012 This can be done by adding a condition after a slash to a tags match.
3013 The syntax is similar to the tag matches, but should be applied with
3014 consideration: For example, a positive selection on several TODO
3015 keywords can not meaningfully be combined with boolean AND.  However,
3016 _negative selection_ combined with AND can be meaningful.  To make sure
3017 that only lines are checked that actually have any TODO keyword, use
3018 `C-c a M', or equivalently start the todo part after the slash with `!'.
3019 Examples:
3021 `WORK/WAITING'
3022      Select `:WORK:'-tagged TODO lines with the specific TODO keyword
3023      `WAITING'.
3025 `WORK/!-WAITING-NEXT'
3026      Select `:WORK:'-tagged TODO lines that are neither `WAITING' nor
3027      `NEXT'
3029 `WORK/+WAITING|+NEXT'
3030      Select `:WORK:'-tagged TODO lines that are either `WAITING' or
3031      `NEXT'.
3033    Any element of the tag/todo match can be a regular expression - in
3034 this case it must be enclosed in curly braces.  For example,
3035 `WORK+{^BOSS.*}' matches headlines that contain the tag `WORK' and any
3036 tag starting with `BOSS'.
3038    You can also require a headline to be of a certain level, by writing
3039 instead of any TAG an expression like `LEVEL=3'.  For example, a search
3040 `+LEVEL=3+BOSS/-DONE' lists all level three headlines that have the tag
3041 BOSS and are _not_ marked with the todo keyword DONE.
3043 \x1f
3044 File: org,  Node: Properties and columns,  Next: Timestamps,  Prev: Tags,  Up: Top
3046 7 Properties and Columns
3047 ************************
3049 Properties are a set of key-value pairs associated with an entry.  There
3050 are two main applications for properties in Org-mode.  First, properties
3051 are like tags, but with a value.  For example, in a file where you
3052 document bugs and plan releases of a piece of software, instead of using
3053 tags like `:release_1:', `:release_2:', it can be more efficient to use
3054 a property `RELEASE' with a value `1.0' or `2.0'.  Second, you can use
3055 properties to implement (very basic) database capabilities in an
3056 Org-mode buffer, for example to create a list of Music CD's you own.
3057 You can edit and view properties conveniently in column view (*note
3058 Column view::).
3060 * Menu:
3062 * Property syntax::             How properties are spelled out
3063 * Special properties::          Access to other Org-mode features
3064 * Property searches::           Matching property values
3065 * Column view::                 Tabular viewing and editing
3066 * Property API::                Properties for Lisp programmers
3068 \x1f
3069 File: org,  Node: Property syntax,  Next: Special properties,  Prev: Properties and columns,  Up: Properties and columns
3071 7.1 Property Syntax
3072 ===================
3074 Properties are key-value pairs.  They need to be inserted into a special
3075 drawer (*note Drawers::) with the name `PROPERTIES'.  Each property is
3076 specified on a single line, with the key (surrounded by colons) first,
3077 and the value after it.  Here is an example:
3079      * CD collection
3080      ** Classic
3081      *** Goldberg Variations
3082          :PROPERTIES:
3083          :Title:     Goldberg Variations
3084          :Composer:  J.S. Bach
3085          :Artist:    Glen Gould
3086          :Publisher: Deutsche Grammphon
3087          :NDisks:    1
3088          :END:
3090    You may define the allowed values for a particular property `XYZ' by
3091 setting a property `XYZ_ALL'.  This special property is _inherited_, so
3092 if you set it in a level 1 entry, it will apply to the entire tree.
3093 When allowed values are defined, setting the corresponding property
3094 becomes easier and is less prone to typing errors.  For the example
3095 with the CD collection, we can predefine publishers and the number of
3096 disks in a box like this:
3098      * CD collection
3099        :PROPERTIES:
3100        :NDisks_ALL:  1 2 3 4
3101        :Publisher_ALL: "Deutsche Grammophon" Phillips EMI
3102        :END:
3104    If you want to set properties that can be inherited by any entry in a
3105 file, use a line like
3107      #+PROPERTY: NDisks_ALL 1 2 3 4
3109    Property values set with the global variable `org-global-properties'
3110 can be inherited by all entries in all Org-mode files.
3112 The following commands help to work with properties:
3114 `M-<TAB>'
3115      After an initial colon in a line, complete property keys.  All
3116      keys used in the current file will be offered as possible
3117      completions.
3119 `M-x org-insert-property-drawer'
3120      Insert a property drawer into the current entry.  The drawer will
3121      be inserted early in the entry, but after the lines with planning
3122      information like deadlines.  
3124 `C-c C-c'
3125      With the cursor in a property drawer, this executes property
3126      commands.
3128 `C-c C-c s'
3129      Set a property in the current entry.  Both the property and the
3130      value can be inserted using completion.  
3132 `S-<left>/<right>'
3133      Switch property at point to the next/previous allowed value.
3135 `C-c C-c d'
3136      Remove a property from the current entry.
3138 `C-c C-c D'
3139      Globally remove a property, from all entries in the current file.
3141 `C-c C-c c'
3142      Compute the property at point, using the operator and scope from
3143      the nearest column format definition.
3145 \x1f
3146 File: org,  Node: Special properties,  Next: Property searches,  Prev: Property syntax,  Up: Properties and columns
3148 7.2 Special Properties
3149 ======================
3151 Special properties provide alternative access method to Org-mode
3152 features discussed in the previous chapters, like the TODO state or the
3153 priority of an entry.  This interface exists so that you can include
3154 these states into columns view (*note Column view::).  The following
3155 property names are special and should not be used as keys in the
3156 properties drawer:
3158      TODO         The TODO keyword of the entry.
3159      TAGS         The tags defined directly in the headline.
3160      ALLTAGS      All tags, including inherited ones.
3161      PRIORITY     The priority of the entry, a string with a single letter.
3162      DEADLINE     The deadline time string, without the angular brackets.
3163      SCHEDULED    The scheduling time stamp, without the angular brackets.
3165 \x1f
3166 File: org,  Node: Property searches,  Next: Column view,  Prev: Special properties,  Up: Properties and columns
3168 7.3 Property searches
3169 =====================
3171 To create sparse trees and special lists with selection based on
3172 properties, the same commands are used as for tag searches (*note Tag
3173 searches::), and the same logic applies.  For example, a search string
3175      +WORK-BOSS+PRIORITY="A"+coffee="unlimited"+with={Sarah\|Denny}
3177 finds entries tagged `:WORK:' but not `:BOSS:', which also have a
3178 priority value `A', a `:coffee:' property with the value `unlimited',
3179 and a `:with:' property that is matched by the regular expression
3180 `Sarah\|Denny'.
3182 \x1f
3183 File: org,  Node: Column view,  Next: Property API,  Prev: Property searches,  Up: Properties and columns
3185 7.4 Column View
3186 ===============
3188 A great way to view and edit properties in an outline tree is _column
3189 view_.  In column view, each outline item is turned into a table row.
3190 Columns in this table provide access to properties of the entries.
3191 Org-mode implements columns by overlaying a tabular structure over the
3192 headline of each item.  While the headlines have been turned into a
3193 table row, you can still change the visibility of the outline tree.
3194 For example, you get a compact table by switching to CONTENTS view
3195 (`S-<TAB> S-<TAB>', or simply `c' while column view is active), but you
3196 can still open, read, and edit the entry below each headline.  Or, you
3197 can switch to column view after executing a sparse tree command and in
3198 this way get a table only for the selected items.  Column view also
3199 works in agenda buffers (*note Agenda views::) where queries have
3200 collected selected items, possibly from a number of files.
3202 * Menu:
3204 * Defining columns::            The COLUMNS format property
3205 * Using column view::           How to create and use column view
3207 \x1f
3208 File: org,  Node: Defining columns,  Next: Using column view,  Prev: Column view,  Up: Column view
3210 7.4.1 Defining Columns
3211 ----------------------
3213 Setting up a column view first requires defining the columns.  This is
3214 done by defining a column format line.
3216 * Menu:
3218 * Scope of column definitions::  Where defined, where valid?
3219 * Column attributes::           Appearance and content of a column
3221 \x1f
3222 File: org,  Node: Scope of column definitions,  Next: Column attributes,  Prev: Defining columns,  Up: Defining columns
3224 7.4.1.1 Scope of column definitions
3225 ...................................
3227 To define a column format for an entire file, use a line like
3229      #+COLUMNS: %25ITEM %TAGS %PRIORITY %TODO
3231    To specify a format that only applies to a specific tree, add a
3232 COLUMNS property to the top node of that tree, for example
3233      ** Top node for columns view
3234         :PROPERTIES:
3235         :COLUMNS: %25ITEM %TAGS %PRIORITY %TODO
3236         :END:
3238    If a `COLUMNS' property is present in an entry, it defines columns
3239 for the entry itself, and for the entire subtree below it.  Since the
3240 column definition is part of the hierarchical structure of the document,
3241 you can define columns on level 1 that are general enough for all
3242 sublevels, and more specific columns further down, when you edit a
3243 deeper part of the tree.
3245 \x1f
3246 File: org,  Node: Column attributes,  Prev: Scope of column definitions,  Up: Defining columns
3248 7.4.1.2 Column attributes
3249 .........................
3251 A column definition sets the attributes of a column.  The general
3252 definition looks like this:
3254       %[width]property[(title)][{summary-type}]
3256 Except for the percent sign and the property name, all items are
3257 optional.  The individual parts have the following meaning:
3259      width           An integer specifying the width of the column in characters.
3260                      If omitted, the width will be determined automatically.
3261      property        The property that should be edited in this column.
3262      (title)         The header text for the column. If omitted, the
3263                      property name is used.
3264      {summary-type}  The summary type.  If specified, the column values for
3265                      parent nodes are computed from the children.
3266                      Supported summary types are:
3267                      {+}  Sum numbers in this column.
3268                      {:}  Sum times, HH:MM:SS, plain numbers are hours.
3269                      {X}  Checkbox status, [X] if all children are [X].
3271 Here is an example for a complete columns definition, along with allowed
3272 values.
3274      :COLUMNS:  %20ITEM %9Approved(Approved?){X} %Owner %11Status %10Time_Spent{:}
3275      :Owner_ALL:    Tammy Mark Karl Lisa Don
3276      :Status_ALL:   "In progress" "Not started yet" "Finished" ""
3277      :Approved_ALL: "[ ]" "[X]"
3279    The first column, `%25ITEM', means the first 25 characters of the
3280 item itself, i.e. of the headline.  You probably always should start the
3281 column definition with the ITEM specifier.  The other specifiers create
3282 columns `Owner' with a list of names as allowed values, for `Status'
3283 with four different possible values, and for a checkbox field
3284 `Approved'.  When no width is given after the `%' character, the column
3285 will be exactly as wide as it needs to be in order to fully display all
3286 values.  The `Approved' column does have a modified title (`Approved?',
3287 with a question mark).  Summaries will be created for the `Time_Spent'
3288 column by adding time duration expressions like HH:MM, and for the
3289 `Approved' column, by providing an `[X]' status if all children have
3290 been checked.
3292 \x1f
3293 File: org,  Node: Using column view,  Prev: Defining columns,  Up: Column view
3295 7.4.2 Using Column View
3296 -----------------------
3298 Turning column view on and off
3299 ..............................
3301 `C-c C-x C-c'
3302      Create the column view for the local environment.  This command
3303      searches the hierarchy, up from point, for a `COLUMNS' property
3304      that defines a format.  When one is found, the column view table
3305      is established for the entire tree, starting from the entry that
3306      contains the `COLUMNS' property.  If none is found, the format is
3307      taken from the `#+COLUMNS' line or from the variable
3308      `org-columns-default-format', and column view is established for
3309      the current entry and its subtree.  
3312      Exit column view.
3314 Editing values
3315 ..............
3317 `<left> <right> <up> <down>'
3318      Move through the column view from field to field.  
3320 `S-<left>/<right>'
3321      Switch to the next/previous allowed value of the field.  For this,
3322      you have to have specified allowed values for a property.  
3324 `n / p'
3325      Same as `S-<left>/<right>' 
3328      Edit the property at point.  For the special properties, this will
3329      invoke the same interface that you normally use to change that
3330      property.  For example, when editing a TAGS property, the tag
3331      completion or fast selection interface will pop up.  
3334      View the full value of this property.  This is useful if the width
3335      of the column is smaller than that of the value.  
3338      Edit the list of allowed values for this property.  If the list is
3339      found in the hierarchy, the modified values is stored there.  If
3340      no list is found, the new value is stored in the first entry that
3341      is part of the current column view.
3343 Modifying the table structure
3344 .............................
3346 `< / >'
3347      Make the column narrower/wider by one character.  
3349 `S-M-<right>'
3350      Insert a new column, to the right of the current column.  
3352 `S-M-<left>'
3353      Delete the current column.
3355 \x1f
3356 File: org,  Node: Property API,  Prev: Column view,  Up: Properties and columns
3358 7.5 The Property API
3359 ====================
3361 There is a full API for accessing and changing properties.  This API can
3362 be used by Emacs Lisp programs to work with properties and to implement
3363 features based on them.  For more information see *Note Using the
3364 property API::.
3366 \x1f
3367 File: org,  Node: Timestamps,  Next: Remember,  Prev: Properties and columns,  Up: Top
3369 8 Timestamps
3370 ************
3372 Items can be labeled with timestamps to make them useful for project
3373 planning.
3375 * Menu:
3377 * Time stamps::                 Assigning a time to a tree entry
3378 * Creating timestamps::         Commands which insert timestamps
3379 * Deadlines and scheduling::    Planning your work
3380 * Clocking work time::
3382 \x1f
3383 File: org,  Node: Time stamps,  Next: Creating timestamps,  Prev: Timestamps,  Up: Timestamps
3385 8.1 Time stamps, deadlines and scheduling
3386 =========================================
3388 A time stamp is a specification of a date (possibly with time or a range
3389 of times) in a special format, either `<2003-09-16 Tue>' or
3390 `<2003-09-16 Tue 09:39>' or `<2003-09-16 Tue 12:00-12:30>'(1).  A time
3391 stamp can appear anywhere in the headline or body of an org-tree entry.
3392 Its presence causes entries to be shown on specific dates in the agenda
3393 (*note Weekly/Daily agenda::).  We distinguish:
3395 PLAIN TIME STAMP, EVENT, APPOINTMENT
3396      A simple time stamp just assigns a date/time to an item.  This is
3397      just like writing down an appointment or event in a paper agenda.
3398      In the timeline and agenda displays, the headline of an entry
3399      associated with a plain time stamp will be shown exactly on that
3400      date.
3402           * Meet Peter at the movies <2006-11-01 Wed 19:15>
3403           * Discussion on climate change <2006-11-02 Thu 20:00-22:00>
3405 TIME STAMP WITH REPEATER INTERVAL
3406      A time stamp may contain a _repeater interval_, indicating that it
3407      applies not only on the given date, but again and again after a
3408      certain interval of N days (d), weeks (w), months(m), or years(y).
3409      The following will show up in the agenda every Wednesday:
3411           * Pick up Sam at school <2007-05-16 Wed 12:30 +1w>
3413 DIARY-STYLE SEXP ENTRIES
3414      For more complex date specifications, Org-mode supports using the
3415      special sexp diary entries implemented in the Emacs calendar/diary
3416      package.  For example
3418           * The nerd meeting on every 2nd Thursday of the month
3419             <%%(diary-float t 4 2)>
3421 TIME/DATE RANGE
3422      Two time stamps connected by `--' denote a range.  The headline
3423      will be shown on the first and last day of the range, and on any
3424      dates that are displayed and fall in the range.  Here is an
3425      example:
3427           ** Meeting in Amsterdam
3428              <2004-08-23 Mon>--<2004-08-26 Thu>
3430 INACTIVE TIME STAMP
3431      Just like a plain time stamp, but with square brackets instead of
3432      angular ones.  These time stamps are inactive in the sense that
3433      they do _not_ trigger an entry to show up in the agenda.
3435           * Gillian comes late for the fifth time [2006-11-01 Wed]
3438    ---------- Footnotes ----------
3440    (1) This is the standard ISO date/time format.  If you cannot get
3441 used to these, see *Note Custom time format::
3443 \x1f
3444 File: org,  Node: Creating timestamps,  Next: Deadlines and scheduling,  Prev: Time stamps,  Up: Timestamps
3446 8.2 Creating timestamps
3447 =======================
3449 For Org-mode to recognize time stamps, they need to be in the specific
3450 format.  All commands listed below produce time stamps in the correct
3451 format.
3453 `C-c .'
3454      Prompt for a date and insert a corresponding time stamp.  When the
3455      cursor is at a previously used time stamp, it is updated to NOW.
3456      When this command is used twice in succession, a time range is
3457      inserted.  
3459 `C-u C-c .'
3460      Like `C-c .', but use the alternative format which contains date
3461      and time.  The default time can be rounded to multiples of 5
3462      minutes, see the option `org-time-stamp-rounding-minutes'.  
3464 `C-c !'
3465      Like `C-c .', but insert an inactive time stamp that will not cause
3466      an agenda entry.  
3468 `C-c <'
3469      Insert a time stamp corresponding to the cursor date in the
3470      Calendar.  
3472 `C-c >'
3473      Access the Emacs calendar for the current date.  If there is a
3474      timestamp in the current line, goto the corresponding date instead.  
3476 `C-c C-o'
3477      Access the agenda for the date given by the time stamp or -range at
3478      point (*note Weekly/Daily agenda::).  
3480 `S-<left>'
3481 `S-<right>'
3482      Change date at cursor by one day.  These key bindings conflict with
3483      CUA-mode (*note Conflicts::).  
3485 `S-<up>'
3486 `S-<down>'
3487      Change the item under the cursor in a timestamp.  The cursor can
3488      be on a year, month, day, hour or minute.  Note that if the cursor
3489      is in a headline and not at a time stamp, these same keys modify
3490      the priority of an item.  (*note Priorities::). The key bindings
3491      also conflict with CUA-mode (*note Conflicts::).  
3493 `C-c C-y'
3494      Evaluate a time range by computing the difference between start and
3495      end.  With prefix arg, insert result after the time range (in a
3496      table: into the following column).
3498 * Menu:
3500 * The date/time prompt::        How org-mode helps you entering date and time
3501 * Custom time format::          Making dates look differently
3503 \x1f
3504 File: org,  Node: The date/time prompt,  Next: Custom time format,  Prev: Creating timestamps,  Up: Creating timestamps
3506 8.2.1 The date/time prompt
3507 --------------------------
3509 When Org-mode prompts for a date/time, the prompt suggests to enter an
3510 ISO date.  But it will in fact accept any string containing some date
3511 and/or time information.  You can, for example, use `C-y' to paste a
3512 (possibly multi-line) string copied from an email message.  Org-mode
3513 will find whatever information is in there and will replace anything not
3514 specified with the current date and time.  For example:
3516        3-2-5         --> 2003-02-05
3517        feb 15        --> currentyear-02-15
3518        sep 12 9      --> 2009-09-12
3519        12:45         --> today 12:45
3520        22 sept 0:34  --> currentyear-09-22 0:34
3521        12            --> currentyear-currentmonth-12
3522        Fri           --> nearest Friday (today or later)
3523        +4            --> 4 days from now (if +N is the only thing given)
3525    The function understands English month and weekday abbreviations.  If
3526 you want to use unabbreviated names and/or other languages, configure
3527 the variables `parse-time-months' and `parse-time-weekdays'.
3529    Parallel to the minibuffer prompt, a calendar is popped up(1).  When
3530 you exit the date prompt, either by clicking on a date in the calendar,
3531 or by pressing <RET>, the date selected in the calendar will be
3532 combined with the information entered at the prompt.  You can control
3533 the calendar fully from the minibuffer:
3536      Scroll calendar backwards by one month.  
3539      Scroll calendar forwards by one month.  
3541 `mouse-1'
3542      Select date by clicking on it.  
3544 `S-<right>'
3545      One day forward.  
3547 `S-<left>'
3548      One day back.  
3550 `S-<down>'
3551      One week forward.  
3553 `S-<up>'
3554      One week back.  
3556 `M-S-<right>'
3557      One month forward.  
3559 `M-S-<left>'
3560      One month back.  
3562 `<RET>'
3563      Choose date in calendar (only if nothing was typed into
3564      minibuffer).
3566    ---------- Footnotes ----------
3568    (1) If you don't need/want the calendar, configure the variable
3569 `org-popup-calendar-for-date-prompt'.
3571 \x1f
3572 File: org,  Node: Custom time format,  Prev: The date/time prompt,  Up: Creating timestamps
3574 8.2.2 Custom time format
3575 ------------------------
3577 Org-mode uses the standard ISO notation for dates and times as it is
3578 defined in ISO 8601.  If you cannot get used to this and require another
3579 representation of date and time to keep you happy, you can get it by
3580 customizing the variables `org-display-custom-times' and
3581 `org-time-stamp-custom-formats'.
3583 `C-c C-x C-t'
3584      Toggle the display of custom formats for dates and times.
3586 Org-mode needs the default format for scanning, so the custom date/time
3587 format does not _replace_ the default format - instead it is put _over_
3588 the default format using text properties.  This has the following
3589 consequences:
3590    * You cannot place the cursor onto a time stamp anymore, only before
3591      or after.
3593    * The `S-<up>/<down>' keys can no longer be used to adjust each
3594      component of a time stamp.  If the cursor is at the beginning of
3595      the stamp, `S-<up>/<down>' will change the stamp by one day, just
3596      like `S-<left>/<right>'.  At the end of the stamp, the time will
3597      be changed by one minute.
3599    * If the time stamp contains a range of clock times or a repeater,
3600      these will not be overlayed, but remain in the buffer as they were.
3602    * When you delete a time stamp character-by-character, it will only
3603      disappear from the buffer after _all_ (invisible) characters
3604      belonging to the ISO timestamp have been removed.
3606    * If the custom time stamp format is longer than the default and you
3607      are using dates in tables, table alignment will be messed up.  If
3608      the custom format is shorter, things do work as expected.
3610 \x1f
3611 File: org,  Node: Deadlines and scheduling,  Next: Clocking work time,  Prev: Creating timestamps,  Up: Timestamps
3613 8.3 Deadlines and Scheduling
3614 ============================
3616 A time stamp may be preceded by special keywords to facilitate planning
3617 of work:
3619 DEADLINE
3620      The task (most likely a TODO item) is supposed to be finished on
3621      that date, and it will be listed then.  In addition, the
3622      compilation for _today_ will carry a warning about the approaching
3623      or missed deadline, starting `org-deadline-warning-days' before
3624      the due date, and continuing until the entry is marked DONE.  An
3625      example:
3627           *** TODO write article about the Earth for the Guide
3628               The editor in charge is [[bbdb:Ford Prefect]]
3629               DEADLINE: <2004-02-29 Sun>
3631      You can specify a different lead time for warnings for a specific
3632      deadlines using the following syntax.  Here is an example with a
3633      warning period of 5 days `DEADLINE: <2004-02-29 Sun -5d>'.
3635 SCHEDULED
3636      You are planning to start working on that task on the given date.
3637      The headline will be listed under the given date(1).  In addition,
3638      a reminder that the scheduled date has passed will be present in
3639      the compilation for _today_, until the entry is marked DONE.
3640      I.e., the task will automatically be forwarded until completed.
3642           *** TODO Call Trillian for a date on New Years Eve.
3643               SCHEDULED: <2004-12-25 Sat>
3645      Important: Scheduling an item in Org-mode should not be understood
3646      like Scheduling a meeting.  Setting a date for a meeting is just a
3647      simple appointment, you should mark this entry with a simple plain
3648      time stamp, to get this item shown on the date where it applies.
3649      This is a frequent mis-understanding from Org-users.  In Org-mode,
3650      Scheduling means setting a date when you want to start working on
3651      an action item.
3653 * Menu:
3655 * Inserting deadline/schedule::  Planning items
3656 * Repeated tasks::              Items that show up again and again
3658    ---------- Footnotes ----------
3660    (1) It will still be listed on that date after it has been marked
3661 DONE.  If you don't like this, set the variable
3662 `org-agenda-skip-scheduled-if-done'.
3664 \x1f
3665 File: org,  Node: Inserting deadline/schedule,  Next: Repeated tasks,  Prev: Deadlines and scheduling,  Up: Deadlines and scheduling
3667 8.3.1 Inserting deadline/schedule
3668 ---------------------------------
3670 The following commands allow to quickly insert a deadline or to schedule
3671 an item:
3673 `C-c C-d'
3674      Insert `DEADLINE' keyword along with a stamp.  The insertion will
3675      happen in the line directly following the headline.  When called
3676      with a prefix arg, an existing deadline will be removed from the
3677      entry.  
3679 `C-c C-w'
3680      Create a sparse tree with all deadlines that are either past-due,
3681      or which will become due within `org-deadline-warning-days'.  With
3682      `C-u' prefix, show all deadlines in the file.  With a numeric
3683      prefix, check that many days.  For example, `C-1 C-c C-w' shows
3684      all deadlines due tomorrow.  
3686 `C-c C-s'
3687      Insert `SCHEDULED' keyword along with a stamp.  The insertion will
3688      happen in the line directly following the headline.  Any CLOSED
3689      timestamp will be removed.  When called with a prefix argument,
3690      remove the scheduling date from the entry.
3692 \x1f
3693 File: org,  Node: Repeated tasks,  Prev: Inserting deadline/schedule,  Up: Deadlines and scheduling
3695 8.3.2 Repeated Tasks
3696 --------------------
3698 Some tasks need to be repeated again and again, and Org-mode therefore
3699 allows to use a repeater in a DEADLINE or SCHEDULED time stamp, for
3700 example:
3701      ** TODO Pay the rent
3702         DEADLINE: <2005-10-01 Sat +1m>
3704    Deadlines and scheduled items produce entries in the agenda when they
3705 are over-due, so it is important to be able to mark such an entry as
3706 completed once you have done so.  When you mark a DEADLINE or a SCHEDULE
3707 with the todo keyword DONE, it will no longer produce entries in the
3708 agenda. The problem with this is, however, that then also the _next_
3709 instance of the repeated entry will not be active.  Org-mode deals with
3710 this in the following way: When you try to mark such an entry DONE
3711 (using `C-c C-t'), it will shift the base date of the repeating time
3712 stamp by the repeater interval, and immediately set the entry state
3713 back to TODO.  In the example above, setting the state to DONE would
3714 actually switch the date like this:
3716      ** TODO Pay the rent
3717         DEADLINE: <2005-11-01 Tue +1m>
3719    You will also be prompted for a note(1) that will be put under the
3720 DEADLINE line to keep a record that you actually acted on the previous
3721 instance of this deadline.
3723    As a consequence of shifting the base date, this entry will no
3724 longer be visible in the agenda when checking past dates, but all
3725 future instances will be visible.
3727    You may have both scheduling and deadline information for a specific
3728 task - just make sure that the repeater intervals on both are the same.
3730    ---------- Footnotes ----------
3732    (1) You can change this using the option `org-log-repeat', or the
3733 `#+STARTUP' options `logrepeat' and `nologrepeat'.
3735 \x1f
3736 File: org,  Node: Clocking work time,  Prev: Deadlines and scheduling,  Up: Timestamps
3738 8.4 Clocking work time
3739 ======================
3741 Org-mode allows you to clock the time you spent on specific tasks in a
3742 project.  When you start working on an item, you can start the clock.
3743 When you stop working on that task, or when you mark the task done, the
3744 clock is stopped and the corresponding time interval is recorded.  It
3745 also computes the total time spent on each subtree of a project.
3747 `C-c C-x C-i'
3748      Start the clock on the current item (clock-in).  This inserts the
3749      CLOCK keyword together with a timestamp.  If this is not the first
3750      clocking of this item, the multiple CLOCK lines will be wrapped
3751      into a `:CLOCK:' drawer (see also the variable
3752      `org-clock-into-drawer'.  
3754 `C-c C-x C-o'
3755      Stop the clock (clock-out).  The inserts another timestamp at the
3756      same location where the clock was last started.  It also directly
3757      computes the resulting time in inserts it after the time range as
3758      `=> HH:MM'.  See the variable `org-log-done' for the possibility to
3759      record an additional note together with the clock-out time
3760      stamp(1).  
3762 `C-c C-y'
3763      Recompute the time interval after changing one of the time stamps.
3764      This is only necessary if you edit the time stamps directly.  If
3765      you change them with `S-<cursor>' keys, the update is automatic.  
3767 `C-c C-t'
3768      Changing the TODO state of an item to DONE automatically stops the
3769      clock if it is running in this same item.  
3771 `C-c C-x C-x'
3772      Cancel the current clock.  This is useful if a clock was started by
3773      mistake, or if you ended up working on something else.  
3775 `C-c C-x C-j'
3776      Jump to the entry that contains the currently running clock, an
3777      another window.  
3779 `C-c C-x C-d'
3780      Display time summaries for each subtree in the current buffer.
3781      This puts overlays at the end of each headline, showing the total
3782      time recorded under that heading, including the time of any
3783      subheadings. You can use visibility cycling to study the tree, but
3784      the overlays disappear when you change the buffer (see variable
3785      `org-remove-highlights-with-change') or press `C-c C-c'.  
3787 `C-c C-x C-r'
3788      Insert a dynamic block (*note Dynamic blocks::) containing a clock
3789      report as an org-mode table into the current file.  When the
3790      cursor is at an existing clock table, just update it.  When called
3791      with a prefix argument, jump to the first clock report in the
3792      current document and update it.
3793           #+BEGIN: clocktable :maxlevel 2 :emphasize nil :scope file
3795           #+END: clocktable
3796      If such a block already exists at point, its content is replaced
3797      by the new table.  The `BEGIN' line can specify options:
3798           :maxlevel    Maximum level depth to which times are listed in the table.
3799           :emphasize   When `t', emphasize level one and level two items
3800           :scope       The scope to consider.  This can be any of the following:
3801                        nil        the current buffer or narrowed region
3802                        file       the full current buffer
3803                        subtree    the subtree where the clocktable is located
3804                        treeN      the surrounding level N tree, for example `tree3'
3805                        tree       the surrounding level 1 tree
3806                        agenda     all agenda files
3807                        ("file"..) scan these files
3808           :block       The time block to consider.  This block is specified relative
3809                        to the current time and may be any of these keywords:
3810                        `today', `yesterday', `thisweek', `lastweek',
3811                        `thismonth', `lastmonth', `thisyear', or `lastyear'.
3812           :tstart      A time string specifying when to start considering times
3813           :tend        A time string specifying when to stop considering times
3814      So to get a clock summary of the current level 1 tree, for the
3815      current day, you could write
3816           #+BEGIN: clocktable :maxlevel 2 :block today :scope tree1
3818           #+END: clocktable
3819      and to use a specific time range you could write(2)
3820           #+BEGIN: clocktable :tstart "<2006-08-10 Thu 10:00>"
3821                               :tend "<2006-08-10 Thu 12:00>"
3823           #+END: clocktable
3824      
3825 `C-c C-c'
3826 `C-c C-x C-u'
3827      Update dynamical block at point.  The cursor needs to be in the
3828      `#+BEGIN' line of the dynamic block.  
3830 `C-u C-c C-x C-u'
3831      Update all dynamic blocks (*note Dynamic blocks::).  This is
3832      useful if you have several clocktable blocks in a buffer.
3834    The `l' key may be used in the timeline (*note Timeline::) and in
3835 the agenda (*note Weekly/Daily agenda::) to show which tasks have been
3836 worked on or closed during a day.
3838    ---------- Footnotes ----------
3840    (1) The corresponding in-buffer setting is: `#+STARTUP:
3841 lognoteclock-out'
3843    (2) Note that all parameters must be specified in a single line -
3844 the line is broken here only to fit it onto the manual.
3846 \x1f
3847 File: org,  Node: Remember,  Next: Agenda views,  Prev: Timestamps,  Up: Top
3849 9 Remember
3850 **********
3852 The Remember package by John Wiegley lets you store quick notes with
3853 little interruption of your work flow.  See
3854 `http://www.emacswiki.org/cgi-bin/wiki/RememberMode' for more
3855 information.  It is an excellent way to add new notes and TODO items to
3856 Org-mode files.  Org-mode significantly expands the possibilities of
3857 remember: You may define templates for different note types, and to
3858 associate target files and headlines with specific templates.  It also
3859 allows you to select the location where a note should be stored
3860 interactively, on the fly.
3862 * Menu:
3864 * Setting up remember::         Some code for .emacs to get things going
3865 * Remember templates::          Define the outline of different note types
3866 * Storing notes::               Directly get the note to where it belongs
3868 \x1f
3869 File: org,  Node: Setting up remember,  Next: Remember templates,  Prev: Remember,  Up: Remember
3871 9.1 Setting up remember
3872 =======================
3874 The following customization will tell remember to use org files as
3875 target, and to create annotations compatible with Org-mode links.
3877      (setq org-directory "~/path/to/my/orgfiles/")
3878      (setq org-default-notes-file (concat org-directory "/notes.org"))
3879      (setq remember-annotation-functions '(org-remember-annotation))
3880      (setq remember-handler-functions '(org-remember-handler))
3881      (add-hook 'remember-mode-hook 'org-remember-apply-template)
3883 \x1f
3884 File: org,  Node: Remember templates,  Next: Storing notes,  Prev: Setting up remember,  Up: Remember
3886 9.2 Remember templates
3887 ======================
3889 In combination with Org-mode, you can use templates to generate
3890 different types of remember notes.  For example, if you would like to
3891 use one template to create general TODO entries, another one for
3892 journal entries, and a third one for collecting random ideas, you could
3893 use:
3895      (setq org-remember-templates
3896       '((?t "* TODO %?\n  %i\n  %a" "~/org/TODO.org" "Tasks")
3897         (?j "* %U %?\n\n  %i\n  %a" "~/org/JOURNAL.org")
3898         (?i "* %^{Title}\n  %i\n  %a" "~/org/JOURNAL.org" "New Ideas")))
3900 In these entries, the character specifies how to select the template.
3901 The first string specifies the template.  Two more (optional) strings
3902 give the file in which, and the headline under which the new note
3903 should be stored.  The file defaults (if not present or `nil') to
3904 `org-default-notes-file', the heading to
3905 `org-remember-default-headline'.  Both defaults help to get to the
3906 storing location quickly, but you can change the location interactively
3907 while storing the note.
3909    When you call `M-x remember' (or `M-x org-remember') to remember
3910 something, org will prompt for a key to select the template (if you have
3911 more than one template) and then prepare the buffer like
3912      * TODO
3913        [[file:link to where you called remember]]
3917      * [2006-03-21 Tue 15:37]
3919        [[file:link to where you called remember]]
3921 During expansion of the template, special `%'-escapes allow dynamic
3922 insertion of content:
3923      %^{prompt}  prompt the user for a string and replace this sequence with it.
3924      %t          time stamp, date only
3925      %T          time stamp with date and time
3926      %u, %U      like the above, but inactive time stamps
3927      %^t         like `%t', but prompt for date.  Similarly `%^T', `%^u', `%^U'
3928                  You may define a prompt like `%^{Birthday}t'
3929      %n          user name (taken from `user-full-name')
3930      %a          annotation, normally the link created with `org-store-link'
3931      %A          like `%a', but prompt for the description part
3932      %i          initial content, the region when remember is called with C-u.
3933                  The entire text will be indented like `%i' itself.
3934      %^g         prompt for tags, with completion on tags in target file.
3935      %^G         prompt for tags, with completion all tags in all agenda files.
3936      %:keyword   specific information for certain link types, see below
3938 For specific link types, the following keywords will be defined(1):
3940      Link type          |  Available keywords
3941      -------------------+----------------------------------------------
3942      bbdb               |  %:name %:company
3943      vm, wl, mh, rmail  |  %:type %:subject %:message-id
3944                         |  %:from %:fromname %:fromaddress
3945                         |  %:to   %:toname   %:toaddress
3946                         |  %:fromto (either "to NAME" or "from NAME")(2)
3947      gnus               |  %:group, for messages also all email fields
3948      w3, w3m            |  %:url
3949      info               |  %:file %:node
3950      calendar           |  %:date"
3952 To place the cursor after template expansion use:
3954      %?          After completing the template, position cursor here.
3956 If you change you mind about which template to use, call `org-remember'
3957 in the remember buffer.  You may then select a new template that will
3958 be filled with the previous context information.
3960    ---------- Footnotes ----------
3962    (1) If you define your own link types (*note Adding hyperlink
3963 types::), any property you store with `org-store-link-props' can be
3964 accessed in remember templates in a similar way.
3966    (2) This will always be the other, not the user.  See the variable
3967 `org-from-is-user-regexp'.
3969 \x1f
3970 File: org,  Node: Storing notes,  Prev: Remember templates,  Up: Remember
3972 9.3 Storing notes
3973 =================
3975 When you are finished preparing a note with remember, you have to press
3976 `C-c C-c' to file the note away.  The handler will store the note in
3977 the file and under the headline specified in the template, or it will
3978 use the default file and headlines.  The window configuration will be
3979 restored, and you are back in the working context before the call to
3980 `remember'.  To re-use the location found during the last call to
3981 `remember', exit the remember buffer with `C-u C-u C-c C-c', i.e.
3982 specify a double prefix argument to `C-c C-c'.
3984    If you want to store the note to a different place, use `C-u C-c
3985 C-c' instead to exit remember(1).  The handler will then first prompt
3986 for a target file - if you press <RET>, the value specified for the
3987 template is used.  Then the command offers the headings tree of the
3988 selected file, with the cursor position at the default headline (if you
3989 had specified one in the template).  You can either immediately press
3990 <RET> to get the note placed there.  Or you can use the following keys
3991 to find a different location:
3992      <TAB>         Cycle visibility.
3993      <down> / <up>   Next/previous visible headline.
3994      n / p        Next/previous visible headline.
3995      f / b        Next/previous headline same level.
3996      u            One level up.
3997    Pressing <RET> or <left> or <right> then leads to the following
3998 result.
4000 Cursor         Key         Note gets inserted
4001 position                   
4002 on headline    <RET>       as sublevel of the heading at cursor, first or
4003                            last
4004                            depending on `org-reverse-note-order'.
4005                <left>/<right>as same level, before/after current heading
4006 buffer-start   <RET>       as level 2 heading at end of file or level 1
4007                            at beginning
4008                            depending on `org-reverse-note-order'.
4009 not on         <RET>       at cursor position, level taken from context.
4010 headline                   
4012    Before inserting the text into a tree, the function ensures that the
4013 text has a headline, i.e. a first line that starts with a `*'.  If not,
4014 a headline is constructed from the current date and some additional
4015 data.  If you have indented the text of the note below the headline, the
4016 indentation will be adapted if inserting the note into the tree requires
4017 demotion from level 1.
4019    ---------- Footnotes ----------
4021    (1) Configure the variable `org-remember-store-without-prompt' to
4022 make this behavior the default.
4024 \x1f
4025 File: org,  Node: Agenda views,  Next: Embedded LaTeX,  Prev: Remember,  Up: Top
4027 10 Agenda Views
4028 ***************
4030 Due to the way Org-mode works, TODO items, time-stamped items, and
4031 tagged headlines can be scattered throughout a file or even a number of
4032 files.  To get an overview over open action items, or over events that
4033 are important for a particular date, this information must be collected,
4034 sorted and displayed in an organized way.
4036    Org-mode can select items based on various criteria, and display them
4037 in a separate buffer.  Six different view types are provided:
4039    * an _agenda_ that is like a calendar and shows information for
4040      specific dates,
4042    * a _TODO list_ that covers all unfinished action items,
4044    * a _tags view_, showings headlines based on the tags associated
4045      with them,
4047    * a _timeline view_ that shows all events in a single Org-mode file,
4048      in time-sorted view,
4050    * a _stuck projects view_ showing projects that currently don't move
4051      along, and
4053    * _custom views_ that are special tag/keyword searches and
4054      combinations of different views.
4056 The extracted information is displayed in a special _agenda buffer_.
4057 This buffer is read-only, but provides commands to visit the
4058 corresponding locations in the original Org-mode files, and even to
4059 edit these files remotely.
4061    Two variables control how the agenda buffer is displayed and whether
4062 the window configuration is restored when the agenda exits:
4063 `org-agenda-window-setup' and `org-agenda-restore-windows-after-quit'.
4065 * Menu:
4067 * Agenda files::                Files being searched for agenda information
4068 * Agenda dispatcher::           Keyboard access to agenda views
4069 * Built-in agenda views::       What is available out of the box?
4070 * Presentation and sorting::    How agenda items are prepared for display
4071 * Agenda commands::             Remote editing of org trees
4072 * Custom agenda views::         Defining special searches and views
4074 \x1f
4075 File: org,  Node: Agenda files,  Next: Agenda dispatcher,  Prev: Agenda views,  Up: Agenda views
4077 10.1 Agenda files
4078 =================
4080 The information to be shown is collected from all _agenda files_, the
4081 files listed in the variable `org-agenda-files'(1).  Thus even if you
4082 only work with a single Org-mode file, this file should be put into
4083 that list(2).  You can customize `org-agenda-files', but the easiest
4084 way to maintain it is through the following commands
4086 `C-c ['
4087      Add current file to the list of agenda files.  The file is added to
4088      the front of the list.  If it was already in the list, it is moved
4089      to the front.  With prefix arg, file is added/moved to the end.  
4091 `C-c ]'
4092      Remove current file from the list of agenda files.  
4094 `C-,'
4095 `C-''
4096      Cycle through agenda file list, visiting one file after the other.  
4098 `C-c C-x /'
4099      Search for a regular rexpression in all agenda files and display
4100      the results in an `occur' buffer.
4102 The Org menu contains the current list of files and can be used to
4103 visit any of them.
4105    ---------- Footnotes ----------
4107    (1) If the value of that variable is not a list, but a single file
4108 name, then the list of agenda files will be maintained in that external
4109 file.
4111    (2) When using the dispatcher, pressing `1' before selecting a
4112 command will actually limit the command to the current file, and ignore
4113 `org-agenda-files' until the next dispatcher command.
4115 \x1f
4116 File: org,  Node: Agenda dispatcher,  Next: Built-in agenda views,  Prev: Agenda files,  Up: Agenda views
4118 10.2 The agenda dispatcher
4119 ==========================
4121 The views are created through a dispatcher that should be bound to a
4122 global key, for example `C-c a' (*note Installation::).  In the
4123 following we will assume that `C-c a' is indeed how the dispatcher is
4124 accessed and list keyboard access to commands accordingly.  After
4125 pressing `C-c a', an additional letter is required to execute a
4126 command.  The dispatcher offers the following default commands:
4128      Create the calendar-like agenda (*note Weekly/Daily agenda::).
4130 `t / T'
4131      Create a list of all TODO items (*note Global TODO list::).
4133 `m / M'
4134      Create a list of headlines matching a TAGS expression (*note
4135      Matching tags and properties::).
4138      Create the timeline view for the current buffer (*note Timeline::).
4140 `# / !'
4141      Create a list of stuck projects (*note Stuck projects::).
4144      Restrict an agenda command to the current buffer.  After pressing
4145      `1', you still need to press the character selecting the command.
4148      If there is an active region, restrict the following agenda
4149      command to the region.  Otherwise, restrict it to the current
4150      subtree.  After pressing `0', you still need to press the
4151      character selecting the command.
4153    You can also define custom commands that will be accessible through
4154 the dispatcher, just like the default commands.  This includes the
4155 possibility to create extended agenda buffers that contain several
4156 blocks together, for example the weekly agenda, the global TODO list and
4157 a number of special tags matches.  *Note Custom agenda views::.
4159 \x1f
4160 File: org,  Node: Built-in agenda views,  Next: Presentation and sorting,  Prev: Agenda dispatcher,  Up: Agenda views
4162 10.3 The built-in agenda views
4163 ==============================
4165 In this section we describe the built-in views.
4167 * Menu:
4169 * Weekly/Daily agenda::         The calendar page with current tasks
4170 * Global TODO list::            All unfinished action items
4171 * Matching tags and properties::  Structured information with fine-tuned search
4172 * Timeline::                    Time-sorted view for single file
4173 * Stuck projects::              Find projects you need to review
4175 \x1f
4176 File: org,  Node: Weekly/Daily agenda,  Next: Global TODO list,  Prev: Built-in agenda views,  Up: Built-in agenda views
4178 10.3.1 The weekly/daily agenda
4179 ------------------------------
4181 The purpose of the weekly/daily _agenda_ is to act like a page of a
4182 paper agenda, showing all the tasks for the current week or day.
4184 `C-c a a'
4185      Compile an agenda for the current week from a list of org files.
4186      The agenda shows the entries for each day.  With a `C-u' prefix (or
4187      when the variable `org-agenda-include-all-todo' is `t'), all
4188      unfinished TODO items (including those without a date) are also
4189      listed at the beginning of the buffer, before the first date.
4191    Remote editing from the agenda buffer means, for example, that you
4192 can change the dates of deadlines and appointments from the agenda
4193 buffer.  The commands available in the Agenda buffer are listed in
4194 *Note Agenda commands::.
4196 Calendar/Diary integration
4197 ..........................
4199 Emacs contains the calendar and diary by Edward M. Reingold.  The
4200 calendar displays a three-month calendar with holidays from different
4201 countries and cultures.  The diary allows you to keep track of
4202 anniversaries, lunar phases, sunrise/set, recurrent appointments
4203 (weekly, monthly) and more.  In this way, it is quite complementary to
4204 Org-mode.  It can be very useful to combine output from Org-mode with
4205 the diary.
4207    In order to include entries from the Emacs diary into Org-mode's
4208 agenda, you only need to customize the variable
4210      (setq org-agenda-include-diary t)
4212 After that, everything will happen automatically.  All diary entries
4213 including holidays, anniversaries etc will be included in the agenda
4214 buffer created by Org-mode.  <SPC>, <TAB>, and <RET> can be used from
4215 the agenda buffer to jump to the diary file in order to edit existing
4216 diary entries.  The `i' command to insert new entries for the current
4217 date works in the agenda buffer, as well as the commands `S', `M', and
4218 `C' to display Sunrise/Sunset times, show lunar phases and to convert
4219 to other calendars, respectively.  `c' can be used to switch back and
4220 forth between calendar and agenda.
4222    If you are using the diary only for sexp entries and holidays, it is
4223 faster to not use the above setting, but instead to copy or even move
4224 the entries into an Org-mode file. Org-mode evaluates diary-style sexp
4225 entries, and does it faster because there is no overhead for first
4226 creating the diary display.  Note that the sexp entries must start at
4227 the left margin, no white space is allowed before them.  For example,
4228 the following segment of an Org-mode file will be processed and entries
4229 will be made in the agenda:
4231      * Birthdays and similar stuff
4232      #+CATEGORY: Holiday
4233      %%(org-calendar-holiday)   ; special function for holiday names
4234      #+CATEGORY: Ann
4235      %%(diary-anniversary 14  5 1956) Arthur Dent is %d years old
4236      %%(diary-anniversary  2 10 1869) Mahatma Gandhi would be %d years old
4238 Appointment reminders
4239 .....................
4241 Org can interact with Emacs appointments notification facility.
4243    To add all the appointments of your agenda files, use the command
4244 `org-agenda-to-appt'.  This commands also lets you filter through the
4245 list of your appointments and add only those belonging to a specific
4246 category or matching a regular expression. See the docstring for
4247 details.
4249 \x1f
4250 File: org,  Node: Global TODO list,  Next: Matching tags and properties,  Prev: Weekly/Daily agenda,  Up: Built-in agenda views
4252 10.3.2 The global TODO list
4253 ---------------------------
4255 The global TODO list contains all unfinished TODO items, formatted and
4256 collected into a single place.
4258 `C-c a t'
4259      Show the global TODO list.  This collects the TODO items from all
4260      agenda files (*note Agenda views::) into a single buffer.  The
4261      buffer is in `agenda-mode', so there are commands to examine and
4262      manipulate the TODO entries directly from that buffer (*note
4263      Agenda commands::).  
4265 `C-c a T'
4266      Like the above, but allows selection of a specific TODO keyword.
4267      You can also do this by specifying a prefix argument to `C-c a t'.
4268      With a `C-u' prefix you are prompted for a keyword, and you may
4269      also specify several keywords by separating them with `|' as
4270      boolean OR operator.  With a numeric prefix, the Nth keyword in
4271      `org-todo-keywords' is selected.  The `r' key in the agenda buffer
4272      regenerates it, and you can give a prefix argument to this command
4273      to change the selected TODO keyword, for example `3 r'.  If you
4274      often need a search for a specific keyword, define a custom
4275      command for it (*note Agenda dispatcher::).
4276      Matching specific TODO keywords can also be done as part of a tags
4277      search (*note Tag searches::).
4279    Remote editing of TODO items means that you can change the state of a
4280 TODO entry with a single key press.  The commands available in the TODO
4281 list are described in *Note Agenda commands::.
4283    Normally the global todo list simply shows all headlines with TODO
4284 keywords.  This list can become very long.  There are two ways to keep
4285 it more compact:
4286    - Some people view a TODO item that has been _scheduled_ for
4287      execution (*note Time stamps::) as no longer _open_.  Configure the
4288      variable `org-agenda-todo-ignore-scheduled' to exclude scheduled
4289      items from the global TODO list.
4291    - TODO items may have sublevels to break up the task into subtasks.
4292      In such cases it may be enough to list only the highest level TODO
4293      headline and omit the sublevels from the global list.  Configure
4294      the variable `org-agenda-todo-list-sublevels' to get this behavior.
4296 \x1f
4297 File: org,  Node: Matching tags and properties,  Next: Timeline,  Prev: Global TODO list,  Up: Built-in agenda views
4299 10.3.3 Matching Tags and Properties
4300 -----------------------------------
4302 If headlines in the agenda files are marked with _tags_ (*note Tags::),
4303 you can select headlines based on the tags that apply to them and
4304 collect them into an agenda buffer.
4306 `C-c a m'
4307      Produce a list of all headlines that match a given set of tags.
4308      The command prompts for a selection criterion, which is a boolean
4309      logic expression with tags, like `+WORK+URGENT-WITHBOSS' or
4310      `WORK|HOME' (*note Tags::).  If you often need a specific search,
4311      define a custom command for it (*note Agenda dispatcher::).  
4313 `C-c a M'
4314      Like `C-c a m', but only select headlines that are also TODO items
4315      and force checking subitems (see variable
4316      `org-tags-match-list-sublevels').  Matching specific todo keywords
4317      together with a tags match is also possible, see *Note Tag
4318      searches::.
4320    The commands available in the tags list are described in *Note
4321 Agenda commands::.
4323 \x1f
4324 File: org,  Node: Timeline,  Next: Stuck projects,  Prev: Matching tags and properties,  Up: Built-in agenda views
4326 10.3.4 Timeline for a single file
4327 ---------------------------------
4329 The timeline summarizes all time-stamped items from a single Org-mode
4330 file in a _time-sorted view_.  The main purpose of this command is to
4331 give an overview over events in a project.
4333 `C-c a L'
4334      Show a time-sorted view of the org file, with all time-stamped
4335      items.  When called with a `C-u' prefix, all unfinished TODO
4336      entries (scheduled or not) are also listed under the current date.
4338 The commands available in the timeline buffer are listed in *Note
4339 Agenda commands::.
4341 \x1f
4342 File: org,  Node: Stuck projects,  Prev: Timeline,  Up: Built-in agenda views
4344 10.3.5 Stuck projects
4345 ---------------------
4347 If you are following a system like David Allen's GTD to organize your
4348 work, one of the "duties" you have is a regular review to make sure
4349 that all projects move along.  A _stuck_ project is a project that has
4350 no defined next actions, so it will never show up in the TODO lists
4351 Org-mode produces.  During the review, you need to identify such
4352 projects and define next actions for them.
4354 `C-c a #'
4355      List projects that are stuck.  
4357 `C-c a !'
4358      Customize the variable `org-stuck-projects' to define what a stuck
4359      project is and how to find it.
4361    You almost certainly will have to configure this view before it will
4362 work for you.  The built-in default assumes that all your projects are
4363 level-2 headlines, and that a project is not stuck if it has at least
4364 one entry marked with a todo keyword TODO or NEXT or NEXTACTION.
4366    Lets assume that you, in your own way of using Org-mode, identify
4367 projects with a tag PROJECT, and that you use a todo keyword MAYBE to
4368 indicate a project that should not be considered yet.  Lets further
4369 assume that the todo keyword DONE marks finished projects, and that NEXT
4370 and TODO indicate next actions.  The tag @SHOP indicates shopping and
4371 is a next action even without the NEXT tag.  Finally, if the project
4372 contains the special word IGNORE anywhere, it should not be listed
4373 either.  In this case you would start by identifying eligible projects
4374 with a tags/todo match `+PROJECT/-MAYBE-DONE', and then check for TODO,
4375 NEXT, @SHOP, and IGNORE in the subtree to identify projects that are
4376 not stuck.  The correct customization for this is
4378      (setq org-stuck-projects
4379            '("+PROJECT/-MAYBE-DONE" ("NEXT" "TODO") ("@SHOP")
4380                                     "\\<IGNORE\\>"))
4382 \x1f
4383 File: org,  Node: Presentation and sorting,  Next: Agenda commands,  Prev: Built-in agenda views,  Up: Agenda views
4385 10.4 Presentation and sorting
4386 =============================
4388 Before displaying items in an agenda view, Org-mode visually prepares
4389 the items and sorts them.  Each item occupies a single line.  The line
4390 starts with a _prefix_ that contains the _category_ (*note
4391 Categories::) of the item and other important information.  You can
4392 customize the prefix using the option `org-agenda-prefix-format'.  The
4393 prefix is followed by a cleaned-up version of the outline headline
4394 associated with the item.
4396 * Menu:
4398 * Categories::                  Not all tasks are equal
4399 * Time-of-day specifications::  How the agenda knows the time
4400 * Sorting of agenda items::     The order of things
4402 \x1f
4403 File: org,  Node: Categories,  Next: Time-of-day specifications,  Prev: Presentation and sorting,  Up: Presentation and sorting
4405 10.4.1 Categories
4406 -----------------
4408 The category is a broad label assigned to each agenda item.  By default,
4409 the category is simply derived from the file name, but you can also
4410 specify it with a special line in the buffer, like this(1):
4412      #+CATEGORY: Thesis
4414 If you would like to have a special CATEGORY for a single entry or a
4415 (sub)tree, give the entry a `:CATEGORY:' property with the location as
4416 the value (*note Properties and columns::).
4418 The display in the agenda buffer looks best if the category is not
4419 longer than 10 characters.
4421    ---------- Footnotes ----------
4423    (1) If there are several such lines in a file, each specifies the
4424 category for the text below it.  The first category also applies to any
4425 text before the first CATEGORY line.  This method is only kept for
4426 backward compatibility.  The preferred method for setting multiple
4427 categories in a buffer is using a property.
4429 \x1f
4430 File: org,  Node: Time-of-day specifications,  Next: Sorting of agenda items,  Prev: Categories,  Up: Presentation and sorting
4432 10.4.2 Time-of-Day Specifications
4433 ---------------------------------
4435 Org-mode checks each agenda item for a time-of-day specification.  The
4436 time can be part of the time stamp that triggered inclusion into the
4437 agenda, for example as in `<2005-05-10 Tue 19:00>'.  Time ranges can be
4438 specified with two time stamps, like
4439 `<2005-05-10 Tue 20:30>--<2005-05-10 Tue 22:15>'.
4441    In the headline of the entry itself, a time(range) may also appear as
4442 plain text (like `12:45' or a `8:30-1pm'.  If the agenda integrates the
4443 Emacs diary (*note Weekly/Daily agenda::), time specifications in diary
4444 entries are recognized as well.
4446    For agenda display, Org-mode extracts the time and displays it in a
4447 standard 24 hour format as part of the prefix.  The example times in
4448 the previous paragraphs would end up in the agenda like this:
4450          8:30-13:00 Arthur Dent lies in front of the bulldozer
4451         12:45...... Ford Prefect arrives and takes Arthur to the pub
4452         19:00...... The Vogon reads his poem
4453         20:30-22:15 Marwin escorts the Hitchhikers to the bridge
4455    If the agenda is in single-day mode, or for the display of today, the
4456 timed entries are embedded in a time grid, like
4458          8:00...... ------------------
4459          8:30-13:00 Arthur Dent lies in front of the bulldozer
4460         10:00...... ------------------
4461         12:00...... ------------------
4462         12:45...... Ford Prefect arrives and takes Arthur to the pub
4463         14:00...... ------------------
4464         16:00...... ------------------
4465         18:00...... ------------------
4466         19:00...... The Vogon reads his poem
4467         20:00...... ------------------
4468         20:30-22:15 Marwin escorts the Hitchhikers to the bridge
4470    The time grid can be turned on and off with the variable
4471 `org-agenda-use-time-grid', and can be configured with
4472 `org-agenda-time-grid'.
4474 \x1f
4475 File: org,  Node: Sorting of agenda items,  Prev: Time-of-day specifications,  Up: Presentation and sorting
4477 10.4.3 Sorting of agenda items
4478 ------------------------------
4480 Before being inserted into a view, the items are sorted.  How this is
4481 done depends on the type of view.
4482    * For the daily/weekly agenda, the items for each day are sorted.
4483      The default order is to first collect all items containing an
4484      explicit time-of-day specification.  These entries will be shown
4485      at the beginning of the list, as a _schedule_ for the day.  After
4486      that, items remain grouped in categories, in the sequence given by
4487      `org-agenda-files'.  Within each category, items are sorted by
4488      priority (*note Priorities::), which is composed of the base
4489      priority (2000 for priority `A', 1000 for `B', and 0 for `C'),
4490      plus additional increments for overdue scheduled or deadline items.
4492    * For the TODO list, items remain in the order of categories, but
4493      within each category, sorting takes place according to priority
4494      (*note Priorities::).
4496    * For tags matches, items are not sorted at all, but just appear in
4497      the sequence in which they are found in the agenda files.
4499    Sorting can be customized using the variable
4500 `org-agenda-sorting-strategy'.
4502 \x1f
4503 File: org,  Node: Agenda commands,  Next: Custom agenda views,  Prev: Presentation and sorting,  Up: Agenda views
4505 10.5 Commands in the agenda buffer
4506 ==================================
4508 Entries in the agenda buffer are linked back to the org file or diary
4509 file where they originate.  You are not allowed to edit the agenda
4510 buffer itself, but commands are provided to show and jump to the
4511 original entry location, and to edit the org-files "remotely" from the
4512 agenda buffer.  In this way, all information is stored only once,
4513 removing the risk that your agenda and note files may diverge.
4515    Some commands can be executed with mouse clicks on agenda lines.  For
4516 the other commands, the cursor needs to be in the desired line.
4518 Motion
4519 ......
4522      Next line (same as <up> and `C-p').  
4525      Previous line (same as <down> and `C-n').
4527 View/GoTo org file
4528 ..................
4530 `mouse-3'
4531 `<SPC>'
4532      Display the original location of the item in another window.  
4535      Display original location and recenter that window.  
4537 `mouse-2'
4538 `mouse-1'
4539 `<TAB>'
4540      Go to the original location of the item in another window.  Under
4541      Emacs 22, `mouse-1' will also works for this.  
4543 `<RET>'
4544      Go to the original location of the item and delete other windows.  
4547      Toggle Follow mode.  In Follow mode, as you move the cursor through
4548      the agenda buffer, the other window always shows the corresponding
4549      location in the org file.  The initial setting for this mode in new
4550      agenda buffers can be set with the variable
4551      `org-agenda-start-with-follow-mode'.  
4554      Display the entire subtree of the current item in an indirect
4555      buffer.  With numerical prefix ARG, go up to this level and then
4556      take that tree.  If ARG is negative, go up that many levels.  With
4557      `C-u' prefix, do not remove the previously used indirect buffer.  
4560      Toggle Logbook mode.  In Logbook mode, entries that where marked
4561      DONE while logging was on (variable `org-log-done') are shown in
4562      the agenda, as are entries that have been clocked on that day.
4564 Change display
4565 ..............
4568      Delete other windows.  
4570 `d w m y'
4571      Switch to day/week/month/year view.  When switching to day or week
4572      view, this setting becomes the default for subseqent agenda
4573      commands.  Since month and year views are slow to create, the do
4574      not become the default.  
4577      Toggle the inclusion of diary entries.  See *Note Weekly/Daily
4578      agenda::.  
4581      Toggle the time grid on and off.  See also the variables
4582      `org-agenda-use-time-grid' and `org-agenda-time-grid'.  
4585      Recreate the agenda buffer, for example to reflect the changes
4586      after modification of the time stamps of items with S-<left> and
4587      S-<right>.  When the buffer is the global todo list, a prefix
4588      argument is interpreted to create a selective list for a specific
4589      TODO keyword.  
4592 `C-x C-s'
4593      Save all Org-mode buffers in the current Emacs session.  
4595 `<right>'
4596      Display the following `org-agenda-ndays' days.  For example, if
4597      the display covers a week, switch to the following week.  With
4598      prefix arg, go forward that many times `org-agenda-ndays' days.  
4600 `<left>'
4601      Display the previous dates.  
4604      Goto today.
4606 Remote editing
4607 ..............
4609 `0-9'
4610      Digit argument.  
4612 `C-_'
4613      Undo a change due to a remote editing command.  The change is
4614      undone both in the agenda buffer and in the remote buffer.  
4617      Change the TODO state of the item, both in the agenda and in the
4618      original org file.  
4620 `C-k'
4621      Delete the current agenda item along with the entire subtree
4622      belonging to it in the original Org-mode file.  If the text to be
4623      deleted remotely is longer than one line, the kill needs to be
4624      confirmed by the user.  See variable `org-agenda-confirm-kill'.  
4627      Archive the subtree corresponding to the current headline.  
4630      Show all tags associated with the current item.  Because of
4631      inheritance, this may be more than the tags listed in the line
4632      itself.  
4635      Set tags for the current headline.  If there is an active region
4636      in the agenda, change a tag for all headings in the region.  
4639      Toggle the ARCHIVE tag for the current headline.  
4642      Set the priority for the current item.  Org-mode prompts for the
4643      priority character. If you reply with <SPC>, the priority cookie
4644      is removed from the entry.  
4647      Display weighted priority of current item.  
4650 `S-<up>'
4651      Increase the priority of the current item.  The priority is
4652      changed in the original buffer, but the agenda is not resorted.
4653      Use the `r' key for this.  
4656 `S-<down>'
4657      Decrease the priority of the current item.  
4659 `C-c C-s'
4660      Schedule this item 
4662 `C-c C-d'
4663      Set a deadline for this item.  
4665 `S-<right>'
4666      Change the time stamp associated with the current line by one day
4667      into the future.  With prefix argument, change it by that many
4668      days.  For example, `3 6 5 S-<right>' will change it by a year.
4669      The stamp is changed in the original org file, but the change is
4670      not directly reflected in the agenda buffer.  Use the `r' key to
4671      update the buffer.  
4673 `S-<left>'
4674      Change the time stamp associated with the current line by one day
4675      into the past.  
4678      Change the time stamp associated with the current line to today.
4679      The key `>' has been chosen, because it is the same as `S-.' on my
4680      keyboard.  
4683      Start the clock on the current item.  If a clock is running
4684      already, it is stopped first.  
4687      Stop the previously started clock.  
4690      Cancel the currently running clock.
4693      Jump to the running clock in another window.
4695 Calendar commands
4696 .................
4699      Open the Emacs calendar and move to the date at the agenda cursor.
4702      When in the calendar, compute and show the Org-mode agenda for the
4703      date at the cursor.  
4706      Insert a new entry into the diary.  Prompts for the type of entry
4707      (day, weekly, monthly, yearly, anniversary, cyclic) and creates a
4708      new entry in the diary, just as `i d' etc. would do in the
4709      calendar.  The date is taken from the cursor position.  
4712      Show the phases of the moon for the three months around current
4713      date.  
4716      Show sunrise and sunset times.  The geographical location must be
4717      set with calendar variables, see documentation of the Emacs
4718      calendar.  
4721      Convert the date at cursor into many other cultural and historic
4722      calendars.  
4725      Show holidays for three month around the cursor date.  
4727 `C-c C-x C-c'
4728      Export a single iCalendar file containing entries from all agenda
4729      files.
4731 Exporting to a file
4732 ...................
4734 `C-x C-w'
4735      Write the agenda view to a file.  Depending on the extension of the
4736      selected file name, the view will be exported as HTML (extension
4737      `.html' or `.htm'), Postscript (extension `.ps'), or plain text
4738      (any other extension).  Use the variable
4739      `org-agenda-exporter-settings' to set options for `ps-print' and
4740      for `htmlize' to be used during export.
4742 Quit and Exit
4743 .............
4746      Quit agenda, remove the agenda buffer.  
4749      Exit agenda, remove the agenda buffer and all buffers loaded by
4750      Emacs for the compilation of the agenda.  Buffers created by the
4751      user to visit org files will not be removed.
4753 \x1f
4754 File: org,  Node: Custom agenda views,  Prev: Agenda commands,  Up: Agenda views
4756 10.6 Custom agenda views
4757 ========================
4759 Custom agenda commands serve two purposes: to store and quickly access
4760 frequently used TODO and tags searches, and to create special composite
4761 agenda buffers.  Custom agenda commands will be accessible through the
4762 dispatcher (*note Agenda dispatcher::), just like the default commands.
4764 * Menu:
4766 * Storing searches::            Type once, use often
4767 * Block agenda::                All the stuff you need in a single buffer
4768 * Setting Options::             Changing the rules
4769 * Exporting Agenda Views::      Writing agendas to files.
4770 * Extracting Agenda Information for other programs::
4772 \x1f
4773 File: org,  Node: Storing searches,  Next: Block agenda,  Prev: Custom agenda views,  Up: Custom agenda views
4775 10.6.1 Storing searches
4776 -----------------------
4778 The first application of custom searches is the definition of keyboard
4779 shortcuts for frequently used searches, either creating an agenda
4780 buffer, or a sparse tree (the latter covering of course only the current
4781 buffer).  Custom commands are configured in the variable
4782 `org-agenda-custom-commands'.  You can customize this variable, for
4783 example by pressing `C-c a C'.  You can also directly set it with Emacs
4784 Lisp in `.emacs'.  The following example contains all valid search
4785 types:
4787      (setq org-agenda-custom-commands
4788            '(("w" todo "WAITING")
4789              ("W" todo-tree "WAITING")
4790              ("u" tags "+BOSS-URGENT")
4791              ("v" tags-todo "+BOSS-URGENT")
4792              ("U" tags-tree "+BOSS-URGENT")
4793              ("f" occur-tree "\\<FIXME\\>")))
4795 The initial single-character string in each entry defines the character
4796 you have to press after the dispatcher command `C-c a' in order to
4797 access the command.   The second parameter is the search type, followed
4798 by the string or regular expression to be used for the matching.  The
4799 example above will therefore define:
4801 `C-c a w'
4802      as a global search for TODO entries with `WAITING' as the TODO
4803      keyword
4805 `C-c a W'
4806      as the same search, but only in the current buffer and displaying
4807      the results as a sparse tree
4809 `C-c a u'
4810      as a global tags search for headlines marked `:BOSS:' but not
4811      `:URGENT:'
4813 `C-c a v'
4814      as the same search as `C-c a u', but limiting the search to
4815      headlines that are also TODO items
4817 `C-c a U'
4818      as the same search as `C-c a u', but only in the current buffer and
4819      displaying the result as a sparse tree
4821 `C-c a f'
4822      to create a sparse tree (again: current buffer only) with all
4823      entries containing the word `FIXME'.
4825 \x1f
4826 File: org,  Node: Block agenda,  Next: Setting Options,  Prev: Storing searches,  Up: Custom agenda views
4828 10.6.2 Block agenda
4829 -------------------
4831 Another possibility is the construction of agenda views that comprise
4832 the results of _several_ commands, each of which creates a block in the
4833 agenda buffer.  The available commands include `agenda' for the daily
4834 or weekly agenda (as created with `C-c a a'), `alltodo' for the global
4835 todo list (as constructed with `C-c a t'), and the matching commands
4836 discussed above: `todo', `tags', and `tags-todo'.  Here are two
4837 examples:
4839      (setq org-agenda-custom-commands
4840            '(("h" "Agenda and Home-related tasks"
4841               ((agenda)
4842                (tags-todo "HOME")
4843                (tags "GARDEN")))
4844              ("o" "Agenda and Office-related tasks"
4845               ((agenda)
4846                (tags-todo "WORK")
4847                (tags "OFFICE")))))
4849 This will define `C-c a h' to create a multi-block view for stuff you
4850 need to attend to at home.  The resulting agenda buffer will contain
4851 your agenda for the current week, all TODO items that carry the tag
4852 `HOME', and also all lines tagged with `GARDEN'.  Finally the command
4853 `C-c a o' provides a similar view for office tasks.
4855 \x1f
4856 File: org,  Node: Setting Options,  Next: Exporting Agenda Views,  Prev: Block agenda,  Up: Custom agenda views
4858 10.6.3 Setting Options for custom commands
4859 ------------------------------------------
4861 Org-mode contains a number of variables regulating agenda construction
4862 and display.  The global variables define the behavior for all agenda
4863 commands, including the custom commands.  However, if you want to change
4864 some settings just for a single custom view, you can do so.  Setting
4865 options requires inserting a list of variable names and values at the
4866 right spot in `org-agenda-custom-commands'.  For example:
4868      (setq org-agenda-custom-commands
4869            '(("w" todo "WAITING"
4870               ((org-agenda-sorting-strategy '(priority-down))
4871                (org-agenda-prefix-format "  Mixed: ")))
4872              ("U" tags-tree "+BOSS-URGENT"
4873               ((org-show-following-heading nil)
4874                (org-show-hierarchy-above nil)))))
4876 Now the `C-c a w' command will sort the collected entries only by
4877 priority, and the prefix format is modified to just say `  Mixed:'
4878 instead of giving the category of the entry.  The sparse tags tree of
4879 `C-c a U' will now turn out ultra-compact, because neither the headline
4880 hierarchy above the match, nor the headline following the match will be
4881 shown.
4883    For command sets creating a block agenda,
4884 `org-agenda-custom-commands' has two separate spots for setting
4885 options.  You can add options that should be valid for just a single
4886 command in the set, and options that should be valid for all commands in
4887 the set.  The former are just added to the command entry, the latter
4888 must come after the list of command entries.  Going back to the block
4889 agenda example (*note Block agenda::), let's change the sorting strategy
4890 for the `C-c a h' commands to `priority-down', but let's sort the
4891 results for GARDEN tags query in the opposite order, `priority-up'.
4892 This would look like this:
4894      (setq org-agenda-custom-commands
4895            '(("h" "Agenda and Home-related tasks"
4896               ((agenda)
4897                (tags-todo "HOME")
4898                (tags "GARDEN"
4899                      ((org-agenda-sorting-strategy '(priority-up)))))
4900               ((org-agenda-sorting-strategy '(priority-down))))
4901              ("o" "Agenda and Office-related tasks"
4902               ((agenda)
4903                (tags-todo "WORK")
4904                (tags "OFFICE")))))
4906    As you see, the values and parenthesis setting is a little complex.
4907 When in doubt, use the customize interface to set this variable - it
4908 fully supports its structure.  Just one caveat: When setting options in
4909 this interface, the _values_ are just lisp expressions.  So if the
4910 value is a string, you need to add the double quotes around the value
4911 yourself.
4913 \x1f
4914 File: org,  Node: Exporting Agenda Views,  Next: Extracting Agenda Information for other programs,  Prev: Setting Options,  Up: Custom agenda views
4916 10.6.4 Exporting Agenda Views
4917 -----------------------------
4919 If you are away from your computer, it can be very useful to have a
4920 printed version of some agenda views to carry around.  Org-mode can
4921 export custom agenda views as plain text, HTML(1) and postscript.  If
4922 you want to do this only occasionally, use the command
4924 `C-x C-w'
4925      Write the agenda view to a file.  Depending on the extension of the
4926      selected file name, the view will be exported as HTML (extension
4927      `.html' or `.htm'), Postscript (extension `.ps'), or plain text
4928      (any other extension).  Use the variable
4929      `org-agenda-exporter-settings' to set options for `ps-print' and
4930      for `htmlize' to be used during export, for example
4931           (setq org-agenda-exporter-settings
4932                 '((ps-number-of-columns 2)
4933                   (ps-landscape-mode t)
4934                   (htmlize-output-type 'css)))
4936    If you need to export certain agenda views frequently, you can
4937 associate any custom agenda command with a list of output file names
4938 (2).  Here is an example that first does define custom commands for the
4939 agenda and the global todo list, together with a number of files to
4940 which to export them.  Then we define two block agenda commands and
4941 specify filenames for them as well.  File names can be relative to the
4942 current working directory, or absolute.
4944      (setq org-agenda-custom-commands
4945            '(("X" agenda "" nil ("agenda.html" "agenda.ps"))
4946              ("Y" alltodo "" nil ("todo.html" "todo.txt" "todo.ps"))
4947              ("h" "Agenda and Home-related tasks"
4948               ((agenda)
4949                (tags-todo "HOME")
4950                (tags "GARDEN"))
4951               nil
4952               ("~/views/home.html"))
4953              ("o" "Agenda and Office-related tasks"
4954               ((agenda)
4955                (tags-todo "WORK")
4956                (tags "OFFICE"))
4957               nil
4958               ("~/views/office.ps"))))
4960    The extension of the file name determines the type of export.  If it
4961 is `.html', Org-mode will use the `htmlize.el' package to convert the
4962 buffer to HTML and save it to this file name.  If the extension is
4963 `.ps', `ps-print-buffer-with-faces' is used to produce postscript
4964 output.  Any other extension produces a plain ASCII file.
4966    The export files are _not_ created when you use one of those
4967 commands interactively.  Instead, there is a special command to produce
4968 _all_ specified files in one step:
4970 `C-c a e'
4971      Export all agenda views that have export filenames associated with
4972      them.
4974    You can use the options section of the custom agenda commands to also
4975 set options for the export commands.  For example:
4977      (setq org-agenda-custom-commands
4978            '(("X" agenda ""
4979               ((ps-number-of-columns 2)
4980                (ps-landscape-mode t)
4981                (org-agenda-prefix-format " [ ] ")
4982                (org-agenda-with-colors nil)
4983                (org-agenda-remove-tags t))
4984               ("theagenda.ps"))))
4986 This command sets two options for the postscript exporter, to make it
4987 print in two columns in landscape format - the resulting page can be cut
4988 in two and then used in a paper agenda.  The remaining settings modify
4989 the agenda prefix to omit category and scheduling information, and
4990 instead include a checkbox to check off items.  We also remove the tags
4991 to make the lines compact, and we don't want to use colors for the
4992 black-and-white printer.  Settings specified in
4993 `org-agenda-exporter-settings' will also apply, but the settings in
4994 `org-agenda-custom-commands' take precedence.
4996 From the command line you may also use
4997      emacs -f org-batch-store-agenda-views -kill
4998    or, if you need to modify some parameters
4999      emacs -eval '(org-batch-store-agenda-views                      \
5000                    org-agenda-ndays 30                               \
5001                    org-agenda-include-diary nil                      \
5002                    org-agenda-files (quote ("~/org/project.org")))'  \
5003            -kill
5004    which will create the agenda views restricted to the file
5005 `~/org/project.org', without diary entries and with 30 days extent.
5007    ---------- Footnotes ----------
5009    (1) You need to install Hrvoje Niksic' `htmlize.el'.
5011    (2) If you want to store standard views like the weekly agenda or
5012 the global TODO list as well, you need to define custom commands for
5013 them in order to be able to specify filenames.
5015 \x1f
5016 File: org,  Node: Extracting Agenda Information for other programs,  Prev: Exporting Agenda Views,  Up: Custom agenda views
5018 10.6.5 Extracting Agenda Information for other programs
5019 -------------------------------------------------------
5021 Org-mode provides commands to access agenda information for the command
5022 line in emacs batch mode.  This extracted information can be sent
5023 directly to a printer, or it can be read by a program that does further
5024 processing of the data.  The first of these commands is the function
5025 `org-batch-agenda', that produces an agenda view and sends it as ASCII
5026 text to STDOUT.  The command takes a single string as parameter.  If
5027 the string has length 1, it is used as a key to one of the commands you
5028 have configured in `org-agenda-custom-commands', basically any key you
5029 can use after `C-c a'.  For example, to directly print the current TODO
5030 list, you could use
5032      emacs -batch -l ~/.emacs -eval '(org-batch-agenda "t")' | lpr
5034    If the parameter is a string with 2 or more characters, it is used
5035 as a tags/todo match string.  For example, to print your local shopping
5036 list (all items with the tag `shop', but excluding the tag `NewYork'),
5037 you could use
5039      emacs -batch -l ~/.emacs                                      \
5040            -eval '(org-batch-agenda "+shop-NewYork")' | lpr
5042 You may also modify parameters on the fly like this:
5044      emacs -batch -l ~/.emacs                                      \
5045         -eval '(org-batch-agenda "a"                               \
5046                  org-agenda-ndays 30                               \
5047                  org-agenda-include-diary nil                      \
5048                  org-agenda-files (quote ("~/org/project.org")))'  \
5049         | lpr
5051 which will produce a 30 day agenda, fully restricted to the Org file
5052 `~/org/projects.org', not even including the diary.
5054    If you want to process the agenda data in more sophisticated ways,
5055 you can use the command `org-batch-agenda-csv' to get a comma-separated
5056 list of values for each agenda item.  Each line in the output will
5057 contain a number of fields separated by commas.  The fields in a line
5058 are:
5060      category     The category of the item
5061      head         The headline, without TODO kwd, TAGS and PRIORITY
5062      type         The type of the agenda entry, can be
5063                      todo               selected in TODO match
5064                      tagsmatch          selected in tags match
5065                      diary              imported from diary
5066                      deadline           a deadline
5067                      scheduled          scheduled
5068                      timestamp          appointment, selected by timestamp
5069                      closed             entry was closed on date
5070                      upcoming-deadline  warning about nearing deadline
5071                      past-scheduled     forwarded scheduled item
5072                      block              entry has date block including date
5073      todo         The todo keyword, if any
5074      tags         All tags including inherited ones, separated by colons
5075      date         The relevant date, like 2007-2-14
5076      time         The time, like 15:00-16:50
5077      extra        String with extra planning info
5078      priority-l   The priority letter if any was given
5079      priority-n   The computed numerical priority
5081 Time and date will only be given if a timestamp (or deadline/scheduled)
5082 lead to the selection of the item.
5084    A CSV list like this is very easy to use in a post processing script.
5085 For example, here is a Perl program that gets the TODO list from
5086 Emacs/org-mode and prints all the items, preceded by a checkbox:
5088      #!/usr/bin/perl
5090      # define the Emacs command to run
5091      $cmd = "emacs -batch -l ~/.emacs -eval '(org-batch-agenda-csv \"t\")'";
5093      # run it and capture the output
5094      $agenda = qx{$cmd 2>/dev/null};
5096      # loop over all lines
5097      foreach $line (split(/\n/,$agenda)) {
5099        # get the individual values
5100        ($category,$head,$type,$todo,$tags,$date,$time,$extra,
5101         $priority_l,$priority_n) = split(/,/,$line);
5103        # proccess and print
5104        print "[ ] $head\n";
5105      }
5107 \x1f
5108 File: org,  Node: Embedded LaTeX,  Next: Exporting,  Prev: Agenda views,  Up: Top
5110 11 Embedded LaTeX
5111 *****************
5113 Plain ASCII is normally sufficient for almost all note taking.  One
5114 exception, however, are scientific notes which need to be able to
5115 contain mathematical symbols and the occasional formula.  LaTeX(1) is
5116 widely used to typeset scientific documents. Org-mode supports
5117 embedding LaTeX code into its files, because many academics are used to
5118 read LaTeX source code, and because it can be readily processed into
5119 images for HTML production.
5121    It is not necessary to mark LaTeX macros and code in any special way.
5122 If you observe a few conventions, Org-mode knows how to find it and what
5123 to do with it.
5125 * Menu:
5127 * Math symbols::                TeX macros for symbols and Greek letters
5128 * Subscripts and Superscripts::  Simple syntax for raising/lowering text
5129 * LaTeX fragments::             Complex formulas made easy
5130 * Processing LaTeX fragments::  Previewing LaTeX processing
5131 * CDLaTeX mode::                Speed up entering of formulas
5133    ---------- Footnotes ----------
5135    (1) LaTeX is a macro system based on Donald E. Knuth's TeX system.
5136 Many of the features described here as "LaTeX" are really from TeX, but
5137 for simplicity I am blurring this distinction.
5139 \x1f
5140 File: org,  Node: Math symbols,  Next: Subscripts and Superscripts,  Prev: Embedded LaTeX,  Up: Embedded LaTeX
5142 11.1 Math symbols
5143 =================
5145 You can use LaTeX macros to insert special symbols like `\alpha' to
5146 indicate the Greek letter, or `\to' to indicate an arrow.  Completion
5147 for these macros is available, just type `\' and maybe a few letters,
5148 and press `M-<TAB>' to see possible completions.  Unlike LaTeX code,
5149 Org-mode allows these macros to be present without surrounding math
5150 delimiters, for example:
5152      Angles are written as Greek letters \alpha, \beta and \gamma.
5154    During HTML export (*note HTML export::), these symbols are
5155 translated into the proper syntax for HTML, for the above examples this
5156 is `&alpha;' and `&rarr;', respectively.
5158 \x1f
5159 File: org,  Node: Subscripts and Superscripts,  Next: LaTeX fragments,  Prev: Math symbols,  Up: Embedded LaTeX
5161 11.2 Subscripts and Superscripts
5162 ================================
5164 Just like in LaTeX, `^' and `_' are used to indicate super- and
5165 subscripts.  Again, these can be used without embedding them in
5166 math-mode delimiters.  To increase the readability of ASCII text, it is
5167 not necessary (but OK) to surround multi-character sub- and superscripts
5168 with curly braces.  For example
5170      The mass if the sun is M_sun = 1.989 x 10^30 kg.  The radius of
5171      the sun is R_{sun} = 6.96 x 10^8 m.
5173    To avoid interpretation as raised or lowered text, you can quote `^'
5174 and `_' with a backslash: `\_' and `\^'.
5176    During HTML export (*note HTML export::), subscript and superscripts
5177 are surrounded with `<sub>' and `<sup>' tags, respectively.
5179 \x1f
5180 File: org,  Node: LaTeX fragments,  Next: Processing LaTeX fragments,  Prev: Subscripts and Superscripts,  Up: Embedded LaTeX
5182 11.3 LaTeX fragments
5183 ====================
5185 With symbols, sub- and superscripts, HTML is pretty much at its end when
5186 it comes to representing mathematical formulas(1). More complex
5187 expressions need a dedicated formula processor. To this end, Org-mode
5188 can contain arbitrary LaTeX fragments. It provides commands to preview
5189 the typeset result of these fragments, and upon export to HTML, all
5190 fragments will be converted to images and inlined into the HTML
5191 document(2). For this to work you need to be on a system with a working
5192 LaTeX installation. You also need the `dvipng' program, available at
5193 `http://sourceforge.net/projects/dvipng/'. The LaTeX header that will
5194 be used when processing a fragment can be configured with the variable
5195 `org-format-latex-header'.
5197    LaTeX fragments don't need any special marking at all.  The following
5198 snippets will be identified as LaTeX source code:
5199    * Environments of any kind.  The only requirement is that the
5200      `\begin' statement appears on a new line, preceded by only
5201      whitespace.
5203    * Text within the usual LaTeX math delimiters.  To avoid conflicts
5204      with currency specifications, single `$' characters are only
5205      recognized as math delimiters if the enclosed text contains at
5206      most two line breaks, is directly attached to the `$' characters
5207      with no whitespace in between, and if the closing `$' is followed
5208      by whitespace or punctuation.  For the other delimiters, there is
5209      no such restriction, so when in doubt, use `\(...\)' as inline
5210      math delimiters.
5212 For example:
5214      \begin{equation}                          % arbitrary environments,
5215      x=\sqrt{b}                                % even tables, figures
5216      \end{equation}                            % etc
5218      If $a^2=b$ and \( b=2 \), then the solution must be
5219      either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \].
5221 If you need any of the delimiter ASCII sequences for other purposes, you
5222 can configure the option `org-format-latex-options' to deselect the
5223 ones you do not wish to have interpreted by the LaTeX converter.
5225    ---------- Footnotes ----------
5227    (1) Yes, there is MathML, but that is not yet fully supported by
5228 many browsers, and there is no decent converter for turning LaTeX or
5229 ASCII representations of formulas into MathML. So for the time being,
5230 converting formulas into images seems the way to go.
5232    (2) The LaTeX export will not use images for displaying LaTeX
5233 fragments but include these fragments directly into the LaTeX code.
5235 \x1f
5236 File: org,  Node: Processing LaTeX fragments,  Next: CDLaTeX mode,  Prev: LaTeX fragments,  Up: Embedded LaTeX
5238 11.4 Processing LaTeX fragments
5239 ===============================
5241 LaTeX fragments can be processed to produce a preview images of the
5242 typeset expressions:
5244 `C-c C-x C-l'
5245      Produce a preview image of the LaTeX fragment at point and overlay
5246      it over the source code.  If there is no fragment at point,
5247      process all fragments in the current entry (between two
5248      headlines).  When called with a prefix argument, process the
5249      entire subtree.  When called with two prefix arguments, or when
5250      the cursor is before the first headline, process the entire buffer.  
5252 `C-c C-c'
5253      Remove the overlay preview images.
5255    During HTML export (*note HTML export::), all LaTeX fragments are
5256 converted into images and inlined into the document if the following
5257 setting is active:
5259      (setq org-export-with-LaTeX-fragments t)
5261 \x1f
5262 File: org,  Node: CDLaTeX mode,  Prev: Processing LaTeX fragments,  Up: Embedded LaTeX
5264 11.5 Using CDLaTeX to enter math
5265 ================================
5267 CDLaTeX-mode is a minor mode that is normally used in combination with a
5268 major LaTeX mode like AUCTeX in order to speed-up insertion of
5269 environments and math templates.  Inside Org-mode, you can make use of
5270 some of the features of cdlatex-mode.  You need to install `cdlatex.el'
5271 and `texmathp.el' (the latter comes also with AUCTeX) from
5272 `http://www.astro.uva.nl/~dominik/Tools/cdlatex'.  Don't turn
5273 cdlatex-mode itself under Org-mode, but use the light version
5274 `org-cdlatex-mode' that comes as part of Org-mode.  Turn it on for the
5275 current buffer with `M-x org-cdlatex-mode', or for all Org-mode files
5276 with
5278      (add-hook 'org-mode-hook 'turn-on-org-cdlatex)
5280    When this mode is enabled, the following features are present (for
5281 more details see the documentation of cdlatex-mode):
5282    * Environment templates can be inserted with `C-c {'.
5284    * The <TAB> key will do template expansion if the cursor is inside a
5285      LaTeX fragment(1).  For example, <TAB> will expand `fr' to
5286      `\frac{}{}' and position the cursor correctly inside the first
5287      brace.  Another <TAB> will get you into the second brace.  Even
5288      outside fragments, <TAB> will expand environment abbreviations at
5289      the beginning of a line.  For example, if you write `equ' at the
5290      beginning of a line and press <TAB>, this abbreviation will be
5291      expanded to an `equation' environment.  To get a list of all
5292      abbreviations, type `M-x cdlatex-command-help'.
5294    * Pressing `_' and `^' inside a LaTeX fragment will insert these
5295      characters together with a pair of braces.  If you use <TAB> to
5296      move out of the braces, and if the braces surround only a single
5297      character or macro, they are removed again (depending on the
5298      variable `cdlatex-simplify-sub-super-scripts').
5300    * Pressing the backquote ``' followed by a character inserts math
5301      macros, also outside LaTeX fragments.  If you wait more than 1.5
5302      seconds after the backquote, a help window will pop up.
5304    * Pressing the normal quote `'' followed by another character
5305      modifies the symbol before point with an accent or a font.  If you
5306      wait more than 1.5 seconds after the backquote, a help window will
5307      pop up.  Character modification will work only inside LaTeX
5308      fragments, outside the quote is normal.
5310    ---------- Footnotes ----------
5312    (1) Org-mode has a method to test if the cursor is inside such a
5313 fragment, see the documentation of the function
5314 `org-inside-LaTeX-fragment-p'.
5316 \x1f
5317 File: org,  Node: Exporting,  Next: Publishing,  Prev: Embedded LaTeX,  Up: Top
5319 12 Exporting
5320 ************
5322 Org-mode documents can be exported into a variety of other formats.  For
5323 printing and sharing of notes, ASCII export produces a readable and
5324 simple version of an Org-mode file.  HTML export allows you to publish a
5325 notes file on the web, while the XOXO format provides a solid base for
5326 exchange with a broad range of other applications. LaTeX export lets
5327 you use Org-mode and its structured editing functions to easily create
5328 LaTeX files.  To incorporate entries with associated times like
5329 deadlines or appointments into a desktop calendar program like iCal,
5330 Org-mode can also produce extracts in the iCalendar format.  Currently
5331 Org-mode only supports export, not import of these different formats.
5333    When exporting, Org-mode uses special conventions to enrich the
5334 output produced.  *Note Text interpretation::, for more details.
5336 `C-c C-e'
5337      Dispatcher for export and publishing commands.  Displays a
5338      help-window listing the additional key(s) needed to launch an
5339      export or publishing command.
5341 * Menu:
5343 * ASCII export::                Exporting to plain ASCII
5344 * HTML export::                 Exporting to HTML
5345 * LaTeX export::                Exporting to LaTeX
5346 * XOXO export::                 Exporting to XOXO
5347 * iCalendar export::            Exporting in iCalendar format
5348 * Text interpretation::         How the exporter looks at the file
5350 \x1f
5351 File: org,  Node: ASCII export,  Next: HTML export,  Prev: Exporting,  Up: Exporting
5353 12.1 ASCII export
5354 =================
5356 ASCII export produces a simple and very readable version of an Org-mode
5357 file.
5359 `C-c C-e a'
5360      Export as ASCII file.  For an org file `myfile.org', the ASCII file
5361      will be `myfile.txt'.  The file will be overwritten without
5362      warning.  If there is an active region, only the region will be
5363      exported. If the selected region is a single tree, the tree head
5364      will become the document title.  If the tree head entry has or
5365      inherits an EXPORT_FILE_NAME property, that name will be used for
5366      the export.  
5368 `C-c C-e v a'
5369      Export only the visible part of the document.
5371    In the exported version, the first 3 outline levels will become
5372 headlines, defining a general document structure.  Additional levels
5373 will be exported as itemized lists.  If you want that transition to
5374 occur at a different level, specify it with a prefix argument.  For
5375 example,
5377      C-1 C-c C-e a
5379 creates only top level headlines and does the rest as items.  When
5380 headlines are converted to items, the indentation of the text following
5381 the headline is changed to fit nicely under the item.  This is done with
5382 the assumption that the first bodyline indicates the base indentation of
5383 the body text.  Any indentation larger than this is adjusted to preserve
5384 the layout relative to the first line.  Should there be lines with less
5385 indentation than the first, these are left alone.
5387 \x1f
5388 File: org,  Node: HTML export,  Next: LaTeX export,  Prev: ASCII export,  Up: Exporting
5390 12.2 HTML export
5391 ================
5393 Org-mode contains an HTML (XHTML 1.0 strict) exporter with extensive
5394 HTML formatting, in ways similar to John Grubers _markdown_ language,
5395 but with additional support for tables.
5397 * Menu:
5399 * HTML Export commands::        How to invoke LaTeX export
5400 * Quoting HTML tags::           Using direct HTML in Org-mode
5401 * Links::                       Transformation of links for HTML
5402 * Images::                      How to include images
5403 * CSS support::                 Changing the appearence of the output
5405 \x1f
5406 File: org,  Node: HTML Export commands,  Next: Quoting HTML tags,  Prev: HTML export,  Up: HTML export
5408 12.2.1 HTML export commands
5409 ---------------------------
5411 `C-c C-e h'
5412      Export as HTML file `myfile.html'.  For an org file `myfile.org',
5413      the ASCII file will be `myfile.html'.  The file will be
5414      overwritten without warning.  If there is an active region, only
5415      the region will be exported. If the selected region is a single
5416      tree, the tree head will become the document title.  If the tree
5417      head entry has or inherits an EXPORT_FILE_NAME property, that name
5418      will be used for the export.  
5420 `C-c C-e b'
5421      Export as HTML file and immediately open it with a browser.  
5423 `C-c C-e H'
5424      Export to a temporary buffer, do not create a file.  
5426 `C-c C-e H'
5427      Export the active region to a temporary buffer.  With prefix arg,
5428      do not produce file header and foot, but just the plain HTML
5429      section for the region.  This is good for cut-and-paste operations.  
5431 `C-c C-e v h'
5433 `C-c C-e v b'
5435 `C-c C-e v H'
5437 `C-c C-e v R'
5438      Export only the visible part of the document.
5440 `M-x org-export-region-as-html'
5441      Convert the region to HTML under the assumption that it was
5442      org-mode syntax before.  This is a global command that can be
5443      invoked in any buffer.
5445 `M-x org-replace-region-by-HTML'
5446      Replace the active region (assumed to be in Org-mode syntax) by
5447      HTML code.
5449    In the exported version, the first 3 outline levels will become
5450 headlines, defining a general document structure.  Additional levels
5451 will be exported as itemized lists.  If you want that transition to
5452 occur at a different level, specify it with a prefix argument.  For
5453 example,
5455      C-2 C-c C-e b
5457 creates two levels of headings and does the rest as items.
5459 \x1f
5460 File: org,  Node: Quoting HTML tags,  Next: Links,  Prev: HTML Export commands,  Up: HTML export
5462 12.2.2 Quoting HTML tags
5463 ------------------------
5465 Plain `<' and `>' are always transformed to `&lt;' and `&gt;' in HTML
5466 export.  If you want to include simple HTML tags which should be
5467 interpreted as such, mark them with `@' as in `@<b>bold text@</b>'.
5468 Note that this really works only for simple tags.  For more extensive
5469 HTML that should be copied verbatim to the exported file use either
5471      #+HTML: Literal HTML code for export
5475      #+BEGIN_HTML
5476      All lines between these markers are exported literally
5477      #+END_HTML
5479 \x1f
5480 File: org,  Node: Links,  Next: Images,  Prev: Quoting HTML tags,  Up: HTML export
5482 12.2.3 Links
5483 ------------
5485 Internal links (*note Internal links::) will continue to work in HTML
5486 files only if they match a dedicated `<<target>>'.  Automatic links
5487 created by radio targets (*note Radio targets::) will also work in the
5488 HTML file.  Links to external files will still work if the HTML file is
5489 in the same directory as the Org-mode file.  Links to other `.org'
5490 files will be translated into HTML links under the assumption that an
5491 HTML version also exists of the linked file.  For information related to
5492 linking files while publishing them to a publishing directory see *Note
5493 Publishing links::.
5495 \x1f
5496 File: org,  Node: Images,  Next: CSS support,  Prev: Links,  Up: HTML export
5498 12.2.4 Images
5499 -------------
5501 HTML export can inline images given as links in the Org-mode file, and
5502 it can make an image the clickable part of a link.  By default(1),
5503 images are inlined if a link does not have a description.  So
5504 `[[file:myimg.jpg]]' will be inlined, while `[[file:myimg.jpg][the
5505 image]]' will just produce a link `the image' that points to the image.
5506 If the description part itself is a `file:' link or a `http:' URL
5507 pointing to an image, this image will be inlined and activated so that
5508 clicking on the image will activate the link.  For example, to include
5509 a thumbnail that will link to a high resolution version of the image,
5510 you could use:
5512      [[file:highres.jpg][file:thumb.jpg]]
5514 and you could use `http' addresses just as well.
5516    ---------- Footnotes ----------
5518    (1) but see the variable `org-export-html-inline-images'
5520 \x1f
5521 File: org,  Node: CSS support,  Prev: Images,  Up: HTML export
5523 12.2.5 CSS support
5524 ------------------
5526 You can also give style information for the exported file.  The HTML
5527 exporter assigns the following CSS classes to appropriate parts of the
5528 document - your style specifications may change these:
5529      .todo           TODO keywords
5530      .done           the DONE keyword
5531      .timestamp      time stamp
5532      .timestamp-kwd  keyword associated with a time stamp, like SCHEDULED
5533      .tag            tag in a headline
5534      .target         target for links
5536    The default style specification can be configured through the option
5537 `org-export-html-style'.  If you want to use a file-local style, you
5538 may use file variables, best wrapped into a COMMENT section at the end
5539 of the outline tree.  For example(1):
5541      * COMMENT html style specifications
5543      # Local Variables:
5544      # org-export-html-style: "   <style type=\"text/css\">
5545      #       p {font-weight: normal; color: gray; }
5546      #       h1 {color: black; }
5547      #   </style>"
5548      # End:
5550    Remember to execute `M-x normal-mode' after changing this to make
5551 the new style visible to Emacs.  This command restarts org-mode for the
5552 current buffer and forces Emacs to re-evaluate the local variables
5553 section in the buffer.
5555    ---------- Footnotes ----------
5557    (1) Under Emacs 21, the continuation lines for a variable value
5558 should have no `#' at the start of the line.
5560 \x1f
5561 File: org,  Node: LaTeX export,  Next: XOXO export,  Prev: HTML export,  Up: Exporting
5563 12.3 LaTeX export
5564 =================
5566 Org-mode contains a LaTeX exporter written by Bastien Guerry.
5568 * Menu:
5570 * LaTeX export commands::       How to invoke LaTeX export
5571 * Quoting LaTeX code::          Incorporating literal LaTeX code
5573 \x1f
5574 File: org,  Node: LaTeX export commands,  Next: Quoting LaTeX code,  Prev: LaTeX export,  Up: LaTeX export
5576 12.3.1 LaTeX export commands
5577 ----------------------------
5579 `C-c C-e l'
5580      Export as LaTeX file `myfile.tex'.  
5582 `C-c C-e L'
5583      Export to a temporary buffer, do not create a file.  
5585 `C-c C-e v l'
5587 `C-c C-e v L'
5588      Export only the visible part of the document.
5590 `M-x org-export-region-as-latex'
5591      Convert the region to LaTeX under the assumption that it was
5592      org-mode syntax before.  This is a global command that can be
5593      invoked in any buffer.
5595 `M-x org-replace-region-by-latex'
5596      Replace the active region (assumed to be in Org-mode syntax) by
5597      LaTeX code.
5599    In the exported version, the first 3 outline levels will become
5600 headlines, defining a general document structure.  Additional levels
5601 will be exported as description lists.  The exporter can ignore them or
5602 convert them to a custom string depending on `org-latex-low-levels'.
5604    If you want that transition to occur at a different level, specify it
5605 with a prefix argument. For example,
5607      C-2 C-c C-e l
5609 creates two levels of headings and does the rest as items.
5611 \x1f
5612 File: org,  Node: Quoting LaTeX code,  Prev: LaTeX export commands,  Up: LaTeX export
5614 12.3.2 Quoting LaTeX code
5615 -------------------------
5617 Embedded LaTeX as described in *Note Embedded LaTeX:: will be correctly
5618 inserted into the LaTeX file.  Forthermore, you can add special code
5619 that should only be present in LaTeX export with the following
5620 constructs:
5622      #+LaTeX: Literal LaTeX code for export
5626      #+BEGIN_LaTeX
5627      All lines between these markers are exported literally
5628      #+END_LaTeX
5630 \x1f
5631 File: org,  Node: XOXO export,  Next: iCalendar export,  Prev: LaTeX export,  Up: Exporting
5633 12.4 XOXO export
5634 ================
5636 Org-mode contains an exporter that produces XOXO-style output.
5637 Currently, this exporter only handles the general outline structure and
5638 does not interpret any additional Org-mode features.
5640 `C-c C-e x'
5641      Export as XOXO file `myfile.html'.  
5643 `C-c C-e v x'
5644      Export only the visible part of the document.
5646 \x1f
5647 File: org,  Node: iCalendar export,  Next: Text interpretation,  Prev: XOXO export,  Up: Exporting
5649 12.5 iCalendar export
5650 =====================
5652 Some people like to use Org-mode for keeping track of projects, but
5653 still prefer a standard calendar application for anniversaries and
5654 appointments.  In this case it can be useful to have deadlines and
5655 other time-stamped items in Org-mode files show up in the calendar
5656 application.  Org-mode can export calendar information in the standard
5657 iCalendar format.  If you also want to have TODO entries included in the
5658 export, configure the variable `org-icalendar-include-todo'.
5660 `C-c C-e i'
5661      Create iCalendar entries for the current file and store them in
5662      the same directory, using a file extension `.ics'.  
5664 `C-c C-e I'
5665      Like `C-c C-e i', but do this for all files in `org-agenda-files'.
5666      For each of these files, a separate iCalendar file will be
5667      written.  
5669 `C-c C-e c'
5670      Create a single large iCalendar file from all files in
5671      `org-agenda-files' and write it to the file given by
5672      `org-combined-agenda-icalendar-file'.
5674    The export will honor SUMMARY, DESCRIPTION and LOCATION properties if
5675 the selected entries have them.  If not, the summary will be derived
5676 from the headline, and the description from the body (limited to
5677 `org-icalendar-include-body' characters).
5679    How this calendar is best read and updated, depends on the
5680 application you are using.  The FAQ covers this issue.
5682 \x1f
5683 File: org,  Node: Text interpretation,  Prev: iCalendar export,  Up: Exporting
5685 12.6 Text interpretation by the exporter
5686 ========================================
5688 The exporter backends interpret additional structure in the Org-mode
5689 file in order to produce better output.
5691 * Menu:
5693 * Comment lines::               Some lines will not be exported
5694 * Initial text::                Text before the first headline
5695 * Footnotes::                   Numbers like [1]
5696 * Enhancing text::              Subscripts, symbols and more
5697 * Export options::              How to influence the export settings
5699 \x1f
5700 File: org,  Node: Comment lines,  Next: Initial text,  Prev: Text interpretation,  Up: Text interpretation
5702 12.6.1 Comment lines
5703 --------------------
5705 Lines starting with `#' in column zero are treated as comments and will
5706 never be exported.  Also entire subtrees starting with the word
5707 `COMMENT' will never be exported.
5709 `C-c ;'
5710      Toggle the COMMENT keyword at the beginning of an entry.
5712 \x1f
5713 File: org,  Node: Initial text,  Next: Footnotes,  Prev: Comment lines,  Up: Text interpretation
5715 12.6.2 Text before the first headline
5716 -------------------------------------
5718 Org-mode normally ignores any text before the first headline when
5719 exporting, leaving this region for internal links to speed up navigation
5720 etc.  However, in publishing-oriented files, you might want to have some
5721 text before the first headline, like a small introduction, special HTML
5722 code with a navigation bar, etc.  You can ask to have this part of the
5723 file exported as well by setting the variable
5724 `org-export-skip-text-before-1st-heading' to `nil'.  On a per-file
5725 basis, you can get the same effect with
5727      #+OPTIONS: skip:nil
5729    The text before the first headline will be fully processed (*note
5730 Enhancing text::), and the first non-comment line becomes the title of
5731 the exported document.  If you need to include literal HTML, use the
5732 special constructs described in *Note Quoting HTML tags::.  The table
5733 of contents is normally inserted directly before the first headline of
5734 the file.  If you would like to get it to a different location, insert
5735 the string `[TABLE-OF-CONTENTS]' on a line by itself at the desired
5736 location.
5738    Finally, if you want to use the space before the first headline for
5739 internal purposes, but _still_ want to place something before the first
5740 headline when exporting the file, you can use the `#+TEXT' construct:
5742      #+OPTIONS: skip:t
5743      #+TEXT: This text will go before the *first* headline.
5744      #+TEXT: We place the table of contents here:
5745      #+TEXT: [TABLE-OF-CONTENTS]
5746      #+TEXT: This goes between the table of contents and the first headline
5748 \x1f
5749 File: org,  Node: Footnotes,  Next: Enhancing text,  Prev: Initial text,  Up: Text interpretation
5751 12.6.3 Footnotes
5752 ----------------
5754 Numbers in square brackets are treated as footnotes, so that you can use
5755 the Emacs package `footnote.el' to create footnotes.  For example:
5757      The org-mode homepage[1] clearly needs help from
5758      a good web designer.
5760      [1] The link is: http://orgmode.org
5762 Note that the `footnote' package uses `C-c !' to invoke its commands.
5763 This binding conflicts with the org-mode command for inserting inactive
5764 time stamps.  You could use the variable `footnote-prefix' to switch
5765 footnotes commands to another key.  Or, if you are too used to this
5766 binding, you could use `org-replace-disputed-keys' and
5767 `org-disputed-keys' to change the settings in Org-mode.
5769 \x1f
5770 File: org,  Node: Enhancing text,  Next: Export options,  Prev: Footnotes,  Up: Text interpretation
5772 12.6.4 Enhancing text for export
5773 --------------------------------
5775 Some of the export backends of Org-mode allow for sophisticated text
5776 formatting, this is true in particular for the HTML and LaTeX backends.
5777 Org-mode has a number of typing conventions that allow to produce a
5778 richly formatted output.
5780    * Plain lists `-', `*' or `+' as bullet, or with `1.' or `2)' as
5781      enumerator will be recognized and transformed if the backend
5782      supports lists.  See *Note Plain lists::.
5784    * You can make words *bold*, /italic/, _underlined_, `=code=', and
5785      even `+strikethrough+'(1).
5787    * A line consisting of only dashes, and at least 5 of them, will be
5788      exported as a horizontal line (`<hr/>' in HTML).
5790    * Many TeX macros and entire LaTeX fragments are converted into HTML
5791      entities or images (*note Embedded LaTeX::).
5793    * Tables are transformed into native tables under the exporter, if
5794      the export backend supports this. Data fields before the first
5795      horizontal separator line will be formatted as table header fields.
5797    * If a headline starts with the word `QUOTE', the text below the
5798      headline will be typeset as fixed-width, to allow quoting of
5799      computer codes etc.  Lines starting with `:' are also typeset in
5800      fixed-width font.
5801     `C-c :'
5802           Toggle fixed-width for entry (QUOTE) or region, see below.
5804    * A double backslash _at the end of a line_ enforces a line break at
5805      this position.
5807    If these conversions conflict with your habits of typing ASCII text,
5808 they can all be turned off with corresponding variables.  See the
5809 customization group `org-export-general', and the following section
5810 which explains how to set export options with special lines in a buffer.
5812    ---------- Footnotes ----------
5814    (1) but remember that strikethrough is typographically evil and
5815 should never be used.
5817 \x1f
5818 File: org,  Node: Export options,  Prev: Enhancing text,  Up: Text interpretation
5820 12.6.5 Export options
5821 ---------------------
5823 The exporter recognizes special lines in the buffer which provide
5824 additional information.  These lines may be put anywhere in the file.
5825 The whole set of lines can be inserted into the buffer with `C-c C-e
5826 t'.  For individual lines, a good way to make sure the keyword is
5827 correct is to type `#+' and then use `M-<TAB>' completion (*note
5828 Completion::).
5830 `C-c C-e t'
5831      Insert template with export options, see example below.
5833      #+TITLE:     the title to be shown (default is the buffer name)
5834      #+AUTHOR:    the author (default taken from `user-full-name')
5835      #+DATE:      A date, fixed, of a format string for `format-time-string'
5836      #+EMAIL:     his/her email address (default from `user-mail-address')
5837      #+LANGUAGE:  language for HTML, e.g. `en' (`org-export-default-language')
5838      #+TEXT:      Some descriptive text to be inserted at the beginning.
5839      #+TEXT:      Several lines may be given.
5840      #+OPTIONS:   H:2 num:t toc:t \n:nil @:t ::t |:t ^:t f:t TeX:t ...
5842 The OPTIONS line is a compact form to specify export settings.  Here
5843 you can: 
5844      H:         set the number of headline levels for export
5845      num:       turn on/off section-numbers
5846      toc:       turn on/off table of contents, or set level limit (integer)
5847      \n:        turn on/off linebreak-preservation
5848      @:         turn on/off quoted HTML tags
5849      ::         turn on/off fixed-width sections
5850      |:         turn on/off tables
5851      ^:         turn on/off TeX-like syntax for sub- and superscripts.  If
5852                 you write "^:{}", `a_{b}' will be interpreted, but
5853                 the simple `a_b' will be left as it is.
5854      f:         turn on/off foototes like this[1].
5855      *:         turn on/off emphasized text (bold, italic, underlined)
5856      TeX:       turn on/off simple TeX macros in plain text
5857      LaTeX:     turn on/off LaTeX fragments
5858      skip:      turn on/off skipping the text before the first heading
5859      author:    turn on/off inclusion of author name/email into exported file
5860      timestamp: turn on/off inclusion creation time into exported file
5862    These options take effect in both the HTML and LaTeX export, except
5863 for `TeX' and `LaTeX', which are respectively `t' and `nil' for the
5864 LaTeX export.
5866 \x1f
5867 File: org,  Node: Publishing,  Next: Miscellaneous,  Prev: Exporting,  Up: Top
5869 13 Publishing
5870 *************
5872 Org-mode includes(1) a publishing management system that allows you to
5873 configure automatic HTML conversion of _projects_ composed of
5874 interlinked org files.  This system is called _org-publish_.  You can
5875 also configure org-publish to automatically upload your exported HTML
5876 pages and related attachments, such as images and source code files, to
5877 a web server. Org-publish turns org-mode into a web-site authoring tool.
5879    You can also use Org-publish to convert files into LaTeX, or even
5880 combine HTML and LaTeX conversion so that files are available in both
5881 formats on the server(2).
5883    Org-publish has been contributed to Org-mode by David O'Toole.
5885 * Menu:
5887 * Configuration::               Defining projects
5888 * Sample configuration::        Example projects
5889 * Triggering publication::      Publication commands
5891    ---------- Footnotes ----------
5893    (1) `org-publish.el' is not distributed with Emacs 21, if you are
5894 still using Emacs 21, you need you need to download this file
5895 separately.
5897    (2) Since LaTeX files on a server are not that helpful, you surely
5898 want to perform further conversion on them - e.g. convert them to `PDF'
5899 format.
5901 \x1f
5902 File: org,  Node: Configuration,  Next: Sample configuration,  Prev: Publishing,  Up: Publishing
5904 13.1 Configuration
5905 ==================
5907 Publishing needs significant configuration to specify files, destination
5908 and many other properties of a project.
5910 * Menu:
5912 * Project alist::               The central configuration variable
5913 * Sources and destinations::    From here to there
5914 * Selecting files::             What files are part of the project?
5915 * Publishing action::           Setting the function doing the publishing
5916 * Publishing options::          Tweaking HTML export
5917 * Publishing links::            Which links keep working after publishing?
5918 * Project page index::          Publishing a list of project files
5920 \x1f
5921 File: org,  Node: Project alist,  Next: Sources and destinations,  Prev: Configuration,  Up: Configuration
5923 13.1.1 The variable `org-publish-project-alist'
5924 -----------------------------------------------
5926 Org-publish is configured almost entirely through setting the value of
5927 one variable, called `org-publish-project-alist'.  Each element of the
5928 list configures one project, and may be in one of the two following
5929 forms:
5931      ("project-name"  :property value :property value ...)
5933      or
5935      ("project-name"  :components ("project-name" "project-name" ...))
5937    In both cases, projects are configured by specifying property values.
5938 A project defines the set of files that will be published, as well as
5939 the publishing configuration to use when publishing those files.  When
5940 a project takes the second form listed above, the individual members of
5941 the "components" property are taken to be components of the project,
5942 which group together files requiring different publishing options. When
5943 you publish such a "meta-project" all the components will also publish.
5945 \x1f
5946 File: org,  Node: Sources and destinations,  Next: Selecting files,  Prev: Project alist,  Up: Configuration
5948 13.1.2 Sources and destinations for files
5949 -----------------------------------------
5951 Most properties are optional, but some should always be set. In
5952 particular, org-publish needs to know where to look for source files,
5953 and where to put published files.
5955 `:base-directory'      Directory containing publishing source files
5956 `:publishing-directory'Directory (possibly remote) where output files
5957                        will be published.
5958 `:preparation-function'Function called before starting publishing
5959                        process, for example to run `make' for updating
5960                        files to be published.
5962 \x1f
5963 File: org,  Node: Selecting files,  Next: Publishing action,  Prev: Sources and destinations,  Up: Configuration
5965 13.1.3 Selecting files
5966 ----------------------
5968 By default, all files with extension `.org' in the base directory are
5969 considered part of the project.  This can be modified by setting the
5970 properties
5971 `:base-extension'  Extension (without the dot!) of source files.  This
5972                    actually is a regular expression.
5973 `:exclude'         Regular expression to match file names that should
5974                    not be published, even though they have been selected
5975                    on the basis of their extension.
5976 `:include'         List of files to be included regardless of
5977                    `:base-extension' and `:exclude'.
5979 \x1f
5980 File: org,  Node: Publishing action,  Next: Publishing options,  Prev: Selecting files,  Up: Configuration
5982 13.1.4 Publishing Action
5983 ------------------------
5985 Publishing means that a file is copied to the destination directory and
5986 possibly transformed in the process.  The default transformation is to
5987 export Org-mode files as HTML files, and this is done by the function
5988 `org-publish-org-to-html' which calls the HTML exporter (*note HTML
5989 export::). But you also can publish your files in LaTeX by using the
5990 function `org-publish-org-to-latex' instead. Other files like images
5991 only need to be copied to the publishing destination. For non-Org-mode
5992 files, you need to specify the publishing function.
5994 `:publishing-function' Function executing the publication of a file.
5995                        This may also be a list of functions, which will
5996                        all be called in turn.
5998    The function must accept two arguments: a property list containing at
5999 least a `:publishing-directory' property, and the name of the file to
6000 be published.  It should take the specified file, make the necessary
6001 transformation (if any) and place the result into the destination
6002 folder.  You can write your own publishing function, but `org-publish'
6003 provides one for attachments (files that only need to be copied):
6004 `org-publish-attachment'.
6006 \x1f
6007 File: org,  Node: Publishing options,  Next: Publishing links,  Prev: Publishing action,  Up: Configuration
6009 13.1.5 Options for the HTML/LaTeX exporters
6010 -------------------------------------------
6012 The property list can be used to set many export options for the HTML
6013 and LaTeX exporters.  In most cases, these properties correspond to user
6014 variables in Org-mode.  The table below lists these properties along
6015 with the variable they belong to.  See the documentation string for the
6016 respective variable for details.
6018 `:language'            `org-export-default-language'
6019 `:headline-levels'     `org-export-headline-levels'
6020 `:section-numbers'     `org-export-with-section-numbers'
6021 `:table-of-contents'   `org-export-with-toc'
6022 `:archived-trees'      `org-export-with-archived-trees'
6023 `:emphasize'           `org-export-with-emphasize'
6024 `:sub-superscript'     `org-export-with-sub-superscripts'
6025 `:TeX-macros'          `org-export-with-TeX-macros'
6026 `:LaTeX-fragments'     `org-export-with-LaTeX-fragments'
6027 `:fixed-width'         `org-export-with-fixed-width'
6028 `:timestamps'          `org-export-with-timestamps'
6029  .                     
6030 `:tags'                `org-export-with-tags'
6031  .                     
6032 `:tables'              `org-export-with-tables'
6033 `:table-auto-headline' `org-export-highlight-first-table-line'
6034 `:style'               `org-export-html-style'
6035 `:convert-org-links'   `org-export-html-link-org-files-as-html'
6036 `:inline-images'       `org-export-html-inline-images'
6037 `:expand-quoted-html'  `org-export-html-expand'
6038 `:timestamp'           `org-export-html-with-timestamp'
6039 `:publishing-directory'`org-export-publishing-directory'
6040 `:preamble'            `org-export-html-preamble'
6041 `:postamble'           `org-export-html-postamble'
6042 `:auto-preamble'       `org-export-html-auto-preamble'
6043 `:auto-postamble'      `org-export-html-auto-postamble'
6044 `:author'              `user-full-name'
6045 `:email'               `user-mail-address'
6047    Most of the `org-export-with-*' variables have the same effect in
6048 both HTML and LaTeX exporters, except for `:TeX-macros' and
6049 `:LaTeX-fragments', respectively `nil' and `t' in the LaTeX export.
6051    When a property is given a value in org-publish-project-alist, its
6052 setting overrides the value of the corresponding user variable (if any)
6053 during publishing.  Options set within a file (*note Export options::),
6054 however, override everything.
6056 \x1f
6057 File: org,  Node: Publishing links,  Next: Project page index,  Prev: Publishing options,  Up: Configuration
6059 13.1.6 Links between published files
6060 ------------------------------------
6062 To create a link from one Org-mode file to another, you would use
6063 something like `[[file:foo.org][The foo]]' or simply `file:foo.org.'
6064 (*note Hyperlinks::).  Upon publishing this link becomes a link to
6065 `foo.html'.  In this way, you can interlink the pages of your "org web"
6066 project and the links will work as expected when you publish them to
6067 HTML.
6069    You may also link to related files, such as images. Provided you are
6070 careful with relative pathnames, and provided you have also configured
6071 org-publish to upload the related files, these links will work too.
6072 *Note Complex example:: for an example of this usage.
6074    Sometime an Org-mode file to be published may contain links that are
6075 only valid in your production environment, but not in the publishing
6076 location.  In this case, use the property
6078 `:link-validation-function'   Function to validate links
6080 to define a function for checking link validity.  This function must
6081 accept two arguments, the file name and a directory relative to which
6082 the file name is interpreted in the production environment.  If this
6083 function returns `nil', then the HTML generator will only insert a
6084 description into the HTML file, but no link.  One option for this
6085 function is `org-publish-validate-link' which checks if the given file
6086 is part of any project in `org-publish-project-alist'.
6088 \x1f
6089 File: org,  Node: Project page index,  Prev: Publishing links,  Up: Configuration
6091 13.1.7 Project page index
6092 -------------------------
6094 The following properties may be used to control publishing of an index
6095 of files or summary page for a given project.
6097 `:auto-index'      When non-nil, publish an index during
6098                    org-publish-current-project or org-publish-all.
6099 `:index-filename'  Filename for output of index. Defaults to `index.org'
6100                    (which becomes `index.html').
6101 `:index-title'     Title of index page. Defaults to name of file.
6102 `:index-function'  Plugin function to use for generation of index.
6103                    Defaults to `org-publish-org-index', which generates
6104                    a plain list of links to all files in the project.
6106 \x1f
6107 File: org,  Node: Sample configuration,  Next: Triggering publication,  Prev: Configuration,  Up: Publishing
6109 13.2 Sample configuration
6110 =========================
6112 Below we provide two example configurations.  The first one is a simple
6113 project publishing only a set of Org-mode files.  The second example is
6114 more complex, with a multi-component project.
6116 * Menu:
6118 * Simple example::              One-component publishing
6119 * Complex example::             A multi-component publishing example
6121 \x1f
6122 File: org,  Node: Simple example,  Next: Complex example,  Prev: Sample configuration,  Up: Sample configuration
6124 13.2.1 Example: simple publishing configuration
6125 -----------------------------------------------
6127 This example publishes a set of Org-mode files to the `public_html'
6128 directory on the local machine.
6130      (setq org-publish-project-alist
6131            '(("org"
6132               :base-directory "~/org/"
6133               :publishing-directory "~/public_html"
6134               :section-numbers nil
6135               :table-of-contents nil
6136               :style "<link rel=stylesheet
6137                      href=\"../other/mystyle.css\"
6138                      type=\"text/css\">")))
6140 \x1f
6141 File: org,  Node: Complex example,  Prev: Simple example,  Up: Sample configuration
6143 13.2.2 Example: complex publishing configuration
6144 ------------------------------------------------
6146 This more complicated example publishes an entire website, including
6147 org files converted to HTML, image files, emacs lisp source code, and
6148 stylesheets. The publishing-directory is remote and private files are
6149 excluded.
6151    To ensure that links are preserved, care should be taken to replicate
6152 your directory structure on the web server, and to use relative file
6153 paths. For example, if your org files are kept in `~/org' and your
6154 publishable images in `~/images', you'd link to an image with
6155      file:../images/myimage.png
6156    On the web server, the relative path to the image should be the
6157 same. You can accomplish this by setting up an "images" folder in the
6158 right place on the webserver, and publishing images to it.
6160      (setq org-publish-project-alist
6161            '(("orgfiles"
6162                :base-directory "~/org/"
6163                :base-extension "org"
6164                :publishing-directory "/ssh:user@host:~/html/notebook/"
6165                :publishing-function org-publish-org-to-html
6166                :exclude "PrivatePage.org"   ;; regexp
6167                :headline-levels 3
6168                :section-numbers nil
6169                :table-of-contents nil
6170                :style "<link rel=stylesheet
6171                        href=\"../other/mystyle.css\" type=\"text/css\">"
6172                :auto-preamble t
6173                :auto-postamble nil)
6175               ("images"
6176                :base-directory "~/images/"
6177                :base-extension "jpg\\|gif\\|png"
6178                :publishing-directory "/ssh:user@host:~/html/images/"
6179                :publishing-function org-publish-attachment)
6181               ("other"
6182                :base-directory "~/other/"
6183                :base-extension "css\\|el"
6184                :publishing-directory "/ssh:user@host:~/html/other/"
6185                :publishing-function org-publish-attachment)
6186               ("website" :components ("orgfiles" "images" "other"))))
6188 \x1f
6189 File: org,  Node: Triggering publication,  Prev: Sample configuration,  Up: Publishing
6191 13.3 Triggering publication
6192 ===========================
6194 Once org-publish is properly configured, you can publish with the
6195 following functions:
6197 `C-c C-e C'
6198      Prompt for a specific project and publish all files that belong to
6199      it.
6201 `C-c C-e P'
6202      Publish the project containing the current file.
6204 `C-c C-e F'
6205      Publish only the current file.
6207 `C-c C-e A'
6208      Publish all projects.
6210    Org uses timestamps to track when a file has changed. The above
6211 functions normally only publish changed files. You can override this and
6212 force publishing of all files by giving a prefix argument.
6214 \x1f
6215 File: org,  Node: Miscellaneous,  Next: Extensions and Hacking,  Prev: Publishing,  Up: Top
6217 14 Miscellaneous
6218 ****************
6220 * Menu:
6222 * Completion::                  M-TAB knows what you need
6223 * Customization::               Adapting Org-mode to your taste
6224 * In-buffer settings::          Overview of the #+KEYWORDS
6225 * The very busy C-c C-c key::   When in doubt, press C-c C-c
6226 * Clean view::                  Getting rid of leading stars in the outline
6227 * TTY keys::                    Using Org-mode on a tty
6228 * Interaction::                 Other Emacs packages
6229 * Bugs::                        Things which do not work perfectly
6231 \x1f
6232 File: org,  Node: Completion,  Next: Customization,  Prev: Miscellaneous,  Up: Miscellaneous
6234 14.1 Completion
6235 ===============
6237 Org-mode supports in-buffer completion.  This type of completion does
6238 not make use of the minibuffer.  You simply type a few letters into the
6239 buffer and use the key to complete text right there.
6241 `M-<TAB>'
6242      Complete word at point
6243         * At the beginning of a headline, complete TODO keywords.
6245         * After `\', complete TeX symbols supported by the exporter.
6247         * After `*', complete headlines in the current buffer so that
6248           they can be used in search links like `[[*find this
6249           headline]]'.
6251         * After `:' in a headline, complete tags.  The list of tags is
6252           taken from the variable `org-tag-alist' (possibly set through
6253           the `#+TAGS' in-buffer option, *note Setting tags::), or it
6254           is created dynamically from all tags used in the current
6255           buffer.
6257         * After `:' and not in a headline, complete property keys.  The
6258           list of keys is constructed dynamically from all keys used in
6259           the current buffer.
6261         * After `[', complete link abbreviations (*note Link
6262           abbreviations::).
6264         * After `#+', complete the special keywords like `TYP_TODO' or
6265           `OPTIONS' which set file-specific options for Org-mode.  When
6266           the option keyword is already complete, pressing `M-<TAB>'
6267           again will insert example settings for this keyword.
6269         * In the line after `#+STARTUP: ', complete startup keywords,
6270           i.e. valid keys for this line.
6272         * Elsewhere, complete dictionary words using ispell.
6274 \x1f
6275 File: org,  Node: Customization,  Next: In-buffer settings,  Prev: Completion,  Up: Miscellaneous
6277 14.2 Customization
6278 ==================
6280 There are more than 180 variables that can be used to customize
6281 Org-mode.  For the sake of compactness of the manual, I am not
6282 describing the variables here.  A structured overview of customization
6283 variables is available with `M-x org-customize'.  Or select `Browse Org
6284 Group' from the `Org->Customization' menu.  Many settings can also be
6285 activated on a per-file basis, by putting special lines into the buffer
6286 (*note In-buffer settings::).
6288 \x1f
6289 File: org,  Node: In-buffer settings,  Next: The very busy C-c C-c key,  Prev: Customization,  Up: Miscellaneous
6291 14.3 Summary of in-buffer settings
6292 ==================================
6294 Org-mode uses special lines in the buffer to define settings on a
6295 per-file basis.  These lines start with a `#+' followed by a keyword, a
6296 colon, and then individual words defining a setting.  Several setting
6297 words can be in the same line, but you can also have multiple lines for
6298 the keyword.  While these settings are described throughout the manual,
6299 here is a summary.  After changing any of those lines in the buffer,
6300 press `C-c C-c' with the cursor still in the line to activate the
6301 changes immediately.  Otherwise they become effective only when the
6302 file is visited again in a new Emacs session.
6304 `#+ARCHIVE: %s_done::'
6305      This line sets the archive location for the agenda file.  It
6306      applies for all subsequent lines until the next `#+ARCHIVE' line,
6307      or the end of the file.  The first such line also applies to any
6308      entries before it.  The corresponding variable is
6309      `org-archive-location'.
6311 `#+CATEGORY:'
6312      This line sets the category for the agenda file.  The category
6313      applies for all subsequent lines until the next `#+CATEGORY' line,
6314      or the end of the file.  The first such line also applies to any
6315      entries before it.
6317 `#+COLUMNS: %25ITEM .....'
6318      Set the default format for columns view.  This format applies when
6319      columns view is invoked in location where no COLUMNS property
6320      applies.
6322 `#+CONSTANTS: name1=value1 ...'
6323      Set file-local values for constants to be used in table formulas.
6324      This line set the local variable
6325      `org-table-formula-constants-local'.  The global version of theis
6326      variable is `org-table-formula-constants'.  corresponding
6328 `#+LINK:  linkword replace'
6329      These lines (several are allowed) specify link abbreviations.
6330      *Note Link abbreviations::.  The corresponding variable is
6331      `org-link-abbrev-alist'.
6333 `#+PRIORITIES: highest lowest default'
6334      This line sets the limits and the default for the priorities.  All
6335      three must be either letters A-Z or numbers 0-9.  The highest
6336      priority must have a lower ASCII number that the lowest priority.
6338 `#+PROPERTY: Property_Name Value'
6339      This line sets a default inheritance value for entries in the
6340      current buffer, most useful for specifying the allowed values of a
6341      property.
6343 `#+STARTUP:'
6344      This line sets options to be used at startup of Org-mode, when an
6345      Org-mode file is being visited.  The first set of options deals
6346      with the initial visibility of the outline tree.  The
6347      corresponding variable for global default settings is
6348      `org-startup-folded', with a default value `t', which means
6349      `overview'.  
6350           overview   top-level headlines only
6351           content    all headlines
6352           showall    no folding at all, show everything
6353      Then there are options for aligning tables upon visiting a file.
6354      This is useful in files containing narrowed table columns.  The
6355      corresponding variable is `org-startup-align-all-tables', with a
6356      default value `nil'.  
6357           align      align all tables
6358           noalign    don't align tables on startup
6359      Logging TODO state changes and clock intervals (variables
6360      `org-log-done' and `org-log-repeat') can be configured using these
6361      options.  
6362           logging          record a timestamp when an item is marked DONE
6363           nologging        don't record when items are marked DONE
6364           lognotedone      record timestamp and a note when DONE
6365           lognotestate     record timestamp and a note when TODO state changes
6366           logrepeat        record a note when re-instating a repeating item
6367           nologrepeat      do not record when re-instating repeating item
6368           lognoteclock-out record timestamp and a note when clocking out
6369      Here are the options for hiding leading stars in outline headings.
6370      The corresponding variables are `org-hide-leading-stars' and
6371      `org-odd-levels-only', both with a default setting `nil' (meaning
6372      `showstars' and `oddeven').  
6373           hidestars  make all but one of the stars starting a headline invisible.
6374           showstars  show all stars starting a headline
6375           odd        allow only odd outline levels (1,3,...)
6376           oddeven    allow all outline levels
6377      To turn on custom format overlays over time stamps (variables
6378      `org-put-time-stamp-overlays' and
6379      `org-time-stamp-overlay-formats'), use 
6380           customtime overlay custom time format
6381      The following options influence the table spreadsheet (variable
6382      `constants-unit-system').  
6383           constcgs   `constants.el' should use the c-g-s unit system
6384           constSI    `constants.el' should use the SI unit system
6386 `#+TAGS:  TAG1(c1) TAG2(c2)'
6387      These lines (several such lines are allowed) specify the legal
6388      tags in this file, and (potentially) the corresponding _fast tag
6389      selection_ keys.  The corresponding variable is `org-tag-alist'.
6391 `#+TBLFM:'
6392      This line contains the formulas for the table directly above the
6393      line.
6395 `#+TITLE:, #+AUTHOR:, #+EMAIL:, #+LANGUAGE:, #+TEXT:, #+OPTIONS, #+DATE:'
6396      These lines provide settings for exporting files.  For more
6397      details see *Note Export options::.
6399 `#+SEQ_TODO:   #+TYP_TODO:'
6400      These lines set the TODO keywords and their interpretation in the
6401      current file.  The corresponding variables are `org-todo-keywords'
6402      and `org-todo-interpretation'.
6404 \x1f
6405 File: org,  Node: The very busy C-c C-c key,  Next: Clean view,  Prev: In-buffer settings,  Up: Miscellaneous
6407 14.4 The very busy C-c C-c key
6408 ==============================
6410 The key `C-c C-c' has many purposes in org-mode, which are all
6411 mentioned scattered throughout this manual.  One specific function of
6412 this key is to add _tags_ to a headline (*note Tags::).  In many other
6413 circumstances it means something like _Hey Org-mode, look here and
6414 update according to what you see here_.  Here is a summary of what this
6415 means in different contexts.
6417    - If there are highlights in the buffer from the creation of a sparse
6418      tree, or from clock display, remove these highlights.
6420    - If the cursor is in one of the special `#+KEYWORD' lines, this
6421      triggers scanning the buffer for these lines and updating the
6422      information.
6424    - If the cursor is inside a table, realign the table.  This command
6425      works even if the automatic table editor has been turned off.
6427    - If the cursor is on a `#+TBLFM' line, re-apply the formulas to the
6428      entire table.
6430    - If the cursor is inside a table created by the `table.el' package,
6431      activate that table.
6433    - If the current buffer is a remember buffer, close the note and
6434      file it.  With a prefix argument, file it, without further
6435      interaction, to the default location.
6437    - If the cursor is on a `<<<target>>>', update radio targets and
6438      corresponding links in this buffer.
6440    - If the cursor is in a property line or at the start or end of a
6441      property drawer, offer property commands.
6443    - If the cursor is in a plain list item with a checkbox, toggle the
6444      status of the checkbox.
6446    - If the cursor is on a numbered item in a plain list, renumber the
6447      ordered list.
6449    - If the cursor is on the `#+BEGIN' line of a dynamical block, the
6450      block is updated.
6452 \x1f
6453 File: org,  Node: Clean view,  Next: TTY keys,  Prev: The very busy C-c C-c key,  Up: Miscellaneous
6455 14.5 A cleaner outline view
6456 ===========================
6458 Some people find it noisy and distracting that the Org-mode headlines
6459 are starting with a potentially large number of stars.  For example the
6460 tree from *Note Headlines:::
6462      * Top level headline
6463      ** Second level
6464      *** 3rd level
6465          some text
6466      *** 3rd level
6467          more text
6468      * Another top level headline
6470 Unfortunately this is deeply ingrained into the code of Org-mode and
6471 cannot be easily changed.  You can, however, modify the display in such
6472 a way that all leading stars become invisible and the outline more easy
6473 to read.  To do this, customize the variable `org-hide-leading-stars'
6474 like this:
6476      (setq org-hide-leading-stars t)
6478 or change this on a per-file basis with one of the lines (anywhere in
6479 the buffer)
6481      #+STARTUP: showstars
6482      #+STARTUP: hidestars
6484 Press `C-c C-c' with the cursor in a `STARTUP' line to activate the
6485 modifications.
6487    With stars hidden, the tree becomes:
6489      * Top level headline
6490       * Second level
6491        * 3rd level
6492          some text
6493        * 3rd level
6494          more text
6495      * Another top level headline
6497 Note that the leading stars are not truly replaced by whitespace, they
6498 are only fontified with the face `org-hide' that uses the background
6499 color as font color.  If you are not using either white or black
6500 background, you may have to customize this face to get the wanted
6501 effect.  Another possibility is to set this font such that the extra
6502 stars are almost invisible, for example using the color `grey90' on a
6503 white background.
6505    Things become cleaner still if you skip all the even levels and use
6506 only odd levels 1, 3, 5..., effectively adding two stars to go from one
6507 outline level to the next:
6509      * Top level headline
6510        * Second level
6511          * 3rd level
6512            some text
6513          * 3rd level
6514            more text
6515      * Another top level headline
6517 In order to make the structure editing and export commands handle this
6518 convention correctly, use
6520      (setq org-odd-levels-only t)
6522 or set this on a per-file basis with one of the following lines (don't
6523 forget to press `C-c C-c' with the cursor in the startup line to
6524 activate changes immediately).
6526      #+STARTUP: odd
6527      #+STARTUP: oddeven
6529    You can convert an Org-mode file from single-star-per-level to the
6530 double-star-per-level convention with `M-x org-convert-to-odd-levels
6531 RET' in that file.  The reverse operation is `M-x
6532 org-convert-to-oddeven-levels'.
6534 \x1f
6535 File: org,  Node: TTY keys,  Next: Interaction,  Prev: Clean view,  Up: Miscellaneous
6537 14.6 Using org-mode on a tty
6538 ============================
6540 Org-mode uses a number of keys that are not accessible on a tty.  This
6541 applies to most special keys like cursor keys, <TAB> and <RET>, when
6542 these are combined with modifier keys like <Meta> and/or <Shift>.
6543 Org-mode uses these bindings because it needs to provide keys for a
6544 large number of commands, and because these keys appeared particularly
6545 easy to remember.  In order to still be able to access the core
6546 functionality of Org-mode on a tty, alternative bindings are provided.
6547 Here is a complete list of these bindings, which are obviously more
6548 cumbersome to use.  Note that sometimes a work-around can be better.
6549 For example changing a time stamp is really only fun with `S-<cursor>'
6550 keys.  On a tty you would rather use `C-c .'  to re-insert the
6551 timestamp.
6553 Default     Alternative 1  Alternative 2
6554 `S-<TAB>'   `C-u <TAB>'    
6555 `M-<left>'  `C-c C-x l'    `<Esc> <left>'
6556 `M-S-<left>'`C-c C-x L'    
6557 `M-<right>' `C-c C-x r'    `<Esc>
6558                            <right>'
6559 `M-S-<right>'`C-c C-x R'    
6560 `M-<up>'    `C-c C-x u'    `<Esc> <up>'
6561 `M-S-<up>'  `C-c C-x U'    
6562 `M-<down>'  `C-c C-x d'    `<Esc> <down>'
6563 `M-S-<down>'`C-c C-x D'    
6564 `S-<RET>'   `C-c C-x c'    
6565 `M-<RET>'   `C-c C-x m'    `<Esc> <RET>'
6566 `M-S-<RET>' `C-c C-x M'    
6567 `S-<left>'  `C-c <left>'   
6568 `S-<right>' `C-c <right>'  
6569 `S-<up>'    `C-c <up>'     
6570 `S-<down>'  `C-c <down>'   
6571 `C-S-<left>'`C-c C-x       
6572             <left>'        
6573 `C-S-<right>'`C-c C-x       
6574             <right>'       
6576 \x1f
6577 File: org,  Node: Interaction,  Next: Bugs,  Prev: TTY keys,  Up: Miscellaneous
6579 14.7 Interaction with other packages
6580 ====================================
6582 Org-mode lives in the world of GNU Emacs and interacts in various ways
6583 with other code out there.
6585 * Menu:
6587 * Cooperation::                 Packages Org-mode cooperates with
6588 * Conflicts::                   Packages that lead to conflicts
6590 \x1f
6591 File: org,  Node: Cooperation,  Next: Conflicts,  Prev: Interaction,  Up: Interaction
6593 14.7.1 Packages that Org-mode cooperates with
6594 ---------------------------------------------
6596 `calc.el' by Dave Gillespie
6597      Org-mode uses the calc package for implementing spreadsheet
6598      functionality in its tables (*note The spreadsheet::).  Org-mode
6599      checks for the availability of calc by looking for the function
6600      `calc-eval' which should be autoloaded in your setup if calc has
6601      been installed properly.  As of Emacs 22, calc is part of the Emacs
6602      distribution.  Another possibility for interaction between the two
6603      packages is using calc for embedded calculations. *Note Embedded
6604      Mode: (calc)Embedded Mode.  
6606 `constants.el' by Carsten Dominik
6607      In a table formula (*note The spreadsheet::), it is possible to use
6608      names for natural constants or units.  Instead of defining your own
6609      constants in the variable `org-table-formula-constants', install
6610      the `constants' package which defines a large number of constants
6611      and units, and lets you use unit prefixes like `M' for `Mega' etc.
6612      You will need version 2.0 of this package, available at
6613      `http://www.astro.uva.nl/~dominik/Tools'. Org-mode checks for the
6614      function `constants-get', which has to be autoloaded in your
6615      setup.  See the installation instructions in the file
6616      `constants.el'.
6618 `cdlatex.el' by Carsten Dominik
6619      Org-mode can make use of the cdlatex package to efficiently enter
6620      LaTeX fragments into Org-mode files. See *Note CDLaTeX mode::.
6622 `remember.el' by John Wiegley
6623      Org mode cooperates with remember, see *Note Remember::.
6624      `Remember.el' is not part of Emacs, find it on the web.  
6626 `table.el' by Takaaki Ota
6627      Complex ASCII tables with automatic line wrapping, column- and
6628      row-spanning, and alignment can be created using the Emacs table
6629      package by Takaaki Ota (`http://sourceforge.net/projects/table',
6630      and also part of Emacs 22).  When <TAB> or `C-c C-c' is pressed in
6631      such a table, Org-mode will call `table-recognize-table' and move
6632      the cursor into the table.  Inside a table, the keymap of Org-mode
6633      is inactive.  In order to execute Org-mode-related commands, leave
6634      the table.
6636     `C-c C-c'
6637           Recognize `table.el' table.  Works when the cursor is in a
6638           table.el table.  
6640     `C-c ~'
6641           Insert a table.el table.  If there is already a table at
6642           point, this command converts it between the table.el format
6643           and the Org-mode format.  See the documentation string of the
6644           command `org-convert-table' for the restrictions under which
6645           this is possible.
6646      `table.el' is part of Emacs 22.  
6648 `footnote.el' by Steven L. Baur
6649      Org-mode recognizes numerical footnotes as provided by this package
6650      (*note Footnotes::).
6652 \x1f
6653 File: org,  Node: Conflicts,  Prev: Cooperation,  Up: Interaction
6655 14.7.2 Packages that lead to conflicts with Org-mode
6656 ----------------------------------------------------
6658 `allout.el' by Ken Manheimer
6659      Startup of Org-mode may fail with the error message
6660      `(wrong-type-argument keymapp nil)' when there is an outdated
6661      version `allout.el' on the load path, for example the version
6662      distributed with Emacs 21.x.  Upgrade to Emacs 22 and this problem
6663      will disappear.  If for some reason you cannot do this, make sure
6664      that org.el is loaded _before_ `allout.el', for example by putting
6665      `(require 'org)' early enough into your `.emacs' file.
6667 `CUA.el' by Kim. F. Storm
6668      Keybindings in Org-mode conflict with the `S-<cursor>' keys used
6669      by CUA-mode (as well as pc-select-mode and s-region-mode) to
6670      select and extend the region.  If you want to use one of these
6671      packages along with Org-mode, configure the variable
6672      `org-CUA-compatible'.  When set, Org-mode will move the following
6673      keybindings in Org-mode files, and in the agenda buffer (but not
6674      during date selection).
6676           S-UP    -> M-p             S-DOWN  -> M-n
6677           S-LEFT  -> M--             S-RIGHT -> M-+
6679      Yes, these are unfortunately more difficult to remember.  If you
6680      want to have other replacement keys, look at the variable
6681      `org-disputed-keys'.
6683 `windmove.el' by Hovav Shacham
6684      Also this package uses the `S-<cursor>' keys, so everything written
6685      in the paragraph above about CUA mode also applies here.
6687 `footnote.el' by Steven L. Baur
6688      Org-mode supports the syntax of the footnote package, but only the
6689      numerical footnote markers.  Also, the default key for footnote
6690      commands, `C-c !' is already used by Org-mode.  You could use the
6691      variable `footnote-prefix' to switch footnotes commands to another
6692      key.  Or, you could use `org-replace-disputed-keys' and
6693      `org-disputed-keys' to change the settings in Org-mode.
6696 \x1f
6697 File: org,  Node: Bugs,  Prev: Interaction,  Up: Miscellaneous
6699 14.8 Bugs
6700 =========
6702 Here is a list of things that should work differently, but which I have
6703 found too hard to fix.
6705    * If a table field starts with a link, and if the corresponding table
6706      column is narrowed (*note Narrow columns::) to a width too small to
6707      display the link, the field would look entirely empty even though
6708      it is not.  To prevent this, Org-mode throws an error.  The
6709      work-around is to make the column wide enough to fit the link, or
6710      to add some text (at least 2 characters) before the link in the
6711      same field.
6713    * Narrowing table columns does not work on XEmacs, because the
6714      `format' function does not transport text properties.
6716    * Text in an entry protected with the `QUOTE' keyword should not
6717      autowrap.
6719    * When the application called by `C-c C-o' to open a file link fails
6720      (for example because the application does not exist or refuses to
6721      open the file), it does so silently.  No error message is
6722      displayed.
6724    * Recalculating a table line applies the formulas from left to right.
6725      If a formula uses _calculated_ fields further down the row,
6726      multiple recalculation may be needed to get all fields consistent.
6727      You may use the command `org-table-iterate' (`C-u C-c *') to
6728      recalculate until convergence.
6730    * A single letter cannot be made bold, for example `*a*'.
6732    * The exporters work well, but could be made more efficient.
6734 \x1f
6735 File: org,  Node: Extensions and Hacking,  Next: History and Acknowledgments,  Prev: Miscellaneous,  Up: Top
6737 Appendix A Extensions, Hooks and Hacking
6738 ****************************************
6740 This appendix lists extensions for Org-mode written by other authors.
6741 It also covers some aspects where users can extend the functionality of
6742 Org-mode.
6744 * Menu:
6746 * Extensions::                  Existing 3rd-part extensions
6747 * Adding hyperlink types::      New custom link types
6748 * Tables in arbitrary syntax::  Orgtbl for LaTeX and other programs
6749 * Dynamic blocks::              Automatically filled blocks
6750 * Special agenda views::        Customized views
6751 * Using the property API::      Writing programs that use entry properties
6753 \x1f
6754 File: org,  Node: Extensions,  Next: Adding hyperlink types,  Prev: Extensions and Hacking,  Up: Extensions and Hacking
6756 A.1 Third-party extensions for Org-mode
6757 =======================================
6759 The following extensions for Org-mode have been written by other people:
6761 `org-publish.el' by David O'Toole
6762      This package provides facilities for publishing related sets of
6763      Org-mode files together with linked files like images as webpages.
6764      It is highly configurable and can be used for other publishing
6765      purposes as well.  As of Org-mode version 4.30, `org-publish.el'
6766      is part of the Org-mode distribution.  It is not yet part of
6767      Emacs, however, a delay caused by the preparations for the 22.1
6768      release.  In the mean time, `org-publish.el' can be downloaded
6769      from David's site: `http://dto.freeshell.org/e/org-publish.el'.  
6771 `org-mouse.el' by Piotr Zielinski
6772      This package implements extended mouse functionality for Org-mode.
6773      It allows you to cycle visibility and to edit the document
6774      structure with the mouse.  Best of all, it provides a
6775      context-sensitive menu on <mouse-3> that changes depending on the
6776      context of a mouse-click.  As of Org-mode version 4.53,
6777      `org-mouse.el' is part of the Org-mode distribution.  It is not
6778      yet part of Emacs, however, a delay caused by the preparations for
6779      the 22.1 release.  In the mean time, `org-mouse.el' can be
6780      downloaded from Piotr's site:
6781      `http://www.cl.cam.ac.uk/~pz215/files/org-mouse.el'.  
6783 `org-blog.el' by David O'Toole
6784      A blogging plug-in for `org-publish.el'.
6785      `http://dto.freeshell.org/notebook/OrgMode.html'.  
6787 `blorg.el' by Bastien Guerry
6788      Publish Org-mode files as blogs.
6789      `http://www.cognition.ens.fr/~guerry/blorg.html'.  
6791 `org2rem.el' by Bastien Guerry
6792      Translates Org-mode files into something readable by Remind.
6793      `http://www.cognition.ens.fr/~guerry/u/org2rem.el'.
6795 `org-toc.el' by Bastien Guerry
6796      Produces a simple table of contents of an Org-mode file, for easy
6797      navigation. `http://www.cognition.ens.fr/~guerry/u/org2rem.el'.
6799 `org-registry.el' by Bastien Guerry
6800      Find which Org-file link to a certain document.
6801      `http://www.cognition.ens.fr/~guerry/u/org2rem.el'.
6803 \x1f
6804 File: org,  Node: Adding hyperlink types,  Next: Tables in arbitrary syntax,  Prev: Extensions,  Up: Extensions and Hacking
6806 A.2 Adding hyperlink types
6807 ==========================
6809 Org-mode has a large number of hyperlink types built-in (*note
6810 Hyperlinks::).  If you would like to add new link types, it provides an
6811 interface for doing so.  Lets look at an example file `org-man.el' that
6812 will add support for creating links like `[[man:printf][The printf
6813 manpage]]' to show unix manual pages inside emacs:
6815      ;;; org-man.el - Support for links to manpages in Org-mode
6817      (require 'org)
6819      (org-add-link-type "man" 'org-man-open)
6820      (add-hook 'org-store-link-functions 'org-man-store-link)
6822      (defcustom org-man-command 'man
6823        "The Emacs command to be used to display a man page."
6824        :group 'org-link
6825        :type '(choice (const man) (const woman)))
6827      (defun org-man-open (path)
6828        "Visit the manpage on PATH.
6829      PATH should be a topic that can be thrown at the man command."
6830        (funcall org-man-command path))
6832      (defun org-man-store-link ()
6833        "Store a link to a manpage."
6834        (when (memq major-mode '(Man-mode woman-mode))
6835          ;; This is a man page, we do make this link
6836          (let* ((page (org-man-get-page-name))
6837                 (link (concat "man:" page))
6838                 (description (format "Manpage for %s" page)))
6839            (org-store-link-props
6840             :type "man"
6841             :link link
6842             :description description))))
6844      (defun org-man-get-page-name ()
6845        "Extract the page name from the buffer name."
6846        ;; This works for both `Man-mode' and `woman-mode'.
6847        (if (string-match " \\(\\S-+\\)\\*" (buffer-name))
6848            (match-string 1 (buffer-name))
6849          (error "Cannot create link to this man page")))
6851      (provide 'org-man)
6853      ;;; org-man.el ends here
6855 You would activate this new link type in `.emacs' with
6857      (require 'org-man)
6859 Lets go through the file and see what it does.
6860   1. It does `(require 'org)' to make sure that `org.el' has been
6861      loaded.
6863   2. The next line calls `org-add-link-type' to define a new link type
6864      with prefix `man'.  The call also contains the name of a function
6865      that will be called to follow such a link.
6867   3. The next line adds a function to `org-store-link-functions', in
6868      order to allow the command `C-c l' to record a useful link in a
6869      buffer displaying a man page.
6871    The rest of the file defines the necessary variables and functions.
6872 First there is a customization variable that determines which emacs
6873 command should be used to display manpages.  There are two options,
6874 `man' and `woman'.  Then the function to follow a link is defined.  It
6875 gets the link path as an argument - in this case the link path is just
6876 a topic for the manual command.  The function calls the value of
6877 `org-man-command' to display the man page.
6879    Finally the function `org-man-store-link' is defined.  When you try
6880 to store a link with `C-c l', also this function will be called to try
6881 to make a link.  The function must first decide if it is supposed to
6882 create the link for this buffer type, we do this by checking the value
6883 of the variable `major-mode'.  If not, the function must exit and
6884 retunr the value `nil'.  If yes, the link is created by getting the
6885 manual tpoic from the buffer name and prefixing it with the string
6886 `man:'.  Then it must call the command `org-store-link-props' and set
6887 the `:type' and `:link' properties.  Optionally you can also set the
6888 `:description' property to provide a default for the link description
6889 when the link is later inserted into tan Org-mode buffer with `C-c C-l'.
6891 \x1f
6892 File: org,  Node: Tables in arbitrary syntax,  Next: Dynamic blocks,  Prev: Adding hyperlink types,  Up: Extensions and Hacking
6894 A.3 Tables in arbitrary syntax
6895 ==============================
6897 Since Orgtbl-mode can be used as a minor mode in arbitrary buffers, a
6898 frequent feature request has been to make it work with native tables in
6899 specific languages, for example LaTeX.  However, this is extremely hard
6900 to do in a general way, would lead to a customization nightmare, and
6901 would take away much of the simplicity of the Orgtbl-mode table editor.
6903    This appendix describes a different approach.  We keep the
6904 Orgtbl-mode table in its native format (the source table), and use a
6905 custom function to translate the table to the correct syntax, and to
6906 install it in the right location (the target table).  This puts the
6907 burden of writing conversion functions on the user, but it allows for a
6908 very flexible system.
6910 * Menu:
6912 * Radio tables::                Sending and receiving
6913 * A LaTeX example::             Step by step, almost a tutorial
6914 * Translator functions::        Copy and modify
6916 \x1f
6917 File: org,  Node: Radio tables,  Next: A LaTeX example,  Prev: Tables in arbitrary syntax,  Up: Tables in arbitrary syntax
6919 A.3.1 Radio tables
6920 ------------------
6922 To define the location of the target table, you first need to create two
6923 lines that are comments in the current mode, but contain magic words for
6924 Orgtbl-mode to find.  Orgtbl-mode will insert the translated table
6925 between these lines, replacing whatever was there before.  For example:
6927      /* BEGIN RECEIVE ORGTBL table_name */
6928      /* END RECEIVE ORGTBL table_name */
6930 Just above the source table, we put a special line that tells
6931 Orgtbl-mode how to translate this table and where to install it.  For
6932 example:
6933      #+ORGTBL: SEND table_name translation_function arguments....
6935 `table_name' is the reference name for the table that is also used in
6936 the receiver lines. `translation_function' is the Lisp function that
6937 does the translation.  Furthermore, the line can contain a list of
6938 arguments (alternating key and value) at the end.  The arguments will be
6939 passed as a property list to the translation function for
6940 interpretation.  A few standard parameters are already recognized and
6941 acted upon before the translation function is called:
6943 `:skip N'
6944      Skip the first N lines of the table. Hlines do count!
6946 `:skipcols (n1 n2 ...)'
6947      List of columns that should be skipped.  If the table has a column
6948      with calculation marks, that column is automatically discarded as
6949      well.  Please note that the translator function sees the table
6950      _after_ the removal of these columns, the function never knows
6951      that there have been additional columns.
6953 The one problem remaining is how to keep the source table in the buffer
6954 without disturbing the normal workings of the file, for example during
6955 compilation of a C file or processing of a LaTeX file.  There are a
6956 number of different solutions:
6958    * The table could be placed in a block comment if that is supported
6959      by the language.  For example, in C-mode you could wrap the table
6960      between `/*' and `*/' lines.
6962    * Sometimes it is possible to put the table after some kind of END
6963      statement, for example `\bye' in TeX and `\end{document}' in LaTeX.
6965    * You can just comment the table line by line whenever you want to
6966      process the file, and uncomment it whenever you need to edit the
6967      table.  This only sounds tedious - the command `M-x
6968      orgtbl-toggle-comment' does make this comment-toggling very easy,
6969      in particular if you bind it to a key.
6971 \x1f
6972 File: org,  Node: A LaTeX example,  Next: Translator functions,  Prev: Radio tables,  Up: Tables in arbitrary syntax
6974 A.3.2 A LaTeX example
6975 ---------------------
6977 The best way to wrap the source table in LaTeX is to use the `comment'
6978 environment provided by `comment.sty'.  It has to be activated by
6979 placing `\usepackage{comment}' into the document header.  Orgtbl-mode
6980 can insert a radio table skeleton(1)  with the command `M-x
6981 orgtbl-insert-radio-table'.  You will be prompted for a table name,
6982 lets say we use `salesfigures'.  You will then get the following
6983 template:
6985      % BEGIN RECEIVE ORGTBL salesfigures
6986      % END RECEIVE ORGTBL salesfigures
6987      \begin{comment}
6988      #+ORGTBL: SEND salesfigures orgtbl-to-latex
6989      | | |
6990      \end{comment}
6992 The `#+ORGTBL: SEND' line tells orgtbl-mode to use the function
6993 `orgtbl-to-latex' to convert the table into LaTeX and to put it into
6994 the receiver location with name `salesfigures'.  You may now fill in
6995 the table, feel free to use the spreadsheet features(2):
6997      % BEGIN RECEIVE ORGTBL salesfigures
6998      % END RECEIVE ORGTBL salesfigures
6999      \begin{comment}
7000      #+ORGTBL: SEND salesfigures orgtbl-to-latex
7001      | Month | Days | Nr sold | per day |
7002      |-------+------+---------+---------|
7003      | Jan   |   23 |      55 |     2.4 |
7004      | Feb   |   21 |      16 |     0.8 |
7005      | March |   22 |     278 |    12.6 |
7006      #+TBLFM: $4=$3/$2;%.1f
7007      % $ (optional extra dollar to keep font-lock happy, see footnote)
7008      \end{comment}
7010 When you are done, press `C-c C-c' in the table to get the converted
7011 table inserted between the two marker lines.
7013    Now lets assume you want to make the table header by hand, because
7014 you want to control how columns are aligned etc.  In this case we make
7015 sure that the table translator does skip the first 2 lines of the source
7016 table, and tell the command to work as a splice, i.e. to not produce
7017 header and footer commands of the target table:
7019      \begin{tabular}{lrrr}
7020      Month & \multicolumn{1}{c}{Days} & Nr.\ sold & per day\\
7021      % BEGIN RECEIVE ORGTBL salesfigures
7022      % END RECEIVE ORGTBL salesfigures
7023      \end{tabular}
7024      %
7025      \begin{comment}
7026      #+ORGTBL: SEND salesfigures orgtbl-to-latex :splice t :skip 2
7027      | Month | Days | Nr sold | per day |
7028      |-------+------+---------+---------|
7029      | Jan   |   23 |      55 |     2.4 |
7030      | Feb   |   21 |      16 |     0.8 |
7031      | March |   22 |     278 |    12.6 |
7032      #+TBLFM: $4=$3/$2;%.1f
7033      \end{comment}
7035    The LaTeX translator function `orgtbl-to-latex' is already part of
7036 Orgtbl-mode.  It uses a `tabular' environment to typeset the table and
7037 marks horizontal lines with `\hline'.  Furthermore, it interprets the
7038 following parameters:
7040 `:splice nil/t'
7041      When set to t, return only table body lines, don't wrap them into a
7042      tabular environment.  Default is nil.
7044 `:fmt fmt'
7045      A format to be used to wrap each field, should contain `%s' for the
7046      original field value.  For example, to wrap each field value in
7047      dollars, you could use `:fmt "$%s$"'.  This may also be a property
7048      list with column numbers and formats. for example `:fmt (2 "$%s$"
7049      4 "%s\\%%")'.
7051 `:efmt efmt'
7052      Use this format to print numbers with exponentials.  The format
7053      should have `%s' twice for inserting mantissa and exponent, for
7054      example `"%s\\times10^{%s}"'.  The default is `"%s\\,(%s)"'.  This
7055      may also be a property list with column numbers and formats, for
7056      example `:efmt (2 "$%s\\times10^{%s}$" 4 "$%s\\cdot10^{%s}$")'.
7057      After `efmt' has been applied to a value, `fmt' will also be
7058      applied.
7060    ---------- Footnotes ----------
7062    (1) By default this works only for LaTeX, HTML, and TeXInfo.
7063 Configure the variable `orgtbl-radio-tables' to install templates for
7064 other modes.
7066    (2) If the `#+TBLFM' line contains an odd number of dollar
7067 characters, this may cause problems with font-lock in latex-mode.  As
7068 shown in the example you can fix this by adding an extra line inside the
7069 `comment' environment that is used to balance the dollar expressions.
7070 If you are using AUCTeX with the font-latex library, a much better
7071 solution is to add the `comment' environment to the variable
7072 `LaTeX-verbatim-environments'.
7074 \x1f
7075 File: org,  Node: Translator functions,  Prev: A LaTeX example,  Up: Tables in arbitrary syntax
7077 A.3.3 Translator functions
7078 --------------------------
7080 Orgtbl-mode has several translator functions built-in:
7081 `orgtbl-to-latex', `orgtbl-to-html', and `orgtbl-to-texinfo'.  Except
7082 for `orgtbl-to-html'(1), these all use a generic translator,
7083 `orgtbl-to-generic'.  For example, `orgtbl-to-latex' itself is a very
7084 short function that computes the column definitions for the `tabular'
7085 environment, defines a few field and line separators and then hands
7086 over to the generic translator.  Here is the entire code:
7088      (defun orgtbl-to-latex (table params)
7089        "Convert the orgtbl-mode TABLE to LaTeX."
7090        (let* ((alignment (mapconcat (lambda (x) (if x "r" "l"))
7091                                     org-table-last-alignment ""))
7092               (params2
7093                (list
7094                 :tstart (concat "\\begin{tabular}{" alignment "}")
7095                 :tend "\\end{tabular}"
7096                 :lstart "" :lend " \\\\" :sep " & "
7097                 :efmt "%s\\,(%s)" :hline "\\hline")))
7098          (orgtbl-to-generic table (org-combine-plists params2 params))))
7100    As you can see, the properties passed into the function (variable
7101 PARAMS) are combined with the ones newly defined in the function
7102 (variable PARAMS2).  The ones passed into the function (i.e. the ones
7103 set by the `ORGTBL SEND' line) take precedence.  So if you would like
7104 to use the LaTeX translator, but wanted the line endings to be
7105 `\\[2mm]' instead of the default `\\', you could just overrule the
7106 default with
7108      #+ORGTBL: SEND test orgtbl-to-latex :lend " \\\\[2mm]"
7110    For a new language, you can either write your own converter function
7111 in analogy with the LaTeX translator, or you can use the generic
7112 function directly.  For example, if you have a language where a table
7113 is started with `!BTBL!', ended with `!ETBL!', and where table lines are
7114 started with `!BL!', ended with `!EL!' and where the field separator is
7115 a TAB, you could call the generic translator like this (on a single
7116 line!):
7118      #+ORGTBL: SEND test orgtbl-to-generic :tstart "!BTBL!" :tend "!ETBL!"
7119                                    :lstart "!BL! " :lend " !EL!" :sep "\t"
7121 Please check the documentation string of the function
7122 `orgtbl-to-generic' for a full list of parameters understood by that
7123 function and remember that you can pass each of them into
7124 `orgtbl-to-latex', `orgtbl-to-texinfo', and any other function using
7125 the generic function.
7127    Of course you can also write a completely new function doing
7128 complicated things the generic translator cannot do.  A translator
7129 function takes two arguments.  The first argument is the table, a list
7130 of lines, each line either the symbol `hline' or a list of fields.  The
7131 second argument is the property list containing all parameters
7132 specified in the `#+ORGTBL: SEND' line.  The function must return a
7133 single string containing the formatted table.  If you write a generally
7134 useful translator, please post it on `emacs-orgmode@gnu.org' so that
7135 others can benefit from your work.
7137    ---------- Footnotes ----------
7139    (1) The HTML translator uses the same code that produces tables
7140 during HTML export.
7142 \x1f
7143 File: org,  Node: Dynamic blocks,  Next: Special agenda views,  Prev: Tables in arbitrary syntax,  Up: Extensions and Hacking
7145 A.4 Dynamic blocks
7146 ==================
7148 Org-mode documents can contain _dynamic blocks_.  These are specially
7149 marked regions that are updated by some user-written function.  A good
7150 example for such a block is the clock table inserted by the command
7151 `C-c C-x C-r' (*note Clocking work time::).
7153    Dynamic block are enclosed by a BEGIN-END structure that assigns a
7154 name to the block and can also specify parameters for the function
7155 producing the content of the block.
7157      #+BEGIN: myblock :parameter1 value1 :parameter2 value2 ...
7159      #+END:
7161    Dynamic blocks are updated with the following commands
7163 `C-c C-x C-u'
7164      Update dynamic block at point.  
7166 `C-u C-c C-x C-u'
7167      Update all dynamic blocks in the current file.
7169    Updating a dynamic block means to remove all the text between BEGIN
7170 and END, parse the BEGIN line for parameters and then call the specific
7171 writer function for this block to insert the new content.  For a block
7172 with name `myblock', the writer function is `org-dblock-write:myblock'
7173 with as only parameter a property list with the parameters given in the
7174 begin line.  Here is a trivial example of a block that keeps track of
7175 when the block update function was last run:
7177      #+BEGIN: block-update-time :format "on %m/%d/%Y at %H:%M"
7179      #+END:
7181 The corresponding block writer function could look like this:
7183      (defun org-dblock-write:block-update-time (params)
7184         (let ((fmt (or (plist-get params :format) "%d. %m. %Y")))
7185           (insert "Last block update at: "
7186                   (format-time-string fmt (current-time)))))
7188    If you want to make sure that all dynamic blocks are always
7189 up-to-date, you could add the function `org-update-all-dblocks' to a
7190 hook, for example `before-save-hook'.  `org-update-all-dblocks' is
7191 written in a way that is does nothing in buffers that are not in
7192 Org-mode.
7194 \x1f
7195 File: org,  Node: Special agenda views,  Next: Using the property API,  Prev: Dynamic blocks,  Up: Extensions and Hacking
7197 A.5 Special Agenda Views
7198 ========================
7200 Org-mode provides a special hook that can be used to narrow down the
7201 selection made by any of the agenda views.  You may specify a function
7202 that is used at each match to verify if the match should indeed be part
7203 of the agenda view, and if not, how much should be skipped.
7205    Let's say you want to produce a list of projects that contain a
7206 WAITING tag anywhere in the project tree.  Let's further assume that
7207 you have marked all tree headings that define a project with the todo
7208 keyword PROJECT.  In this case you would run a todo search for the
7209 keyword PROJECT, but skip the match unless there is a WAITING tag
7210 anywhere in the subtree belonging to the project line.
7212    To achieve this, you must write a function that searches the subtree
7213 for the tag.  If the tag is found, the function must return `nil' to
7214 indicate that this match should not be skipped.  If there is no such
7215 tag, return the location of the end of the subtree, to indicate that
7216 search should continue from there.
7218      (defun my-skip-unless-waiting ()
7219        "Skip trees that are not waiting"
7220        (let ((subtree-end (save-excursion (org-end-of-subtree t))))
7221          (if (re-search-forward ":WAITING:" subtree-end t)
7222              nil          ; tag found, do not skip
7223            subtree-end))) ; tag not found, continue after end of subtree
7225    Now you may use this function in an agenda custom command, for
7226 example like this:
7228      (org-add-agenda-custom-command
7229       '("b" todo "PROJECT"
7230         ((org-agenda-skip-function 'my-org-waiting-projects)
7231          (org-agenda-overriding-header "Projects waiting for something: "))))
7233    Note that this also binds `org-agenda-overriding-header' to get a
7234 meaningful header in the agenda view.
7236    You may also put a Lisp form into `org-agenda-skip-function'.  In
7237 particular, you may use the functions `org-agenda-skip-entry-if' and
7238 `org-agenda-skip-subtree-if' in this form, for example:
7240 `'(org-agenda-skip-entry-if 'scheduled)'
7241      Skip current entry if it has been scheduled.
7243 `'(org-agenda-skip-entry-if 'notscheduled)'
7244      Skip current entry if it has not been scheduled.
7246 `'(org-agenda-skip-entry-if 'deadline)'
7247      Skip current entry if it has a deadline.
7249 `'(org-agenda-skip-entry-if 'scheduled 'deadline)'
7250      Skip current entry if it has a deadline, or if it is scheduled.
7252 `'(org-agenda-skip-entry 'regexp "regular expression")'
7253      Skip current entry if the regular expression matches in the entry.
7255 `'(org-agenda-skip-entry 'notregexp "regular expression")'
7256      Skip current entry unless the regular expression matches.
7258 `'(org-agenda-skip-subtree-if 'regexp "regular expression")'
7259      Same as above, but check and skip the entire subtree.
7261    Therefore we could also have written the search for WAITING projects
7262 like this, even without defining a special function:
7264      (org-add-agenda-custom-command
7265       '("b" todo "PROJECT"
7266         ((org-agenda-skip-function '(org-agenda-skip-subtree-if
7267                                      'regexp ":WAITING:"))
7268          (org-agenda-overriding-header "Projects waiting for something: "))))
7270 \x1f
7271 File: org,  Node: Using the property API,  Prev: Special agenda views,  Up: Extensions and Hacking
7273 A.6 Using the property API
7274 ==========================
7276 Here is a description of the functions that can be used to work with
7277 properties.
7279  -- Function: org-entry-properties &optional pom which
7280      Get all properties of the entry at point-or-marker POM.  This
7281      includes the TODO keyword, the tags, time strings for deadline,
7282      scheduled, and clocking, and any additional properties defined in
7283      the entry.  The return value is an alist, keys may occur multiple
7284      times if the property key was used several times.  POM may also be
7285      nil, in which case the current entry is used.  If WHICH is nil or
7286      `all', get all properties.  If WHICH is `special' or `standard',
7287      only get that subclass.
7289  -- Function: org-entry-get pom property &optional inherit
7290      Get value of PROPERTY for entry at point-or-marker POM.  If
7291      INHERIT is non-nil and the entry does not have the property, then
7292      also check higher levels of the hierarchy.
7294  -- Function: org-entry-delete pom property
7295      Delete the property PROPERTY from entry at point-or-marker POM.
7297  -- Function: org-entry-put pom property value
7298      Set PROPERTY to VALUE for entry at point-or-marker POM.
7300  -- Function: org-buffer-property-keys &optional include-specials
7301      Get all property keys in the current buffer.
7303  -- Function: org-insert-property-drawer
7304      Insert a property drawer at point.
7306 \x1f
7307 File: org,  Node: History and Acknowledgments,  Next: Index,  Prev: Extensions and Hacking,  Up: Top
7309 Appendix B History and Acknowledgments
7310 **************************************
7312 Org-mode was borne in 2003, out of frustration over the user interface
7313 of the Emacs outline-mode.  I was trying to organize my notes and
7314 projects, and using Emacs seemed to be the natural way to go.  However,
7315 having to remember eleven different commands with two or three keys per
7316 command, only to hide and unhide parts of the outline tree, that seemed
7317 entirely unacceptable to me.  Also, when using outlines to take notes, I
7318 constantly want to restructure the tree, organizing it parallel to my
7319 thoughts and plans.  _Visibility cycling_ and _structure editing_ were
7320 originally implemented in the package `outline-magic.el', but quickly
7321 moved to the more general `org.el'.  As this environment became
7322 comfortable for project planning, the next step was adding _TODO
7323 entries_, basic _time stamps_, and _table support_.  These areas
7324 highlight the two main goals that Org-mode still has today: To create a
7325 new, outline-based, plain text mode with innovative and intuitive
7326 editing features, and to incorporate project planning functionality
7327 directly into a notes file.
7329    Since the first release, literally thousands of emails to me or on
7330 `emacs-orgmode@gnu.org' have provided a constant stream of bug reports,
7331 feedback, new ideas, and sometimes patches and add-on code.  Many
7332 thanks to everyone who has helped to improve this package.  I am trying
7333 to keep here a list of the people who had significant influence in
7334 shaping one or more aspects of Org-mode.  The list may not be complete,
7335 if I have forgotten someone, please accept my apologies and let me know.
7337    * Russel Adams came up with the idea for drawers.
7339    * Thomas Baumann contributed the code for links to the MH-E email
7340      system.
7342    * Alex Bochannek provided a patch for rounding time stamps.
7344    * Charles Cave's suggestion sparked the implementation of templates
7345      for Remember.
7347    * Pavel Chalmoviansky influenced the agenda treatment of items with
7348      specified time.
7350    * Gregory Chernov patched support for lisp forms into table
7351      calculations and improved XEmacs compatibility, in particular by
7352      porting `nouline.el' to XEmacs.
7354    * Sacha Chua suggested to copy some linking code from Planner.
7356    * Eddward DeVilla proposed and tested checkbox statistics.  He also
7357      came up with the idea of properties, and that there should be an
7358      API for them.
7360    * Kees Dullemond used to edit projects lists directly in HTML and so
7361      inspired some of the early development, including HTML export.  He
7362      also asked for a way to narrow wide table columns.
7364    * Christian Egli converted the documentation into TeXInfo format,
7365      patched CSS formatting into the HTML exporter, and inspired the
7366      agenda.
7368    * David Emery provided a patch for custom CSS support in exported
7369      HTML agendas.
7371    * Nic Ferrier contributed mailcap and XOXO support.
7373    * John Foerch figured out how to make incremental search show context
7374      around a match in a hidden outline tree.
7376    * Niels Giessen had the idea to automatically archive DONE trees.
7378    * Bastien Guerry wrote the LaTeX exporter and has been prolific with
7379      patches, ideas, and bug reports.
7381    * Kai Grossjohann pointed out key-binding conflicts with other
7382      packages.
7384    * Scott Jaderholm proposed footnotes, control over whitespace between
7385      folded entries, and column view for properties.
7387    * Shidai Liu ("Leo") asked for embedded LaTeX and tested it.  He also
7388      provided frequent feedback and some patches.
7390    * Jason F. McBrayer suggested agenda export to CSV format.
7392    * Dmitri Minaev sent a patch to set priority limits on a per-file
7393      basis.
7395    * Stefan Monnier provided a patch to keep the Emacs-Lisp compiler
7396      happy.
7398    * Rick Moynihan proposed to allow multiple TODO sequences in a file.
7400    * Todd Neal provided patches for links to Info files and elisp forms.
7402    * Tim O'Callaghan suggested in-file links, search options for general
7403      file links, and TAGS.
7405    * Takeshi Okano translated the manual and David O'Toole's tutorial
7406      into Japanese.
7408    * Oliver Oppitz suggested multi-state TODO items.
7410    * Scott Otterson sparked the introduction of descriptive text for
7411      links, among other things.
7413    * Pete Phillips helped during the development of the TAGS feature,
7414      and provided frequent feedback.
7416    * T.V. Raman reported bugs and suggested improvements.
7418    * Matthias Rempe (Oelde) provided ideas, Windows support, and quality
7419      control.
7421    * Kevin Rogers contributed code to access VM files on remote hosts.
7423    * Frank Ruell solved the mystery of the `keymapp nil' bug, a
7424      conflict with `allout.el'.
7426    * Jason Riedy sent a patch to fix a bug with export of TODO keywords.
7428    * Philip Rooke created the Org-mode reference card and provided lots
7429      of feedback.
7431    * Christian Schlauer proposed angular brackets around links, among
7432      other things.
7434    * Linking to VM/BBDB/GNUS was inspired by Tom Shannon's
7435      `organizer-mode.el'.
7437    * Daniel Sinder came up with the idea of internal archiving by
7438      locking subtrees.
7440    * Dale Smith proposed link abbreviations.
7442    * Adam Spiers asked for global linking commands and inspired the link
7443      extension system.  support mairix.
7445    * David O'Toole wrote `org-publish.el' and drafted the manual
7446      chapter about publishing.
7448    * Ju"rgen Vollmer contributed code generating the table of contents
7449      in HTML output.
7451    * Chris Wallace provided a patch implementing the `QUOTE' keyword.
7453    * David Wainberg suggested archiving, and improvements to the linking
7454      system.
7456    * John Wiegley wrote `emacs-wiki.el' and `planner.el'.  The
7457      development of Org-mode was fully independent, and both systems are
7458      really different beasts in their basic ideas and implementation
7459      details.  I later looked at John's code, however, and learned from
7460      his implementation of (i) links where the link itself is hidden
7461      and only a description is shown, and (ii) popping up a calendar to
7462      select a date.  John has also contributed a number of great ideas
7463      directly to Org-mode.
7465    * Carsten Wimmer suggested some changes and helped fix a bug in
7466      linking to GNUS.
7468    * Roland Winkler requested additional keybindings to make Org-mode
7469      work on a tty.
7471    * Piotr Zielinski wrote `org-mouse.el', proposed agenda blocks and
7472      contributed various ideas and code snippets.
7474 \x1f
7475 File: org,  Node: Index,  Next: Key Index,  Prev: History and Acknowledgments,  Up: Top
7477 Index
7478 *****
7480 \0\b[index\0\b]
7481 * Menu:
7483 * abbreviation, links:                   Link abbreviations.  (line   6)
7484 * acknowledgments:                       History and Acknowledgments.
7485                                                               (line   6)
7486 * action, for publishing:                Publishing action.   (line   6)
7487 * activation:                            Activation.          (line   6)
7488 * active region <1>:                     Structure editing.   (line  68)
7489 * active region <2>:                     ASCII export.        (line   9)
7490 * active region <3>:                     HTML Export commands.
7491                                                               (line   6)
7492 * active region:                         Built-in table editor.
7493                                                               (line 143)
7494 * agenda:                                Weekly/Daily agenda. (line   6)
7495 * agenda dispatcher:                     Agenda dispatcher.   (line   6)
7496 * agenda files:                          Agenda files.        (line   6)
7497 * agenda files, removing buffers:        Agenda commands.     (line 244)
7498 * agenda views:                          Agenda views.        (line   6)
7499 * agenda views, custom:                  Custom agenda views. (line   6)
7500 * agenda views, exporting <1>:           Exporting Agenda Views.
7501                                                               (line  12)
7502 * agenda views, exporting:               Agenda commands.     (line 233)
7503 * agenda views, user-defined:            Special agenda views.
7504                                                               (line   6)
7505 * agenda, pipe:                          Extracting Agenda Information for other programs.
7506                                                               (line   6)
7507 * agenda, with block views:              Block agenda.        (line   6)
7508 * align, STARTUP keyword:                In-buffer settings.  (line  68)
7509 * allout.el:                             Conflicts.           (line   6)
7510 * angular brackets, around links:        External links.      (line  43)
7511 * API, for properties <1>:               Using the property API.
7512                                                               (line   6)
7513 * API, for properties:                   Property API.        (line   6)
7514 * appointment reminders:                 Weekly/Daily agenda. (line  66)
7515 * appt.el:                               Weekly/Daily agenda. (line  66)
7516 * archive locations:                     Moving subtrees.     (line  23)
7517 * archiving:                             Archiving.           (line   6)
7518 * ASCII export:                          ASCII export.        (line   6)
7519 * author:                                Feedback.            (line   6)
7520 * author info, in export:                Export options.      (line  26)
7521 * autoload:                              Activation.          (line   6)
7522 * backtrace of an error:                 Feedback.            (line  27)
7523 * BBDB links:                            External links.      (line   6)
7524 * block agenda:                          Block agenda.        (line   6)
7525 * blorg.el:                              Extensions.          (line  32)
7526 * bold text:                             Enhancing text.      (line  15)
7527 * Boolean logic, for tag searches:       Tag searches.        (line  23)
7528 * bug reports:                           Feedback.            (line   6)
7529 * bugs:                                  Bugs.                (line   6)
7530 * C-c C-c, overview:                     The very busy C-c C-c key.
7531                                                               (line   6)
7532 * calc package:                          The spreadsheet.     (line   6)
7533 * calc.el:                               Cooperation.         (line   6)
7534 * calculations, in tables <1>:           Built-in table editor.
7535                                                               (line 143)
7536 * calculations, in tables:               The spreadsheet.     (line   6)
7537 * calendar commands, from agenda:        Agenda commands.     (line 196)
7538 * calendar integration:                  Weekly/Daily agenda. (line  24)
7539 * calendar, for selecting date:          The date/time prompt.
7540                                                               (line  26)
7541 * category:                              Categories.          (line   6)
7542 * CDLaTeX:                               CDLaTeX mode.        (line   6)
7543 * cdlatex.el:                            Cooperation.         (line  29)
7544 * checkbox statistics:                   Checkboxes.          (line  23)
7545 * checkboxes:                            Checkboxes.          (line   6)
7546 * children, subtree visibility state:    Visibility cycling.  (line  10)
7547 * clean outline view:                    Clean view.          (line   6)
7548 * column formula:                        Column formulas.     (line   6)
7549 * column view, for properties:           Defining columns.    (line   6)
7550 * commands, in agenda buffer:            Agenda commands.     (line   6)
7551 * comment lines:                         Comment lines.       (line   6)
7552 * completion, of dictionary words:       Completion.          (line   6)
7553 * completion, of file names:             Handling links.      (line  44)
7554 * completion, of link abbreviations:     Completion.          (line   6)
7555 * completion, of links:                  Handling links.      (line  25)
7556 * completion, of option keywords <1>:    Per file keywords.   (line  23)
7557 * completion, of option keywords <2>:    Export options.      (line   6)
7558 * completion, of option keywords:        Completion.          (line   6)
7559 * completion, of property keys:          Completion.          (line   6)
7560 * completion, of tags <1>:               Setting tags.        (line  11)
7561 * completion, of tags:                   Completion.          (line   6)
7562 * completion, of TeX symbols:            Completion.          (line   6)
7563 * completion, of TODO keywords <1>:      Workflow states.     (line  15)
7564 * completion, of TODO keywords:          Completion.          (line   6)
7565 * constants, in calculations:            References.          (line  82)
7566 * constants.el:                          Cooperation.         (line  14)
7567 * constcgs, STARTUP keyword:             In-buffer settings.  (line  94)
7568 * constSI, STARTUP keyword:              In-buffer settings.  (line  94)
7569 * content, STARTUP keyword:              In-buffer settings.  (line  61)
7570 * contents, global visibility state:     Visibility cycling.  (line  22)
7571 * copying, of subtrees:                  Structure editing.   (line   6)
7572 * creating timestamps:                   Creating timestamps. (line   6)
7573 * CUA.el:                                Conflicts.           (line  15)
7574 * custom agenda views:                   Custom agenda views. (line   6)
7575 * custom date/time format:               Custom time format.  (line   6)
7576 * custom search strings:                 Custom searches.     (line   6)
7577 * customization:                         Customization.       (line   6)
7578 * customtime, STARTUP keyword:           In-buffer settings.  (line  91)
7579 * cutting, of subtrees:                  Structure editing.   (line   6)
7580 * cycling, of TODO states:               TODO basics.         (line  13)
7581 * cycling, visibility:                   Visibility cycling.  (line   6)
7582 * daily agenda:                          Weekly/Daily agenda. (line   6)
7583 * date format, custom:                   Custom time format.  (line   6)
7584 * date range:                            Time stamps.         (line  40)
7585 * date stamps <1>:                       Timestamps.          (line   6)
7586 * date stamps:                           Time stamps.         (line   6)
7587 * date, reading in minibuffer:           The date/time prompt.
7588                                                               (line   6)
7589 * DEADLINE keyword:                      Deadlines and scheduling.
7590                                                               (line  10)
7591 * deadlines:                             Time stamps.         (line   6)
7592 * debugging, of table formulas:          Editing and debugging formulas.
7593                                                               (line  97)
7594 * demotion, of subtrees:                 Structure editing.   (line   6)
7595 * diary entries, creating from agenda:   Agenda commands.     (line 201)
7596 * diary integration:                     Weekly/Daily agenda. (line  24)
7597 * dictionary word completion:            Completion.          (line   6)
7598 * directories, for publishing:           Sources and destinations.
7599                                                               (line   6)
7600 * dispatching agenda commands:           Agenda dispatcher.   (line   6)
7601 * display changing, in agenda:           Agenda commands.     (line  65)
7602 * document structure:                    Document structure.  (line   6)
7603 * DONE, final TODO keyword:              Per file keywords.   (line  26)
7604 * drawer, for properties:                Property syntax.     (line   6)
7605 * drawers:                               Drawers.             (line   6)
7606 * dynamic blocks:                        Dynamic blocks.      (line   6)
7607 * editing tables:                        Tables.              (line   6)
7608 * editing, of table formulas:            Editing and debugging formulas.
7609                                                               (line   6)
7610 * elisp links:                           External links.      (line   6)
7611 * emphasized text:                       Export options.      (line  26)
7612 * enhancing text:                        Enhancing text.      (line   6)
7613 * evaluate time range:                   Creating timestamps. (line  48)
7614 * even, STARTUP keyword:                 In-buffer settings.  (line  84)
7615 * exporting:                             Exporting.           (line   6)
7616 * exporting agenda views <1>:            Agenda commands.     (line 233)
7617 * exporting agenda views:                Exporting Agenda Views.
7618                                                               (line  12)
7619 * exporting, not:                        Comment lines.       (line   6)
7620 * extended TODO keywords:                TODO extensions.     (line   6)
7621 * extension, third-party:                Extensions.          (line   6)
7622 * external archiving:                    Moving subtrees.     (line   6)
7623 * external links:                        External links.      (line   6)
7624 * external links, in HTML export:        Links.               (line   6)
7625 * faces, for TODO keywords:              Faces for TODO keywords.
7626                                                               (line   6)
7627 * FAQ:                                   Summary.             (line  56)
7628 * feedback:                              Feedback.            (line   6)
7629 * field formula:                         Field formulas.      (line   6)
7630 * field references:                      References.          (line  15)
7631 * file links:                            External links.      (line   6)
7632 * file links, searching:                 Search options.      (line   6)
7633 * file name completion:                  Handling links.      (line  44)
7634 * files for agenda:                      Agenda files.        (line   6)
7635 * files, adding to agenda list:          Agenda files.        (line  12)
7636 * files, selecting for publishing:       Selecting files.     (line   6)
7637 * fixed width:                           Enhancing text.      (line  28)
7638 * fixed-width sections:                  Export options.      (line  26)
7639 * folded, subtree visibility state:      Visibility cycling.  (line  10)
7640 * folding, sparse trees:                 Sparse trees.        (line   6)
7641 * following links:                       Handling links.      (line  59)
7642 * footnote.el <1>:                       Cooperation.         (line  56)
7643 * footnote.el <2>:                       Footnotes.           (line   6)
7644 * footnote.el:                           Conflicts.           (line  35)
7645 * footnotes <1>:                         Footnotes.           (line   6)
7646 * footnotes:                             Export options.      (line  26)
7647 * format specifier:                      Formula syntax for Calc.
7648                                                               (line  14)
7649 * format, of links:                      Link format.         (line   6)
7650 * formula debugging:                     Editing and debugging formulas.
7651                                                               (line  97)
7652 * formula editing:                       Editing and debugging formulas.
7653                                                               (line   6)
7654 * formula syntax, Calc:                  Formula syntax for Calc.
7655                                                               (line   6)
7656 * formula, for individual table field:   Field formulas.      (line   6)
7657 * formula, for table column:             Column formulas.     (line   6)
7658 * formula, in tables:                    Built-in table editor.
7659                                                               (line 143)
7660 * global cycling:                        Visibility cycling.  (line  22)
7661 * global keybindings:                    Activation.          (line   6)
7662 * global TODO list:                      Global TODO list.    (line   6)
7663 * global visibility states:              Visibility cycling.  (line  22)
7664 * GNUS links:                            External links.      (line   6)
7665 * grouping columns in tables:            Column groups.       (line   6)
7666 * hand-formatted lists:                  Enhancing text.      (line  11)
7667 * headline levels:                       Export options.      (line  26)
7668 * headline levels, for exporting <1>:    LaTeX export commands.
7669                                                               (line  26)
7670 * headline levels, for exporting <2>:    HTML Export commands.
7671                                                               (line  44)
7672 * headline levels, for exporting:        ASCII export.        (line  21)
7673 * headline navigation:                   Motion.              (line   6)
7674 * headline tagging:                      Tags.                (line   6)
7675 * headline, promotion and demotion:      Structure editing.   (line   6)
7676 * headlines:                             Headlines.           (line   6)
7677 * hide text:                             Visibility cycling.  (line   6)
7678 * hidestars, STARTUP keyword:            In-buffer settings.  (line  84)
7679 * hiding leading stars:                  Clean view.          (line   6)
7680 * history:                               History and Acknowledgments.
7681                                                               (line   6)
7682 * horizontal rules, in exported files:   Enhancing text.      (line  18)
7683 * HTML export:                           HTML export.         (line   6)
7684 * HTML, and orgtbl-mode:                 Translator functions.
7685                                                               (line   6)
7686 * hyperlinks:                            Hyperlinks.          (line   6)
7687 * hyperlinks, adding new types:          Adding hyperlink types.
7688                                                               (line   6)
7689 * iCalendar export:                      iCalendar export.    (line   6)
7690 * images, inline in HTML:                Images.              (line   6)
7691 * in-buffer settings:                    In-buffer settings.  (line   6)
7692 * inactive timestamp:                    Time stamps.         (line  49)
7693 * index, of published pages:             Project page index.  (line   6)
7694 * Info links:                            External links.      (line   6)
7695 * inheritance, of tags:                  Tag inheritance.     (line   6)
7696 * inlining images in HTML:               Images.              (line   6)
7697 * inserting links:                       Handling links.      (line  25)
7698 * installation:                          Installation.        (line   6)
7699 * internal archiving:                    ARCHIVE tag.         (line   6)
7700 * internal links:                        Internal links.      (line   6)
7701 * internal links, in HTML export:        Links.               (line   6)
7702 * introduction:                          Introduction.        (line   6)
7703 * italic text:                           Enhancing text.      (line  15)
7704 * jumping, to headlines:                 Motion.              (line   6)
7705 * keybindings, global:                   Activation.          (line   6)
7706 * keyword options:                       Per file keywords.   (line   6)
7707 * LaTeX export:                          LaTeX export.        (line   6)
7708 * LaTeX fragments <1>:                   Export options.      (line  26)
7709 * LaTeX fragments:                       LaTeX fragments.     (line   6)
7710 * LaTeX fragments, export:               Enhancing text.      (line  21)
7711 * LaTeX fragments, preview:              Processing LaTeX fragments.
7712                                                               (line   6)
7713 * LaTeX interpretation:                  Embedded LaTeX.      (line   6)
7714 * LaTeX, and orgtbl-mode:                A LaTeX example.     (line   6)
7715 * level, require for tags match:         Tag searches.        (line  68)
7716 * linebreak preservation:                Export options.      (line  26)
7717 * linebreak, forced:                     Enhancing text.      (line  35)
7718 * link abbreviations:                    Link abbreviations.  (line   6)
7719 * link abbreviations, completion of:     Completion.          (line   6)
7720 * link completion:                       Handling links.      (line  25)
7721 * link format:                           Link format.         (line   6)
7722 * links, external:                       External links.      (line   6)
7723 * links, finding next/previous:          Handling links.      (line  92)
7724 * links, handling:                       Handling links.      (line   6)
7725 * links, in HTML export:                 Links.               (line   6)
7726 * links, internal:                       Internal links.      (line   6)
7727 * links, publishing:                     Publishing links.    (line   6)
7728 * links, radio targets:                  Radio targets.       (line   6)
7729 * links, returning to:                   Handling links.      (line  86)
7730 * Lisp forms, as table formulas:         Formula syntax for Lisp.
7731                                                               (line   6)
7732 * lists, hand-formatted:                 Enhancing text.      (line  11)
7733 * lists, ordered:                        Plain lists.         (line   6)
7734 * lists, plain:                          Plain lists.         (line   6)
7735 * logdone, STARTUP keyword:              In-buffer settings.  (line  73)
7736 * logging, of progress:                  Progress logging.    (line   6)
7737 * lognoteclock-out, STARTUP keyword:     In-buffer settings.  (line  73)
7738 * lognotedone, STARTUP keyword:          In-buffer settings.  (line  73)
7739 * lognotestate, STARTUP keyword:         In-buffer settings.  (line  73)
7740 * logrepeat, STARTUP keyword:            In-buffer settings.  (line  73)
7741 * maintainer:                            Feedback.            (line   6)
7742 * mark ring:                             Handling links.      (line  82)
7743 * marking characters, tables:            Advanced features.   (line  40)
7744 * matching, of properties:               Matching tags and properties.
7745                                                               (line   6)
7746 * matching, of tags:                     Matching tags and properties.
7747                                                               (line   6)
7748 * matching, tags:                        Tags.                (line   6)
7749 * math symbols:                          Math symbols.        (line   6)
7750 * MH-E links:                            External links.      (line   6)
7751 * minor mode for structure editing:      orgstruct-mode.      (line   6)
7752 * minor mode for tables:                 orgtbl-mode.         (line   6)
7753 * mode, for calc:                        Formula syntax for Calc.
7754                                                               (line  14)
7755 * motion commands in agenda:             Agenda commands.     (line  19)
7756 * motion, between headlines:             Motion.              (line   6)
7757 * name, of column or field:              References.          (line  82)
7758 * named references:                      References.          (line  82)
7759 * names as TODO keywords:                TODO types.          (line   6)
7760 * narrow columns in tables:              Narrow columns.      (line   6)
7761 * noalign, STARTUP keyword:              In-buffer settings.  (line  68)
7762 * nologging, STARTUP keyword:            In-buffer settings.  (line  73)
7763 * nologrepeat, STARTUP keyword:          In-buffer settings.  (line  73)
7764 * occur, command:                        Sparse trees.        (line   6)
7765 * odd, STARTUP keyword:                  In-buffer settings.  (line  84)
7766 * option keyword completion:             Completion.          (line   6)
7767 * options, for custom agenda views:      Setting Options.     (line   6)
7768 * options, for customization:            Customization.       (line   6)
7769 * options, for export:                   Export options.      (line   6)
7770 * options, for publishing:               Publishing options.  (line   6)
7771 * ordered lists:                         Plain lists.         (line   6)
7772 * org-agenda, command:                   Weekly/Daily agenda. (line   9)
7773 * org-blog.el:                           Extensions.          (line  28)
7774 * org-mode, turning on:                  Activation.          (line  22)
7775 * org-mouse.el:                          Extensions.          (line  16)
7776 * org-publish-project-alist:             Project alist.       (line   6)
7777 * org-publish.el:                        Extensions.          (line   8)
7778 * org2rem.el:                            Extensions.          (line  36)
7779 * orgstruct-mode:                        orgstruct-mode.      (line   6)
7780 * orgtbl-mode <1>:                       Tables in arbitrary syntax.
7781                                                               (line   6)
7782 * orgtbl-mode:                           orgtbl-mode.         (line   6)
7783 * outline tree:                          Headlines.           (line   6)
7784 * outline-mode:                          Outlines.            (line   6)
7785 * outlines:                              Outlines.            (line   6)
7786 * overview, global visibility state:     Visibility cycling.  (line  22)
7787 * overview, STARTUP keyword:             In-buffer settings.  (line  61)
7788 * packages, interaction with other:      Interaction.         (line   6)
7789 * pasting, of subtrees:                  Structure editing.   (line   6)
7790 * per file keywords:                     Per file keywords.   (line   6)
7791 * plain lists:                           Plain lists.         (line   6)
7792 * plain text external links:             External links.      (line  43)
7793 * presentation, of agenda items:         Presentation and sorting.
7794                                                               (line   6)
7795 * printing sparse trees:                 Sparse trees.        (line  41)
7796 * priorities:                            Priorities.          (line   6)
7797 * priorities, of agenda items:           Sorting of agenda items.
7798                                                               (line   6)
7799 * progress logging:                      Progress logging.    (line   6)
7800 * projects, for publishing:              Project alist.       (line   6)
7801 * promotion, of subtrees:                Structure editing.   (line   6)
7802 * properties:                            Properties and columns.
7803                                                               (line   6)
7804 * properties, API <1>:                   Using the property API.
7805                                                               (line   6)
7806 * properties, API:                       Property API.        (line   6)
7807 * properties, column view:               Defining columns.    (line   6)
7808 * properties, searching:                 Property searches.   (line   6)
7809 * properties, special:                   Special properties.  (line   6)
7810 * property syntax:                       Property syntax.     (line   6)
7811 * publishing:                            Publishing.          (line   6)
7812 * quoted HTML tags:                      Export options.      (line  26)
7813 * radio tables:                          Radio tables.        (line   6)
7814 * radio targets:                         Radio targets.       (line   6)
7815 * range references:                      References.          (line  60)
7816 * ranges, time:                          Time stamps.         (line   6)
7817 * recomputing table fields:              Updating the table.  (line   6)
7818 * references:                            References.          (line   6)
7819 * references, named:                     References.          (line  82)
7820 * references, to fields:                 References.          (line  15)
7821 * references, to ranges:                 References.          (line  60)
7822 * region, active <1>:                    Built-in table editor.
7823                                                               (line 143)
7824 * region, active <2>:                    ASCII export.        (line   9)
7825 * region, active <3>:                    Structure editing.   (line  68)
7826 * region, active:                        HTML Export commands.
7827                                                               (line   6)
7828 * regular expressions, with tags search: Tag searches.        (line  63)
7829 * remember.el <1>:                       Cooperation.         (line  33)
7830 * remember.el:                           Remember.            (line   6)
7831 * remote editing, from agenda:           Agenda commands.     (line 107)
7832 * remote editing, undo:                  Agenda commands.     (line 108)
7833 * richer text:                           Enhancing text.      (line   6)
7834 * RMAIL links:                           External links.      (line   6)
7835 * SCHEDULED keyword:                     Deadlines and scheduling.
7836                                                               (line  26)
7837 * scheduling:                            Time stamps.         (line   6)
7838 * Scripts, for agenda processing:        Extracting Agenda Information for other programs.
7839                                                               (line   6)
7840 * search option in file links:           Search options.      (line   6)
7841 * search strings, custom:                Custom searches.     (line   6)
7842 * searching for tags:                    Tag searches.        (line   6)
7843 * section-numbers:                       Export options.      (line  26)
7844 * setting tags:                          Setting tags.        (line   6)
7845 * SHELL links:                           External links.      (line   6)
7846 * show all, command:                     Visibility cycling.  (line  33)
7847 * show all, global visibility state:     Visibility cycling.  (line  22)
7848 * show hidden text:                      Visibility cycling.  (line   6)
7849 * showall, STARTUP keyword:              In-buffer settings.  (line  61)
7850 * showstars, STARTUP keyword:            In-buffer settings.  (line  84)
7851 * sorting, of agenda items:              Sorting of agenda items.
7852                                                               (line   6)
7853 * sparse tree, for deadlines:            Inserting deadline/schedule.
7854                                                               (line  13)
7855 * sparse tree, for TODO:                 TODO basics.         (line  38)
7856 * sparse tree, tag based:                Tags.                (line   6)
7857 * sparse trees:                          Sparse trees.        (line   6)
7858 * special keywords:                      In-buffer settings.  (line   6)
7859 * spreadsheet capabilities:              The spreadsheet.     (line   6)
7860 * statistics, for checkboxes:            Checkboxes.          (line  23)
7861 * storing links:                         Handling links.      (line   9)
7862 * structure editing:                     Structure editing.   (line   6)
7863 * structure of document:                 Document structure.  (line   6)
7864 * sublevels, inclusion into tags match:  Tag inheritance.     (line   6)
7865 * sublevels, inclusion into todo list:   Global TODO list.    (line  34)
7866 * subscript:                             Subscripts and Superscripts.
7867                                                               (line   6)
7868 * subtree cycling:                       Visibility cycling.  (line  10)
7869 * subtree visibility states:             Visibility cycling.  (line  10)
7870 * subtree, cut and paste:                Structure editing.   (line   6)
7871 * subtree, subtree visibility state:     Visibility cycling.  (line  10)
7872 * subtrees, cut and paste:               Structure editing.   (line   6)
7873 * summary:                               Summary.             (line   6)
7874 * superscript:                           Subscripts and Superscripts.
7875                                                               (line   6)
7876 * syntax, of formulas:                   Formula syntax for Calc.
7877                                                               (line   6)
7878 * table editor, built-in:                Built-in table editor.
7879                                                               (line   6)
7880 * table editor, table.el:                Cooperation.         (line  37)
7881 * table of contents:                     Export options.      (line  26)
7882 * table.el:                              Cooperation.         (line  37)
7883 * tables <1>:                            Tables.              (line   6)
7884 * tables:                                Export options.      (line  26)
7885 * tables, export:                        Enhancing text.      (line  24)
7886 * tables, in other modes:                Tables in arbitrary syntax.
7887                                                               (line   6)
7888 * tag completion:                        Completion.          (line   6)
7889 * tag searches:                          Tag searches.        (line   6)
7890 * tags:                                  Tags.                (line   6)
7891 * tags view:                             Matching tags and properties.
7892                                                               (line   6)
7893 * tags, setting:                         Setting tags.        (line   6)
7894 * targets, for links:                    Internal links.      (line   6)
7895 * targets, radio:                        Radio targets.       (line   6)
7896 * tasks, breaking down:                  Breaking down tasks. (line   6)
7897 * templates, for remember:               Remember templates.  (line   6)
7898 * TeX interpretation:                    Embedded LaTeX.      (line   6)
7899 * TeX macros <1>:                        Export options.      (line  26)
7900 * TeX macros:                            Math symbols.        (line   6)
7901 * TeX macros, export:                    Enhancing text.      (line  21)
7902 * TeX symbol completion:                 Completion.          (line   6)
7903 * TeX-like syntax for sub- and superscripts: Export options.  (line  26)
7904 * thanks:                                History and Acknowledgments.
7905                                                               (line   6)
7906 * time format, custom:                   Custom time format.  (line   6)
7907 * time grid:                             Time-of-day specifications.
7908                                                               (line  26)
7909 * time info, in export:                  Export options.      (line  26)
7910 * time stamps <1>:                       Time stamps.         (line   6)
7911 * time stamps:                           Timestamps.          (line   6)
7912 * time, reading in minibuffer:           The date/time prompt.
7913                                                               (line   6)
7914 * time-of-day specification:             Time-of-day specifications.
7915                                                               (line   6)
7916 * time-sorted view:                      Timeline.            (line   6)
7917 * timeline, single file:                 Timeline.            (line   6)
7918 * timerange:                             Time stamps.         (line  40)
7919 * timestamp:                             Time stamps.         (line  14)
7920 * timestamp, inactive:                   Time stamps.         (line  49)
7921 * timestamp, with repeater interval:     Time stamps.         (line  24)
7922 * timestamps, creating:                  Creating timestamps. (line   6)
7923 * TODO items:                            TODO items.          (line   6)
7924 * TODO keyword matching:                 Global TODO list.    (line  17)
7925 * TODO keyword matching, with tags search: Tag searches.      (line  40)
7926 * todo keyword sets:                     Multiple sets in one file.
7927                                                               (line   6)
7928 * TODO keywords completion:              Completion.          (line   6)
7929 * TODO list, global:                     Global TODO list.    (line   6)
7930 * TODO types:                            TODO types.          (line   6)
7931 * TODO workflow:                         Workflow states.     (line   6)
7932 * transient-mark-mode <1>:               Structure editing.   (line  68)
7933 * transient-mark-mode <2>:               ASCII export.        (line   9)
7934 * transient-mark-mode <3>:               Built-in table editor.
7935                                                               (line 143)
7936 * transient-mark-mode:                   HTML Export commands.
7937                                                               (line   6)
7938 * translator function:                   Translator functions.
7939                                                               (line   6)
7940 * trees, sparse:                         Sparse trees.        (line   6)
7941 * trees, visibility:                     Visibility cycling.  (line   6)
7942 * tty keybindings:                       TTY keys.            (line   6)
7943 * types as TODO keywords:                TODO types.          (line   6)
7944 * underlined text:                       Enhancing text.      (line  15)
7945 * undoing remote-editing events:         Agenda commands.     (line 108)
7946 * updating, table:                       Updating the table.  (line   6)
7947 * URL links:                             External links.      (line   6)
7948 * USENET links:                          External links.      (line   6)
7949 * variables, for customization:          Customization.       (line   6)
7950 * vectors, in table calculations:        Formula syntax for Calc.
7951                                                               (line  11)
7952 * visibility cycling:                    Visibility cycling.  (line   6)
7953 * visibility cycling, drawers:           Drawers.             (line   6)
7954 * visible text, printing:                Sparse trees.        (line  41)
7955 * VM links:                              External links.      (line   6)
7956 * WANDERLUST links:                      External links.      (line   6)
7957 * weekly agenda:                         Weekly/Daily agenda. (line   6)
7958 * windmove.el:                           Conflicts.           (line  32)
7959 * workflow states as TODO keywords:      Workflow states.     (line   6)
7960 * XEmacs:                                Installation.        (line   6)
7961 * XOXO export:                           XOXO export.         (line   6)
7963 \x1f
7964 File: org,  Node: Key Index,  Prev: Index,  Up: Top
7966 Key Index
7967 *********
7969 \0\b[index\0\b]
7970 * Menu:
7972 * $:                                     Agenda commands.     (line 122)
7973 * ':                                     CDLaTeX mode.        (line  43)
7974 * +:                                     Agenda commands.     (line 145)
7975 * ,:                                     Agenda commands.     (line 137)
7976 * -:                                     Agenda commands.     (line 151)
7977 * .:                                     Agenda commands.     (line  99)
7978 * ::                                     Agenda commands.     (line 130)
7979 * < <1>:                                 Using column view.   (line  54)
7980 * <:                                     The date/time prompt.
7981                                                               (line  32)
7982 * <left>:                                Agenda commands.     (line  96)
7983 * <RET> <1>:                             Built-in table editor.
7984                                                               (line  64)
7985 * <RET> <2>:                             Agenda commands.     (line  39)
7986 * <RET> <3>:                             The date/time prompt.
7987                                                               (line  57)
7988 * <RET>:                                 Setting tags.        (line  76)
7989 * <right>:                               Agenda commands.     (line  91)
7990 * <SPC> <1>:                             Setting tags.        (line  73)
7991 * <SPC>:                                 Agenda commands.     (line  28)
7992 * <TAB> <1>:                             Editing and debugging formulas.
7993                                                               (line  57)
7994 * <TAB> <2>:                             Agenda commands.     (line  33)
7995 * <TAB> <3>:                             Visibility cycling.  (line  10)
7996 * <TAB> <4>:                             Plain lists.         (line  41)
7997 * <TAB> <5>:                             Built-in table editor.
7998                                                               (line  57)
7999 * <TAB> <6>:                             Setting tags.        (line  68)
8000 * <TAB>:                                 CDLaTeX mode.        (line  23)
8001 * > <1>:                                 Using column view.   (line  54)
8002 * > <2>:                                 Agenda commands.     (line 173)
8003 * >:                                     The date/time prompt.
8004                                                               (line  33)
8005 * ^:                                     CDLaTeX mode.        (line  33)
8006 * _:                                     CDLaTeX mode.        (line  33)
8007 * `:                                     CDLaTeX mode.        (line  39)
8008 * a <1>:                                 Using column view.   (line  43)
8009 * a:                                     Agenda commands.     (line 134)
8010 * b:                                     Agenda commands.     (line  49)
8011 * C:                                     Agenda commands.     (line 216)
8012 * c:                                     Agenda commands.     (line 196)
8013 * C-#:                                   Advanced features.   (line   9)
8014 * C-':                                   Agenda files.        (line  18)
8015 * C-,:                                   Agenda files.        (line  18)
8016 * C-<RET>:                               Structure editing.   (line  18)
8017 * C-_:                                   Agenda commands.     (line 108)
8018 * C-c ! <1>:                             Footnotes.           (line  14)
8019 * C-c !:                                 Creating timestamps. (line  19)
8020 * C-c #:                                 Checkboxes.          (line  57)
8021 * C-c %:                                 Handling links.      (line  82)
8022 * C-c &:                                 Handling links.      (line  86)
8023 * C-c ':                                 Editing and debugging formulas.
8024                                                               (line  36)
8025 * C-c *:                                 Updating the table.  (line  13)
8026 * C-c +:                                 Built-in table editor.
8027                                                               (line 143)
8028 * C-c ,:                                 Priorities.          (line  18)
8029 * C-c - <1>:                             Plain lists.         (line  88)
8030 * C-c -:                                 Built-in table editor.
8031                                                               (line  92)
8032 * C-c .:                                 Creating timestamps. (line  10)
8033 * C-c /:                                 Sparse trees.        (line  15)
8034 * C-c ::                                 Enhancing text.      (line  32)
8035 * C-c ;:                                 Comment lines.       (line  10)
8036 * C-c <:                                 Creating timestamps. (line  23)
8037 * C-c <TAB>:                             Built-in table editor.
8038                                                               (line 163)
8039 * C-c = <1>:                             Editing and debugging formulas.
8040                                                               (line  14)
8041 * C-c =:                                 Column formulas.     (line  26)
8042 * C-c >:                                 Creating timestamps. (line  27)
8043 * C-c ?:                                 Editing and debugging formulas.
8044                                                               (line  24)
8045 * C-c [:                                 Agenda files.        (line  12)
8046 * C-c \:                                 Tag searches.        (line   9)
8047 * C-c ]:                                 Agenda files.        (line  15)
8048 * C-c ^ <1>:                             Structure editing.   (line  56)
8049 * C-c ^:                                 Built-in table editor.
8050                                                               (line  96)
8051 * C-c `:                                 Built-in table editor.
8052                                                               (line 159)
8053 * C-c a !:                               Stuck projects.      (line  14)
8054 * C-c a #:                               Stuck projects.      (line  13)
8055 * C-c a a:                               Weekly/Daily agenda. (line   9)
8056 * C-c a C:                               Storing searches.    (line   9)
8057 * C-c a e:                               Exporting Agenda Views.
8058                                                               (line  57)
8059 * C-c a L:                               Timeline.            (line  10)
8060 * C-c a M:                               Tag searches.        (line  16)
8061 * C-c a m <1>:                           Tag searches.        (line  12)
8062 * C-c a m:                               Matching tags and properties.
8063                                                               (line  10)
8064 * C-c a M:                               Matching tags and properties.
8065                                                               (line  15)
8066 * C-c a T:                               Global TODO list.    (line  14)
8067 * C-c a t <1>:                           Global TODO list.    (line   9)
8068 * C-c a t:                               TODO basics.         (line  48)
8069 * C-c C-a:                               Visibility cycling.  (line  33)
8070 * C-c C-b:                               Motion.              (line  15)
8071 * C-c C-c <1>:                           Processing LaTeX fragments.
8072                                                               (line  15)
8073 * C-c C-c <2>:                           Cooperation.         (line  37)
8074 * C-c C-c <3>:                           The very busy C-c C-c key.
8075                                                               (line   6)
8076 * C-c C-c <4>:                           Clocking work time.  (line  89)
8077 * C-c C-c <5>:                           Property syntax.     (line  54)
8078 * C-c C-c <6>:                           Setting tags.        (line  10)
8079 * C-c C-c <7>:                           Checkboxes.          (line  37)
8080 * C-c C-c <8>:                           TODO basics.         (line  30)
8081 * C-c C-c <9>:                           Editing and debugging formulas.
8082                                                               (line  46)
8083 * C-c C-c <10>:                          Built-in table editor.
8084                                                               (line  56)
8085 * C-c C-c:                               Plain lists.         (line  81)
8086 * C-c C-d <1>:                           Agenda commands.     (line 158)
8087 * C-c C-d:                               Inserting deadline/schedule.
8088                                                               (line   9)
8089 * C-c C-e:                               Exporting.           (line  20)
8090 * C-c C-e a:                             ASCII export.        (line   9)
8091 * C-c C-e b:                             HTML Export commands.
8092                                                               (line  13)
8093 * C-c C-e c:                             iCalendar export.    (line  21)
8094 * C-c C-e H:                             HTML Export commands.
8095                                                               (line  16)
8096 * C-c C-e h:                             HTML Export commands.
8097                                                               (line   6)
8098 * C-c C-e I:                             iCalendar export.    (line  16)
8099 * C-c C-e i:                             iCalendar export.    (line  14)
8100 * C-c C-e l:                             LaTeX export commands.
8101                                                               (line   6)
8102 * C-c C-e L:                             LaTeX export commands.
8103                                                               (line   7)
8104 * C-c C-e R:                             HTML Export commands.
8105                                                               (line  19)
8106 * C-c C-e t:                             Export options.      (line  13)
8107 * C-c C-e v <1>:                         XOXO export.         (line  11)
8108 * C-c C-e v:                             Sparse trees.        (line  41)
8109 * C-c C-e v a:                           ASCII export.        (line  16)
8110 * C-c C-e v b:                           HTML Export commands.
8111                                                               (line  24)
8112 * C-c C-e v H:                           HTML Export commands.
8113                                                               (line  24)
8114 * C-c C-e v h:                           HTML Export commands.
8115                                                               (line  24)
8116 * C-c C-e v l:                           LaTeX export commands.
8117                                                               (line  10)
8118 * C-c C-e v L:                           LaTeX export commands.
8119                                                               (line  10)
8120 * C-c C-e v R:                           HTML Export commands.
8121                                                               (line  24)
8122 * C-c C-e x:                             XOXO export.         (line  10)
8123 * C-c C-f:                               Motion.              (line  12)
8124 * C-c C-j:                               Motion.              (line  21)
8125 * C-c C-l:                               Handling links.      (line  25)
8126 * C-c C-n:                               Motion.              (line   8)
8127 * C-c C-o <1>:                           Handling links.      (line  59)
8128 * C-c C-o:                               Creating timestamps. (line  31)
8129 * C-c C-p:                               Motion.              (line   9)
8130 * C-c C-q <1>:                           Built-in table editor.
8131                                                               (line 127)
8132 * C-c C-q:                               Editing and debugging formulas.
8133                                                               (line  50)
8134 * C-c C-r <1>:                           Editing and debugging formulas.
8135                                                               (line  53)
8136 * C-c C-r:                               Visibility cycling.  (line  34)
8137 * C-c C-s <1>:                           Inserting deadline/schedule.
8138                                                               (line  20)
8139 * C-c C-s:                               Agenda commands.     (line 155)
8140 * C-c C-t <1>:                           TODO basics.         (line  13)
8141 * C-c C-t:                               Clocking work time.  (line  30)
8142 * C-c C-u:                               Motion.              (line  18)
8143 * C-c C-v:                               TODO basics.         (line  38)
8144 * C-c C-w:                               Inserting deadline/schedule.
8145                                                               (line  13)
8146 * C-c C-x /:                             Agenda files.        (line  22)
8147 * C-c C-x b:                             Visibility cycling.  (line  41)
8148 * C-c C-x C-a:                           ARCHIVE tag.         (line  28)
8149 * C-c C-x C-b:                           Checkboxes.          (line  39)
8150 * C-c C-x C-c <1>:                       Agenda commands.     (line 223)
8151 * C-c C-x C-c:                           Using column view.   (line   9)
8152 * C-c C-x C-d:                           Clocking work time.  (line  42)
8153 * C-c C-x C-i:                           Clocking work time.  (line  12)
8154 * C-c C-x C-j:                           Clocking work time.  (line  38)
8155 * C-c C-x C-k:                           Structure editing.   (line  43)
8156 * C-c C-x C-l:                           Processing LaTeX fragments.
8157                                                               (line   9)
8158 * C-c C-x C-n:                           Handling links.      (line  92)
8159 * C-c C-x C-o:                           Clocking work time.  (line  17)
8160 * C-c C-x C-p:                           Handling links.      (line  92)
8161 * C-c C-x C-r:                           Clocking work time.  (line  50)
8162 * C-c C-x C-s:                           Moving subtrees.     (line  10)
8163 * C-c C-x C-t:                           Custom time format.  (line  12)
8164 * C-c C-x C-u <1>:                       Dynamic blocks.      (line  21)
8165 * C-c C-x C-u:                           Clocking work time.  (line  91)
8166 * C-c C-x C-w <1>:                       Structure editing.   (line  43)
8167 * C-c C-x C-w:                           Built-in table editor.
8168                                                               (line 116)
8169 * C-c C-x C-x:                           Clocking work time.  (line  34)
8170 * C-c C-x C-y <1>:                       Built-in table editor.
8171                                                               (line 120)
8172 * C-c C-x C-y:                           Structure editing.   (line  50)
8173 * C-c C-x M-w <1>:                       Structure editing.   (line  47)
8174 * C-c C-x M-w:                           Built-in table editor.
8175                                                               (line 113)
8176 * C-c C-y <1>:                           Clocking work time.  (line  25)
8177 * C-c C-y:                               Creating timestamps. (line  48)
8178 * C-c l:                                 Handling links.      (line   9)
8179 * C-c { <1>:                             CDLaTeX mode.        (line  21)
8180 * C-c {:                                 Editing and debugging formulas.
8181                                                               (line  33)
8182 * C-c |:                                 Built-in table editor.
8183                                                               (line  40)
8184 * C-c }:                                 Editing and debugging formulas.
8185                                                               (line  28)
8186 * C-c ~:                                 Cooperation.         (line  48)
8187 * C-k:                                   Agenda commands.     (line 116)
8188 * C-S-<left>:                            Multiple sets in one file.
8189                                                               (line  25)
8190 * C-S-<right>:                           Multiple sets in one file.
8191                                                               (line  25)
8192 * C-TAB:                                 ARCHIVE tag.         (line  38)
8193 * C-u C-c *:                             Updating the table.  (line  16)
8194 * C-u C-c .:                             Creating timestamps. (line  14)
8195 * C-u C-c = <1>:                         Field formulas.      (line  24)
8196 * C-u C-c =:                             Editing and debugging formulas.
8197                                                               (line  14)
8198 * C-u C-c C-c:                           Updating the table.  (line  19)
8199 * C-u C-c C-l:                           Handling links.      (line  44)
8200 * C-u C-c C-t:                           TODO basics.         (line  22)
8201 * C-u C-c C-x C-a:                       ARCHIVE tag.         (line  31)
8202 * C-u C-c C-x C-s:                       Moving subtrees.     (line  14)
8203 * C-u C-c C-x C-u <1>:                   Clocking work time.  (line  93)
8204 * C-u C-c C-x C-u:                       Dynamic blocks.      (line  22)
8205 * C-u C-u C-c *:                         Updating the table.  (line  22)
8206 * C-u C-u C-c =:                         Editing and debugging formulas.
8207                                                               (line  18)
8208 * C-u C-u C-c C-c:                       Updating the table.  (line  22)
8209 * C-x C-s <1>:                           Agenda commands.     (line  87)
8210 * C-x C-s:                               Editing and debugging formulas.
8211                                                               (line  46)
8212 * C-x C-w <1>:                           Exporting Agenda Views.
8213                                                               (line  11)
8214 * C-x C-w:                               Agenda commands.     (line 232)
8215 * d:                                     Agenda commands.     (line  66)
8216 * D:                                     Agenda commands.     (line  72)
8217 * e:                                     Using column view.   (line  33)
8218 * f:                                     Agenda commands.     (line  42)
8219 * g:                                     Agenda commands.     (line  76)
8220 * H:                                     Agenda commands.     (line 220)
8221 * I:                                     Agenda commands.     (line 178)
8222 * i:                                     Agenda commands.     (line 201)
8223 * J:                                     Agenda commands.     (line 190)
8224 * L:                                     Agenda commands.     (line  30)
8225 * l:                                     Agenda commands.     (line  55)
8226 * m:                                     Agenda commands.     (line  66)
8227 * M:                                     Agenda commands.     (line 207)
8228 * M-<down> <1>:                          Editing and debugging formulas.
8229                                                               (line  76)
8230 * M-<down>:                              Built-in table editor.
8231                                                               (line  82)
8232 * M-<left> <1>:                          Structure editing.   (line  25)
8233 * M-<left>:                              Built-in table editor.
8234                                                               (line  74)
8235 * M-<RET> <1>:                           Plain lists.         (line  49)
8236 * M-<RET>:                               Structure editing.   (line   6)
8237 * M-<right> <1>:                         Built-in table editor.
8238                                                               (line  74)
8239 * M-<right>:                             Structure editing.   (line  28)
8240 * M-<TAB> <1>:                           Setting tags.        (line   6)
8241 * M-<TAB> <2>:                           Completion.          (line  10)
8242 * M-<TAB> <3>:                           Property syntax.     (line  46)
8243 * M-<TAB> <4>:                           Per file keywords.   (line  23)
8244 * M-<TAB>:                               Editing and debugging formulas.
8245                                                               (line  64)
8246 * M-<up> <1>:                            Built-in table editor.
8247                                                               (line  82)
8248 * M-<up>:                                Editing and debugging formulas.
8249                                                               (line  76)
8250 * M-S-<down> <1>:                        Built-in table editor.
8251                                                               (line  89)
8252 * M-S-<down> <2>:                        Plain lists.         (line  66)
8253 * M-S-<down> <3>:                        Editing and debugging formulas.
8254                                                               (line  72)
8255 * M-S-<down>:                            Structure editing.   (line  40)
8256 * M-S-<left> <1>:                        Plain lists.         (line  72)
8257 * M-S-<left> <2>:                        Structure editing.   (line  31)
8258 * M-S-<left> <3>:                        Built-in table editor.
8259                                                               (line  76)
8260 * M-S-<left>:                            The date/time prompt.
8261                                                               (line  54)
8262 * M-S-<RET> <1>:                         Structure editing.   (line  22)
8263 * M-S-<RET> <2>:                         Plain lists.         (line  59)
8264 * M-S-<RET>:                             Checkboxes.          (line  54)
8265 * M-S-<right> <1>:                       Built-in table editor.
8266                                                               (line  79)
8267 * M-S-<right> <2>:                       Structure editing.   (line  34)
8268 * M-S-<right> <3>:                       Plain lists.         (line  72)
8269 * M-S-<right>:                           The date/time prompt.
8270                                                               (line  51)
8271 * M-S-<up> <1>:                          Plain lists.         (line  66)
8272 * M-S-<up> <2>:                          Built-in table editor.
8273                                                               (line  86)
8274 * M-S-<up> <3>:                          Structure editing.   (line  37)
8275 * M-S-<up>:                              Editing and debugging formulas.
8276                                                               (line  72)
8277 * mouse-1 <1>:                           Handling links.      (line  73)
8278 * mouse-1 <2>:                           Agenda commands.     (line  33)
8279 * mouse-1:                               The date/time prompt.
8280                                                               (line  36)
8281 * mouse-2 <1>:                           Handling links.      (line  73)
8282 * mouse-2:                               Agenda commands.     (line  33)
8283 * mouse-3 <1>:                           Agenda commands.     (line  28)
8284 * mouse-3:                               Handling links.      (line  78)
8285 * n <1>:                                 Agenda commands.     (line  19)
8286 * n:                                     Using column view.   (line  30)
8287 * o:                                     Agenda commands.     (line  65)
8288 * O:                                     Agenda commands.     (line 182)
8289 * p <1>:                                 Using column view.   (line  30)
8290 * p:                                     Agenda commands.     (line  20)
8291 * P:                                     Agenda commands.     (line 142)
8292 * q <1>:                                 Using column view.   (line  17)
8293 * q:                                     Agenda commands.     (line 243)
8294 * r <1>:                                 Agenda commands.     (line  80)
8295 * r:                                     Global TODO list.    (line  22)
8296 * s:                                     Agenda commands.     (line  87)
8297 * S:                                     Agenda commands.     (line 211)
8298 * S-<down> <1>:                          Editing and debugging formulas.
8299                                                               (line  67)
8300 * S-<down> <2>:                          Priorities.          (line  23)
8301 * S-<down> <3>:                          Plain lists.         (line  62)
8302 * S-<down> <4>:                          Creating timestamps. (line  40)
8303 * S-<down> <5>:                          The date/time prompt.
8304                                                               (line  45)
8305 * S-<down>:                              Agenda commands.     (line 151)
8306 * S-<left> <1>:                          Property syntax.     (line  62)
8307 * S-<left> <2>:                          The date/time prompt.
8308                                                               (line  42)
8309 * S-<left> <3>:                          Editing and debugging formulas.
8310                                                               (line  67)
8311 * S-<left> <4>:                          Creating timestamps. (line  35)
8312 * S-<left> <5>:                          TODO basics.         (line  26)
8313 * S-<left> <6>:                          Agenda commands.     (line 169)
8314 * S-<left> <7>:                          Using column view.   (line  26)
8315 * S-<left>:                              Multiple sets in one file.
8316                                                               (line  29)
8317 * S-<RET>:                               Built-in table editor.
8318                                                               (line 146)
8319 * S-<right> <1>:                         The date/time prompt.
8320                                                               (line  39)
8321 * S-<right> <2>:                         Multiple sets in one file.
8322                                                               (line  29)
8323 * S-<right> <3>:                         Editing and debugging formulas.
8324                                                               (line  67)
8325 * S-<right> <4>:                         Agenda commands.     (line 161)
8326 * S-<right> <5>:                         Creating timestamps. (line  35)
8327 * S-<right> <6>:                         TODO basics.         (line  26)
8328 * S-<right> <7>:                         Using column view.   (line  26)
8329 * S-<right>:                             Property syntax.     (line  62)
8330 * S-<TAB> <1>:                           Visibility cycling.  (line  22)
8331 * S-<TAB>:                               Built-in table editor.
8332                                                               (line  61)
8333 * S-<up> <1>:                            Plain lists.         (line  62)
8334 * S-<up> <2>:                            Creating timestamps. (line  40)
8335 * S-<up> <3>:                            The date/time prompt.
8336                                                               (line  48)
8337 * S-<up> <4>:                            Editing and debugging formulas.
8338                                                               (line  67)
8339 * S-<up> <5>:                            Agenda commands.     (line 145)
8340 * S-<up>:                                Priorities.          (line  23)
8341 * S-M-<left>:                            Using column view.   (line  58)
8342 * S-M-<RET>:                             TODO basics.         (line  56)
8343 * S-M-<right>:                           Using column view.   (line  55)
8344 * t:                                     Agenda commands.     (line 112)
8345 * T:                                     Agenda commands.     (line 125)
8346 * v:                                     Using column view.   (line  39)
8347 * w:                                     Agenda commands.     (line  66)
8348 * X:                                     Agenda commands.     (line 185)
8349 * x:                                     Agenda commands.     (line 244)
8350 * y:                                     Agenda commands.     (line  66)
8353 \x1f
8354 Tag Table:
8355 Node: Top\x7f971
8356 Node: Introduction\x7f13083
8357 Node: Summary\x7f13498
8358 Node: Installation\x7f16625
8359 Node: Activation\x7f18003
8360 Node: Feedback\x7f19240
8361 Node: Document structure\x7f21309
8362 Node: Outlines\x7f22201
8363 Node: Headlines\x7f22866
8364 Ref: Headlines-Footnote-1\x7f23870
8365 Node: Visibility cycling\x7f23981
8366 Ref: Visibility cycling-Footnote-1\x7f26191
8367 Ref: Visibility cycling-Footnote-2\x7f26249
8368 Ref: Visibility cycling-Footnote-3\x7f26299
8369 Node: Motion\x7f26569
8370 Node: Structure editing\x7f27523
8371 Node: Archiving\x7f30517
8372 Node: ARCHIVE tag\x7f31075
8373 Node: Moving subtrees\x7f32868
8374 Ref: Moving subtrees-Footnote-1\x7f34415
8375 Node: Sparse trees\x7f34702
8376 Ref: Sparse trees-Footnote-1\x7f36837
8377 Ref: Sparse trees-Footnote-2\x7f37019
8378 Node: Plain lists\x7f37134
8379 Ref: Plain lists-Footnote-1\x7f41331
8380 Ref: Plain lists-Footnote-2\x7f41689
8381 Node: Drawers\x7f41870
8382 Node: orgstruct-mode\x7f42708
8383 Node: Tables\x7f43608
8384 Node: Built-in table editor\x7f44189
8385 Node: Narrow columns\x7f51595
8386 Ref: Narrow columns-Footnote-1\x7f53530
8387 Node: Column groups\x7f53576
8388 Node: orgtbl-mode\x7f55109
8389 Node: The spreadsheet\x7f55912
8390 Node: References\x7f56999
8391 Ref: References-Footnote-1\x7f61463
8392 Node: Formula syntax for Calc\x7f61752
8393 Node: Formula syntax for Lisp\x7f64209
8394 Node: Field formulas\x7f65927
8395 Node: Column formulas\x7f67235
8396 Node: Editing and debugging formulas\x7f68834
8397 Node: Updating the table\x7f72987
8398 Node: Advanced features\x7f74040
8399 Node: Hyperlinks\x7f78565
8400 Node: Link format\x7f79343
8401 Node: Internal links\x7f80636
8402 Ref: Internal links-Footnote-1\x7f82561
8403 Node: Radio targets\x7f82696
8404 Node: External links\x7f83396
8405 Node: Handling links\x7f85800
8406 Ref: Handling links-Footnote-1\x7f91116
8407 Ref: Handling links-Footnote-2\x7f91353
8408 Node: Using links outside Org-mode\x7f91427
8409 Node: Link abbreviations\x7f91937
8410 Node: Search options\x7f93630
8411 Ref: Search options-Footnote-1\x7f95410
8412 Node: Custom searches\x7f95491
8413 Node: TODO items\x7f96522
8414 Node: TODO basics\x7f97560
8415 Node: TODO extensions\x7f99765
8416 Node: Workflow states\x7f100709
8417 Ref: Workflow states-Footnote-1\x7f101884
8418 Node: TODO types\x7f101977
8419 Ref: TODO types-Footnote-1\x7f103560
8420 Node: Multiple sets in one file\x7f103642
8421 Node: Fast access to TODO states\x7f105262
8422 Node: Per file keywords\x7f106405
8423 Ref: Per file keywords-Footnote-1\x7f107707
8424 Node: Faces for TODO keywords\x7f107908
8425 Node: Progress logging\x7f108614
8426 Node: Closing items\x7f109045
8427 Ref: Closing items-Footnote-1\x7f109979
8428 Ref: Closing items-Footnote-2\x7f110184
8429 Node: Tracking TODO state changes\x7f110257
8430 Ref: Tracking TODO state changes-Footnote-1\x7f111442
8431 Node: Priorities\x7f111517
8432 Ref: Priorities-Footnote-1\x7f113167
8433 Node: Breaking down tasks\x7f113237
8434 Ref: Breaking down tasks-Footnote-1\x7f113757
8435 Node: Checkboxes\x7f113853
8436 Node: Tags\x7f116702
8437 Node: Tag inheritance\x7f117474
8438 Node: Setting tags\x7f118411
8439 Ref: Setting tags-Footnote-1\x7f122934
8440 Ref: Setting tags-Footnote-2\x7f123046
8441 Node: Tag searches\x7f123129
8442 Node: Properties and columns\x7f125846
8443 Node: Property syntax\x7f126951
8444 Node: Special properties\x7f129498
8445 Node: Property searches\x7f130414
8446 Node: Column view\x7f131069
8447 Node: Defining columns\x7f132236
8448 Node: Scope of column definitions\x7f132634
8449 Node: Column attributes\x7f133556
8450 Node: Using column view\x7f135804
8451 Node: Property API\x7f137791
8452 Node: Timestamps\x7f138145
8453 Node: Time stamps\x7f138556
8454 Ref: Time stamps-Footnote-1\x7f140910
8455 Node: Creating timestamps\x7f141026
8456 Node: The date/time prompt\x7f143100
8457 Ref: The date/time prompt-Footnote-1\x7f145088
8458 Node: Custom time format\x7f145194
8459 Node: Deadlines and scheduling\x7f146886
8460 Ref: Deadlines and scheduling-Footnote-1\x7f148959
8461 Node: Inserting deadline/schedule\x7f149114
8462 Node: Repeated tasks\x7f150232
8463 Ref: Repeated tasks-Footnote-1\x7f151910
8464 Node: Clocking work time\x7f152031
8465 Ref: Clocking work time-Footnote-1\x7f156878
8466 Ref: Clocking work time-Footnote-2\x7f156956
8467 Node: Remember\x7f157082
8468 Node: Setting up remember\x7f157964
8469 Node: Remember templates\x7f158567
8470 Ref: Remember templates-Footnote-1\x7f162084
8471 Ref: Remember templates-Footnote-2\x7f162267
8472 Node: Storing notes\x7f162365
8473 Ref: Storing notes-Footnote-1\x7f164844
8474 Node: Agenda views\x7f164946
8475 Node: Agenda files\x7f166897
8476 Ref: Agenda files-Footnote-1\x7f167989
8477 Ref: Agenda files-Footnote-2\x7f168138
8478 Node: Agenda dispatcher\x7f168331
8479 Node: Built-in agenda views\x7f170030
8480 Node: Weekly/Daily agenda\x7f170612
8481 Node: Global TODO list\x7f173949
8482 Node: Matching tags and properties\x7f176229
8483 Node: Timeline\x7f177320
8484 Node: Stuck projects\x7f177994
8485 Node: Presentation and sorting\x7f179847
8486 Node: Categories\x7f180640
8487 Ref: Categories-Footnote-1\x7f181351
8488 Node: Time-of-day specifications\x7f181671
8489 Node: Sorting of agenda items\x7f183644
8490 Node: Agenda commands\x7f184928
8491 Node: Custom agenda views\x7f192391
8492 Node: Storing searches\x7f193112
8493 Node: Block agenda\x7f195026
8494 Node: Setting Options\x7f196258
8495 Node: Exporting Agenda Views\x7f198999
8496 Ref: Exporting Agenda Views-Footnote-1\x7f203285
8497 Ref: Exporting Agenda Views-Footnote-2\x7f203342
8498 Node: Extracting Agenda Information for other programs\x7f203528
8499 Node: Embedded LaTeX\x7f207656
8500 Ref: Embedded LaTeX-Footnote-1\x7f208750
8501 Node: Math symbols\x7f208940
8502 Node: Subscripts and Superscripts\x7f209707
8503 Node: LaTeX fragments\x7f210553
8504 Ref: LaTeX fragments-Footnote-1\x7f212786
8505 Ref: LaTeX fragments-Footnote-2\x7f213047
8506 Node: Processing LaTeX fragments\x7f213181
8507 Node: CDLaTeX mode\x7f214129
8508 Ref: CDLaTeX mode-Footnote-1\x7f216615
8509 Node: Exporting\x7f216763
8510 Node: ASCII export\x7f218230
8511 Node: HTML export\x7f219731
8512 Node: HTML Export commands\x7f220357
8513 Node: Quoting HTML tags\x7f222144
8514 Node: Links\x7f222779
8515 Node: Images\x7f223476
8516 Ref: Images-Footnote-1\x7f224347
8517 Node: CSS support\x7f224408
8518 Ref: CSS support-Footnote-1\x7f225727
8519 Node: LaTeX export\x7f225840
8520 Node: LaTeX export commands\x7f226164
8521 Node: Quoting LaTeX code\x7f227326
8522 Node: XOXO export\x7f227831
8523 Node: iCalendar export\x7f228271
8524 Node: Text interpretation\x7f229740
8525 Node: Comment lines\x7f230331
8526 Node: Initial text\x7f230726
8527 Node: Footnotes\x7f232395
8528 Node: Enhancing text\x7f233186
8529 Ref: Enhancing text-Footnote-1\x7f235055
8530 Node: Export options\x7f235145
8531 Node: Publishing\x7f237498
8532 Ref: Publishing-Footnote-1\x7f238459
8533 Ref: Publishing-Footnote-2\x7f238603
8534 Node: Configuration\x7f238754
8535 Node: Project alist\x7f239472
8536 Node: Sources and destinations\x7f240538
8537 Node: Selecting files\x7f241268
8538 Node: Publishing action\x7f242016
8539 Node: Publishing options\x7f243350
8540 Node: Publishing links\x7f245725
8541 Node: Project page index\x7f247238
8542 Node: Sample configuration\x7f248016
8543 Node: Simple example\x7f248508
8544 Node: Complex example\x7f249181
8545 Node: Triggering publication\x7f251257
8546 Node: Miscellaneous\x7f251942
8547 Node: Completion\x7f252576
8548 Node: Customization\x7f254246
8549 Node: In-buffer settings\x7f254829
8550 Node: The very busy C-c C-c key\x7f260391
8551 Node: Clean view\x7f262246
8552 Node: TTY keys\x7f264823
8553 Node: Interaction\x7f266433
8554 Node: Cooperation\x7f266830
8555 Node: Conflicts\x7f269706
8556 Node: Bugs\x7f271709
8557 Node: Extensions and Hacking\x7f273205
8558 Node: Extensions\x7f273930
8559 Node: Adding hyperlink types\x7f276192
8560 Node: Tables in arbitrary syntax\x7f279854
8561 Node: Radio tables\x7f280943
8562 Node: A LaTeX example\x7f283446
8563 Ref: A LaTeX example-Footnote-1\x7f287092
8564 Ref: A LaTeX example-Footnote-2\x7f287240
8565 Node: Translator functions\x7f287675
8566 Ref: Translator functions-Footnote-1\x7f290784
8567 Node: Dynamic blocks\x7f290872
8568 Node: Special agenda views\x7f292844
8569 Node: Using the property API\x7f296089
8570 Node: History and Acknowledgments\x7f297570
8571 Node: Index\x7f304132
8572 Node: Key Index\x7f338909
8573 \x1f
8574 End Tag Table