Release 5.03
[org-mode/org-mode-NeilSmithlineMods.git] / org
blob03b15ee3a5b30cf687e9889da4bf91a2957985e4
1 This is org, produced by makeinfo version 4.8 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.03).
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.03).
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::
55 * Timestamps::                  Assign date and time to items
56 * Agenda views::                Collecting information into views
57 * Embedded LaTeX::              LaTeX fragments and formulas
58 * Exporting::                   Sharing and publishing of notes
59 * Publishing::                  Create a web site of linked Org-mode files
60 * Miscellaneous::               All the rest which did not fit elsewhere
61 * Extensions and Hacking::      It is possible to write add-on code
62 * History and Acknowledgments::  How Org-mode came into being
63 * Index::                       The fast road to specific information
64 * Key Index::                   Key bindings and where they are described
66  --- The Detailed Node Listing ---
68 Introduction
70 * Summary::                     Brief summary of what Org-mode does
71 * Installation::                How to install a downloaded version of Org-mode
72 * Activation::                  How to activate Org-mode for certain buffers.
73 * Feedback::                    Bug reports, ideas, patches etc.
75 Document Structure
77 * Outlines::                    Org-mode is based on outline-mode
78 * Headlines::                   How to typeset org-tree headlines
79 * Visibility cycling::          Show and hide, much simplified
80 * Motion::                      Jumping to other headlines
81 * Structure editing::           Changing sequence and level of headlines
82 * Archiving::                   Move done task trees to a different place
83 * Sparse trees::                Matches embedded in context
84 * Plain lists::                 Additional structure within an entry
85 * Drawers::                     Tucking stuff away
86 * orgstruct-mode::              Structure editing outside Org-mode
88 Archiving
90 * ARCHIVE tag::                 Marking a tree as inactive
91 * Moving subtrees::             Moving a tree to an archive file
93 Tables
95 * Built-in table editor::       Simple tables
96 * Narrow columns::              Stop wasting space in tables
97 * Column groups::               Grouping to trigger vertical lines
98 * orgtbl-mode::                 The table editor as minor mode
99 * The spreadsheet::             The table editor has spreadsheet capabilities.
101 The spreadsheet
103 * References::                  How to refer to another field or range
104 * Formula syntax for Calc::     Using Calc to compute stuff
105 * Formula syntax for Lisp::     Writing formulas in Emacs Lisp
106 * Field formulas::              Formulas valid for a single field
107 * Column formulas::             Formulas valid for an entire column
108 * Editing and debugging formulas::  Fixing formulas
109 * Updating the table::          Recomputing all dependent fields
110 * Advanced features::           Field names, parameters and automatic recalc
112 Hyperlinks
114 * Link format::                 How links in Org-mode are formatted
115 * Internal links::              Links to other places in the current file
116 * External links::              URL-like links to the world
117 * Handling links::              Creating, inserting and following
118 * Link abbreviations::          Shortcuts for writing complex links
119 * Search options::              Linking to a specific location
120 * Custom searches::             When the default search is not enough
121 * Remember::                    Org-trees store quick notes
123 Internal links
125 * Radio targets::               Make targets trigger links in plain text.
127 Remember
129 * Setting up remember::         Some code for .emacs to get things going
130 * Remember templates::          Define the outline of different note types
131 * Storing notes::               Directly get the note to where it belongs
133 TODO items
135 * TODO basics::                 Marking and displaying TODO entries
136 * TODO extensions::             Workflow and assignments
137 * Priorities::                  Some things are more important than others
138 * Breaking down tasks::         Splitting a task into manageable pieces
139 * Checkboxes::                  Tick-off lists
141 Extended use of TODO keywords
143 * Workflow states::             From TODO to DONE in steps
144 * TODO types::                  I do this, Fred the rest
145 * Multiple sets in one file::   Mixing it all, and still finding your way
146 * Per file keywords::           Different files, different requirements
148 Tags
150 * Tag inheritance::             Tags use the tree structure of the outline
151 * Setting tags::                How to assign tags to a headline
152 * Tag searches::                Searching for combinations of tags
154 Properties and Columns
156 * Property syntax::             How properties are spelled out
157 * Special properties::          Access to other Org-mode features
158 * Property searches::           Matching property values
159 * Column view::                 Tabular viewing and editing
160 * Property API::                Properties for Lisp programmers
162 Column View
164 * Defining columns::            The COLUMNS format property
165 * Using column view::           How to create and use column view
167 Defining Columns
169 * Scope of column definitions::
170 * Column attributes::
172 Timestamps
174 * Time stamps::                 Assigning a time to a tree entry
175 * Creating timestamps::         Commands which insert timestamps
176 * Deadlines and scheduling::    Planning your work
177 * Progress logging::            Documenting when what work was done.
179 Creating timestamps
181 * The date/time prompt::        How org-mode helps you entering date and time
182 * Custom time format::          Making dates look differently
184 Deadlines and Scheduling
186 * Inserting deadline/schedule::
187 * Repeated tasks::
189 Progress Logging
191 * Closing items::               When was this entry marked DONE?
192 * Tracking TODO state changes::  When did the status change?
193 * Clocking work time::          When exactly did you work on this item?
195 Agenda Views
197 * Agenda files::                Files being searched for agenda information
198 * Agenda dispatcher::           Keyboard access to agenda views
199 * Built-in agenda views::       What is available out of the box?
200 * Presentation and sorting::    How agenda items are prepared for display
201 * Agenda commands::             Remote editing of org trees
202 * Custom agenda views::         Defining special searches and views
204 The built-in agenda views
206 * Weekly/Daily agenda::         The calendar page with current tasks
207 * Global TODO list::            All unfinished action items
208 * Matching tags and properties::  Structured information with fine-tuned search
209 * Timeline::                    Time-sorted view for single file
210 * Stuck projects::              Find projects you need to review
212 Presentation and sorting
214 * Categories::                  Not all tasks are equal
215 * Time-of-day specifications::  How the agenda knows the time
216 * Sorting of agenda items::     The order of things
218 Custom agenda views
220 * Storing searches::            Type once, use often
221 * Block agenda::                All the stuff you need in a single buffer
222 * Setting Options::             Changing the rules
223 * Exporting Agenda Views::      Writing agendas to files.
224 * Extracting Agenda Information for other programs::
226 Embedded LaTeX
228 * Math symbols::                TeX macros for symbols and Greek letters
229 * Subscripts and Superscripts::  Simple syntax for raising/lowering text
230 * LaTeX fragments::             Complex formulas made easy
231 * Processing LaTeX fragments::  Previewing LaTeX processing
232 * CDLaTeX mode::                Speed up entering of formulas
234 Exporting
236 * ASCII export::                Exporting to plain ASCII
237 * HTML export::                 Exporting to HTML
238 * XOXO export::                 Exporting to XOXO
239 * iCalendar export::            Exporting in iCalendar format
240 * Text interpretation::         How the exporter looks at the file
242 HTML export
244 * Export commands::             How to invoke HTML export
245 * Quoting HTML tags::           Using direct HTML in Org-mode
246 * Links::                       How hyperlinks get transferred to HTML
247 * Images::                      To inline or not to inline?
248 * CSS support::                 Style specifications
250 Text interpretation by the exporter
252 * Comment lines::               Some lines will not be exported
253 * Initial text::                Text before the first headline
254 * Footnotes::                   Numbers like [1]
255 * Enhancing text::              Subscripts, symbols and more
256 * Export options::              How to influence the export settings
258 Publishing
260 * Configuration::               Defining projects
261 * Sample configuration::        Example projects
262 * Triggering publication::      Publication commands
264 Configuration
266 * Project alist::               The central configuration variable
267 * Sources and destinations::    From here to there
268 * Selecting files::             What files are part of the project?
269 * Publishing action::           Setting the function doing the publishing
270 * Publishing options::          Tweaking HTML export
271 * Publishing links::            Which links keep working after publishing?
272 * Project page index::          Publishing a list of project files
274 Sample configuration
276 * Simple example::              One-component publishing
277 * Complex example::             A multi-component publishing example
279 Miscellaneous
281 * Completion::                  M-TAB knows what you need
282 * Customization::               Adapting Org-mode to your taste
283 * In-buffer settings::          Overview of the #+KEYWORDS
284 * The very busy C-c C-c key::   When in doubt, press C-c C-c
285 * Clean view::                  Getting rid of leading stars in the outline
286 * TTY keys::                    Using Org-mode on a tty
287 * Interaction::                 Other Emacs packages
288 * Bugs::                        Things which do not work perfectly
290 Interaction with other packages
292 * Cooperation::                 Packages Org-mode cooperates with
293 * Conflicts::                   Packages that lead to conflicts
295 Extensions, Hooks and Hacking
297 * Extensions::                  Existing 3rd-part extensions
298 * Tables in arbitrary syntax::  Orgtbl for LaTeX and other programs
299 * Dynamic blocks::              Automatically filled blocks
300 * Special agenda views::        Customized views
301 * Using the property API::      Writing programs that use entry properties
303 Tables in arbitrary syntax
305 * Radio tables::                Sending and receiving
306 * A LaTeX example::             Step by step, almost a tutorial
307 * Translator functions::        Copy and modify
309 \x1f
310 File: org,  Node: Introduction,  Next: Document structure,  Prev: Top,  Up: Top
312 1 Introduction
313 **************
315 * Menu:
317 * Summary::                     Brief summary of what Org-mode does
318 * Installation::                How to install a downloaded version of Org-mode
319 * Activation::                  How to activate Org-mode for certain buffers.
320 * Feedback::                    Bug reports, ideas, patches etc.
322 \x1f
323 File: org,  Node: Summary,  Next: Installation,  Prev: Introduction,  Up: Introduction
325 1.1 Summary
326 ===========
328 Org-mode is a mode for keeping notes, maintaining TODO lists, and doing
329 project planning with a fast and effective plain-text system.
331    Org-mode develops organizational tasks around NOTES files that
332 contain lists or information about projects as plain text.  Org-mode is
333 implemented on top of outline-mode, which makes it possible to keep the
334 content of large files well structured.  Visibility cycling and
335 structure editing help to work with the tree.  Tables are easily created
336 with a built-in table editor.  Org-mode supports TODO items, deadlines,
337 time stamps, and scheduling.  It dynamically compiles entries into an
338 agenda that utilizes and smoothly integrates much of the Emacs calendar
339 and diary.  Plain text URL-like links connect to websites, emails,
340 Usenet messages, BBDB entries, and any files related to the projects.
341 For printing and sharing of notes, an Org-mode file can be exported as a
342 structured ASCII file, as HTML, or (todo and agenda items only) as an
343 iCalendar file.  It can also serve as a publishing tool for a set of
344 linked webpages.
346    An important design aspect that distinguishes Org-mode from for
347 example Planner/Muse is that it encourages to store every piece of
348 information only once.  In Planner, you have project pages, day pages
349 and possibly other files, duplicating some information such as tasks.
350 In Org-mode, you only have notes files.  In your notes you mark entries
351 as tasks, label them with tags and timestamps.  All necessary lists
352 like a schedule for the day, the agenda for a meeting, tasks lists
353 selected by tags etc are created dynamically when you need them.
355    Org-mode keeps simple things simple.  When first fired up, it should
356 feel like a straightforward, easy to use outliner.  Complexity is not
357 imposed, but a large amount of functionality is available when you need
358 it.  Org-mode is a toolbox and can be used in different ways, for
359 example as:
361      * outline extension with visibility cycling and structure editing
362      * ASCII system and table editor for taking structured notes
363      * ASCII table editor with spreadsheet-like capabilities
364      * TODO list editor
365      * full agenda and planner with deadlines and work scheduling
366      * environment to implement David Allen's GTD system
367      * a basic database application
368      * simple hypertext system, with HTML export
369      * publishing tool to create a set of interlinked webpages
371    Org-mode's automatic, context sensitive table editor with spreadsheet
372 capabilities can be integrated into any major mode by activating the
373 minor Orgtbl-mode.  Using a translation step, it can be used to maintain
374 tables in arbitrary file types, for example in LaTeX.  The structure
375 editing and list creation capabilities can be used outside Org-mode with
376 the minor Orgstruct-mode.
378    There is a website for Org-mode which provides links to the newest
379 version of Org-mode, as well as additional information, frequently asked
380 questions (FAQ), links to tutorials etc.  This page is located at
381 `http://www.astro.uva.nl/~dominik/Tools/org/'.
383 \x1f
384 File: org,  Node: Installation,  Next: Activation,  Prev: Summary,  Up: Introduction
386 1.2 Installation
387 ================
389 Important: If Org-mode is part of the Emacs distribution or an XEmacs
390 package, please skip this section and go directly to *Note Activation::.
392    If you have downloaded Org-mode from the Web, you must take the
393 following steps to install it: Go into the Org-mode distribution
394 directory and edit the top section of the file `Makefile'.  You must
395 set the name of the Emacs binary (likely either `emacs' or `xemacs'),
396 and the paths to the directories where local Lisp and Info files are
397 kept.  If you don't have access to the system-wide directories, create
398 your own two directories for these files, enter them into the Makefile,
399 and make sure Emacs finds the Lisp files by adding the following line
400 to `.emacs':
402      (setq load-path (cons "~/path/to/lispdir" load-path))
404    XEmacs users now need to install the file `noutline.el' from the
405 `xemacs' subdirectory of the Org-mode distribution.  Use the command:
407      make install-noutline
409 Now byte-compile and install the Lisp files with the shell commands:
411      make
412      make install
414 If you want to install the info documentation, use this command:
416      make install-info
418 Then add to `.emacs':
420      ;; This line only if org-mode is not part of the X/Emacs distribution.
421      (require 'org-install)
423 \x1f
424 File: org,  Node: Activation,  Next: Feedback,  Prev: Installation,  Up: Introduction
426 1.3 Activation
427 ==============
429 Add the following lines to your `.emacs' file.  The last two lines
430 define _global_ keys for the commands `org-store-link' and `org-agenda'
431 - please choose suitable keys yourself.
433      ;; The following lines are always needed.  Choose your own keys.
434      (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
435      (define-key global-map "\C-cl" 'org-store-link)
436      (define-key global-map "\C-ca" 'org-agenda)
438    Furthermore, you must activate `font-lock-mode' in org-mode buffers,
439 because significant functionality depends on font-locking being active.
440 You can do this with either one of the following two lines (XEmacs
441 user must use the second option):
442      (global-font-lock-mode 1)                     ; for all buffers
443      (add-hook 'org-mode-hook 'turn-on-font-lock)  ; org-mode buffers only
445    With this setup, all files with extension `.org' will be put into
446 Org-mode.  As an alternative, make the first line of a file look like
447 this:
449      MY PROJECTS    -*- mode: org; -*-
451 which will select Org-mode for this buffer no matter what the file's
452 name is.  See also the variable `org-insert-mode-line-in-empty-file'.
454 \x1f
455 File: org,  Node: Feedback,  Prev: Activation,  Up: Introduction
457 1.4 Feedback
458 ============
460 If you find problems with Org-mode, or if you have questions, remarks,
461 or ideas about it, please contact the maintainer Carsten Dominik at
462 <dominik at science dot uva dot nl>.
464    For bug reports, please provide as much information as possible,
465 including the version information of Emacs (`C-h v emacs-version
466 <RET>') and Org-mode (`C-h v org-version <RET>'), as well as the
467 Org-mode related setup in `.emacs'.  If an error occurs, a backtrace
468 can be very useful (see below on how to create one).  Often a small
469 example file helps, along with clear information about:
471   1. What exactly did you do?
473   2. What did you expect to happen?
475   3. What happened instead?
476         Thank you for helping to improve this mode.
478 How to create a useful backtrace
479 ................................
481 If working with Org-mode produces an error with a message you don't
482 understand, you may have hit a bug.  The best way to report this is by
483 providing, in addition to what was mentioned above, a _Backtrace_.
484 This is information from the built-in debugger about where and how the
485 error occurred.  Here is how to produce a useful backtrace:
487   1. Start a fresh Emacs or XEmacs, and make sure that it will load the
488      original Lisp code in `org.el' instead of the compiled version in
489      `org.elc'.  The backtrace contains much more information if it is
490      produced with uncompiled code.  To do this, either rename `org.elc'
491      to something else before starting Emacs, or ask Emacs explicitly
492      to load `org.el' by using the command line
493           emacs -l /path/to/org.el
495   2. Go to the `Options' menu and select `Enter Debugger on Error'
496      (XEmacs has this option in the `Troubleshooting' sub-menu).
498   3. Do whatever you have to do to hit the error.  Don't forget to
499      document the steps you take.
501   4. When you hit the error, a `*Backtrace*' buffer will appear on the
502      screen.  Save this buffer to a file (for example using `C-x C-w')
503      and attach it to your bug report.
505 \x1f
506 File: org,  Node: Document structure,  Next: Tables,  Prev: Introduction,  Up: Top
508 2 Document Structure
509 ********************
511 Org-mode is based on outline mode and provides flexible commands to
512 edit the structure of the document.
514 * Menu:
516 * Outlines::                    Org-mode is based on outline-mode
517 * Headlines::                   How to typeset org-tree headlines
518 * Visibility cycling::          Show and hide, much simplified
519 * Motion::                      Jumping to other headlines
520 * Structure editing::           Changing sequence and level of headlines
521 * Archiving::                   Move done task trees to a different place
522 * Sparse trees::                Matches embedded in context
523 * Plain lists::                 Additional structure within an entry
524 * Drawers::                     Tucking stuff away
525 * orgstruct-mode::              Structure editing outside Org-mode
527 \x1f
528 File: org,  Node: Outlines,  Next: Headlines,  Prev: Document structure,  Up: Document structure
530 2.1 Outlines
531 ============
533 Org-mode is implemented on top of outline-mode.  Outlines allow to
534 organize a document in a hierarchical structure, which (at least for
535 me) is the best representation of notes and thoughts.  Overview over
536 this structure is achieved by folding (hiding) large parts of the
537 document to show only the general document structure and the parts
538 currently being worked on.  Org-mode greatly simplifies the use of
539 outlines by compressing the entire show/hide functionality into a
540 single command `org-cycle', which is bound to the <TAB> key.
542 \x1f
543 File: org,  Node: Headlines,  Next: Visibility cycling,  Prev: Outlines,  Up: Document structure
545 2.2 Headlines
546 =============
548 Headlines define the structure of an outline tree.  The headlines in
549 Org-mode start with one or more stars, on the left margin(1).  For
550 example:
552      * Top level headline
553      ** Second level
554      *** 3rd level
555          some text
556      *** 3rd level
557          more text
559      * Another top level headline
561 Some people find the many stars too noisy and would prefer an outline
562 that has whitespace followed by a single star as headline starters.
563 *Note Clean view:: describes a setup to realize this.
565    An empty line after the end of a subtree is considered part of it and
566 will be hidden when the subtree is folded.  However, if you leave at
567 least two empty lines, one empty line will remain visible after folding
568 the subtree, in order to structure the collapsed view.  See the
569 variable `org-cycle-separator-lines' for modifying this behavior.
571    ---------- Footnotes ----------
573    (1) See the variable `org-special-ctrl-a/e' to configure special
574 behavior of `C-a' and `C-e' in headlines.
576 \x1f
577 File: org,  Node: Visibility cycling,  Next: Motion,  Prev: Headlines,  Up: Document structure
579 2.3 Visibility cycling
580 ======================
582 Outlines make it possible to hide parts of the text in the buffer.
583 Org-mode uses just two commands, bound to <TAB> and `S-<TAB>' to change
584 the visibility in the buffer.
586 `<TAB>'
587      _Subtree cycling_: Rotate current subtree among the states
589           ,-> FOLDED -> CHILDREN -> SUBTREE --.
590           '-----------------------------------'
592      The cursor must be on a headline for this to work(1).  When the
593      cursor is at the beginning of the buffer and the first line is not
594      a headline, then <TAB> actually runs global cycling (see
595      below)(2).  Also when called with a prefix argument (`C-u <TAB>'),
596      global cycling is invoked.
598 `S-<TAB>'
599 `C-u <TAB>'
600      _Global cycling_: Rotate the entire buffer among the states
602           ,-> OVERVIEW -> CONTENTS -> SHOW ALL --.
603           '--------------------------------------'
605      When `S-<TAB>' is called with a numerical prefix N, the CONTENTS
606      view up to headlines of level N will be shown.  Note that inside
607      tables, `S-<TAB>' jumps to the previous field.
609 `C-c C-a'
610      Show all.  
612 `C-c C-r'
613      Reveal context around point, showing the current entry, the
614      following heading and the hierarchy above.  Useful for working
615      near a location exposed by a sparse tree command (*note Sparse
616      trees::) or an agenda command (*note Agenda commands::).  With
617      prefix arg show, on each level, all sibling headings.  
619 `C-c C-x b'
620      Show the current subtree in an indirect buffer(3).  With numerical
621      prefix ARG, go up to this level and then take that tree.  If ARG is
622      negative, go up that many levels.  With `C-u' prefix, do not remove
623      the previously used indirect buffer.
625    When Emacs first visits an Org-mode file, the global state is set to
626 OVERVIEW, i.e. only the top level headlines are visible.  This can be
627 configured through the variable `org-startup-folded', or on a per-file
628 basis by adding one of the following lines anywhere in the buffer:
630      #+STARTUP: overview
631      #+STARTUP: content
632      #+STARTUP: showall
634    ---------- Footnotes ----------
636    (1) see, however, the option `org-cycle-emulate-tab'.
638    (2) see the option `org-cycle-global-at-bob'.
640    (3) The indirect buffer (*note Indirect Buffers: (emacs)Indirect
641 Buffers.)  will contain the entire buffer, but will be narrowed to the
642 current tree.  Editing the indirect buffer will also change the
643 original buffer, but without affecting visibility in that buffer.
645 \x1f
646 File: org,  Node: Motion,  Next: Structure editing,  Prev: Visibility cycling,  Up: Document structure
648 2.4 Motion
649 ==========
651 The following commands jump to other headlines in the buffer.
653 `C-c C-n'
654      Next heading.  
656 `C-c C-p'
657      Previous heading.  
659 `C-c C-f'
660      Next heading same level.  
662 `C-c C-b'
663      Previous heading same level.  
665 `C-c C-u'
666      Backward to higher level heading.  
668 `C-c C-j'
669      Jump to a different place without changing the current outline
670      visibility.  Shows the document structure in a temporary buffer,
671      where you can use the following keys to find your destination:
672           <TAB>         Cycle visibility.
673           <down> / <up>   Next/previous visible headline.
674           n / p        Next/previous visible headline.
675           f / b        Next/previous headline same level.
676           u            One level up.
677           0-9          Digit argument.
678           <RET>         Select this location.
680 \x1f
681 File: org,  Node: Structure editing,  Next: Archiving,  Prev: Motion,  Up: Document structure
683 2.5 Structure editing
684 =====================
686 `M-<RET>'
687      Insert new heading with same level as current.  If the cursor is
688      in a plain list item, a new item is created (*note Plain lists::).
689      To force creation of a new headline, use a prefix arg, or first
690      press <RET> to get to the beginning of the next line.  When this
691      command is used in the middle of a line, the line is split and the
692      rest of the line becomes the new headline.  If the command is used
693      at the beginning of a headline, the new headline is created before
694      the current line.  If at the beginning of any other line, the
695      content of that line is made the new heading.  If the command is
696      used at the end of a folded subtree (i.e. behind the ellipses at
697      the end of a headline), then a headline like the current one will
698      be inserted after the end of the subtree.  
700 `M-S-<RET>'
701      Insert new TODO entry with same level as current heading.  
703 `M-<left>'
704      Promote current heading by one level.  
706 `M-<right>'
707      Demote current heading by one level.  
709 `M-S-<left>'
710      Promote the current subtree by one level.  
712 `M-S-<right>'
713      Demote the current subtree by one level.  
715 `M-S-<up>'
716      Move subtree up (swap with previous subtree of same level).  
718 `M-S-<down>'
719      Move subtree down (swap with next subtree of same level).  
721 `C-c C-x C-w'
722 `C-c C-x C-k'
723      Kill subtree, i.e. remove it from buffer but save in kill ring.  
725 `C-c C-x M-w'
726      Copy subtree to kill ring.  
728 `C-c C-x C-y'
729      Yank subtree from kill ring.  This does modify the level of the
730      subtree to make sure the tree fits in nicely at the yank position.
731      The yank level can also be specified with a prefix arg, or by
732      yanking after a headline marker like `****'.  
734 `C-c ^'
735      Sort same-level entries.  When there is an active region, all
736      entries in the region will be sorted.  Otherwise the children of
737      the current headline are sorted.  The command prompts for the
738      sorting method, which can be alphabetically, numerically, by time
739      (using the first time stamp in each entry), and each of these in
740      reverse order.  With a `C-u' prefix, sorting will be
741      case-sensitive.  With two `C-u C-u' prefixes, duplicate entries
742      will also be removed.
744    When there is an active region (transient-mark-mode), promotion and
745 demotion work on all headlines in the region.  To select a region of
746 headlines, it is best to place both point and mark at the beginning of a
747 line, mark at the beginning of the first headline, and point at the line
748 just after the last headline to change.  Note that when the cursor is
749 inside a table (*note Tables::), the Meta-Cursor keys have different
750 functionality.
752 \x1f
753 File: org,  Node: Archiving,  Next: Sparse trees,  Prev: Structure editing,  Up: Document structure
755 2.6 Archiving
756 =============
758 When a project represented by a (sub)tree is finished, you may want to
759 move the tree out of the way and to stop it from contributing to the
760 agenda.  Org-mode knows two ways of archiving.  You can mark a tree with
761 the ARCHIVE tag, or you can move an entire (sub)tree to a different
762 location.
764 * Menu:
766 * ARCHIVE tag::                 Marking a tree as inactive
767 * Moving subtrees::             Moving a tree to an archive file
769 \x1f
770 File: org,  Node: ARCHIVE tag,  Next: Moving subtrees,  Prev: Archiving,  Up: Archiving
772 2.6.1 The ARCHIVE tag
773 ---------------------
775 A headline that is marked with the ARCHIVE tag (*note Tags::) stays at
776 its location in the outline tree, but behaves in the following way:
777    - It does not open when you attempt to do so with a visibility
778      cycling command (*note Visibility cycling::).  You can force
779      cycling archived subtrees with `C-<TAB>', or by setting the option
780      `org-cycle-open-archived-trees'.  Also normal outline commands like
781      `show-all' will open archived subtrees.
783    - During sparse tree construction (*note Sparse trees::), matches in
784      archived subtrees are not exposed, unless you configure the option
785      `org-sparse-tree-open-archived-trees'.
787    - During agenda view construction (*note Agenda views::), the
788      content of archived trees is ignored unless you configure the
789      option `org-agenda-skip-archived-trees'.
791    - Archived trees are not exported (*note Exporting::), only the
792      headline is.  Configure the details using the variable
793      `org-export-with-archived-trees'.
795    The following commands help managing the ARCHIVE tag:
797 `C-c C-x C-a'
798      Toggle the ARCHIVE tag for the current headline.  When the tag is
799      set, the headline changes to a shadowish face, and the subtree
800      below it is hidden.  
802 `C-u C-c C-x C-a'
803      Check if any direct children of the current headline should be
804      archived.  To do this, each subtree is checked for open TODO
805      entries.  If none are found, the command offers to set the ARCHIVE
806      tag for the child.  If the cursor is _not_ on a headline when this
807      command is invoked, the level 1 trees will be checked.  
809 `C-TAB'
810      Cycle a tree even if it is tagged with ARCHIVE.
812 \x1f
813 File: org,  Node: Moving subtrees,  Prev: ARCHIVE tag,  Up: Archiving
815 2.6.2 Moving subtrees
816 ---------------------
818 Once an entire project is finished, you may want to move it to a
819 different location, either in the current file, or even in a different
820 file, the archive file.
822 `C-c C-x C-s'
823      Archive the subtree starting at the cursor position to the location
824      given by `org-archive-location'.  
826 `C-u C-c C-x C-s'
827      Check if any direct children of the current headline could be
828      moved to the archive.  To do this, each subtree is checked for
829      open TODO entries.  If none are found, the command offers to move
830      it to the archive location.  If the cursor is _not_ on a headline
831      when this command is invoked, the level 1 trees will be checked.
833    The default archive location is a file in the same directory as the
834 current file, with the name derived by appending `_archive' to the
835 current file name.  For information and examples on how to change this,
836 see the documentation string of the variable `org-archive-location'.
837 There is also an in-buffer option for setting this variable, for example
839      #+ARCHIVE: %s_done::
841 You may have several such lines in the buffer, they will then be valid
842 for the entries following the line (the first will also apply to any
843 text before it).
845 \x1f
846 File: org,  Node: Sparse trees,  Next: Plain lists,  Prev: Archiving,  Up: Document structure
848 2.7 Sparse trees
849 ================
851 An important feature of Org-mode is the ability to construct _sparse
852 trees_ for selected information in an outline tree.  A sparse tree
853 means that the entire document is folded as much as possible, but the
854 selected information is made visible along with the headline structure
855 above it(1).  Just try it out and you will see immediately how it works.
857    Org-mode contains several commands creating such trees.  The most
858 basic one is `org-occur':
860 `C-c /'
861      Occur.  Prompts for a regexp and shows a sparse tree with all
862      matches.  If the match is in a headline, the headline is made
863      visible.  If the match is in the body of an entry, headline and
864      body are made visible.  In order to provide minimal context, also
865      the full hierarchy of headlines above the match is shown, as well
866      as the headline following the match.  Each match is also
867      highlighted; the highlights disappear when the buffer is changes
868      an editing command, or by pressing `C-c C-c'.  When called with a
869      `C-u' prefix argument, previous highlights are kept, so several
870      calls to this command can be stacked.
871    For frequently used sparse trees of specific search strings, you can
872 use the variable `org-agenda-custom-commands' to define fast keyboard
873 access to specific sparse trees.  These commands will then be
874 accessible through the agenda dispatcher (*note Agenda dispatcher::).
875 For example:
877      (setq org-agenda-custom-commands
878            '(("f" occur-tree "FIXME")))
880 will define the key `C-c a f' as a shortcut for creating a sparse tree
881 matching the string `FIXME'.
883    Other commands use sparse trees as well.  For example `C-c C-v'
884 creates a sparse TODO tree (*note TODO basics::).
886    To print a sparse tree, you can use the Emacs command
887 `ps-print-buffer-with-faces' which does not print invisible parts of
888 the document (2).  Or you can use the command `C-c C-e v' to export
889 only the visible part of the document and print the resulting file.
891    ---------- Footnotes ----------
893    (1) See also the variables `org-show-hierarchy-above',
894 `org-show-following-heading', and `org-show-siblings' for detailed
895 control on how much context is shown around each match.
897    (2) This does not work under XEmacs, because XEmacs uses selective
898 display for outlining, not text properties.
900 \x1f
901 File: org,  Node: Plain lists,  Next: Drawers,  Prev: Sparse trees,  Up: Document structure
903 2.8 Plain lists
904 ===============
906 Within an entry of the outline tree, hand-formatted lists can provide
907 additional structure.  They also provide a way to create lists of
908 checkboxes (*note Checkboxes::).  Org-mode supports editing such lists,
909 and the HTML exporter (*note Exporting::) does parse and format them.
911    Org-mode knows ordered and unordered lists.  Unordered list items
912 start with `-', `+', or `*'(1) as bullets.  Ordered list items start
913 with `1.' or `1)'.  Items belonging to the same list must have the same
914 indentation on the first line.  In particular, if an ordered list
915 reaches number `10.', then the 2-digit numbers must be written
916 left-aligned with the other numbers in the list.  Indentation also
917 determines the end of a list item.  It ends before the next line that
918 is indented like the bullet/number, or less.  Empty lines are part of
919 the previous item, so you can have several paragraphs in one item.  If
920 you would like an empty line to terminate all currently open plain
921 lists, configure the variable `org-empty-line-terminates-plain-lists'.
922 Here is an example:
924      ** Lord of the Rings
925         My favorite scenes are (in this order)
926         1. The attack of the Rohirrim
927         2. Eowyns fight with the witch king
928            + this was already my favorite scene in the book
929            + I really like Miranda Otto.
930         3. Peter Jackson being shot by Legolas
931             - on DVD only
932            He makes a really funny face when it happens.
933         But in the end, not individual scenes matter but the film as a whole.
935    Org-mode supports these lists by tuning filling and wrapping
936 commands to deal with them correctly(2).
938    The following commands act on items when the cursor is in the first
939 line of an item (the line with the bullet or number).
941 `<TAB>'
942      Items can be folded just like headline levels if you set the
943      variable `org-cycle-include-plain-lists'.  The level of an item is
944      then given by the indentation of the bullet/number.  Items are
945      always subordinate to real headlines, however; the hierarchies
946      remain completely separated.
948      If `org-cycle-include-plain-lists' has not been set, <TAB> fixes
949      the indentation of the curent line in a heuristic way.  
951 `M-<RET>'
952      Insert new item at current level.  With prefix arg, force a new
953      heading (*note Structure editing::).  If this command is used in
954      the middle of a line, the line is _split_ and the rest of the line
955      becomes the new item.  If this command is executed in the
956      _whitespace before a bullet or number_, the new item is created
957      _before_ the current item.  If the command is executed in the
958      white space before the text that is part of an item but does not
959      contain the bullet, a bullet is added to the current line.  
961 `M-S-<RET>'
962      Insert a new item with a checkbox (*note Checkboxes::).  
964 `S-<up>'
965 `S-<down>'
966      Jump to the previous/next item in the current list.  
968 `M-S-<up>'
969 `M-S-<down>'
970      Move the item including subitems up/down (swap with previous/next
971      item of same indentation).  If the list is ordered, renumbering is
972      automatic.  
974 `M-S-<left>'
975 `M-S-<right>'
976      Decrease/increase the indentation of the item, including subitems.
977      Initially, the item tree is selected based on current indentation.
978      When these commands are executed several times in direct
979      succession, the initially selected region is used, even if the new
980      indentation would imply a different hierarchy.  To use the new
981      hierarchy, break the command chain with a cursor motion or so.  
983 `C-c C-c'
984      If there is a checkbox (*note Checkboxes::) in the item line,
985      toggle the state of the checkbox.  If not, make this command makes
986      sure that all the items on this list level use the same bullet.
987      Furthermore, if this is an ordered list, make sure the numbering
988      is ok.  
990 `C-c -'
991      Cycle the entire list level through the different itemize/enumerate
992      bullets (`-', `+', `*', `1.', `1)').  With prefix arg, select the
993      nth bullet from this list.
995    ---------- Footnotes ----------
997    (1) When using `*' as a bullet, lines must be indented or they will
998 be seen as top-level headlines.  Also, when you are hiding leading
999 stars to get a clean outline view, plain list items starting with a
1000 star are visually indistinguishable from true headlines.  In short:
1001 even though `*' is supported, it may be better not to use it for plain
1002 list items.
1004    (2) Org-mode only changes the filling settings for Emacs.  For
1005 XEmacs, you should use Kyle E. Jones' `filladapt.el'.  To turn this on,
1006 put into `.emacs': `(require 'filladapt)'
1008 \x1f
1009 File: org,  Node: Drawers,  Next: orgstruct-mode,  Prev: Plain lists,  Up: Document structure
1011 2.9 Drawers
1012 ===========
1014 Sometimes you want to keep information associated with an entry, but you
1015 normally don't want to see it.  For this, Org-mode has _drawers_.
1016 Drawers need to be configured with the variable `org-drawers', and look
1017 like this:
1019      ** This is a headline
1020         Still outside the drawer
1021         :DRAWERNAME:
1022            This is inside the drawer.
1023         :END:
1024         After the drawer.
1026    Visibility cycling (*note Visibility cycling::) on the headline will
1027 hide and show the entry, but keep the drawer collapsed to a single line.
1028 In order to look inside the drawer, you need to move the cursor to the
1029 drawer line and press <TAB> there.  Org-mode uses a drawer for storing
1030 properties (*note Properties and columns::).
1032 \x1f
1033 File: org,  Node: orgstruct-mode,  Prev: Drawers,  Up: Document structure
1035 2.10 The Orgstruct minor mode
1036 =============================
1038 If you like the intuitive way the Org-mode structure editing and list
1039 formatting works, you might want to use these commands in other modes
1040 like text-mode or mail-mode as well.  The minor mode Orgstruct-mode
1041 makes this possible.  You can always toggle the mode with `M-x
1042 orgstruct-mode'.  To turn it on by default, for example in mail mode,
1045      (add-hook 'mail-mode-hook 'turn-on-orgstruct)
1047    When this mode is active and the cursor is on a line that looks to
1048 Org-mode like a headline of the first line of a list item, most
1049 structure editing commands will work, even if the same keys normally
1050 have different functionality in the major mode you are using.  If the
1051 cursor is not in one of those special lines, Orgstruct-mode lurks
1052 silently in the shadow.
1054 \x1f
1055 File: org,  Node: Tables,  Next: Hyperlinks,  Prev: Document structure,  Up: Top
1057 3 Tables
1058 ********
1060 Org-mode has a very fast and intuitive table editor built-in.
1061 Spreadsheet-like calculations are supported in connection with the
1062 Emacs `calc' package.
1064 * Menu:
1066 * Built-in table editor::       Simple tables
1067 * Narrow columns::              Stop wasting space in tables
1068 * Column groups::               Grouping to trigger vertical lines
1069 * orgtbl-mode::                 The table editor as minor mode
1070 * The spreadsheet::             The table editor has spreadsheet capabilities.
1072 \x1f
1073 File: org,  Node: Built-in table editor,  Next: Narrow columns,  Prev: Tables,  Up: Tables
1075 3.1 The built-in table editor
1076 =============================
1078 Org-mode makes it easy to format tables in plain ASCII.  Any line with
1079 `|' as the first non-white character is considered part of a table.
1080 `|' is also the column separator.  A table might look like this:
1082      | Name  | Phone | Age |
1083      |-------+-------+-----|
1084      | Peter |  1234 |  17 |
1085      | Anna  |  4321 |  25 |
1087    A table is re-aligned automatically each time you press <TAB> or
1088 <RET> or `C-c C-c' inside the table.  <TAB> also moves to the next
1089 field (<RET> to the next row) and creates new table rows at the end of
1090 the table or before horizontal lines.  The indentation of the table is
1091 set by the first line.  Any line starting with `|-' is considered as a
1092 horizontal separator line and will be expanded on the next re-align to
1093 span the whole table width.  So, to create the above table, you would
1094 only type
1096      |Name|Phone|Age|
1097      |-
1099 and then press <TAB> to align the table and start filling in fields.
1101    When typing text into a field, Org-mode treats <DEL>, <Backspace>,
1102 and all character keys in a special way, so that inserting and deleting
1103 avoids shifting other fields.  Also, when typing _immediately after the
1104 cursor was moved into a new field with `<TAB>', `S-<TAB>' or `<RET>'_,
1105 the field is automatically made blank.  If this behavior is too
1106 unpredictable for you, configure the variables
1107 `org-enable-table-editor' and `org-table-auto-blank-field'.
1109 Creation and conversion
1110 .......................
1112 `C-c |'
1113      Convert the active region to table. If every line contains at
1114      least one TAB character, the function assumes that the material is
1115      tab separated.  If not, lines are split at whitespace into fields.
1116      You can use a prefix argument to indicate the minimum number of
1117      consecutive spaces required to identify a field separator
1118      (default: just one).
1119      If there is no active region, this command creates an empty
1120      Org-mode table.  But it's easier just to start typing, like
1121      `|Name|Phone|Age <RET> |- <TAB>'.
1123 Re-aligning and field motion
1124 ............................
1126 `C-c C-c'
1127      Re-align the table without moving the cursor.  
1129 `<TAB>'
1130      Re-align the table, move to the next field.  Creates a new row if
1131      necessary.  
1133 `S-<TAB>'
1134      Re-align, move to previous field.  
1136 `<RET>'
1137      Re-align the table and move down to next row.  Creates a new row if
1138      necessary.  At the beginning or end of a line, <RET> still does
1139      NEWLINE, so it can be used to split a table.
1141 Column and row editing
1142 ......................
1144 `M-<left>'
1145 `M-<right>'
1146      Move the current column left/right.  
1148 `M-S-<left>'
1149      Kill the current column.  
1151 `M-S-<right>'
1152      Insert a new column to the left of the cursor position.  
1154 `M-<up>'
1155 `M-<down>'
1156      Move the current row up/down.  
1158 `M-S-<up>'
1159      Kill the current row or horizontal line.  
1161 `M-S-<down>'
1162      Insert a new row above (with arg: below) the current row.  
1164 `C-c -'
1165      Insert a horizontal line below current row. With prefix arg, the
1166      line is created above the current line.  
1168 `C-c ^'
1169      Sort the table lines in the region.  The position of point
1170      indicates the column to be used for sorting, and the range of
1171      lines is the range between the nearest horizontal separator lines,
1172      or the entire table.  If point is before the first column, you
1173      will be prompted for the sorting column.  If there is an active
1174      region, the mark specifies the first line and the sorting column,
1175      while point should be in the last line to be included into the
1176      sorting.  The command prompts for the sorting type
1177      (alphabetically, numerically, or by time).  When called with a
1178      prefix argument, alphabetic sorting will be case-sensitive.
1180 Regions
1181 .......
1183 `C-c C-x M-w'
1184      Copy a rectangular region from a table to a special clipboard.
1185      Point and mark determine edge fields of the rectangle.  The
1186      process ignores horizontal separator lines.  
1188 `C-c C-x C-w'
1189      Copy a rectangular region from a table to a special clipboard, and
1190      blank all fields in the rectangle.  So this is the "cut" operation.  
1192 `C-c C-x C-y'
1193      Paste a rectangular region into a table.  The upper right corner
1194      ends up in the current field.  All involved fields will be
1195      overwritten.  If the rectangle does not fit into the present table,
1196      the table is enlarged as needed.  The process ignores horizontal
1197      separator lines.  
1199 `C-c C-q'
1200      Wrap several fields in a column like a paragraph.  If there is an
1201      active region, and both point and mark are in the same column, the
1202      text in the column is wrapped to minimum width for the given
1203      number of lines.  A prefix ARG may be used to change the number of
1204      desired lines.  If there is no region, the current field is split
1205      at the cursor position and the text fragment to the right of the
1206      cursor is prepended to the field one line down. If there is no
1207      region, but you specify a prefix ARG, the current field is made
1208      blank, and the content is appended to the field above.
1210 Calculations
1211 ............
1213 `C-c +'
1214      Sum the numbers in the current column, or in the rectangle defined
1215      by the active region.  The result is shown in the echo area and can
1216      be inserted with `C-y'.  
1218 `S-<RET>'
1219      When current field is empty, copy from first non-empty field above.
1220      When not empty, copy current field down to next row and move cursor
1221      along with it.  Depending on the variable
1222      `org-table-copy-increment', integer field values will be
1223      incremented during copy.  This key is also used by CUA-mode (*note
1224      Cooperation::).
1226 Miscellaneous
1227 .............
1229 `C-c `'
1230      Edit the current field in a separate window.  This is useful for
1231      fields that are not fully visible (*note Narrow columns::).  When
1232      called with a `C-u' prefix, just make the full field visible, so
1233      that it can be edited in place.  
1235 `C-c <TAB>'
1236      This is an alias for `C-u C-c `' to make the current field fully
1237      visible.
1239 `M-x org-table-import'
1240      Import a file as a table.  The table should be TAB- or whitespace
1241      separated.  Useful, for example, to import an Excel table or data
1242      from a database, because these programs generally can write
1243      TAB-separated text files.  This command works by inserting the
1244      file into the buffer and then converting the region to a table.
1245      Any prefix argument is passed on to the converter, which uses it
1246      to determine the separator.
1248 `C-c |'
1249      Tables can also be imported by pasting tabular text into the
1250      org-mode buffer, selecting the pasted text with `C-x C-x' and then
1251      using the `C-c |' command (see above under Creation and conversion.
1253 `M-x org-table-export'
1254      Export the table as a TAB-separated file.  Useful for data
1255      exchange with, for example, Excel or database programs.
1257    If you don't like the automatic table editor because it gets in your
1258 way on lines which you would like to start with `|', you can turn it
1259 off with
1261      (setq org-enable-table-editor nil)
1263 Then the only table command that still works is `C-c C-c' to do a
1264 manual re-align.
1266 \x1f
1267 File: org,  Node: Narrow columns,  Next: Column groups,  Prev: Built-in table editor,  Up: Tables
1269 3.2 Narrow columns
1270 ==================
1272 The width of columns is automatically determined by the table editor.
1273 Sometimes a single field or a few fields need to carry more text,
1274 leading to inconveniently wide columns.  To limit(1) the width of a
1275 column, one field anywhere in the column may contain just the string
1276 `<N>' where `N' is an integer specifying the width of the column in
1277 characters.  The next re-align will then set the width of this column
1278 to no more than this value.
1280      |---+------------------------------|               |---+--------|
1281      |   |                              |               |   | <6>    |
1282      | 1 | one                          |               | 1 | one    |
1283      | 2 | two                          |     ----\     | 2 | two    |
1284      | 3 | This is a long chunk of text |     ----/     | 3 | This=> |
1285      | 4 | four                         |               | 4 | four   |
1286      |---+------------------------------|               |---+--------|
1288 Fields that are wider become clipped and end in the string `=>'.  Note
1289 that the full text is still in the buffer, it is only invisible.  To
1290 see the full text, hold the mouse over the field - a tool-tip window
1291 will show the full content.  To edit such a field, use the command `C-c
1292 `' (that is `C-c' followed by the backquote).  This will open a new
1293 window with the full field.  Edit it and finish with `C-c C-c'.
1295    When visiting a file containing a table with narrowed columns, the
1296 necessary character hiding has not yet happened, and the table needs to
1297 be aligned before it looks nice.  Setting the option
1298 `org-startup-align-all-tables' will realign all tables in a file upon
1299 visiting, but also slow down startup.  You can also set this option on
1300 a per-file basis with:
1302      #+STARTUP: align
1303      #+STARTUP: noalign
1305    ---------- Footnotes ----------
1307    (1) This feature does not work on XEmacs.
1309 \x1f
1310 File: org,  Node: Column groups,  Next: orgtbl-mode,  Prev: Narrow columns,  Up: Tables
1312 3.3 Column groups
1313 =================
1315 When Org-mode exports tables, it does so by default without vertical
1316 lines because that is visually more satisfying in general.  Occasionally
1317 however, vertical lines can be useful to structure a table into groups
1318 of columns, much like horizontal lines can do for groups of rows.  In
1319 order to specify column groups, you can use a special row where the
1320 first field contains only `/'.  The further fields can either contain
1321 `<' to indicate that this column should start a group, `>' to indicate
1322 the end of a column, or `<>' to make a column a group of its own.
1323 Boundaries between colum groups will upon export be marked with
1324 vertical lines.  Here is an example:
1326      |   |  N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
1327      |---+----+-----+-----+-----+---------+------------|
1328      | / | <> |   < |     |   > |       < |          > |
1329      | # |  1 |   1 |   1 |   1 |       1 |          1 |
1330      | # |  2 |   4 |   8 |  16 |  1.4142 |     1.1892 |
1331      | # |  3 |   9 |  27 |  81 |  1.7321 |     1.3161 |
1332      |---+----+-----+-----+-----+---------+------------|
1333      #+TBLFM: $3=$2^2::$4=$2^3::$5=$2^4::$6=sqrt($2)::$7=sqrt(sqrt(($2))
1335    It is also sufficient to just insert the colum group starters after
1336 every vertical line you'd like to have:
1338      |  N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |
1339      |----+-----+-----+-----+---------+------------|
1340      | /  | <   |     |     | <       |            |
1342 \x1f
1343 File: org,  Node: orgtbl-mode,  Next: The spreadsheet,  Prev: Column groups,  Up: Tables
1345 3.4 The Orgtbl minor mode
1346 =========================
1348 If you like the intuitive way the Org-mode table editor works, you
1349 might also want to use it in other modes like text-mode or mail-mode.
1350 The minor mode Orgtbl-mode makes this possible.  You can always toggle
1351 the mode with `M-x orgtbl-mode'.  To turn it on by default, for example
1352 in mail mode, use
1354      (add-hook 'mail-mode-hook 'turn-on-orgtbl)
1356    Furthermore, with some special setup, it is possible to maintain
1357 tables in arbitrary syntax with Orgtbl-mode.  For example, it is
1358 possible to construct LaTeX tables with the underlying ease and power of
1359 Orgtbl-mode, including spreadsheet capabilities.  For details, see
1360 *Note Tables in arbitrary syntax::.
1362 \x1f
1363 File: org,  Node: The spreadsheet,  Prev: orgtbl-mode,  Up: Tables
1365 3.5 The spreadsheet
1366 ===================
1368 The table editor makes use of the Emacs `calc' package to implement
1369 spreadsheet-like capabilities.  It can also evaluate Emacs Lisp forms to
1370 derive fields from other fields.  While fully featured, Org-mode's
1371 implementation is not identical to other spreadsheets.  For example,
1372 Org-mode knows the concept of a _column formula_ that will be applied
1373 to all non-header fields in a column without having to copy the formula
1374 to each relevant field.
1376 * Menu:
1378 * References::                  How to refer to another field or range
1379 * Formula syntax for Calc::     Using Calc to compute stuff
1380 * Formula syntax for Lisp::     Writing formulas in Emacs Lisp
1381 * Field formulas::              Formulas valid for a single field
1382 * Column formulas::             Formulas valid for an entire column
1383 * Editing and debugging formulas::  Fixing formulas
1384 * Updating the table::          Recomputing all dependent fields
1385 * Advanced features::           Field names, parameters and automatic recalc
1387 \x1f
1388 File: org,  Node: References,  Next: Formula syntax for Calc,  Prev: The spreadsheet,  Up: The spreadsheet
1390 3.5.1 References
1391 ----------------
1393 To compute fields in the table from other fields, formulas must
1394 reference other fields or ranges.  In Org-mode, fields can be referenced
1395 by name, by absolute coordinates, and by relative coordinates.  To find
1396 out what the coordinates of a field are, press `C-c ?' in that field,
1397 or press `C-c }' to toggle the display of a grid.
1399 Field references
1400 ................
1402 Formulas can reference the value of another field in two ways.  Like in
1403 any other spreadsheet, you may reference fields with a letter/number
1404 combination like `B3', meaning the 2nd field in the 3rd row.
1406 Org-mode also uses another, more general operator that looks like this:
1407      @row$column
1409 Column references can be absolute like `1', `2',...`N', or relative to
1410 the current column like `+1' or `-2'.
1412    The row specification only counts data lines and ignores horizontal
1413 separator lines (hlines).  You can use absolute row numbers `1'...`N',
1414 and row numbers relative to the current row like `+3' or `-1'.  Or
1415 specify the row relative to one of the hlines: `I' refers to the first
1416 hline, `II' to the second etc.  `-I' refers to the first such line
1417 above the current line, `+I' to the first such line below the current
1418 line.  You can also write `III+2' which is the second data line after
1419 the third hline in the table.  Relative row numbers like `-3' will not
1420 cross hlines if the current line is too close to the hline.  Instead,
1421 the value directly at the hline is used.
1423    `0' refers to the current row and column.  Also, if you omit either
1424 the column or the row part of the reference, the current row/column is
1425 implied.
1427    Org-mode's references with _unsigned_ numbers are fixed references
1428 in the sense that if you use the same reference in the formula for two
1429 different fields, the same field will be referenced each time.
1430 Org-mode's references with _signed_ numbers are floating references
1431 because the same reference operator can reference different fields
1432 depending on the field being calculated by the formula.
1434    Here are a few examples:
1436      @2$3      2nd row, 3rd column
1437      C2        same as previous
1438      $5        column 5 in the current row
1439      E&        same as previous
1440      @2        current column, row 2
1441      @-1$-3    the field one row up, three columns to the left
1442      @-I$2     field just under hline above current row, column 2
1444 Range references
1445 ................
1447 You may reference a rectangular range of fields by specifying two field
1448 references connected by two dots `..'.  If both fields are in the
1449 current row, you may simply use `$2..$7', but if at least one field is
1450 in a different row, you need to use the general `@row$column' format at
1451 least for the first field (i.e the reference must start with `@' in
1452 order to be interpreted correctly).  Examples:
1454      $1..$3        First three fields in the current row.
1455      $P..$Q        Range, using column names (see under Advanced)
1456      @2$1..@4$3    6 fields between these two fields.
1457      A2..C4        Same as above.
1458      @-1$-2..@-1   3 numbers from the column to the left, 2 up to current row
1460 Range references return a vector of values that can be fed into Calc
1461 vector functions.  Empty fields in ranges are normally suppressed, so
1462 that the vector contains only the non-empty fields (but see the `E'
1463 mode switch below).  If there are no non-empty fields, `[0]' is
1464 returned to avoid syntax errors in formulas.
1466 Named references
1467 ................
1469 `$name' is interpreted as the name of a column, parameter or constant.
1470 Constants are defined globally through the variable
1471 `org-table-formula-constants', and locally (for the file) through a
1472 line like
1474      #+CONSTANTS: c=299792458. pi=3.14 eps=2.4e-6
1476 Also properties (*note Properties and columns::) can be used as
1477 constants in table formulas: For a property `:XYZ:' use the name
1478 `$PROP_XYZ', and the property will be searched in the current outline
1479 entry and in the hierarchy above it.  If you have the `constants.el'
1480 package, it will also be used to resolve constants, including natural
1481 constants like `$h' for Planck's constant, and units like `$km' for
1482 kilometers(1).  Column names and parameters can be specified in special
1483 table lines.  These are described below, see *Note Advanced features::.
1484 All names must start with a letter, and further consist of letters and
1485 numbers.
1487    ---------- Footnotes ----------
1489    (1) `Constant.el' can supply the values of constants in two
1490 different unit systems, `SI' and `cgs'.  Which one is used depends on
1491 the value of the variable `constants-unit-system'.  You can use the
1492 `#+STARTUP' options `constSI' and `constcgs' to set this value for the
1493 current buffer.
1495 \x1f
1496 File: org,  Node: Formula syntax for Calc,  Next: Formula syntax for Lisp,  Prev: References,  Up: The spreadsheet
1498 3.5.2 Formula syntax for Calc
1499 -----------------------------
1501 A formula can be any algebraic expression understood by the Emacs
1502 `Calc' package.  Note that `calc' has the non-standard convention that
1503 `/' has lower precedence than `*', so that `a/b*c' is interpreted as
1504 `a/(b*c)'.  Before evaluation by `calc-eval' (*note calc-eval:
1505 (calc)Calling Calc from Your Programs.), variable substitution takes
1506 place according to the rules described above.  The range vectors can be
1507 directly fed into the calc vector functions like `vmean' and `vsum'.
1509    A formula can contain an optional mode string after a semicolon.
1510 This string consists of flags to influence Calc and other modes during
1511 execution.  By default, Org-mode uses the standard calc modes (precision
1512 12, angular units degrees, fraction and symbolic modes off.  The display
1513 format, however, has been changed to `(float 5)' to keep tables
1514 compact.  The default settings can be configured using the variable
1515 `org-calc-default-modes'.
1517      p20           switch the internal precision to 20 digits
1518      n3 s3 e2 f4   normal, scientific, engineering, or fixed display format
1519      D R           angle modes: degrees, radians
1520      F S           fraction and symbolic modes
1521      N             interpret all fields as numbers, use 0 for non-numbers
1522      T             force text interpretation
1523      E             keep empty fields in ranges
1525 In addition, you may provide a `printf' format specifier to reformat
1526 the final result.  A few examples:
1528      $1+$2                Sum of first and second field
1529      $1+$2;%.2f           Same, format result to two decimals
1530      exp($2)+exp($1)      Math functions can be used
1531      $0;%.1f              Reformat current cell to 1 decimal
1532      ($3-32)*5/9          Degrees F -> C conversion
1533      $c/$1/$cm            Hz -> cm conversion, using `constants.el'
1534      tan($1);Dp3s1        Compute in degrees, precision 3, display SCI 1
1535      sin($1);Dp3%.1e      Same, but use printf specifier for display
1536      vmean($2..$7)        Compute column range mean, using vector function
1537      vmean($2..$7);EN     Same, but treat empty fields as 0
1538      taylor($3,x=7,2)     taylor series of $3, at x=7, second degree
1540    Calc also contains a complete set of logical operations.  For example
1542      if($1<20,teen,string(""))  "teen" if age $1 less than 20, else empty
1544 \x1f
1545 File: org,  Node: Formula syntax for Lisp,  Next: Field formulas,  Prev: Formula syntax for Calc,  Up: The spreadsheet
1547 3.5.3 Emacs Lisp forms as formulas
1548 ----------------------------------
1550 It is also possible to write a formula in Emacs Lisp; this can be useful
1551 for string manipulation and control structures, if the Calc's
1552 functionality is not enough.  If a formula starts with a single quote
1553 followed by an opening parenthesis, then it is evaluated as a lisp form.
1554 The evaluation should return either a string or a number.  Just as with
1555 `calc' formulas, you can specify modes and a printf format after a
1556 semicolon.  With Emacs Lisp forms, you need to be concious about the way
1557 field references are interpolated into the form.  By default, a
1558 reference will be interpolated as a Lisp string (in double quotes)
1559 containing the field.  If you provide the `N' mode switch, all
1560 referenced elements will be numbers (non-number fields will be zero) and
1561 interpolated as Lisp numbers, without quotes.  If you provide the `L'
1562 flag, all fields will be interpolated literally, without quotes.  I.e.,
1563 if you want a reference to be interpreted as a string by the Lisp form,
1564 enclode the reference operator itself in double quotes, like `"$3"'.
1565 Ranges are inserted as space-separated fields, so you can embed them in
1566 list or vector syntax.  A few examples, note how the `N' mode is used
1567 when we do computations in lisp.
1569      Swap the first two characters of the content of column 1
1570        '(concat (substring $1 1 2) (substring $1 0 1) (substring $1 2))
1571      Add columns 1 and 2, equivalent to the Calc's `$1+$2'
1572        '(+ $1 $2);N
1573      Compute the sum of columns 1-4, like Calc's `vsum($1..$4)'
1574        '(apply '+ '($1..$4));N
1576 \x1f
1577 File: org,  Node: Field formulas,  Next: Column formulas,  Prev: Formula syntax for Lisp,  Up: The spreadsheet
1579 3.5.4 Field formulas
1580 --------------------
1582 To assign a formula to a particular field, type it directly into the
1583 field, preceded by `:=', for example `:=$1+$2'.  When you press <TAB>
1584 or <RET> or `C-c C-c' with the cursor still in the field, the formula
1585 will be stored as the formula for this field, evaluated, and the
1586 current field replaced with the result.
1588    Formulas are stored in a special line starting with `#+TBLFM:'
1589 directly below the table.  If you typed the equation in the 4th field of
1590 the 3rd data line in the table, the formula will look like
1591 `@3$4=$1+$2'.  When inserting/deleting/swapping column and rows with
1592 the appropriate commands, absolute references (but not relative ones)
1593 in stored formulas are modified in order to still reference the same
1594 field.  Of cause this is not true if you edit the table structure with
1595 normal editing commands - then you must fix the equations yourself.
1597    Instead of typing an equation into the field, you may also use the
1598 following command
1600 `C-u C-c ='
1601      Install a new formula for the current field.  The command prompts
1602      for a formula, with default taken from the `#+TBLFM:' line, applies
1603      it to the current field and stores it.
1605 \x1f
1606 File: org,  Node: Column formulas,  Next: Editing and debugging formulas,  Prev: Field formulas,  Up: The spreadsheet
1608 3.5.5 Column formulas
1609 ---------------------
1611 Often in a table, the same formula should be used for all fields in a
1612 particular column.  Instead of having to copy the formula to all fields
1613 in that column, org-mode allows to assign a single formula to an entire
1614 column.  If the table contains horizontal separator hlines, everything
1615 before the first such line is considered part of the table _header_ and
1616 will not be modified by column formulas.
1618    To assign a formula to a column, type it directly into any field in
1619 the column, preceded by an equal sign, like `=$1+$2'.  When you press
1620 <TAB> or <RET> or `C-c C-c' with the cursor still in the field, the
1621 formula will be stored as the formula for the current column, evaluated
1622 and the current field replaced with the result.  If the field contains
1623 only `=', the previously stored formula for this column is used.  For
1624 each column, Org-mode will only remember the most recently used
1625 formula.  In the `TBLFM:' line, column formulas will look like
1626 `$4=$1+$2'.
1628    Instead of typing an equation into the field, you may also use the
1629 following command:
1631 `C-c ='
1632      Install a new formula for the current column and replace current
1633      field with the result of the formula.  The command prompts for a
1634      formula, with default taken from the `#+TBLFM' line, applies it to
1635      the current field and stores it.  With a numerical prefix (e.g.
1636      `C-5 C-c =') will apply it to that many consecutive fields in the
1637      current column.
1639 \x1f
1640 File: org,  Node: Editing and debugging formulas,  Next: Updating the table,  Prev: Column formulas,  Up: The spreadsheet
1642 3.5.6 Editing and Debugging formulas
1643 ------------------------------------
1645 You can edit individual formulas in the minibuffer or directly in the
1646 field.  Org-mode can also prepare a special buffer with all active
1647 formulas of a table.  When offering a formula for editing, Org-mode
1648 converts references to the standard format (like `B3' or `D&') if
1649 possible.  If you prefer to only work with the internal format (like
1650 `@3$2' or `$4'), configure the variable
1651 `org-table-use-standard-references'.
1653 `C-c ='
1654 `C-u C-c ='
1655      Edit the formula associated with the current column/field in the
1656      minibuffer.  See *Note Column formulas:: and *Note Field
1657      formulas::.  
1659 `C-u C-u C-c ='
1660      Re-insert the active formula (either a field formula, or a column
1661      formula) into the current field, so that you can edit it directly
1662      in the field.  The advantage over editing in the minibuffer is
1663      that you can use the command `C-c ?'.  
1665 `C-c ?'
1666      While editing a formula in a table field, highlight the field(s)
1667      referenced by the reference at the cursor position in the formula.  
1669 `C-c }'
1670      Toggle the display of row and column numbers for a table, using
1671      overlays.  These are updated each time the table is aligned, you
1672      can force it with `C-c C-c'.  
1674 `C-c {'
1675      Toggle the formula debugger on and off.  See below.  
1677 `C-c ''
1678      Edit all formulas for the current table in a special buffer, where
1679      the formulas will be displayed one per line.  If the current field
1680      has an active formula, the cursor in the formula editor will mark
1681      it.  While inside the special buffer, Org-mode will automatically
1682      highlight any field or range reference at the cursor position.
1683      You may edit, remove and add formulas, and use the following
1684      commands:
1685     `C-c C-c'
1686     `C-x C-s'
1687           Exit the formula editor and store the modified formulas.
1688           With `C-u' prefix, also apply the new formulas to the entire
1689           table.  
1691     `C-c C-q'
1692           Exit the formula editor without installing changes.  
1694     `C-c C-r'
1695           Toggle all references in the formula editor between standard
1696           (like `B3') and internal (like `@3$2').  
1698     `<TAB>'
1699           Pretty-print or indent lisp formula at point.  When in a line
1700           containing a lisp formula, format the formula according to
1701           Emacs Lisp rules.  Another <TAB> collapses the formula back
1702           again.  In the open formula, <TAB> re-indents just like in
1703           Emacs-lisp-mode.  
1705     `M-<TAB>'
1706           Complete Lisp symbols, just like in Emacs-lisp-mode.  
1708     `S-<up>/<down>/<left>/<right>'
1709           Shift the reference at point.  For example, if the reference
1710           is `B3' and you press `S-<right>', it will become `C3'.  This
1711           also works for relative references, and for hline references.  
1713     `M-S-<up>/<down>'
1714           Move the test line for column formulas in the Org-mode buffer
1715           up and down.  
1717     `M-<up>/<down>'
1718           Scroll the window displaying the table.  
1720     `C-c }'
1721           Turn the coordinate grid in the table on and off.
1723    Making a table field blank does not remove the formula associated
1724 with the field, because that is stored in a different line (the `TBLFM'
1725 line) - during the next recalculation the field will be filled again.
1726 To remove a formula from a field, you have to give an empty reply when
1727 prompted for the formula, or to edit the `#+TBLFM' line.
1729    You may edit the `#+TBLFM' directly and re-apply the changed
1730 equations with `C-c C-c' in that line, or with the normal recalculation
1731 commands in the table.
1733 Debugging formulas
1734 ..................
1736 When the evaluation of a formula leads to an error, the field content
1737 becomes the string `#ERROR'.  If you would like see what is going on
1738 during variable substitution and calculation in order to find a bug,
1739 turn on formula debugging in the `Tbl' menu and repeat the calculation,
1740 for example by pressing `C-u C-u C-c = <RET>' in a field.  Detailed
1741 information will be displayed.
1743 \x1f
1744 File: org,  Node: Updating the table,  Next: Advanced features,  Prev: Editing and debugging formulas,  Up: The spreadsheet
1746 3.5.7 Updating the Table
1747 ------------------------
1749 Recalculation of a table is normally not automatic, but needs to be
1750 triggered by a command.  See *Note Advanced features:: for a way to make
1751 recalculation at least semi-automatically.
1753    In order to recalculate a line of a table or the entire table, use
1754 the following commands:
1756 `C-c *'
1757      Recalculate the current row by first applying the stored column
1758      formulas from left to right, and all field formulas in the current
1759      row.  
1761 `C-u C-c *'
1762 `C-u C-c C-c'
1763      Recompute the entire table, line by line.  Any lines before the
1764      first hline are left alone, assuming that these are part of the
1765      table header.  
1767 `C-u C-u C-c *'
1768      Iterate the table by recomputing it until no further changes occur.
1769      This may be necessary if some computed fields use the value of
1770      other fields that are computed later in the calculation sequence.
1772 \x1f
1773 File: org,  Node: Advanced features,  Prev: Updating the table,  Up: The spreadsheet
1775 3.5.8 Advanced features
1776 -----------------------
1778 If you want the recalculation of fields to happen automatically, or if
1779 you want to be able to assign names to fields and columns, you need to
1780 reserve the first column of the table for special marking characters.
1781 `C-#'
1782      Rotate the calculation mark in first column through the states `',
1783      `#', `*', `!', `$'.  The meaning of these characters is discussed
1784      below.  When there is an active region, change all marks in the
1785      region.
1787    Here is an example of a table that collects exam results of students
1788 and makes use of these features:
1790      |---+---------+--------+--------+--------+-------+------|
1791      |   | Student | Prob 1 | Prob 2 | Prob 3 | Total | Note |
1792      |---+---------+--------+--------+--------+-------+------|
1793      | ! |         |     P1 |     P2 |     P3 |   Tot |      |
1794      | # | Maximum |     10 |     15 |     25 |    50 | 10.0 |
1795      | ^ |         |     m1 |     m2 |     m3 |    mt |      |
1796      |---+---------+--------+--------+--------+-------+------|
1797      | # | Peter   |     10 |      8 |     23 |    41 |  8.2 |
1798      | # | Sara    |      6 |     14 |     19 |    39 |  7.8 |
1799      | # | Sam     |      2 |      4 |      3 |     9 |  1.8 |
1800      |---+---------+--------+--------+--------+-------+------|
1801      |   | Average |        |        |        |  29.7 |      |
1802      | ^ |         |        |        |        |    at |      |
1803      | $ | max=50  |        |        |        |       |      |
1804      |---+---------+--------+--------+--------+-------+------|
1805      #+TBLFM: $6=vsum($P1..$P3)::$7=10*$Tot/$max;%.1f::$at=vmean(@-II..@-I);%.1f
1807 Important: Please note that for these special tables, recalculating the
1808 table with `C-u C-c *' will only affect rows that are marked `#' or
1809 `*', and fields that have a formula assigned to the field itself.  The
1810 column formulas are not applied in rows with empty first field.
1812    The marking characters have the following meaning:
1814      The fields in this line define names for the columns, so that you
1815      may refer to a column as `$Tot' instead of `$6'.
1818      This row defines names for the fields _above_ the row.  With such
1819      a definition, any formula in the table may use `$m1' to refer to
1820      the value `10'.  Also, if you assign a formula to a names field, it
1821      will be stored as `$name=...'.
1824      Similar to `^', but defines names for the fields in the row
1825      _below_.
1828      Fields in this row can define _parameters_ for formulas.  For
1829      example, if a field in a `$' row contains `max=50', then formulas
1830      in this table can refer to the value 50 using `$max'.  Parameters
1831      work exactly like constants, only that they can be defined on a
1832      per-table basis.
1835      Fields in this row are automatically recalculated when pressing
1836      <TAB> or <RET> or `S-<TAB>' in this row.  Also, this row is
1837      selected for a global recalculation with `C-u C-c *'.  Unmarked
1838      lines will be left alone by this command.
1841      Selects this line for global recalculation with `C-u C-c *', but
1842      not for automatic recalculation.  Use this when automatic
1843      recalculation slows down editing too much.
1846      Unmarked lines are exempt from recalculation with `C-u C-c *'.
1847      All lines that should be recalculated should be marked with `#' or
1848      `*'.
1851      Do not export this line.  Useful for lines that contain the
1852      narrowing `<N>' markers.
1854    Finally, just to whet your appetite on what can be done with the
1855 fantastic `calc' package, here is a table that computes the Taylor
1856 series of degree `n' at location `x' for a couple of functions
1857 (homework: try that with Excel :-)
1859      |---+-------------+---+-----+--------------------------------------|
1860      |   | Func        | n | x   | Result                               |
1861      |---+-------------+---+-----+--------------------------------------|
1862      | # | exp(x)      | 1 | x   | 1 + x                                |
1863      | # | exp(x)      | 2 | x   | 1 + x + x^2 / 2                      |
1864      | # | exp(x)      | 3 | x   | 1 + x + x^2 / 2 + x^3 / 6            |
1865      | # | x^2+sqrt(x) | 2 | x=0 | x*(0.5 / 0) + x^2 (2 - 0.25 / 0) / 2 |
1866      | # | x^2+sqrt(x) | 2 | x=1 | 2 + 2.5 x - 2.5 + 0.875 (x - 1)^2    |
1867      | * | tan(x)      | 3 | x   | 0.0175 x + 1.77e-6 x^3               |
1868      |---+-------------+---+-----+--------------------------------------|
1869      #+TBLFM: $5=taylor($2,$4,$3);n3
1871 \x1f
1872 File: org,  Node: Hyperlinks,  Next: TODO items,  Prev: Tables,  Up: Top
1874 4 Hyperlinks
1875 ************
1877 Just like HTML, Org-mode provides links inside a file, and external
1878 links to other files, Usenet articles, emails, and much more.
1880 * Menu:
1882 * Link format::                 How links in Org-mode are formatted
1883 * Internal links::              Links to other places in the current file
1884 * External links::              URL-like links to the world
1885 * Handling links::              Creating, inserting and following
1886 * Link abbreviations::          Shortcuts for writing complex links
1887 * Search options::              Linking to a specific location
1888 * Custom searches::             When the default search is not enough
1889 * Remember::                    Org-trees store quick notes
1891 \x1f
1892 File: org,  Node: Link format,  Next: Internal links,  Prev: Hyperlinks,  Up: Hyperlinks
1894 4.1 Link format
1895 ===============
1897 Org-mode will recognize plain URL-like links and activate them as
1898 clickable links.  The general link format, however, looks like this:
1900      [[link][description]]       or alternatively           [[link]]
1902    Once a link in the buffer is complete (all brackets present),
1903 Org-mode will change the display so that `description' is displayed
1904 instead of `[[link][description]]' and `link' is displayed instead of
1905 `[[link]]'.  Links will be highlighted in the face `org-link', which by
1906 default is an underlined face.  You can directly edit the visible part
1907 of a link.  Note that this can be either the `link' part (if there is
1908 no description) or the `description' part.  To edit also the invisible
1909 `link' part, use `C-c C-l' with the cursor on the link.
1911    If you place the cursor at the beginning or just behind the end of
1912 the displayed text and press <BACKSPACE>, you will remove the
1913 (invisible) bracket at that location.  This makes the link incomplete
1914 and the internals are again displayed as plain text.  Inserting the
1915 missing bracket hides the link internals again.  To show the internal
1916 structure of all links, use the menu entry `Org->Hyperlinks->Literal
1917 links'.
1919 \x1f
1920 File: org,  Node: Internal links,  Next: External links,  Prev: Link format,  Up: Hyperlinks
1922 4.2 Internal links
1923 ==================
1925 If the link does not look like a URL, it is considered to be internal in
1926 the current file.  Links such as `[[My Target]]' or `[[My Target][Find
1927 my target]]' lead to a text search in the current file.  The link can
1928 be followed with `C-c C-o' when the cursor is on the link, or with a
1929 mouse click (*note Handling links::).  The preferred match for such a
1930 link is a dedicated target: the same string in double angular brackets.
1931 Targets may be located anywhere; sometimes it is convenient to put
1932 them into a comment line. For example
1934      # <<My Target>>
1936 In HTML export (*note HTML export::), such targets will become named
1937 anchors for direct access through `http' links(1).
1939    If no dedicated target exists, Org-mode will search for the words in
1940 the link.  In the above example the search would be for `my target'.
1941 Links starting with a star like `*My Target' restrict the search to
1942 headlines.  When searching, Org-mode will first try an exact match, but
1943 then move on to more and more lenient searches.  For example, the link
1944 `[[*My Targets]]' will find any of the following:
1946      ** My targets
1947      ** TODO my targets are bright
1948      ** my 20 targets are
1950    To insert a link targeting a headline, in-buffer completion can be
1951 used.  Just type a star followed by a few optional letters into the
1952 buffer and press `M-<TAB>'.  All headlines in the current buffer will be
1953 offered as completions.  *Note Handling links::, for more commands
1954 creating links.
1956    Following a link pushes a mark onto Org-mode's own mark ring.  You
1957 can return to the previous position with `C-c &'.  Using this command
1958 several times in direct succession goes back to positions recorded
1959 earlier.
1961 * Menu:
1963 * Radio targets::               Make targets trigger links in plain text.
1965    ---------- Footnotes ----------
1967    (1) Note that text before the first headline is usually not
1968 exported, so the first such target should be after the first headline.
1970 \x1f
1971 File: org,  Node: Radio targets,  Prev: Internal links,  Up: Internal links
1973 4.2.1 Radio targets
1974 -------------------
1976 You can configure Org-mode to link any occurrences of certain target
1977 names in normal text.  So without explicitly creating a link, the text
1978 connects to the target radioing its position.  Radio targets are
1979 enclosed by triple angular brackets.  For example, a target `<<<My
1980 Target>>>' causes each occurrence of `my target' in normal text to
1981 become activated as a link.  The Org-mode file is scanned automatically
1982 for radio targets only when the file is first loaded into Emacs.  To
1983 update the target list during editing, press `C-c C-c' with the cursor
1984 on or at a target.
1986 \x1f
1987 File: org,  Node: External links,  Next: Handling links,  Prev: Internal links,  Up: Hyperlinks
1989 4.3 External links
1990 ==================
1992 Org-mode supports links to files, websites, Usenet and email messages,
1993 and BBDB database entries.  External links are URL-like locators.  They
1994 start with a short identifying string followed by a colon.  There can be
1995 no space after the colon.  The following list shows examples for each
1996 link type.
1998      http://www.astro.uva.nl/~dominik          on the web
1999      file:/home/dominik/images/jupiter.jpg     file, absolute path
2000      file:papers/last.pdf                      file, relative path
2001      news:comp.emacs                           Usenet link
2002      mailto:adent@galaxy.net                   Mail link
2003      vm:folder                                 VM folder link
2004      vm:folder#id                              VM message link
2005      vm://myself@some.where.org/folder#id      VM on remote machine
2006      wl:folder                                 WANDERLUST folder link
2007      wl:folder#id                              WANDERLUST message link
2008      mhe:folder                                MH-E folder link
2009      mhe:folder#id                             MH-E message link
2010      rmail:folder                              RMAIL folder link
2011      rmail:folder#id                           RMAIL message link
2012      gnus:group                                GNUS group link
2013      gnus:group#id                             GNUS article link
2014      bbdb:Richard Stallman                     BBDB link
2015      shell:ls *.org                            A shell command
2016      elisp:(find-file-other-frame "Elisp.org") An elisp form to evaluate
2018    A link should be enclosed in double brackets and may contain a
2019 descriptive text to be displayed instead of the url (*note Link
2020 format::), for example:
2022      [[http://www.gnu.org/software/emacs/][GNU Emacs]]
2024 If the description is a file name or URL that points to an image, HTML
2025 export (*note HTML export::) will inline the image as a clickable
2026 button.  If there is no description at all and the link points to an
2027 image, that image will be inlined into the exported HTML file.
2029    Org-mode also finds external links in the normal text and activates
2030 them as links.  If spaces must be part of the link (for example in
2031 `bbdb:Richard Stallman'), or if you need to remove ambiguities about
2032 the end of the link, enclose them in angular brackets.
2034 \x1f
2035 File: org,  Node: Handling links,  Next: Link abbreviations,  Prev: External links,  Up: Hyperlinks
2037 4.4 Handling links
2038 ==================
2040 Org-mode provides methods to create a link in the correct syntax, to
2041 insert it into an org-mode file, and to follow the link.
2043 `C-c l'
2044      Store a link to the current location.  This is a _global_ command
2045      which can be used in any buffer to create a link.  The link will be
2046      stored for later insertion into an Org-mode buffer (see below).
2047      For Org-mode files, if there is a `<<target>>' at the cursor, the
2048      link points to the target.  Otherwise it points to the current
2049      headline.  For VM, RMAIL, WANDERLUST, MH-E, GNUS and BBDB buffers,
2050      the link will indicate the current article/entry.  For W3 and W3M
2051      buffers, the link goes to the current URL.  For any other files,
2052      the link will point to the file, with a search string (*note
2053      Search options::) pointing to the contents of the current line.
2054      If there is an active region, the selected words will form the
2055      basis of the search string.  If the automatically created link is
2056      not working correctly or accurately enough, you can write custom
2057      functions to select the search string and to do the search for
2058      particular file types - see *Note Custom searches::.  The key
2059      binding `C-c l' is only a suggestion - see *Note Installation::.  
2061 `C-c C-l'
2062      Insert a link.  This prompts for a link to be inserted into the
2063      buffer.  You can just type a link, using text for an internal
2064      link, or one of the link type prefixes mentioned in the examples
2065      above.  All links stored during the current session are part of
2066      the history for this prompt, so you can access them with <up> and
2067      <down>.  Completion, on the other hand, will help you to insert
2068      valid link prefixes like `http:' or `ftp:', including the prefixes
2069      defined through link abbreviations (*note Link abbreviations::).
2070      The link will be inserted into the buffer(1), along with a
2071      descriptive text.  If some text was selected when this command is
2072      called, the selected text becomes the default description.
2073      Note that you don't have to use this command to insert a link.
2074      Links in Org-mode are plain text, and you can type or paste them
2075      straight into the buffer.  By using this command, the links are
2076      automatically enclosed in double brackets, and you will be asked
2077      for the optional descriptive text.  
2079 `C-u C-c C-l'
2080      When `C-c C-l' is called with a `C-u' prefix argument, a link to a
2081      file will be inserted and you may use file name completion to
2082      select the name of the file.  The path to the file is inserted
2083      relative to the directory of the current org file, if the linked
2084      file is in the current directory or in a subdirectory of it, or if
2085      the path is written relative to the current directory using `../'.
2086      Otherwise an absolute path is used, if possible with `~/' for
2087      your home directory.  You can force an absolute path with two
2088      `C-u' prefixes.
2090 `C-c C-l (with cursor on existing link)'
2091      When the cursor is on an existing link, `C-c C-l' allows you to
2092      edit the link and description parts of the link.  
2094 `C-c C-o'
2095      Open link at point.  This will launch a web browser for URLs (using
2096      `browse-url-at-point'), run vm/mh-e/wanderlust/rmail/gnus/bbdb for
2097      the corresponding links, and execute the command in a shell link.
2098      When the cursor is on an internal link, this commands runs the
2099      corresponding search.  When the cursor is on a TAG list in a
2100      headline, it creates the corresponding TAGS view.  If the cursor
2101      is on a time stamp, it compiles the agenda for that date.
2102      Furthermore, it will visit text and remote files in `file:' links
2103      with Emacs and select a suitable application for local non-text
2104      files.  Classification of files is based on file extension only.
2105      See option `org-file-apps'.  If you want to override the default
2106      application and visit the file with Emacs, use a `C-u' prefix.  
2108 `mouse-2'
2109 `mouse-1'
2110      On links, `mouse-2' will open the link just as `C-c C-o' would.
2111      Under Emacs 22, also `mouse-1' will follow a link.  
2113 `mouse-3'
2114      Like `mouse-2', but force file links to be opened with Emacs, and
2115      internal links to be displayed in another window(2).  
2117 `C-c %'
2118      Push the current position onto the mark ring, to be able to return
2119      easily. Commands following an internal link do this automatically.  
2121 `C-c &'
2122      Jump back to a recorded position.  A position is recorded by the
2123      commands following internal links, and by `C-c %'.  Using this
2124      command several times in direct succession moves through a ring of
2125      previously recorded positions.  
2127 `C-c C-x C-n'
2128 `C-c C-x C-p'
2129      Move forward/backward to the next link in the buffer.  At the
2130      limit of the buffer, the search fails once, and then wraps around.
2131      The key bindings for this are really too long, you might want to
2132      bind this also to `C-n' and `C-p'
2133           (add-hook 'org-load-hook
2134             (lambda ()
2135               (define-key 'org-mode-map "\C-n" 'org-next-link)
2136               (define-key 'org-mode-map "\C-p" 'org-previous-link)))
2138    ---------- Footnotes ----------
2140    (1) After insertion of a stored link, the link will be removed from
2141 the list of stored links.  To keep it in the list later use, use a
2142 triple `C-u' prefix to `C-c C-l', or configure the option
2143 `org-keep-stored-link-after-insertion'.
2145    (2) See the variable `org-display-internal-link-with-indirect-buffer'
2147 \x1f
2148 File: org,  Node: Link abbreviations,  Next: Search options,  Prev: Handling links,  Up: Hyperlinks
2150 4.5 Link abbreviations
2151 ======================
2153 Long URLs can be cumbersome to type, and often many similar links are
2154 needed in a document.  For this you can use link abbreviations.  An
2155 abbreviated link looks like this
2157      [[linkword:tag][description]]
2159 where the tag is optional.  Such abbreviations are resolved according to
2160 the information in the variable `org-link-abbrev-alist' that relates
2161 the linkwords to replacement text.  Here is an example:
2163      (setq org-link-abbrev-alist
2164        '(("bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=")
2165          ("google"   . "http://www.google.com/search?q=")
2166          ("ads"      . "http://adsabs.harvard.edu/cgi-bin/
2167                         nph-abs_connect?author=%s&db_key=AST")))
2169    If the replacement text contains the string `%s', it will be
2170 replaced with the tag.  Otherwise the tag will be appended to the string
2171 in order to create the link.  You may also specify a function that will
2172 be called with the tag as the only argument to create the link.
2174    With the above setting, you could link to a specific bug with
2175 `[[bugzilla:129]]', search the web for `OrgMode' with
2176 `[[google:OrgMode]]' and find out what the Org-mode author is doing
2177 besides Emacs hacking with `[[ads:Dominik,C]]'.
2179    If you need special abbreviations just for a single Org-mode buffer,
2180 you can define them in the file with
2182      #+LINK: bugzilla  http://10.1.2.9/bugzilla/show_bug.cgi?id=
2183      #+LINK: google    http://www.google.com/search?q=%s
2185 In-buffer completion *note Completion:: can be used after `[' to
2186 complete link abbreviations.
2188 \x1f
2189 File: org,  Node: Search options,  Next: Custom searches,  Prev: Link abbreviations,  Up: Hyperlinks
2191 4.6 Search options in file links
2192 ================================
2194 File links can contain additional information to make Emacs jump to a
2195 particular location in the file when following a link.  This can be a
2196 line number or a search option after a double(1) colon. For example,
2197 when the command `C-c l' creates a link (*note Handling links::) to a
2198 file, it encodes the words in the current line as a search string that
2199 can be used to find this line back later when following the link with
2200 `C-c C-o'.
2202    Here is the syntax of the different ways to attach a search to a file
2203 link, together with an explanation:
2205      [[file:~/code/main.c::255]]
2206      [[file:~/xx.org::My Target]]
2207      [[file:~/xx.org::*My Target]]
2208      [[file:~/xx.org::/regexp/]]
2210 `255'
2211      Jump to line 255.
2213 `My Target'
2214      Search for a link target `<<My Target>>', or do a text search for
2215      `my target', similar to the search in internal links, see *Note
2216      Internal links::.  In HTML export (*note HTML export::), such a
2217      file link will become an HTML reference to the corresponding named
2218      anchor in the linked file.
2220 `*My Target'
2221      In an Org-mode file, restrict search to headlines.
2223 `/regexp/'
2224      Do a regular expression search for `regexp'.  This uses the Emacs
2225      command `occur' to list all matches in a separate window.  If the
2226      target file is in Org-mode, `org-occur' is used to create a sparse
2227      tree with the matches.
2229    As a degenerate case, a file link with an empty file name can be used
2230 to search the current file.  For example, `[[file:::find me]]' does a
2231 search for `find me' in the current file, just as `[[find me]]' would.
2233    ---------- Footnotes ----------
2235    (1) For backward compatibility, line numbers can also follow a
2236 single colon.
2238 \x1f
2239 File: org,  Node: Custom searches,  Next: Remember,  Prev: Search options,  Up: Hyperlinks
2241 4.7 Custom Searches
2242 ===================
2244 The default mechanism for creating search strings and for doing the
2245 actual search related to a file link may not work correctly in all
2246 cases.  For example, BibTeX database files have many entries like
2247 `year="1993"' which would not result in good search strings, because
2248 the only unique identification for a BibTeX entry is the citation key.
2250    If you come across such a problem, you can write custom functions to
2251 set the right search string for a particular file type, and to do the
2252 search for the string in the file.  Using `add-hook', these functions
2253 need to be added to the hook variables
2254 `org-create-file-search-functions' and
2255 `org-execute-file-search-functions'.  See the docstring for these
2256 variables for more information.  Org-mode actually uses this mechanism
2257 for BibTeX database files, and you can use the corresponding code as an
2258 implementation example.  Search for `BibTeX links' in the source file.
2260 \x1f
2261 File: org,  Node: Remember,  Prev: Custom searches,  Up: Hyperlinks
2263 4.8 Remember
2264 ============
2266 Another way to create org entries with links to other files is through
2267 the remember package by John Wiegley.  Remember lets you store quick
2268 notes with little interruption of your work flow.  See
2269 `http://www.emacswiki.org/cgi-bin/wiki/RememberMode' for more
2270 information.  The notes produced by Remember can be stored in different
2271 ways, and Org-mode files are a good target.  Org-mode significantly
2272 expands the possibilities of remember: You may define templates for
2273 different note types, and to associate target files and headlines with
2274 specific templates.  It also allows you to select the location where a
2275 note should be stored interactively, on the fly.
2277 * Menu:
2279 * Setting up remember::         Some code for .emacs to get things going
2280 * Remember templates::          Define the outline of different note types
2281 * Storing notes::               Directly get the note to where it belongs
2283 \x1f
2284 File: org,  Node: Setting up remember,  Next: Remember templates,  Prev: Remember,  Up: Remember
2286 4.8.1 Setting up remember
2287 -------------------------
2289 The following customization will tell remember to use org files as
2290 target, and to create annotations compatible with Org-mode links.
2292      (setq org-directory "~/path/to/my/orgfiles/")
2293      (setq org-default-notes-file "~/.notes")
2294      (setq remember-annotation-functions '(org-remember-annotation))
2295      (setq remember-handler-functions '(org-remember-handler))
2296      (add-hook 'remember-mode-hook 'org-remember-apply-template)
2298 \x1f
2299 File: org,  Node: Remember templates,  Next: Storing notes,  Prev: Setting up remember,  Up: Remember
2301 4.8.2 Remember templates
2302 ------------------------
2304 In combination with Org-mode, you can use templates to generate
2305 different types of remember notes.  For example, if you would like to
2306 use one template to create general TODO entries, another one for
2307 journal entries, and a third one for collecting random ideas, you could
2308 use:
2310      (setq org-remember-templates
2311       '((?t "* TODO %?\n  %i\n  %a" "~/org/TODO.org")
2312         (?j "* %U %?\n\n  %i\n  %a" "~/org/JOURNAL.org")
2313         (?i "* %^{Title}\n  %i\n  %a" "~/org/JOURNAL.org" "New Ideas")))
2315 In these entries, the character specifies how to select the template.
2316 The first string specifies the template.  Two more (optional) strings
2317 give the file in which, and the headline under which the new note
2318 should be stored.  The file defaults (if not present or `nil') to
2319 `org-default-notes-file', the heading to
2320 `org-remember-default-headline'.  Both defaults help to get to the
2321 storing location quickly, but you can change the location interactively
2322 while storing the note.
2324    When you call `M-x remember' (or `M-x org-remember') to remember
2325 something, org will prompt for a key to select the template (if you have
2326 more than one template) and then prepare the buffer like
2327      * TODO
2328        [[file:link to where you called remember]]
2332      * [2006-03-21 Tue 15:37]
2334        [[file:link to where you called remember]]
2336 During expansion of the template, special `%'-escapes allow dynamic
2337 insertion of content:
2338      %^{prompt}  prompt the user for a string and replace this sequence with it.
2339      %t          time stamp, date only
2340      %T          time stamp with date and time
2341      %u, %U      like the above, but inactive time stamps
2342      %^t         like `%t', but prompt for date.  Similarly `%^T', `%^u', `%^U'
2343                  You may define a prompt like `%^{Birthday}t'
2344      %n          user name (taken from `user-full-name')
2345      %a          annotation, normally the link created with `org-store-link'
2346      %i          initial content, the region when remember is called with C-u.
2347                  The entire text will be indented like `%i' itself.
2348      %^g         prompt for tags, with completion on tags in target file.
2349      %^G         prompt for tags, with completion all tags in all agenda files.
2350      %:keyword   specific information for certain link types, see below
2352 For specific link types, the following keywords will be defined:
2354      Link type          |  Available keywords
2355      -------------------+----------------------------------------------
2356      bbdb               |  %:name %:company
2357      vm, wl, mh, rmail  |  %:type %:subject %:message-id
2358                         |  %:from %:fromname %:fromaddress
2359                         |  %:to   %:toname   %:toaddress
2360                         |  %:fromto (either "to NAME" or "from NAME")(1)
2361      gnus               |  %:group, for messages also all email fields
2362      w3, w3m            |  %:url
2363      info               |  %:file %:node
2364      calendar           |  %:date"
2366 To place the cursor after template expansion use:
2368      %?          After completing the template, position cursor here.
2370 If you change you mind about which template to use, call `org-remember'
2371 in the remember buffer.  You may then select a new template that will
2372 be filled with the previous context information.
2374    ---------- Footnotes ----------
2376    (1) This will always be the other, not the user.  See the variable
2377 `org-from-is-user-regexp'.
2379 \x1f
2380 File: org,  Node: Storing notes,  Prev: Remember templates,  Up: Remember
2382 4.8.3 Storing notes
2383 -------------------
2385 When you are finished preparing a note with remember, you have to press
2386 `C-c C-c' to file the note away.  The handler first prompts for a
2387 target file - if you press <RET>, the value specified for the template
2388 is used.  Then the command offers the headings tree of the selected
2389 file, with the cursor position at the default headline (if you had
2390 specified one in the template).  You can either immediately press <RET>
2391 to get the note placed there.  Or you can use the following keys to
2392 find a better location:
2393      <TAB>         Cycle visibility.
2394      <down> / <up>   Next/previous visible headline.
2395      n / p        Next/previous visible headline.
2396      f / b        Next/previous headline same level.
2397      u            One level up.
2398    Pressing <RET> or <left> or <right> then leads to the following
2399 result.
2401 Cursor         Key         Note gets inserted
2402 position                   
2403 buffer-start   <RET>       as level 2 heading at end of file
2404 on headline    <RET>       as sublevel of the heading at cursor
2405                <left>/<right>as same level, before/after current heading
2406 not on         <RET>       at cursor position, level taken from context.
2407 headline                   
2409    So a fast way to store the note to its default location is to press
2410 `C-c C-c <RET> <RET>'.  Even shorter would be `C-u C-c C-c', which does
2411 the same without even asking for a file or showing the tree.
2413    Before inserting the text into a tree, the function ensures that the
2414 text has a headline, i.e. a first line that starts with a `*'.  If not,
2415 a headline is constructed from the current date and some additional
2416 data.  If the variable `org-adapt-indentation' is non-nil, the entire
2417 text is also indented so that it starts in the same column as the
2418 headline (after the asterisks).
2420 \x1f
2421 File: org,  Node: TODO items,  Next: Tags,  Prev: Hyperlinks,  Up: Top
2423 5 TODO items
2424 ************
2426 Org-mode does not maintain TODO lists as a separate document.  TODO
2427 items are an integral part of the notes file, because TODO items
2428 usually come up while taking notes!  With Org-mode, you simply mark any
2429 entry in a tree as being a TODO item.  In this way, the information is
2430 not duplicated, and the entire context from which the item emerged is
2431 always present when you check.
2433    Of course, this technique causes TODO items to be scattered
2434 throughout your file.  Org-mode provides methods to give you an
2435 overview over all things you have to do.
2437 * Menu:
2439 * TODO basics::                 Marking and displaying TODO entries
2440 * TODO extensions::             Workflow and assignments
2441 * Priorities::                  Some things are more important than others
2442 * Breaking down tasks::         Splitting a task into manageable pieces
2443 * Checkboxes::                  Tick-off lists
2445 \x1f
2446 File: org,  Node: TODO basics,  Next: TODO extensions,  Prev: TODO items,  Up: TODO items
2448 5.1 Basic TODO functionality
2449 ============================
2451 Any headline can become a TODO item by starting it with the word TODO,
2452 for example:
2454      *** TODO Write letter to Sam Fortune
2456 The most important commands to work with TODO entries are:
2458 `C-c C-t'
2459      Rotate the TODO state of the current item among
2461           ,-> (unmarked) -> TODO -> DONE --.
2462           '--------------------------------'
2464      The same rotation can also be done "remotely" from the timeline and
2465      agenda buffers with the `t' command key (*note Agenda commands::).  
2467 `S-<right>'
2468 `S-<left>'
2469      Select the following/preceding TODO state, similar to cycling.
2470      Mostly useful if more than two TODO states are possible (*note
2471      TODO extensions::).  
2473 `C-c C-v'
2474      View TODO items in a _sparse tree_ (*note Sparse trees::).  Folds
2475      the entire buffer, but shows all TODO items and the headings
2476      hierarchy above them.  With prefix arg, search for a specific
2477      TODO.  You will be prompted for the keyword, and you can also give
2478      a list of keywords like `kwd1|kwd2|...'.  With numerical prefix N,
2479      show the tree for the Nth keyword in the variable
2480      `org-todo-keywords'.  With two prefix args, find all TODO and DONE
2481      entries.  
2483 `C-c a t'
2484      Show the global TODO list.  This collects the TODO items from all
2485      agenda files (*note Agenda views::) into a single buffer.  The
2486      buffer is in `agenda-mode', so there are commands to examine and
2487      manipulate the TODO entries directly from that buffer (*note
2488      Agenda commands::).  *Note Global TODO list::, for more
2489      information.  
2491 `S-M-<RET>'
2492      Insert a new TODO entry below the current one.
2494 \x1f
2495 File: org,  Node: TODO extensions,  Next: Priorities,  Prev: TODO basics,  Up: TODO items
2497 5.2 Extended use of TODO keywords
2498 =================================
2500 The default implementation of TODO entries is just two states: TODO and
2501 DONE.  You can use the TODO feature for more complicated things by
2502 configuring the variable `org-todo-keywords'.  With special setup, the
2503 TODO keyword system can work differently in different files.
2505    Note that tags are another way to classify headlines in general and
2506 TODO items in particular (*note Tags::).
2508 * Menu:
2510 * Workflow states::             From TODO to DONE in steps
2511 * TODO types::                  I do this, Fred the rest
2512 * Multiple sets in one file::   Mixing it all, and still finding your way
2513 * Per file keywords::           Different files, different requirements
2515 \x1f
2516 File: org,  Node: Workflow states,  Next: TODO types,  Prev: TODO extensions,  Up: TODO extensions
2518 5.2.1 TODO keywords as workflow states
2519 --------------------------------------
2521 You can use TODO keywords to indicate different _sequential_ states in
2522 the process of working on an item, for example(1):
2524      (setq org-todo-keywords
2525        '((sequence "TODO" "FEEDBACK" "VERIFY" "|" "DONE" "DELEGATED")))
2527    The vertical bar separates the TODO keywords (states that _need
2528 action_) from the DONE states (which need _no further action_.  If you
2529 don't provide the separator bar, the last state is used as the DONE
2530 state.  With this setup, the command `C-c C-t' will cycle an entry from
2531 TODO to FEEDBACK, then to VERIFY, and finally to DONE and DELEGATED.
2532 You may also use a prefix argument to quickly select a specific state.
2533 For example `C-3 C-c C-t' will change the state immediately to VERIFY.
2534 If you define many keywords, you can use in-buffer completion (see
2535 *Note Completion::) to insert these words into the buffer.  Changing a
2536 todo state can be logged with a timestamp, see *Note Tracking TODO
2537 state changes:: for more information.
2539    ---------- Footnotes ----------
2541    (1) Changing this variable only becomes effective after restarting
2542 Org-mode in a buffer.
2544 \x1f
2545 File: org,  Node: TODO types,  Next: Multiple sets in one file,  Prev: Workflow states,  Up: TODO extensions
2547 5.2.2 TODO keywords as types
2548 ----------------------------
2550 The second possibility is to use TODO keywords to indicate different
2551 _types_ of action items.  For example, you might want to indicate that
2552 items are for "work" or "home".  Or, when you work with several people
2553 on a single project, you might want to assign action items directly to
2554 persons, by using their names as TODO keywords.  This would be set up
2555 like this:
2557      (setq org-todo-keywords '((type "Fred" "Sara" "Lucy" "|" "DONE")))
2559    In this case, different keywords do not indicate a sequence, but
2560 rather different types.  So the normal work flow would be to assign a
2561 task to a person, and later to mark it DONE.  Org-mode supports this
2562 style by adapting the workings of the command `C-c C-t'(1).  When used
2563 several times in succession, it will still cycle through all names, in
2564 order to first select the right type for a task.  But when you return
2565 to the item after some time and execute `C-c C-t' again, it will switch
2566 from any name directly to DONE.  Use prefix arguments or completion to
2567 quickly select a specific name.  You can also review the items of a
2568 specific TODO type in a sparse tree by using a numeric prefix to `C-c
2569 C-v'.  For example, to see all things Lucy has to do, you would use
2570 `C-3 C-c C-v'.  To collect Lucy's items from all agenda files into a
2571 single buffer, you would use the prefix arg as well when creating the
2572 global todo list: `C-3 C-c t'.
2574    ---------- Footnotes ----------
2576    (1) This is also true for the `t' command in the timeline and agenda
2577 buffers.
2579 \x1f
2580 File: org,  Node: Multiple sets in one file,  Next: Per file keywords,  Prev: TODO types,  Up: TODO extensions
2582 5.2.3 Multiple keyword sets in one file
2583 ---------------------------------------
2585 Sometimes you may want to use different sets of TODO keywords in
2586 parallel.  For example, you may want to have the basic `TODO'/`DONE',
2587 but also a workflow for bug fixing, and a separate state indicating
2588 that an item has been canceled (so it is not DONE, but also does not
2589 require action).  Your setup would then look like this:
2591      (setq org-todo-keywords
2592            '((sequence "TODO" "|" "DONE")
2593              (sequence "REPORT" "BUG" "KNOWNCAUSE" "|" "FIXED")
2594              (sequence "|" "CANCELED")))
2596    The keywords should all be different, this helps Org-mode to keep
2597 track of which subsequence should be used for a given entry.  In this
2598 setup, `C-c C-t' only operates within a subsequence, so it switches from
2599 `DONE' to (nothing) to `TODO', and from `FIXED' to (nothing) to
2600 `REPORT'.  Therefore you need a mechanism to initially select the
2601 correct sequence.  Besides the obvious ways like typing a keyword or
2602 using completion, you may also apply the following commands:
2604 `C-S-<right>'
2605 `C-S-<left>'
2606      These keys jump from one TODO subset to the next.  In the above
2607      example, `C-S-<right>' would jump from `TODO' or `DONE' to
2608      `REPORT', and any of the words in the second row to `CANCELED'.  
2610 `S-<right>'
2611 `S-<left>'
2612      `S-<<left>>' and `S-<<right>>' and walk through _all_ keywords
2613      from all sets, so for example `S-<<right>>' would switch from
2614      `DONE' to `REPORT' in the example above.
2616 \x1f
2617 File: org,  Node: Per file keywords,  Prev: Multiple sets in one file,  Up: TODO extensions
2619 5.2.4 Setting up keywords for individual files
2620 ----------------------------------------------
2622 It can be very useful to use different aspects of the TODO mechanism in
2623 different files.  For file-local settings, you need to add special lines
2624 to the file which set the keywords and interpretation for that file
2625 only.  For example, to set one of the two examples discussed above, you
2626 need one of the following lines, starting in column zero anywhere in the
2627 file:
2629      #+SEQ_TODO: TODO FEEDBACK VERIFY | DONE CANCELED
2630    or
2631      #+TYP_TODO: Fred Sara Lucy Mike | DONE
2633    A setup for using several sets in parallel would be:
2635      #+SEQ_TODO: "TODO" "|" "DONE"
2636      #+SEQ_TODO: "REPORT" "BUG" "KNOWNCAUSE" "|" "FIXED"
2637      #+SEQ_TODO: "|" "CANCELED"
2639 To make sure you are using the correct keyword, type `#+' into the
2640 buffer and then use `M-<TAB>' completion.
2642    Remember that the keywords after the vertical bar (or the last
2643 keyword if no bar is there) must always mean that the item is DONE
2644 (although you may use a different word).  After changing one of these
2645 lines, use `C-c C-c' with the cursor still in the line to make the
2646 changes known to Org-mode(1).
2648    ---------- Footnotes ----------
2650    (1) Org-mode parses these lines only when Org-mode is activated
2651 after visiting a file.  `C-c C-c' with the cursor in a line starting
2652 with `#+' is simply restarting Org-mode for the current buffer.
2654 \x1f
2655 File: org,  Node: Priorities,  Next: Breaking down tasks,  Prev: TODO extensions,  Up: TODO items
2657 5.3 Priorities
2658 ==============
2660 If you use Org-mode extensively to organize your work, you may end up
2661 with a number of TODO entries so large that you'd like to prioritize
2662 them.  This can be done by placing a _priority cookie_ into the
2663 headline, like this
2665      *** TODO [#A] Write letter to Sam Fortune
2667 With its standard setup, Org-mode supports priorities `A', `B', and
2668 `C'.  `A' is the highest priority.  An entry without a cookie is
2669 treated as priority `B'.  Priorities make a difference only in the
2670 agenda (*note Weekly/Daily agenda::).
2672 `C-c ,'
2673      Set the priority of the current headline.  The command prompts for
2674      a priority character `A', `B' or `C'.  When you press <SPC>
2675      instead, the priority cookie is removed from the headline.  The
2676      priorities can also be changed "remotely" from the timeline and
2677      agenda buffer with the `,' command (*note Agenda commands::).  
2679 `S-<up>'
2680 `S-<down>'
2681      Increase/decrease priority of current headline.  Note that these
2682      keys are also used to modify time stamps (*note Creating
2683      timestamps::).  Furthermore, these keys are also used by CUA-mode
2684      (*note Conflicts::).
2686    You can change the range of allowed priorities by setting the
2687 variables `org-highest-priority', `org-lowest-priority', and
2688 `org-default-priority'.  For an individual buffer, you may set these
2689 values (highest, lowest, default) like this (please make sure that the
2690 highest priority is earlier in the alphabet than the lowest priority):
2692      #+PRIORITIES: A C B
2694 \x1f
2695 File: org,  Node: Breaking down tasks,  Next: Checkboxes,  Prev: Priorities,  Up: TODO items
2697 5.4 Breaking tasks down into subtasks
2698 =====================================
2700 It is often advisable to break down large tasks into smaller, manageable
2701 subtasks.  You can do this by creating an outline tree below a TODO
2702 item, with detailed subtasks on the tree(1).  Another possibility is
2703 the use of checkboxes to identify (a hierarchy of) a large number of
2704 subtasks (*note Checkboxes::).
2706    ---------- Footnotes ----------
2708    (1) To keep subtasks out of the global TODO list, see the
2709 `org-agenda-todo-list-sublevels'.
2711 \x1f
2712 File: org,  Node: Checkboxes,  Prev: Breaking down tasks,  Up: TODO items
2714 5.5 Checkboxes
2715 ==============
2717 Every item in a plain list (*note Plain lists::) can be made a checkbox
2718 by starting it with the string `[ ]'.  This feature is similar to TODO
2719 items (*note TODO items::), but more lightweight.  Checkboxes are not
2720 included into the global TODO list, so they are often great to split a
2721 task into a number of simple steps.  Or you can use them in a shopping
2722 list.  To toggle a checkbox, use `C-c C-c', or try Piotr Zielinski's
2723 `org-mouse.el'.  Here is an example of a checkbox list.
2725      * TODO Organize party [3/6]
2726        - call people [1/3]
2727          - [ ] Peter
2728          - [X] Sarah
2729          - [ ] Sam
2730        - [X] order food
2731        - [ ] think about what music to play
2732        - [X] talk to the neighbors
2734    The `[3/6]' and `[1/3]' in the first and second line are cookies
2735 indicating how many checkboxes are present in this entry, and how many
2736 of them have been checked off.  This can give you an idea on how many
2737 checkboxes remain, even without opening a folded entry.  The cookies
2738 can be placed into a headline or into (the first line of) a plain list
2739 item. Each cookie covers all checkboxes structurally below that
2740 headline/item.  You have to insert the cookie yourself by typing either
2741 `[/]' or `[%]'.  In the first case you get an `n out of m' result, in
2742 the second case you get information about the percentage of checkboxes
2743 checked (in the above example, this would be `[50%]' and `[33%],
2744 respectively').
2746 The following commands work with checkboxes:
2748 `C-c C-c'
2749      Toggle checkbox at point.  With prefix argument, set it to `[-]',
2750      which is considered to be an intermediate state.  
2752 `C-c C-x C-b'
2753      Toggle checkbox at point.
2754         - If there is an active region, toggle the first checkbox in
2755           the region and set all remaining boxes to the same status as
2756           the first.  If you want to toggle all boxes in the region
2757           independently, use a prefix argument.
2759         - If the cursor is in a headline, toggle checkboxes in the
2760           region between this headline and the next (so _not_ the
2761           entire subtree).
2763         - If there is no active region, just toggle the checkbox at
2764           point.
2765      
2766 `M-S-<RET>'
2767      Insert a new item with a checkbox.  This works only if the cursor
2768      is already in a plain list item (*note Plain lists::).  
2770 `C-c #'
2771      Update the checkbox statistics in the current outline entry.  When
2772      called with a `C-u' prefix, update the entire file.  Checkbox
2773      statistic cookies are updated automatically if you toggle
2774      checkboxes with `C-c C-c' and make new ones with `M-S-<RET>'.  If
2775      you delete boxes or add/change them by hand, use this command to
2776      get things back into synch.  Or simply toggle any checkbox twice
2777      with `C-c C-c'.
2779 \x1f
2780 File: org,  Node: Tags,  Next: Properties and columns,  Prev: TODO items,  Up: Top
2782 6 Tags
2783 ******
2785 If you wish to implement a system of labels and contexts for
2786 cross-correlating information, an excellent way is to assign tags to
2787 headlines.  Org-mode has extensive support for using tags.
2789    Every headline can contain a list of tags, at the end of the
2790 headline.  Tags are normal words containing letters, numbers, `_', and
2791 `@'.  Tags must be preceded and followed by a single colon; like
2792 `:WORK:'.  Several tags can be specified like `:WORK:URGENT:'.
2794 * Menu:
2796 * Tag inheritance::             Tags use the tree structure of the outline
2797 * Setting tags::                How to assign tags to a headline
2798 * Tag searches::                Searching for combinations of tags
2800 \x1f
2801 File: org,  Node: Tag inheritance,  Next: Setting tags,  Prev: Tags,  Up: Tags
2803 6.1 Tag inheritance
2804 ===================
2806 Tags make use of the hierarchical structure of outline trees.  If a
2807 heading has a certain tag, all subheadings will inherit the tag as
2808 well.  For example, in the list
2810      * Meeting with the French group      :WORK:
2811      ** Summary by Frank                  :BOSS:NOTES:
2812      *** TODO Prepare slides for him      :ACTION:
2814 the final heading will have the tags `:WORK:', `:BOSS:', `:NOTES:', and
2815 `:ACTION:'.  When executing tag searches and Org-mode finds that a
2816 certain headline matches the search criterion, it will not check any
2817 sublevel headline, assuming that these likely also match, and that the
2818 list of matches can become very long.  This may not be what you want,
2819 however, and you can influence inheritance and searching using the
2820 variables `org-use-tag-inheritance' and `org-tags-match-list-sublevels'.
2822 \x1f
2823 File: org,  Node: Setting tags,  Next: Tag searches,  Prev: Tag inheritance,  Up: Tags
2825 6.2 Setting tags
2826 ================
2828 Tags can simply be typed into the buffer at the end of a headline.
2829 After a colon, `M-<TAB>' offers completion on tags.  There is also a
2830 special command for inserting tags:
2832 `C-c C-c'
2833      Enter new tags for the current headline.  Org-mode will either
2834      offer completion or a special single-key interface for setting
2835      tags, see below.  After pressing <RET>, the tags will be inserted
2836      and aligned to `org-tags-column'.  When called with a `C-u'
2837      prefix, all tags in the current buffer will be aligned to that
2838      column, just to make things look nice.  TAGS are automatically
2839      realigned after promotion, demotion, and TODO state changes (*note
2840      TODO basics::).
2842    Org will support tag insertion based on a _list of tags_.  By
2843 default this list is constructed dynamically, containing all tags
2844 currently used in the buffer.  You may also globally specify a hard list
2845 of tags with the variable `org-tag-alist'.  Finally you can set the
2846 default tags for a given file with lines like
2848      #+TAGS: @WORK @HOME @TENNISCLUB
2849      #+TAGS: Laptop Car PC Sailboat
2851    If you have globally defined your preferred set of tags using the
2852 variable `org-tag-alist', but would like to use a dynamic tag list in a
2853 specific file: Just add an empty TAGS option line to that file:
2855      #+TAGS:
2857    The default support method for entering tags is minibuffer
2858 completion.  However, Org-mode also implements a much better method:
2859 _fast tag selection_.  This method allows to select and deselect tags
2860 with a single key per tag.  To function efficiently, you should assign
2861 unique keys to most tags.  This can be done globally with
2863      (setq org-tag-alist '(("@WORK" . ?w) ("@HOME" . ?h) ("Laptop" . ?l)))
2865 or on a per-file basis with
2867      #+TAGS: @WORK(w)  @HOME(h)  @TENNISCLUB(t)  Laptop(l)  PC(p)
2869 You can also group together tags that are mutually exclusive.  With
2870 curly braces(1)
2872      #+TAGS: { @WORK(w)  @HOME(h)  @TENNISCLUB(t) }  Laptop(l)  PC(p)
2874 you indicate that at most one of `@WORK', `@HOME', and `@TENNISCLUB'
2875 should be selected.
2877 Don't forget to press `C-c C-c' with the cursor in one of these lines
2878 to activate any changes.
2880    If at least one tag has a selection key, pressing `C-c C-c' will
2881 automatically present you with a special interface, listing inherited
2882 tags, the tags of the current headline, and a list of all legal tags
2883 with corresponding keys(2).  In this interface, you can use the
2884 following keys:
2886 `a-z...'
2887      Pressing keys assigned to tags will add or remove them from the
2888      list of tags in the current line.  Selecting a tag in a group of
2889      mutually exclusive tags will turn off any other tags from that
2890      group.  
2892 `<TAB>'
2893      Enter a tag in the minibuffer, even if the tag is not in the
2894      predefined list.  You will be able to complete on all tags present
2895      in the buffer.  
2897 `<SPC>'
2898      Clear all tags for this line.  
2900 `<RET>'
2901      Accept the modified set.
2903 `C-g'
2904      Abort without installing changes.
2907      If `q' is not assigned to a tag, it aborts like `C-g'.
2910      Turn off groups of mutually exclusive tags.  Use this to (as an
2911      exception) assign several tags from such a group.
2913 `C-c'
2914      Toggle auto-exit after the next change (see below).  If you are
2915      using expert mode, the first `C-c' will display the selection
2916      window.
2918 This method lets you assign tags to a headline with very few keys.  With
2919 the above setup, you could clear the current tags and set `@HOME',
2920 `Laptop' and `PC' tags with just the following keys: `C-c C-c <SPC> h l
2921 p <RET>'.  Switching from `@HOME' to `@WORK' would be done with `C-c
2922 C-c w <RET>' or alternatively with `C-c C-c C-c w'.  Adding the
2923 non-predefined tag `Sarah' could be done with `C-c C-c <TAB> S a r a h
2924 <RET> <RET>'.
2926    If you find that most of the time, you need only a single keypress to
2927 modify your list of tags, set the variable
2928 `org-fast-tag-selection-single-key'.  Then you no longer have to press
2929 <RET> to exit fast tag selection - it will immediately exit after the
2930 first change.  If you then occasionally need more keys, press `C-c' to
2931 turn off auto-exit for the current tag selection process (in effect:
2932 start selection with `C-c C-c C-c' instead of `C-c C-c').  If you set
2933 the variable to the value `expert', the special window is not even
2934 shown for single-key tag selection, it comes up only when you press an
2935 extra `C-c'.
2937    ---------- Footnotes ----------
2939    (1) In `org-mode-alist' use `'(:startgroup)' and `'(:endgroup)',
2940 respectively.  Several groups are allowed.
2942    (2) Keys will automatically be assigned to tags which have no
2943 configured keys.
2945 \x1f
2946 File: org,  Node: Tag searches,  Prev: Setting tags,  Up: Tags
2948 6.3 Tag searches
2949 ================
2951 Once a tags system has been set up, it can be used to collect related
2952 information into special lists.
2954 `C-c \'
2955      Create a sparse tree with all headlines matching a tags search.
2956      With a `C-u' prefix argument, ignore headlines that are not a TODO
2957      line.  
2959 `C-c a m'
2960      Create a global list of tag matches from all agenda files.  *Note
2961      Matching tags and properties::.  
2963 `C-c a M'
2964      Create a global list of tag matches from all agenda files, but
2965      check only TODO items and force checking subitems (see variable
2966      `org-tags-match-list-sublevels').
2968    A tags search string can use Boolean operators `&' for AND and `|'
2969 for OR.  `&' binds more strongly than `|'.  Parenthesis are currently
2970 not implemented.  A tag may also be preceded by `-', to select against
2971 it, and `+' is syntactic sugar for positive selection.  The AND
2972 operator `&' is optional when `+' or `-' is present.  Examples:
2974 `+WORK-BOSS'
2975      Select headlines tagged `:WORK:', but discard those also tagged
2976      `:BOSS:'.
2978 `WORK|LAPTOP'
2979      Selects lines tagged `:WORK:' or `:LAPTOP:'.
2981 `WORK|LAPTOP&NIGHT'
2982      Like before, but require the `:LAPTOP:' lines to be tagged also
2983      `NIGHT'.
2985    If you are using multi-state TODO keywords (*note TODO
2986 extensions::), it can be useful to also match on the TODO keyword.
2987 This can be done by adding a condition after a slash to a tags match.
2988 The syntax is similar to the tag matches, but should be applied with
2989 consideration: For example, a positive selection on several TODO
2990 keywords can not meaningfully be combined with boolean AND.  However,
2991 _negative selection_ combined with AND can be meaningful.  To make sure
2992 that only lines are checked that actually have any TODO keyword, use
2993 `C-c a M', or equivalently start the todo part after the slash with `!'.
2994 Examples:
2996 `WORK/WAITING'
2997      Select `:WORK:'-tagged TODO lines with the specific TODO keyword
2998      `WAITING'.
3000 `WORK/!-WAITING-NEXT'
3001      Select `:WORK:'-tagged TODO lines that are neither `WAITING' nor
3002      `NEXT'
3004 `WORK/+WAITING|+NEXT'
3005      Select `:WORK:'-tagged TODO lines that are either `WAITING' or
3006      `NEXT'.
3008    Any element of the tag/todo match can be a regular expression - in
3009 this case it must be enclosed in curly braces.  For example,
3010 `WORK+{^BOSS.*}' matches headlines that contain the tag `WORK' and any
3011 tag starting with `BOSS'.
3013    You can also require a headline to be of a certain level, by writing
3014 instead of any TAG an expression like `LEVEL=3'.  For example, a search
3015 `+LEVEL=3+BOSS/-DONE' lists all level three headlines that have the tag
3016 BOSS and are _not_ marked with the todo keyword DONE.
3018 \x1f
3019 File: org,  Node: Properties and columns,  Next: Timestamps,  Prev: Tags,  Up: Top
3021 7 Properties and Columns
3022 ************************
3024 Properties are a set of key-value pairs associated with an entry.  There
3025 are two main applications for properties in Org-mode.  First, properties
3026 are like tags, but with a value.  For example, in a file where you
3027 document bugs and plan releases of a piece of software, instead of using
3028 tags like `:release_1:', `:release_2:', it can be more efficient to use
3029 a property `RELEASE' with a value `1.0' or `2.0'.  Second, you can use
3030 properties to implement (very basic) database capabilities in an
3031 Org-mode buffer, for example to create a list of Music CD's you own.
3032 You can edit and view properties conveniently in column view (*note
3033 Column view::).
3035 * Menu:
3037 * Property syntax::             How properties are spelled out
3038 * Special properties::          Access to other Org-mode features
3039 * Property searches::           Matching property values
3040 * Column view::                 Tabular viewing and editing
3041 * Property API::                Properties for Lisp programmers
3043 \x1f
3044 File: org,  Node: Property syntax,  Next: Special properties,  Prev: Properties and columns,  Up: Properties and columns
3046 7.1 Property Syntax
3047 ===================
3049 Properties are key-value pairs.  They need to be inserted into a special
3050 drawer (*note Drawers::) with the name `PROPERTIES'.  Each property is
3051 specified on a single line, with the key (surrounded by colons) first,
3052 and the value after it.  Here is an example:
3054      * CD collection
3055      ** Classic
3056      *** Goldberg Variations
3057          :PROPERTIES:
3058          :Title:     Goldberg Variations
3059          :Composer:  J.S. Bach
3060          :Artist:    Glen Gould
3061          :Publisher: Deutsche Grammphon
3062          :NDisks:    1
3063          :END:
3065    You may define the allowed values for a particular property `XYZ' by
3066 setting a property `XYZ_ALL'.  This special property is _inherited_, so
3067 if you set it in a level 1 entry, it will apply to the entire tree.
3068 When allowed values are defined, setting the corresponding property
3069 becomes easier and is less prone to typing errors.  For the example
3070 with the CD collection, we can predefine publishers and the number of
3071 disks in a box like this:
3073      * CD collection
3074        :PROPERTIES:
3075        :NDisks_ALL:  1 2 3 4
3076        :Publisher_ALL: "Deutsche Grammophon" Phillips EMI
3077        :END:
3079 The following commands help to work with properties:
3081 `M-<TAB>'
3082      After an initial colon in a line, complete property keys.  All
3083      keys used in the current file will be offered as possible
3084      completions.
3086 `M-x org-insert-property-drawer'
3087      Insert a property drawer into the current entry.  The drawer will
3088      be inserted early in the entry, but after the lines with planning
3089      information like deadlines.  
3091 `C-c C-c'
3092      With the cursor in a property drawer, this executes property
3093      commands.
3095 `C-c C-c s'
3096      Set a property in the current entry.  Both the property and the
3097      value can be inserted using completion.  
3099 `S-<left>/<right>'
3100      Switch property at point to the next/previous allowed value.
3102 `C-c C-c d'
3103      Remove a property from the current entry.
3105 `C-c C-c D'
3106      Globally remove a property, from all entries in the current file.
3108 \x1f
3109 File: org,  Node: Special properties,  Next: Property searches,  Prev: Property syntax,  Up: Properties and columns
3111 7.2 Special Properties
3112 ======================
3114 Special properties provide alternative access method to Org-mode
3115 features discussed in the previous chapters, like the TODO state or the
3116 priority of an entry.  This interface exists so that you can include
3117 these states into columns view (*note Column view::).  The following
3118 property names are special and should not be used as keys in the
3119 properties drawer:
3121      TODO         The TODO keyword of the entry.
3122      TAGS         The tags defined directly in the headline.
3123      ALLTAGS      All tags, including inherited ones.
3124      PRIORITY     The priority of the entry, a string with a single letter.
3125      DEADLINE     The deadline time string, without the angular brackets.
3126      SCHEDULED    The scheduling time stamp, without the angular brackets.
3128 \x1f
3129 File: org,  Node: Property searches,  Next: Column view,  Prev: Special properties,  Up: Properties and columns
3131 7.3 Property searches
3132 =====================
3134 To create sparse trees and special lists with selection based on
3135 properties, the same commands are used as for tag searches (*note Tag
3136 searches::), and the same logic applies.  For example, a search string
3138      +WORK-BOSS+PRIORITY="A"+coffee="unlimited"+with={Sarah\|Denny}
3140 finds entries tagged `:WORK:' but not `:BOSS:', which also have a
3141 priority value `A', a `:coffee:' property with the value `unlimited',
3142 and a `:with:' property that is matched by the regular expression
3143 `Sarah\|Denny'.
3145 \x1f
3146 File: org,  Node: Column view,  Next: Property API,  Prev: Property searches,  Up: Properties and columns
3148 7.4 Column View
3149 ===============
3151 A great way to view and edit properties in an outline tree is _column
3152 view_.  In column view, each outline item is turned into a table row.
3153 Columns in this table provide access to properties of the entries.
3154 Org-mode implements columns by overlaying a tabular structure over the
3155 headline of each item.  While the headlines have been turned into a
3156 table row, you can still change the visibility of the outline tree.
3157 For example, you get a compact table by switching to CONTENTS view
3158 (`S-<TAB> S-<TAB>', or simply `c' while column view is active), but you
3159 can still open, read, and edit the entry below each headline.  Or, you
3160 can switch to column view after executing a sparse tree command and in
3161 this way get a table only for the selected items.  Column view also
3162 works in agenda buffers (*note Agenda views::) where queries have
3163 collected selected items, possibly from a number of files.
3165 * Menu:
3167 * Defining columns::            The COLUMNS format property
3168 * Using column view::           How to create and use column view
3170 \x1f
3171 File: org,  Node: Defining columns,  Next: Using column view,  Prev: Column view,  Up: Column view
3173 7.4.1 Defining Columns
3174 ----------------------
3176 Setting up a column view first requires defining the columns.  This is
3177 done by defining a column format line.
3179 * Menu:
3181 * Scope of column definitions::  Where defined, where valid?
3182 * Column attributes::           Appearance and content of a column
3184 \x1f
3185 File: org,  Node: Scope of column definitions,  Next: Column attributes,  Prev: Defining columns,  Up: Defining columns
3187 7.4.1.1 Scope of column definitions
3188 ...................................
3190 To define a column format for an entire file, use a line like
3192      #+COLUMNS: %25ITEM %TAGS %PRIORITY %TODO
3194    To specify a format that only applies to a specific tree, add a
3195 COLUMNS property to the top node of that tree, for example
3196      ** Top node for columns view
3197         :PROPERTIES:
3198         :COLUMNS: %25ITEM %TAGS %PRIORITY %TODO
3199         :END:
3201    If a `COLUMNS' property is present in an entry, it defines columns
3202 for the entry itself, and for the entire subtree below it.  Since the
3203 column definition is part of the hierarchical structure of the document,
3204 you can define columns on level 1 that are general enough for all
3205 sublevels, and more specific columns further down, when you edit a
3206 deeper part of the tree.
3208 \x1f
3209 File: org,  Node: Column attributes,  Prev: Scope of column definitions,  Up: Defining columns
3211 7.4.1.2 Column attributes
3212 .........................
3214 A column definition sets the attributes of a column.  The general
3215 definition looks like this:
3217       %[width]property[(title)][{summary-type}]
3219 Except for the percent sign and the property name, all items are
3220 optional.  The individual parts have the following meaning:
3222      width           An integer specifying the width of the column in characters.
3223                      If omitted, the width will be determined automatically.
3224      property        The property that should be edited in this column.
3225      (title)         The header text for the column. If omitted, the
3226                      property name is used.
3227      {summary-type}  The summary type.  If specified, the column values for
3228                      parent nodes are computed from the children.
3229                      Supported summary types are:
3230                      {+}  Sum numbers in this column.
3231                      {:}  Sum times, HH:MM:SS, plain numbers are hours.
3232                      {X}  Checkbox status, [X] if all children are [X].
3234 Here is an example for a complete columns definition, along with allowed
3235 values.
3237      :COLUMNS:  %20ITEM %9Approved(Approved?){X} %Owner %11Status %10Time_Spent{:}
3238      :Owner_ALL:    Tammy Mark Karl Lisa Don
3239      :Status_ALL:   "In progress" "Not started yet" "Finished" ""
3240      :Approved_ALL: "[ ]" "[X]"
3242    The first column, `%25ITEM', means the first 25 characters of the
3243 item itself, i.e. of the headline.  You probably always should start the
3244 column definition with the ITEM specifier.  The other specifiers create
3245 columns `Owner' with a list of names as allowed values, for `Status'
3246 with four different possible values, and for a checkbox field
3247 `Approved'.  When no width is given after the `%' character, the column
3248 will be exactly as wide as it needs to be in order to fully display all
3249 values.  The `Approved' column does have a modified title (`Approved?',
3250 with a question mark).  Summaries will be created for the `Time_Spent'
3251 column by adding time duration expressions like HH:MM, and for the
3252 `Approved' column, by providing an `[X]' status if all children have
3253 been checked.
3255 \x1f
3256 File: org,  Node: Using column view,  Prev: Defining columns,  Up: Column view
3258 7.4.2 Using Column View
3259 -----------------------
3261 Turning column view on and off
3262 ..............................
3264 `C-c C-x C-c'
3265      Create the column view for the local environment.  This command
3266      searches the hierarchy, up from point, for a `COLUMNS' property
3267      that defines a format.  When one is found, the column view table
3268      is established for the entire tree, starting from the entry that
3269      contains the `COLUMNS' property.  If none is found, the format is
3270      taken from the `#+COLUMNS' line or from the variable
3271      `org-columns-default-format', and column view is established for
3272      the current entry and its subtree.  
3275      Exit column view.
3277 Editing values
3278 ..............
3280 `<left> <right> <up> <down>'
3281      Move through the column view from field to field.  
3283 `S-<left>/<right>'
3284      Switch to the next/previous allowed value of the field.  For this,
3285      you have to have specified allowed values for a property.  
3287 `n / p'
3288      Same as `S-<left>/<right>' 
3291      Edit the property at point.  For the special properties, this will
3292      invoke the same interface that you normally use to change that
3293      property.  For example, when editing a TAGS property, the tag
3294      completion or fast selection interface will pop up.  
3297      View the full value of this property.  This is useful if the width
3298      of the column is smaller than that of the value.  
3301      Edit the list of allowed values for this property.  If the list is
3302      found in the hierarchy, the modified values is stored there.  If
3303      no list is found, the new value is stored in the first entry that
3304      is part of the current column view.
3306 Modifying the table structure
3307 .............................
3309 `< / >'
3310      Make the column narrower/wider by one character.  
3312 `S-M-<right>'
3313      Insert a new column, to the right of the current column.  
3315 `S-M-<left>'
3316      Delete the current column.
3318 \x1f
3319 File: org,  Node: Property API,  Prev: Column view,  Up: Properties and columns
3321 7.5 The Property API
3322 ====================
3324 There is a full API for accessing and changing properties.  This API can
3325 be used by Emacs Lisp programs to work with properties and to implement
3326 features based on them.  For more information see *Note Using the
3327 property API::.
3329 \x1f
3330 File: org,  Node: Timestamps,  Next: Agenda views,  Prev: Properties and columns,  Up: Top
3332 8 Timestamps
3333 ************
3335 Items can be labeled with timestamps to make them useful for project
3336 planning.
3338 * Menu:
3340 * Time stamps::                 Assigning a time to a tree entry
3341 * Creating timestamps::         Commands which insert timestamps
3342 * Deadlines and scheduling::    Planning your work
3343 * Progress logging::            Documenting when what work was done.
3345 \x1f
3346 File: org,  Node: Time stamps,  Next: Creating timestamps,  Prev: Timestamps,  Up: Timestamps
3348 8.1 Time stamps, deadlines and scheduling
3349 =========================================
3351 A time stamp is a specification of a date (possibly with time or a range
3352 of times) in a special format, either `<2003-09-16 Tue>' or
3353 `<2003-09-16 Tue 09:39>' or `<2003-09-16 Tue 12:00-12:30>'(1).  A time
3354 stamp can appear anywhere in the headline or body of an org-tree entry.
3355 Its presence causes entries to be shown on specific dates in the agenda
3356 (*note Weekly/Daily agenda::).  We distinguish:
3358 PLAIN TIME STAMP
3359      A simple time stamp just assigns a date/time to an item.  This is
3360      just like writing down an appointment in a paper agenda, or like
3361      writing down an event in a diary, when you want to take note of
3362      when something happened.  In the timeline and agenda displays, the
3363      headline of an entry associated with a plain time stamp will be
3364      shown exactly on that date.
3366           * Meet Peter at the movies <2006-11-01 Wed 19:15>
3367           * Discussion on climate change <2006-11-02 Thu 20:00-22:00>
3369 TIME STAMP WITH REPEATER INTERVAL
3370      A time stamp may contain a _repeater interval_, indicating that it
3371      applies not only on the given date, but again and again after a
3372      certain interval of N days (d), weeks (w), months(m), or years(y).
3373      The following will show up in the agenda every Wednesday:
3375           * Pick up Sam at school <2007-05-16 Wed 12:30 +1w>
3377 DIARY-STYLE SEXP ENTRIES
3378      For more complex date specifications, Org-mode supports using the
3379      special sexp diary entries implemented in the Emacs calendar/diary
3380      package.  For example
3382           * The nerd meeting on every 2nd Thursday of the month
3383             <%%(diary-float t 4 2)>
3385 TIME/DATE RANGE
3386      Two time stamps connected by `--' denote a range.  The headline
3387      will be shown on the first and last day of the range, and on any
3388      dates that are displayed and fall in the range.  Here is an
3389      example:
3391           ** Meeting in Amsterdam
3392              <2004-08-23 Mon>--<2004-08-26 Thu>
3394 INACTIVE TIME STAMP
3395      Just like a plain time stamp, but with square brackets instead of
3396      angular ones.  These time stamps are inactive in the sense that
3397      they do _not_ trigger an entry to show up in the agenda.
3399           * Gillian comes late for the fifth time [2006-11-01 Wed]
3402    ---------- Footnotes ----------
3404    (1) This is the standard ISO date/time format.  If you cannot get
3405 used to these, see *Note Custom time format::
3407 \x1f
3408 File: org,  Node: Creating timestamps,  Next: Deadlines and scheduling,  Prev: Time stamps,  Up: Timestamps
3410 8.2 Creating timestamps
3411 =======================
3413 For Org-mode to recognize time stamps, they need to be in the specific
3414 format.  All commands listed below produce time stamps in the correct
3415 format.
3417 `C-c .'
3418      Prompt for a date and insert a corresponding time stamp.  When the
3419      cursor is at a previously used time stamp, it is updated to NOW.
3420      When this command is used twice in succession, a time range is
3421      inserted.  
3423 `C-u C-c .'
3424      Like `C-c .', but use the alternative format which contains date
3425      and time.  The default time can be rounded to multiples of 5
3426      minutes, see the option `org-time-stamp-rounding-minutes'.  
3428 `C-c !'
3429      Like `C-c .', but insert an inactive time stamp that will not cause
3430      an agenda entry.  
3432 `C-c <'
3433      Insert a time stamp corresponding to the cursor date in the
3434      Calendar.  
3436 `C-c >'
3437      Access the Emacs calendar for the current date.  If there is a
3438      timestamp in the current line, goto the corresponding date instead.  
3440 `C-c C-o'
3441      Access the agenda for the date given by the time stamp or -range at
3442      point (*note Weekly/Daily agenda::).  
3444 `S-<left>'
3445 `S-<right>'
3446      Change date at cursor by one day.  These key bindings conflict with
3447      CUA-mode (*note Conflicts::).  
3449 `S-<up>'
3450 `S-<down>'
3451      Change the item under the cursor in a timestamp.  The cursor can
3452      be on a year, month, day, hour or minute.  Note that if the cursor
3453      is in a headline and not at a time stamp, these same keys modify
3454      the priority of an item.  (*note Priorities::). The key bindings
3455      also conflict with CUA-mode (*note Conflicts::).  
3457 `C-c C-y'
3458      Evaluate a time range by computing the difference between start and
3459      end.  With prefix arg, insert result after the time range (in a
3460      table: into the following column).
3462 * Menu:
3464 * The date/time prompt::        How org-mode helps you entering date and time
3465 * Custom time format::          Making dates look differently
3467 \x1f
3468 File: org,  Node: The date/time prompt,  Next: Custom time format,  Prev: Creating timestamps,  Up: Creating timestamps
3470 8.2.1 The date/time prompt
3471 --------------------------
3473 When Org-mode prompts for a date/time, the prompt suggests to enter an
3474 ISO date.  But it will in fact accept any string containing some date
3475 and/or time information.  You can, for example, use `C-y' to paste a
3476 (possibly multi-line) string copied from an email message.  Org-mode
3477 will find whatever information is in there and will replace anything not
3478 specified with the current date and time.  For example:
3480        3-2-5         --> 2003-02-05
3481        feb 15        --> currentyear-02-15
3482        sep 12 9      --> 2009-09-12
3483        12:45         --> today 12:45
3484        22 sept 0:34  --> currentyear-09-22 0:34
3485        12            --> currentyear-currentmonth-12
3486        Fri           --> nearest Friday (today or later)
3487        +4            --> 4 days from now (if +N is the only thing given)
3489    The function understands English month and weekday abbreviations.  If
3490 you want to use unabbreviated names and/or other languages, configure
3491 the variables `parse-time-months' and `parse-time-weekdays'.
3493    Parallel to the minibuffer prompt, a calendar is popped up(1).  When
3494 you exit the date prompt, either by clicking on a date in the calendar,
3495 or by pressing <RET>, the date selected in the calendar will be
3496 combined with the information entered at the prompt.  You can control
3497 the calendar fully from the minibuffer:
3500      Scroll calendar backwards by one month.  
3503      Scroll calendar forwards by one month.  
3505 `mouse-1'
3506      Select date by clicking on it.  
3508 `S-<right>'
3509      One day forward.  
3511 `S-<left>'
3512      One day back.  
3514 `S-<down>'
3515      One week forward.  
3517 `S-<up>'
3518      One week back.  
3520 `M-S-<right>'
3521      One month forward.  
3523 `M-S-<left>'
3524      One month back.  
3526 `<RET>'
3527      Choose date in calendar (only if nothing was typed into
3528      minibuffer).
3530    ---------- Footnotes ----------
3532    (1) If you don't need/want the calendar, configure the variable
3533 `org-popup-calendar-for-date-prompt'.
3535 \x1f
3536 File: org,  Node: Custom time format,  Prev: The date/time prompt,  Up: Creating timestamps
3538 8.2.2 Custom time format
3539 ------------------------
3541 Org-mode uses the standard ISO notation for dates and times as it is
3542 defined in ISO 8601.  If you cannot get used to this and require another
3543 representation of date and time to keep you happy, you can get it by
3544 customizing the variables `org-display-custom-times' and
3545 `org-time-stamp-custom-formats'.
3547 `C-c C-x C-t'
3548      Toggle the display of custom formats for dates and times.
3550 Org-mode needs the default format for scanning, so the custom date/time
3551 format does not _replace_ the default format - instead it is put _over_
3552 the default format using text properties.  This has the following
3553 consequences:
3554    * You cannot place the cursor onto a time stamp anymore, only before
3555      or after.
3557    * The `S-<up>/<down>' keys can no longer be used to adjust each
3558      component of a time stamp.  If the cursor is at the beginning of
3559      the stamp, `S-<up>/<down>' will change the stamp by one day, just
3560      like `S-<left>/<right>'.  At the end of the stamp, the time will
3561      be changed by one minute.
3563    * If the time stamp contains a range of clock times or a repeater,
3564      these will not be overlayed, but remain in the buffer as they were.
3566    * When you delete a time stamp character-by-character, it will only
3567      disappear from the buffer after _all_ (invisible) characters
3568      belonging to the ISO timestamp have been removed.
3570    * If the custom time stamp format is longer than the default and you
3571      are using dates in tables, table alignment will be messed up.  If
3572      the custom format is shorter, things do work as expected.
3574 \x1f
3575 File: org,  Node: Deadlines and scheduling,  Next: Progress logging,  Prev: Creating timestamps,  Up: Timestamps
3577 8.3 Deadlines and Scheduling
3578 ============================
3580 A time stamp may be preceded by special keywords to facilitate planning
3581 of work:
3583 DEADLINE
3584      The task (most likely a TODO item) is supposed to be finished on
3585      that date, and it will be listed then.  In addition, the
3586      compilation for _today_ will carry a warning about the approaching
3587      or missed deadline, starting `org-deadline-warning-days' before
3588      the due date, and continuing until the entry is marked DONE.  An
3589      example:
3591           *** TODO write article about the Earth for the Guide
3592               The editor in charge is [[bbdb:Ford Prefect]]
3593               DEADLINE: <2004-02-29 Sun>
3595 SCHEDULED
3596      You are planning to start working on that task on the given date.
3597      The headline will be listed under the given date(1).  In addition,
3598      a reminder that the scheduled date has passed will be present in
3599      the compilation for _today_, until the entry is marked DONE.
3600      I.e., the task will automatically be forwarded until completed.
3602           *** TODO Call Trillian for a date on New Years Eve.
3603               SCHEDULED: <2004-12-25 Sat>
3605 * Menu:
3607 * Inserting deadline/schedule::
3608 * Repeated tasks::
3610    ---------- Footnotes ----------
3612    (1) It will still be listed on that date after it has been marked
3613 DONE.  If you don't like this, set the variable
3614 `org-agenda-skip-scheduled-if-done'.
3616 \x1f
3617 File: org,  Node: Inserting deadline/schedule,  Next: Repeated tasks,  Prev: Deadlines and scheduling,  Up: Deadlines and scheduling
3619 8.3.1 Inserting deadline/schedule
3620 ---------------------------------
3622 The following commands allow to quickly insert a deadline or to schedule
3623 an item:
3625 `C-c C-d'
3626      Insert `DEADLINE' keyword along with a stamp.  The insertion will
3627      happen in the line directly following the headline.  
3629 `C-c C-w'
3630      Create a sparse tree with all deadlines that are either past-due,
3631      or which will become due within `org-deadline-warning-days'.  With
3632      `C-u' prefix, show all deadlines in the file.  With a numeric
3633      prefix, check that many days.  For example, `C-1 C-c C-w' shows
3634      all deadlines due tomorrow.  
3636 `C-c C-s'
3637      Insert `SCHEDULED' keyword along with a stamp.  The insertion will
3638      happen in the line directly following the headline.  Any CLOSED
3639      timestamp will be removed.
3641 \x1f
3642 File: org,  Node: Repeated tasks,  Prev: Inserting deadline/schedule,  Up: Deadlines and scheduling
3644 8.3.2 Repeated Tasks
3645 --------------------
3647 Some tasks need to be repeated again and again, and Org-mode therefore
3648 allows to use a repeater in a DEADLINE or SCHEDULED time stamp, for
3649 example:
3650      ** TODO Pay the rent
3651         DEADLINE: <2005-10-01 Sat +1m>
3653    Deadlines and scheduled items produce entries in the agenda when they
3654 are over-due, so it is important to be able to mark such an entry as
3655 completed once you have done so.  When you mark a DEADLINE or a SCHEDULE
3656 with the todo keyword DONE, it will no longer produce entries in the
3657 agenda. The problem with this is, however, that then also the _next_
3658 instance of the repeated entry will not be active.  Org-mode deals with
3659 this in the following way: When you try to mark such an entry DONE
3660 (using `C-c C-t'), it will shift the base date of the repeating time
3661 stamp by the repeater interval, and immediately set the entry state
3662 back to TODO.  In the example above, setting the state to DONE would
3663 actually switch the date like this:
3665      ** TODO Pay the rent
3666         DEADLINE: <2005-11-01 Tue +1m>
3668    You will also be prompted for a note that will be put under the
3669 DEADLINE line to keep a record that you actually acted on the previous
3670 instance of this deadline.
3672    As a consequence of shifting the base date, this entry will no
3673 longer be visible in the agenda when checking past dates, but all
3674 future instances will be visible.
3676    You may have both scheduling and deadline information for a specific
3677 task - just make sure that the repeater intervals on both are the same.
3679 \x1f
3680 File: org,  Node: Progress logging,  Prev: Deadlines and scheduling,  Up: Timestamps
3682 8.4 Progress Logging
3683 ====================
3685 Org-mode can automatically record a time stamp when you mark a TODO item
3686 as DONE, or even each time when you change the state of a TODO item.
3687 You can also measure precisely the time you spent on specific items in a
3688 project by starting and stopping a clock when you start and stop working
3689 on an aspect of a project.
3691 * Menu:
3693 * Closing items::               When was this entry marked DONE?
3694 * Tracking TODO state changes::  When did the status change?
3695 * Clocking work time::          When exactly did you work on this item?
3697 \x1f
3698 File: org,  Node: Closing items,  Next: Tracking TODO state changes,  Prev: Progress logging,  Up: Progress logging
3700 8.4.1 Closing items
3701 -------------------
3703 If you want to keep track of _when_ a certain TODO item was finished,
3704 turn on logging with(1)
3706      (setq org-log-done t)
3708 Then each time you turn a TODO entry into DONE using either `C-c C-t'
3709 in the Org-mode buffer or `t' in the agenda buffer, a line `CLOSED:
3710 [timestamp]' will be inserted just after the headline.  If you turn the
3711 entry back into a TODO item through further state cycling, that line
3712 will be removed again.  In the timeline (*note Timeline::) and in the
3713 agenda (*note Weekly/Daily agenda::), you can then use the `l' key to
3714 display the TODO items closed on each day, giving you an overview of
3715 what has been done on a day.  If you want to record a note along with
3716 the timestamp, use(2)
3718      (setq org-log-done '(done))
3720    ---------- Footnotes ----------
3722    (1) The corresponding in-buffer setting is: `#+STARTUP: logdone'
3724    (2) The corresponding in-buffer setting is: `#+STARTUP: lognotedone'
3726 \x1f
3727 File: org,  Node: Tracking TODO state changes,  Next: Clocking work time,  Prev: Closing items,  Up: Progress logging
3729 8.4.2 Tracking TODO state changes
3730 ---------------------------------
3732 When TODO keywords are used as workflow states (*note Workflow
3733 states::), you might want to keep track of when a state change occurred,
3734 and you may even want to attach notes to that state change.  With the
3735 setting
3737      (setq org-log-done '(state))
3739 each state change will prompt you for a note that will be attached to
3740 the current headline.  Very likely you do not want this verbose tracking
3741 all the time, so it is probably better to configure this behavior with
3742 in-buffer options.  For example, if you are tracking purchases, put
3743 these into a separate file that starts with:
3745      #+SEQ_TODO: TODO ORDERED INVOICE PAYED RECEIVED SENT
3746      #+STARTUP: lognotestate
3748 \x1f
3749 File: org,  Node: Clocking work time,  Prev: Tracking TODO state changes,  Up: Progress logging
3751 8.4.3 Clocking work time
3752 ------------------------
3754 Org-mode allows you to clock the time you spent on specific tasks in a
3755 project.  When you start working on an item, you can start the clock.
3756 When you stop working on that task, or when you mark the task done, the
3757 clock is stopped and the corresponding time interval is recorded.  It
3758 also computes the total time spent on each subtree of a project.
3760 `C-c C-x C-i'
3761      Start the clock on the current item (clock-in).  This inserts the
3762      CLOCK keyword together with a timestamp.  
3764 `C-c C-x C-o'
3765      Stop the clock (clock-out).  The inserts another timestamp at the
3766      same location where the clock was last started.  It also directly
3767      computes the resulting time in inserts it after the time range as
3768      `=> HH:MM'.  See the variable `org-log-done' for the possibility to
3769      record an additional note together with the clock-out time
3770      stamp(1).  
3772 `C-c C-y'
3773      Recompute the time interval after changing one of the time stamps.
3774      This is only necessary if you edit the time stamps directly.  If
3775      you change them with `S-<cursor>' keys, the update is automatic.  
3777 `C-c C-t'
3778      Changing the TODO state of an item to DONE automatically stops the
3779      clock if it is running in this same item.  
3781 `C-c C-x C-x'
3782      Cancel the current clock.  This is useful if a clock was started by
3783      mistake, or if you ended up working on something else.  
3785 `C-c C-x C-d'
3786      Display time summaries for each subtree in the current buffer.
3787      This puts overlays at the end of each headline, showing the total
3788      time recorded under that heading, including the time of any
3789      subheadings. You can use visibility cycling to study the tree, but
3790      the overlays disappear when you change the buffer (see variable
3791      `org-remove-highlights-with-change') or press `C-c C-c'.  
3793 `C-c C-x C-r'
3794      Insert a dynamic block (*note Dynamic blocks::) containing a clock
3795      report as an org-mode table into the current file.
3796           #+BEGIN: clocktable :maxlevel 2 :emphasize nil
3798           #+END: clocktable
3799      If such a block already exists, its content is replaced by the new
3800      table.  The `BEGIN' line can specify options:
3801           :maxlevels   Maximum level depth to which times are listed in the table.
3802           :emphasize   When `t', emphasize level one and level two items
3803           :block       The time block to consider.  This block is specified relative
3804                        to the current time and may be any of these keywords:
3805                        `today', `yesterday', `thisweek', `lastweek',
3806                        `thismonth', `lastmonth', `thisyear', or `lastyear'.
3807           :tstart      A time string specifying when to start considering times
3808           :tend        A time string specifying when to stop considering times
3809      So to get a clock summary for the current day, you could write
3810           #+BEGIN: clocktable :maxlevel 2 :block today
3812           #+END: clocktable
3813      and to use a specific time range you could write(2)
3814           #+BEGIN: clocktable :tstart "<2006-08-10 Thu 10:00>"
3815                               :tend "<2006-08-10 Thu 12:00>"
3817           #+END: clocktable
3818      
3819 `C-u C-c C-x C-u'
3820      Update all dynamic blocks (*note Dynamic blocks::).  This is
3821      useful if you have several clocktable blocks in a buffer.
3823    The `l' key may be used in the timeline (*note Timeline::) and in
3824 the agenda (*note Weekly/Daily agenda::) to show which tasks have been
3825 worked on or closed during a day.
3827    ---------- Footnotes ----------
3829    (1) The corresponding in-buffer setting is: `#+STARTUP:
3830 lognoteclock-out'
3832    (2) Note that all parameters must be specified in a single line -
3833 the line is broken here only to fit it onto the manual.
3835 \x1f
3836 File: org,  Node: Agenda views,  Next: Embedded LaTeX,  Prev: Timestamps,  Up: Top
3838 9 Agenda Views
3839 **************
3841 Due to the way Org-mode works, TODO items, time-stamped items, and
3842 tagged headlines can be scattered throughout a file or even a number of
3843 files.  To get an overview over open action items, or over events that
3844 are important for a particular date, this information must be collected,
3845 sorted and displayed in an organized way.
3847    Org-mode can select items based on various criteria, and display them
3848 in a separate buffer.  Six different view types are provided:
3850    * an _agenda_ that is like a calendar and shows information for
3851      specific dates,
3853    * a _TODO list_ that covers all unfinished action items,
3855    * a _tags view_, showings headlines based on the tags associated
3856      with them,
3858    * a _timeline view_ that shows all events in a single Org-mode file,
3859      in time-sorted view,
3861    * a _stuck projects view_ showing projects that currently don't move
3862      along, and
3864    * _custom views_ that are special tag/keyword searches and
3865      combinations of different views.
3867 The extracted information is displayed in a special _agenda buffer_.
3868 This buffer is read-only, but provides commands to visit the
3869 corresponding locations in the original Org-mode files, and even to
3870 edit these files remotely.
3872    Two variables control how the agenda buffer is displayed and whether
3873 the window configuration is restored when the agenda exits:
3874 `org-agenda-window-setup' and `org-agenda-restore-windows-after-quit'.
3876 * Menu:
3878 * Agenda files::                Files being searched for agenda information
3879 * Agenda dispatcher::           Keyboard access to agenda views
3880 * Built-in agenda views::       What is available out of the box?
3881 * Presentation and sorting::    How agenda items are prepared for display
3882 * Agenda commands::             Remote editing of org trees
3883 * Custom agenda views::         Defining special searches and views
3885 \x1f
3886 File: org,  Node: Agenda files,  Next: Agenda dispatcher,  Prev: Agenda views,  Up: Agenda views
3888 9.1 Agenda files
3889 ================
3891 The information to be shown is collected from all _agenda files_, the
3892 files listed in the variable `org-agenda-files'(1).  Thus even if you
3893 only work with a single Org-mode file, this file should be put into
3894 that list(2).  You can customize `org-agenda-files', but the easiest
3895 way to maintain it is through the following commands
3897 `C-c ['
3898      Add current file to the list of agenda files.  The file is added to
3899      the front of the list.  If it was already in the list, it is moved
3900      to the front.  With prefix arg, file is added/moved to the end.  
3902 `C-c ]'
3903      Remove current file from the list of agenda files.  
3905 `C-,'
3906 `C-''
3907      Cycle through agenda file list, visiting one file after the other.
3909 The Org menu contains the current list of files and can be used to
3910 visit any of them.
3912    ---------- Footnotes ----------
3914    (1) If the value of that variable is not a list, but a single file
3915 name, then the list of agenda files will be maintained in that external
3916 file.
3918    (2) When using the dispatcher, pressing `1' before selecting a
3919 command will actually limit the command to the current file, and ignore
3920 `org-agenda-files' until the next dispatcher command.
3922 \x1f
3923 File: org,  Node: Agenda dispatcher,  Next: Built-in agenda views,  Prev: Agenda files,  Up: Agenda views
3925 9.2 The agenda dispatcher
3926 =========================
3928 The views are created through a dispatcher that should be bound to a
3929 global key, for example `C-c a' (*note Installation::).  In the
3930 following we will assume that `C-c a' is indeed how the dispatcher is
3931 accessed and list keyboard access to commands accordingly.  After
3932 pressing `C-c a', an additional letter is required to execute a
3933 command.  The dispatcher offers the following default commands:
3935      Create the calendar-like agenda (*note Weekly/Daily agenda::).
3937 `t / T'
3938      Create a list of all TODO items (*note Global TODO list::).
3940 `m / M'
3941      Create a list of headlines matching a TAGS expression (*note
3942      Matching tags and properties::).
3945      Create the timeline view for the current buffer (*note Timeline::).
3947 `# / !'
3948      Create a list of stuck projects (*note Stuck projects::).
3951      Restrict an agenda command to the current buffer.  After pressing
3952      `1', you still need to press the character selecting the command.
3955      If there is an active region, restrict the following agenda
3956      command to the region.  Otherwise, restrict it to the current
3957      subtree.  After pressing `0', you still need to press the
3958      character selecting the command.
3960    You can also define custom commands that will be accessible through
3961 the dispatcher, just like the default commands.  This includes the
3962 possibility to create extended agenda buffers that contain several
3963 blocks together, for example the weekly agenda, the global TODO list and
3964 a number of special tags matches.  *Note Custom agenda views::.
3966 \x1f
3967 File: org,  Node: Built-in agenda views,  Next: Presentation and sorting,  Prev: Agenda dispatcher,  Up: Agenda views
3969 9.3 The built-in agenda views
3970 =============================
3972 In this section we describe the built-in views.
3974 * Menu:
3976 * Weekly/Daily agenda::         The calendar page with current tasks
3977 * Global TODO list::            All unfinished action items
3978 * Matching tags and properties::  Structured information with fine-tuned search
3979 * Timeline::                    Time-sorted view for single file
3980 * Stuck projects::              Find projects you need to review
3982 \x1f
3983 File: org,  Node: Weekly/Daily agenda,  Next: Global TODO list,  Prev: Built-in agenda views,  Up: Built-in agenda views
3985 9.3.1 The weekly/daily agenda
3986 -----------------------------
3988 The purpose of the weekly/daily _agenda_ is to act like a page of a
3989 paper agenda, showing all the tasks for the current week or day.
3991 `C-c a a'
3992      Compile an agenda for the current week from a list of org files.
3993      The agenda shows the entries for each day.  With a `C-u' prefix (or
3994      when the variable `org-agenda-include-all-todo' is `t'), all
3995      unfinished TODO items (including those without a date) are also
3996      listed at the beginning of the buffer, before the first date.
3998    Remote editing from the agenda buffer means, for example, that you
3999 can change the dates of deadlines and appointments from the agenda
4000 buffer.  The commands available in the Agenda buffer are listed in
4001 *Note Agenda commands::.
4003 Calendar/Diary integration
4004 ..........................
4006 Emacs contains the calendar and diary by Edward M. Reingold.  The
4007 calendar displays a three-month calendar with holidays from different
4008 countries and cultures.  The diary allows you to keep track of
4009 anniversaries, lunar phases, sunrise/set, recurrent appointments
4010 (weekly, monthly) and more.  In this way, it is quite complementary to
4011 Org-mode.  It can be very useful to combine output from Org-mode with
4012 the diary.
4014    In order to include entries from the Emacs diary into Org-mode's
4015 agenda, you only need to customize the variable
4017      (setq org-agenda-include-diary t)
4019 After that, everything will happen automatically.  All diary entries
4020 including holidays, anniversaries etc will be included in the agenda
4021 buffer created by Org-mode.  <SPC>, <TAB>, and <RET> can be used from
4022 the agenda buffer to jump to the diary file in order to edit existing
4023 diary entries.  The `i' command to insert new entries for the current
4024 date works in the agenda buffer, as well as the commands `S', `M', and
4025 `C' to display Sunrise/Sunset times, show lunar phases and to convert
4026 to other calendars, respectively.  `c' can be used to switch back and
4027 forth between calendar and agenda.
4029    If you are using the diary only for sexp entries and holidays, it is
4030 faster to not use the above setting, but instead to copy or even move
4031 the entries into an Org-mode file. Org-mode evaluates diary-style sexp
4032 entries, and does it faster because there is no overhead for first
4033 creating the diary display.  Note that the sexp entries must start at
4034 the left margin, no white space is allowed before them.  For example,
4035 the following segment of an Org-mode file will be processed and entries
4036 will be made in the agenda:
4038      * Birthdays and similar stuff
4039      #+CATEGORY: Holiday
4040      %%(org-calendar-holiday)   ; special function for holiday names
4041      #+CATEGORY: Ann
4042      %%(diary-anniversary 14  5 1956) Arthur Dent is %d years old
4043      %%(diary-anniversary  2 10 1869) Mahatma Gandhi would be %d years old
4045 \x1f
4046 File: org,  Node: Global TODO list,  Next: Matching tags and properties,  Prev: Weekly/Daily agenda,  Up: Built-in agenda views
4048 9.3.2 The global TODO list
4049 --------------------------
4051 The global TODO list contains all unfinished TODO items, formatted and
4052 collected into a single place.
4054 `C-c a t'
4055      Show the global TODO list.  This collects the TODO items from all
4056      agenda files (*note Agenda views::) into a single buffer.  The
4057      buffer is in `agenda-mode', so there are commands to examine and
4058      manipulate the TODO entries directly from that buffer (*note
4059      Agenda commands::).  
4061 `C-c a T'
4062      Like the above, but allows selection of a specific TODO keyword.
4063      You can also do this by specifying a prefix argument to `C-c a t'.
4064      With a `C-u' prefix you are prompted for a keyword, and you may
4065      also specify several keywords by separating them with `|' as
4066      boolean OR operator.  With a numeric prefix, the Nth keyword in
4067      `org-todo-keywords' is selected.  The `r' key in the agenda buffer
4068      regenerates it, and you can give a prefix argument to this command
4069      to change the selected TODO keyword, for example `3 r'.  If you
4070      often need a search for a specific keyword, define a custom
4071      command for it (*note Agenda dispatcher::).
4072      Matching specific TODO keywords can also be done as part of a tags
4073      search (*note Tag searches::).
4075    Remote editing of TODO items means that you can change the state of a
4076 TODO entry with a single key press.  The commands available in the TODO
4077 list are described in *Note Agenda commands::.
4079    Normally the global todo list simply shows all headlines with TODO
4080 keywords.  This list can become very long.  There are two ways to keep
4081 it more compact:
4082    - Some people view a TODO item that has been _scheduled_ for
4083      execution (*note Time stamps::) as no longer _open_.  Configure the
4084      variable `org-agenda-todo-ignore-scheduled' to exclude scheduled
4085      items from the global TODO list.
4087    - TODO items may have sublevels to break up the task into subtasks.
4088      In such cases it may be enough to list only the highest level TODO
4089      headline and omit the sublevels from the global list.  Configure
4090      the variable `org-agenda-todo-list-sublevels' to get this behavior.
4092 \x1f
4093 File: org,  Node: Matching tags and properties,  Next: Timeline,  Prev: Global TODO list,  Up: Built-in agenda views
4095 9.3.3 Matching Tags and Properties
4096 ----------------------------------
4098 If headlines in the agenda files are marked with _tags_ (*note Tags::),
4099 you can select headlines based on the tags that apply to them and
4100 collect them into an agenda buffer.
4102 `C-c a m'
4103      Produce a list of all headlines that match a given set of tags.
4104      The command prompts for a selection criterion, which is a boolean
4105      logic expression with tags, like `+WORK+URGENT-WITHBOSS' or
4106      `WORK|HOME' (*note Tags::).  If you often need a specific search,
4107      define a custom command for it (*note Agenda dispatcher::).  
4109 `C-c a M'
4110      Like `C-c a m', but only select headlines that are also TODO items
4111      and force checking subitems (see variable
4112      `org-tags-match-list-sublevels').  Matching specific todo keywords
4113      together with a tags match is also possible, see *Note Tag
4114      searches::.
4116    The commands available in the tags list are described in *Note
4117 Agenda commands::.
4119 \x1f
4120 File: org,  Node: Timeline,  Next: Stuck projects,  Prev: Matching tags and properties,  Up: Built-in agenda views
4122 9.3.4 Timeline for a single file
4123 --------------------------------
4125 The timeline summarizes all time-stamped items from a single Org-mode
4126 file in a _time-sorted view_.  The main purpose of this command is to
4127 give an overview over events in a project.
4129 `C-c a L'
4130      Show a time-sorted view of the org file, with all time-stamped
4131      items.  When called with a `C-u' prefix, all unfinished TODO
4132      entries (scheduled or not) are also listed under the current date.
4134 The commands available in the timeline buffer are listed in *Note
4135 Agenda commands::.
4137 \x1f
4138 File: org,  Node: Stuck projects,  Prev: Timeline,  Up: Built-in agenda views
4140 9.3.5 Stuck projects
4141 --------------------
4143 If you are following a system like David Allen's GTD to organize your
4144 work, one of the "duties" you have is a regular review to make sure
4145 that all projects move along.  A _stuck_ project is a project that has
4146 no defined next actions, so it will never show up in the TODO lists
4147 Org-mode produces.  During the review, you need to identify such
4148 projects and define next actions for them.
4150 `C-c a #'
4151      List projects that are stuck.  
4153 `C-c a !'
4154      Customize the variable `org-stuck-projects' to define what a stuck
4155      project is and how to find it.
4157    You almost certainly will have to configure this view before it will
4158 work for you.  The built-in default assumes that all your projects are
4159 level-2 headlines, and that a project is not stuck if it has at least
4160 one entry marked with a todo keyword TODO or NEXT or NEXTACTION.
4162    Lets assume that you, in your own way of using Org-mode, identify
4163 projects with a tag PROJECT, and that you use a todo keyword MAYBE to
4164 indicate a project that should not be considered yet.  Lets further
4165 assume that the todo keyword DONE marks finished projects, and that NEXT
4166 and TODO indicate next actions.  The tag @SHOP indicates shopping and
4167 is a next action even without the NEXT tag.  Finally, if the project
4168 contains the special word IGNORE anywhere, it should not be listed
4169 either.  In this case you would start by identifying eligible projects
4170 with a tags/todo match `+PROJECT/-MAYBE-DONE', and then check for TODO,
4171 NEXT, @SHOP, and IGNORE in the subtree to identify projects that are
4172 not stuck.  The correct customization for this is
4174      (setq org-stuck-projects
4175            '("+PROJECT/-MAYBE-DONE" ("NEXT" "TODO") ("@SHOP")
4176                                     "\\<IGNORE\\>"))
4178 \x1f
4179 File: org,  Node: Presentation and sorting,  Next: Agenda commands,  Prev: Built-in agenda views,  Up: Agenda views
4181 9.4 Presentation and sorting
4182 ============================
4184 Before displaying items in an agenda view, Org-mode visually prepares
4185 the items and sorts them.  Each item occupies a single line.  The line
4186 starts with a _prefix_ that contains the _category_ (*note
4187 Categories::) of the item and other important information.  You can
4188 customize the prefix using the option `org-agenda-prefix-format'.  The
4189 prefix is followed by a cleaned-up version of the outline headline
4190 associated with the item.
4192 * Menu:
4194 * Categories::                  Not all tasks are equal
4195 * Time-of-day specifications::  How the agenda knows the time
4196 * Sorting of agenda items::     The order of things
4198 \x1f
4199 File: org,  Node: Categories,  Next: Time-of-day specifications,  Prev: Presentation and sorting,  Up: Presentation and sorting
4201 9.4.1 Categories
4202 ----------------
4204 The category is a broad label assigned to each agenda item.  By default,
4205 the category is simply derived from the file name, but you can also
4206 specify it with a special line in the buffer, like this:
4208      #+CATEGORY: Thesis
4210    If there are several such lines in a file, each specifies the
4211 category for the text below it (but the first category also applies to
4212 any text before the first CATEGORY line).  The display in the agenda
4213 buffer looks best if the category is not longer than 10 characters.
4215 \x1f
4216 File: org,  Node: Time-of-day specifications,  Next: Sorting of agenda items,  Prev: Categories,  Up: Presentation and sorting
4218 9.4.2 Time-of-Day Specifications
4219 --------------------------------
4221 Org-mode checks each agenda item for a time-of-day specification.  The
4222 time can be part of the time stamp that triggered inclusion into the
4223 agenda, for example as in `<2005-05-10 Tue 19:00>'.  Time ranges can be
4224 specified with two time stamps, like
4225 `<2005-05-10 Tue 20:30>--<2005-05-10 Tue 22:15>'.
4227    In the headline of the entry itself, a time(range) may also appear as
4228 plain text (like `12:45' or a `8:30-1pm'.  If the agenda integrates the
4229 Emacs diary (*note Weekly/Daily agenda::), time specifications in diary
4230 entries are recognized as well.
4232    For agenda display, Org-mode extracts the time and displays it in a
4233 standard 24 hour format as part of the prefix.  The example times in
4234 the previous paragraphs would end up in the agenda like this:
4236          8:30-13:00 Arthur Dent lies in front of the bulldozer
4237         12:45...... Ford Prefect arrives and takes Arthur to the pub
4238         19:00...... The Vogon reads his poem
4239         20:30-22:15 Marwin escorts the Hitchhikers to the bridge
4241    If the agenda is in single-day mode, or for the display of today, the
4242 timed entries are embedded in a time grid, like
4244          8:00...... ------------------
4245          8:30-13:00 Arthur Dent lies in front of the bulldozer
4246         10:00...... ------------------
4247         12:00...... ------------------
4248         12:45...... Ford Prefect arrives and takes Arthur to the pub
4249         14:00...... ------------------
4250         16:00...... ------------------
4251         18:00...... ------------------
4252         19:00...... The Vogon reads his poem
4253         20:00...... ------------------
4254         20:30-22:15 Marwin escorts the Hitchhikers to the bridge
4256    The time grid can be turned on and off with the variable
4257 `org-agenda-use-time-grid', and can be configured with
4258 `org-agenda-time-grid'.
4260 \x1f
4261 File: org,  Node: Sorting of agenda items,  Prev: Time-of-day specifications,  Up: Presentation and sorting
4263 9.4.3 Sorting of agenda items
4264 -----------------------------
4266 Before being inserted into a view, the items are sorted.  How this is
4267 done depends on the type of view.
4268    * For the daily/weekly agenda, the items for each day are sorted.
4269      The default order is to first collect all items containing an
4270      explicit time-of-day specification.  These entries will be shown
4271      at the beginning of the list, as a _schedule_ for the day.  After
4272      that, items remain grouped in categories, in the sequence given by
4273      `org-agenda-files'.  Within each category, items are sorted by
4274      priority (*note Priorities::), which is composed of the base
4275      priority (2000 for priority `A', 1000 for `B', and 0 for `C'),
4276      plus additional increments for overdue scheduled or deadline items.
4278    * For the TODO list, items remain in the order of categories, but
4279      within each category, sorting takes place according to priority
4280      (*note Priorities::).
4282    * For tags matches, items are not sorted at all, but just appear in
4283      the sequence in which they are found in the agenda files.
4285    Sorting can be customized using the variable
4286 `org-agenda-sorting-strategy'.
4288 \x1f
4289 File: org,  Node: Agenda commands,  Next: Custom agenda views,  Prev: Presentation and sorting,  Up: Agenda views
4291 9.5 Commands in the agenda buffer
4292 =================================
4294 Entries in the agenda buffer are linked back to the org file or diary
4295 file where they originate.  You are not allowed to edit the agenda
4296 buffer itself, but commands are provided to show and jump to the
4297 original entry location, and to edit the org-files "remotely" from the
4298 agenda buffer.  In this way, all information is stored only once,
4299 removing the risk that your agenda and note files may diverge.
4301    Some commands can be executed with mouse clicks on agenda lines.  For
4302 the other commands, the cursor needs to be in the desired line.
4304 Motion
4305 ......
4308      Next line (same as <up>).  
4311      Previous line (same as <down>).
4313 View/GoTo org file
4314 ..................
4316 `mouse-3'
4317 `<SPC>'
4318      Display the original location of the item in another window.  
4321      Display original location and recenter that window.  
4323 `mouse-2'
4324 `mouse-1'
4325 `<TAB>'
4326      Go to the original location of the item in another window.  Under
4327      Emacs 22, `mouse-1' will also works for this.  
4329 `<RET>'
4330      Go to the original location of the item and delete other windows.  
4333      Toggle Follow mode.  In Follow mode, as you move the cursor through
4334      the agenda buffer, the other window always shows the corresponding
4335      location in the org file.  The initial setting for this mode in new
4336      agenda buffers can be set with the variable
4337      `org-agenda-start-with-follow-mode'.  
4340      Display the entire subtree of the current item in an indirect
4341      buffer.  With numerical prefix ARG, go up to this level and then
4342      take that tree.  If ARG is negative, go up that many levels.  With
4343      `C-u' prefix, do not remove the previously used indirect buffer.  
4346      Toggle Logbook mode.  In Logbook mode, entries that where marked
4347      DONE while logging was on (variable `org-log-done') are shown in
4348      the agenda, as are entries that have been clocked on that day.
4350 Change display
4351 ..............
4354      Delete other windows.  
4356 `d w m y'
4357      Switch to day/week/month/year view.  When switching to day or week
4358      view, this setting becomes the default for subseqent agenda
4359      commands.  Since month and year views are slow to create, the do
4360      not become the default.  
4363      Toggle the inclusion of diary entries.  See *Note Weekly/Daily
4364      agenda::.  
4367      Toggle the time grid on and off.  See also the variables
4368      `org-agenda-use-time-grid' and `org-agenda-time-grid'.  
4371      Recreate the agenda buffer, for example to reflect the changes
4372      after modification of the time stamps of items with S-<left> and
4373      S-<right>.  When the buffer is the global todo list, a prefix
4374      argument is interpreted to create a selective list for a specific
4375      TODO keyword.  
4378      Save all Org-mode buffers in the current Emacs session.  
4380 `<right>'
4381      Display the following `org-agenda-ndays' days.  For example, if
4382      the display covers a week, switch to the following week.  With
4383      prefix arg, go forward that many times `org-agenda-ndays' days.  
4385 `<left>'
4386      Display the previous dates.  
4389      Goto today.
4391 Remote editing
4392 ..............
4394 `0-9'
4395      Digit argument.  
4397 `C-_'
4398      Undo a change due to a remote editing command.  The change is
4399      undone both in the agenda buffer and in the remote buffer.  
4402      Change the TODO state of the item, both in the agenda and in the
4403      original org file.  
4405 `C-k'
4406      Delete the current agenda item along with the entire subtree
4407      belonging to it in the original Org-mode file.  If the text to be
4408      deleted remotely is longer than one line, the kill needs to be
4409      confirmed by the user.  See variable `org-agenda-confirm-kill'.  
4412      Archive the subtree corresponding to the current headline.  
4415      Show all tags associated with the current item.  Because of
4416      inheritance, this may be more than the tags listed in the line
4417      itself.  
4420      Set tags for the current headline.  
4423      Toggle the ARCHIVE tag for the current headline.  
4426      Set the priority for the current item.  Org-mode prompts for the
4427      priority character. If you reply with <SPC>, the priority cookie
4428      is removed from the entry.  
4431      Display weighted priority of current item.  
4434 `S-<up>'
4435      Increase the priority of the current item.  The priority is
4436      changed in the original buffer, but the agenda is not resorted.
4437      Use the `r' key for this.  
4440 `S-<down>'
4441      Decrease the priority of the current item.  
4443 `C-c C-s'
4444      Schedule this item 
4446 `C-c C-d'
4447      Set a deadline for this item.  
4449 `S-<right>'
4450      Change the time stamp associated with the current line by one day
4451      into the future.  With prefix argument, change it by that many
4452      days.  For example, `3 6 5 S-<right>' will change it by a year.
4453      The stamp is changed in the original org file, but the change is
4454      not directly reflected in the agenda buffer.  Use the `r' key to
4455      update the buffer.  
4457 `S-<left>'
4458      Change the time stamp associated with the current line by one day
4459      into the past.  
4462      Change the time stamp associated with the current line to today.
4463      The key `>' has been chosen, because it is the same as `S-.' on my
4464      keyboard.  
4467      Start the clock on the current item.  If a clock is running
4468      already, it is stopped first.  
4471      Stop the previously started clock.  
4474      Cancel the currently running clock.
4476 Calendar commands
4477 .................
4480      Open the Emacs calendar and move to the date at the agenda cursor.
4483      When in the calendar, compute and show the Org-mode agenda for the
4484      date at the cursor.  
4487      Insert a new entry into the diary.  Prompts for the type of entry
4488      (day, weekly, monthly, yearly, anniversary, cyclic) and creates a
4489      new entry in the diary, just as `i d' etc. would do in the
4490      calendar.  The date is taken from the cursor position.  
4493      Show the phases of the moon for the three months around current
4494      date.  
4497      Show sunrise and sunset times.  The geographical location must be
4498      set with calendar variables, see documentation of the Emacs
4499      calendar.  
4502      Convert the date at cursor into many other cultural and historic
4503      calendars.  
4506      Show holidays for three month around the cursor date.  
4508 `C-c C-x C-c'
4509      Export a single iCalendar file containing entries from all agenda
4510      files.
4512 Exporting to a file
4513 ...................
4515 `C-x C-w'
4516      Write the agenda view to a file.  Depending on the extension of the
4517      selected file name, the view will be exported as HTML (extension
4518      `.html' or `.htm'), Postscript (extension `.ps'), or plain text
4519      (any other extension).  Use the variable
4520      `org-agenda-exporter-settings' to set options for `ps-print' and
4521      for `htmlize' to be used during export.
4523 Quit and Exit
4524 .............
4527      Quit agenda, remove the agenda buffer.  
4530      Exit agenda, remove the agenda buffer and all buffers loaded by
4531      Emacs for the compilation of the agenda.  Buffers created by the
4532      user to visit org files will not be removed.
4534 \x1f
4535 File: org,  Node: Custom agenda views,  Prev: Agenda commands,  Up: Agenda views
4537 9.6 Custom agenda views
4538 =======================
4540 Custom agenda commands serve two purposes: to store and quickly access
4541 frequently used TODO and tags searches, and to create special composite
4542 agenda buffers.  Custom agenda commands will be accessible through the
4543 dispatcher (*note Agenda dispatcher::), just like the default commands.
4545 * Menu:
4547 * Storing searches::            Type once, use often
4548 * Block agenda::                All the stuff you need in a single buffer
4549 * Setting Options::             Changing the rules
4550 * Exporting Agenda Views::      Writing agendas to files.
4551 * Extracting Agenda Information for other programs::
4553 \x1f
4554 File: org,  Node: Storing searches,  Next: Block agenda,  Prev: Custom agenda views,  Up: Custom agenda views
4556 9.6.1 Storing searches
4557 ----------------------
4559 The first application of custom searches is the definition of keyboard
4560 shortcuts for frequently used searches, either creating an agenda
4561 buffer, or a sparse tree (the latter covering of course only the current
4562 buffer).  Custom commands are configured in the variable
4563 `org-agenda-custom-commands'.  You can customize this variable, for
4564 example by pressing `C-c a C'.  You can also directly set it with Emacs
4565 Lisp in `.emacs'.  The following example contains all valid search
4566 types:
4568      (setq org-agenda-custom-commands
4569            '(("w" todo "WAITING")
4570              ("W" todo-tree "WAITING")
4571              ("u" tags "+BOSS-URGENT")
4572              ("v" tags-todo "+BOSS-URGENT")
4573              ("U" tags-tree "+BOSS-URGENT")
4574              ("f" occur-tree "\\<FIXME\\>")))
4576 The initial single-character string in each entry defines the character
4577 you have to press after the dispatcher command `C-c a' in order to
4578 access the command.   The second parameter is the search type, followed
4579 by the string or regular expression to be used for the matching.  The
4580 example above will therefore define:
4582 `C-c a w'
4583      as a global search for TODO entries with `WAITING' as the TODO
4584      keyword
4586 `C-c a W'
4587      as the same search, but only in the current buffer and displaying
4588      the results as a sparse tree
4590 `C-c a u'
4591      as a global tags search for headlines marked `:BOSS:' but not
4592      `:URGENT:'
4594 `C-c a v'
4595      as the same search as `C-c a u', but limiting the search to
4596      headlines that are also TODO items
4598 `C-c a U'
4599      as the same search as `C-c a u', but only in the current buffer and
4600      displaying the result as a sparse tree
4602 `C-c a f'
4603      to create a sparse tree (again: current buffer only) with all
4604      entries containing the word `FIXME'.
4606 \x1f
4607 File: org,  Node: Block agenda,  Next: Setting Options,  Prev: Storing searches,  Up: Custom agenda views
4609 9.6.2 Block agenda
4610 ------------------
4612 Another possibility is the construction of agenda views that comprise
4613 the results of _several_ commands, each of which creates a block in the
4614 agenda buffer.  The available commands include `agenda' for the daily
4615 or weekly agenda (as created with `C-c a a'), `alltodo' for the global
4616 todo list (as constructed with `C-c a t'), and the matching commands
4617 discussed above: `todo', `tags', and `tags-todo'.  Here are two
4618 examples:
4620      (setq org-agenda-custom-commands
4621            '(("h" "Agenda and Home-related tasks"
4622               ((agenda)
4623                (tags-todo "HOME")
4624                (tags "GARDEN")))
4625              ("o" "Agenda and Office-related tasks"
4626               ((agenda)
4627                (tags-todo "WORK")
4628                (tags "OFFICE")))))
4630 This will define `C-c a h' to create a multi-block view for stuff you
4631 need to attend to at home.  The resulting agenda buffer will contain
4632 your agenda for the current week, all TODO items that carry the tag
4633 `HOME', and also all lines tagged with `GARDEN'.  Finally the command
4634 `C-c a o' provides a similar view for office tasks.
4636 \x1f
4637 File: org,  Node: Setting Options,  Next: Exporting Agenda Views,  Prev: Block agenda,  Up: Custom agenda views
4639 9.6.3 Setting Options for custom commands
4640 -----------------------------------------
4642 Org-mode contains a number of variables regulating agenda construction
4643 and display.  The global variables define the behavior for all agenda
4644 commands, including the custom commands.  However, if you want to change
4645 some settings just for a single custom view, you can do so.  Setting
4646 options requires inserting a list of variable names and values at the
4647 right spot in `org-agenda-custom-commands'.  For example:
4649      (setq org-agenda-custom-commands
4650            '(("w" todo "WAITING"
4651               ((org-agenda-sorting-strategy '(priority-down))
4652                (org-agenda-prefix-format "  Mixed: ")))
4653              ("U" tags-tree "+BOSS-URGENT"
4654               ((org-show-following-heading nil)
4655                (org-show-hierarchy-above nil)))))
4657 Now the `C-c a w' command will sort the collected entries only by
4658 priority, and the prefix format is modified to just say `  Mixed:'
4659 instead of giving the category of the entry.  The sparse tags tree of
4660 `C-c a U' will now turn out ultra-compact, because neither the headline
4661 hierarchy above the match, nor the headline following the match will be
4662 shown.
4664    For command sets creating a block agenda,
4665 `org-agenda-custom-commands' has two separate spots for setting
4666 options.  You can add options that should be valid for just a single
4667 command in the set, and options that should be valid for all commands in
4668 the set.  The former are just added to the command entry, the latter
4669 must come after the list of command entries.  Going back to the block
4670 agenda example (*note Block agenda::), let's change the sorting strategy
4671 for the `C-c a h' commands to `priority-down', but let's sort the
4672 results for GARDEN tags query in the opposite order, `priority-up'.
4673 This would look like this:
4675      (setq org-agenda-custom-commands
4676            '(("h" "Agenda and Home-related tasks"
4677               ((agenda)
4678                (tags-todo "HOME")
4679                (tags "GARDEN"
4680                      ((org-agenda-sorting-strategy '(priority-up)))))
4681               ((org-agenda-sorting-strategy '(priority-down))))
4682              ("o" "Agenda and Office-related tasks"
4683               ((agenda)
4684                (tags-todo "WORK")
4685                (tags "OFFICE")))))
4687    As you see, the values and parenthesis setting is a little complex.
4688 When in doubt, use the customize interface to set this variable - it
4689 fully supports its structure.  Just one caveat: When setting options in
4690 this interface, the _values_ are just lisp expressions.  So if the
4691 value is a string, you need to add the double quotes around the value
4692 yourself.
4694 \x1f
4695 File: org,  Node: Exporting Agenda Views,  Next: Extracting Agenda Information for other programs,  Prev: Setting Options,  Up: Custom agenda views
4697 9.6.4 Exporting Agenda Views
4698 ----------------------------
4700 If you are away from your computer, it can be very useful to have a
4701 printed version of some agenda views to carry around.  Org-mode can
4702 export custom agenda views as plain text, HTML(1) and postscript.  If
4703 you want to do this only occasionally, use the commend
4705 `C-x C-w'
4706      Write the agenda view to a file.  Depending on the extension of the
4707      selected file name, the view will be exported as HTML (extension
4708      `.html' or `.htm'), Postscript (extension `.ps'), or plain text
4709      (any other extension).  Use the variable
4710      `org-agenda-exporter-settings' to set options for `ps-print' and
4711      for `htmlize' to be used during export, for example
4712           (setq org-agenda-exporter-settings
4713                 '((ps-number-of-columns 2)
4714                   (ps-landscape-mode t)
4715                   (htmlize-output-type 'css)))
4717    If you need to export certain agenda views frequently, you can
4718 associate any custom agenda command with a list of output file names
4719 (2).  Here is an example that first does define custom commands for the
4720 agenda and the global todo list, together with a number of files to
4721 which to export them.  Then we define two block agenda commands and
4722 specify filenames for them as well.  File names can be relative to the
4723 current working directory, or absolute.
4725      (setq org-agenda-custom-commands
4726            '(("X" agenda "" nil ("agenda.html" "agenda.ps"))
4727              ("Y" alltodo "" nil ("todo.html" "todo.txt" "todo.ps"))
4728              ("h" "Agenda and Home-related tasks"
4729               ((agenda)
4730                (tags-todo "HOME")
4731                (tags "GARDEN"))
4732               nil
4733               ("~/views/home.html"))
4734              ("o" "Agenda and Office-related tasks"
4735               ((agenda)
4736                (tags-todo "WORK")
4737                (tags "OFFICE"))
4738               nil
4739               ("~/views/office.ps"))))
4741    The extension of the file name determines the type of export.  If it
4742 is `.html', Org-mode will use the `htmlize.el' package to convert the
4743 buffer to HTML and save it to this file name.  If the extension is
4744 `.ps', `ps-print-buffer-with-faces' is used to produce postscript
4745 output.  Any other extension produces a plain ASCII file.
4747    The export files are _not_ created when you use one of those
4748 commands interactively.  Instead, there is a special command to produce
4749 _all_ specified files in one step:
4751 `C-c a e'
4752      Export all agenda views that have export filenames associated with
4753      them.
4755    You can use the options section of the custom agenda commands to also
4756 set options for the export commands.  For example:
4758      (setq org-agenda-custom-commands
4759            '(("X" agenda ""
4760               ((ps-number-of-columns 2)
4761                (ps-landscape-mode t)
4762                (org-agenda-prefix-format " [ ] ")
4763                (org-agenda-with-colors nil)
4764                (org-agenda-remove-tags t))
4765               ("theagenda.ps"))))
4767 This command sets two options for the postscript exporter, to make it
4768 print in two columns in landscape format - the resulting page can be cut
4769 in two and then used in a paper agenda.  The remaining settings modify
4770 the agenda prefix to omit category and scheduling information, and
4771 instead include a checkbox to check off items.  We also remove the tags
4772 to make the lines compact, and we don't want to use colors for the
4773 black-and-white printer.  Settings specified in
4774 `org-agenda-exporter-settings' will also apply, but the settings in
4775 `org-agenda-custom-commands' take precedence.
4777 From the command line you may also use
4778      emacs -f org-batch-store-agenda-views -kill
4779    or, if you need to modify some parameters
4780      emacs -eval '(org-batch-store-agenda-views                      \
4781                    org-agenda-ndays 30                               \
4782                    org-agenda-include-diary nil                      \
4783                    org-agenda-files (quote ("~/org/project.org")))'  \
4784            -kill
4785    which will create the agenda views restricted to the file
4786 `~/org/project.org', without diary entries and with 30 days extent.
4788    ---------- Footnotes ----------
4790    (1) You need to install Hrvoje Niksic' `htmlize.el'.
4792    (2) If you want to store standard views like the weekly agenda or
4793 the global TODO list as well, you need to define custom commands for
4794 them in order to be able to specify filenames.
4796 \x1f
4797 File: org,  Node: Extracting Agenda Information for other programs,  Prev: Exporting Agenda Views,  Up: Custom agenda views
4799 9.6.5 Extracting Agenda Information for other programs
4800 ------------------------------------------------------
4802 Org-mode provides commands to access agenda information for the command
4803 line in emacs batch mode.  This extracted information can be sent
4804 directly to a printer, or it can be read by a program that does further
4805 processing of the data.  The first of these commands is the function
4806 `org-batch-agenda', that produces an agenda view and sends it as ASCII
4807 text to STDOUT.  The command takes a single string as parameter.  If
4808 the string has length 1, it is used as a key to one of the commands you
4809 have configured in `org-agenda-custom-commands', basically any key you
4810 can use after `C-c a'.  For example, to directly print the current TODO
4811 list, you could use
4813      emacs -batch -l ~/.emacs -eval '(org-batch-agenda "t")' | lpr
4815    If the parameter is a string with 2 or more characters, it is used
4816 as a tags/todo match string.  For example, to print your local shopping
4817 list (all items with the tag `shop', but excluding the tag `NewYork'),
4818 you could use
4820      emacs -batch -l ~/.emacs                                      \
4821            -eval '(org-batch-agenda "+shop-NewYork")' | lpr
4823 You may also modify parameters on the fly like this:
4825      emacs -batch -l ~/.emacs                                      \
4826         -eval '(org-batch-agenda "a"                               \
4827                  org-agenda-ndays 30                               \
4828                  org-agenda-include-diary nil                      \
4829                  org-agenda-files (quote ("~/org/project.org")))'  \
4830         | lpr
4832 which will produce a 30 day agenda, fully restricted to the Org file
4833 `~/org/projects.org', not even including the diary.
4835    If you want to process the agenda data in more sophisticated ways,
4836 you can use the command `org-batch-agenda-csv' to get a comma-separated
4837 list of values for each agenda item.  Each line in the output will
4838 contain a number of fields separated by commas.  The fields in a line
4839 are:
4841      category     The category of the item
4842      head         The headline, without TODO kwd, TAGS and PRIORITY
4843      type         The type of the agenda entry, can be
4844                      todo               selected in TODO match
4845                      tagsmatch          selected in tags match
4846                      diary              imported from diary
4847                      deadline           a deadline
4848                      scheduled          scheduled
4849                      timestamp          appointment, selected by timestamp
4850                      closed             entry was closed on date
4851                      upcoming-deadline  warning about nearing deadline
4852                      past-scheduled     forwarded scheduled item
4853                      block              entry has date block including date
4854      todo         The todo keyword, if any
4855      tags         All tags including inherited ones, separated by colons
4856      date         The relevant date, like 2007-2-14
4857      time         The time, like 15:00-16:50
4858      extra        String with extra planning info
4859      priority-l   The priority letter if any was given
4860      priority-n   The computed numerical priority
4862 Time and date will only be given if a timestamp (or deadline/scheduled)
4863 lead to the selection of the item.
4865    A CSV list like this is very easy to use in a post processing script.
4866 For example, here is a Perl program that gets the TODO list from
4867 Emacs/org-mode and prints all the items, preceded by a checkbox:
4869      #!/usr/bin/perl
4871      # define the Emacs command to run
4872      $cmd = "emacs -batch -l ~/.emacs -eval '(org-batch-agenda-csv \"t\")'";
4874      # run it and capture the output
4875      $agenda = qx{$cmd 2>/dev/null};
4877      # loop over all lines
4878      foreach $line (split(/\n/,$agenda)) {
4880        # get the individual values
4881        ($category,$head,$type,$todo,$tags,$date,$time,$extra,
4882         $priority_l,$priority_n) = split(/,/,$line);
4884        # proccess and print
4885        print "[ ] $head\n";
4886      }
4888 \x1f
4889 File: org,  Node: Embedded LaTeX,  Next: Exporting,  Prev: Agenda views,  Up: Top
4891 10 Embedded LaTeX
4892 *****************
4894 Plain ASCII is normally sufficient for almost all note taking.  One
4895 exception, however, are scientific notes which need to be able to
4896 contain mathematical symbols and the occasional formula.  LaTeX(1) is
4897 widely used to typeset scientific documents. Org-mode supports
4898 embedding LaTeX code into its files, because many academics are used to
4899 read LaTeX source code, and because it can be readily processed into
4900 images for HTML production.
4902    It is not necessary to mark LaTeX macros and code in any special way.
4903 If you observe a few conventions, Org-mode knows how to find it and what
4904 to do with it.
4906 * Menu:
4908 * Math symbols::                TeX macros for symbols and Greek letters
4909 * Subscripts and Superscripts::  Simple syntax for raising/lowering text
4910 * LaTeX fragments::             Complex formulas made easy
4911 * Processing LaTeX fragments::  Previewing LaTeX processing
4912 * CDLaTeX mode::                Speed up entering of formulas
4914    ---------- Footnotes ----------
4916    (1) LaTeX is a macro system based on Donald E. Knuth's TeX system.
4917 Many of the features described here as "LaTeX" are really from TeX, but
4918 for simplicity I am blurring this distinction.
4920 \x1f
4921 File: org,  Node: Math symbols,  Next: Subscripts and Superscripts,  Prev: Embedded LaTeX,  Up: Embedded LaTeX
4923 10.1 Math symbols
4924 =================
4926 You can use LaTeX macros to insert special symbols like `\alpha' to
4927 indicate the Greek letter, or `\to' to indicate an arrow.  Completion
4928 for these macros is available, just type `\' and maybe a few letters,
4929 and press `M-<TAB>' to see possible completions.  Unlike LaTeX code,
4930 Org-mode allows these macros to be present without surrounding math
4931 delimiters, for example:
4933      Angles are written as Greek letters \alpha, \beta and \gamma.
4935    During HTML export (*note HTML export::), these symbols are
4936 translated into the proper syntax for HTML, for the above examples this
4937 is `&alpha;' and `&rarr;', respectively.
4939 \x1f
4940 File: org,  Node: Subscripts and Superscripts,  Next: LaTeX fragments,  Prev: Math symbols,  Up: Embedded LaTeX
4942 10.2 Subscripts and Superscripts
4943 ================================
4945 Just like in LaTeX, `^' and `_' are used to indicate super- and
4946 subscripts.  Again, these can be used without embedding them in
4947 math-mode delimiters.  To increase the readability of ASCII text, it is
4948 not necessary (but OK) to surround multi-character sub- and superscripts
4949 with curly braces.  For example
4951      The mass if the sun is M_sun = 1.989 x 10^30 kg.  The radius of
4952      the sun is R_{sun} = 6.96 x 10^8 m.
4954    To avoid interpretation as raised or lowered text, you can quote `^'
4955 and `_' with a backslash: `\_' and `\^'.
4957    During HTML export (*note HTML export::), subscript and superscripts
4958 are surrounded with `<sub>' and `<sup>' tags, respectively.
4960 \x1f
4961 File: org,  Node: LaTeX fragments,  Next: Processing LaTeX fragments,  Prev: Subscripts and Superscripts,  Up: Embedded LaTeX
4963 10.3 LaTeX fragments
4964 ====================
4966 With symbols, sub- and superscripts, HTML is pretty much at its end when
4967 it comes to representing mathematical formulas(1).  More complex
4968 expressions need a dedicated formula processor.  To this end, Org-mode
4969 can contain arbitrary LaTeX fragments.  It provides commands to preview
4970 the typeset result of these fragments, and upon export to HTML, all
4971 fragments will be converted to images and inlined into the HTML
4972 document.  For this to work you need to be on a system with a working
4973 LaTeX installation.  You also need the `dvipng' program, available at
4974 `http://sourceforge.net/projects/dvipng/'.  The LaTeX header that will
4975 be used when processing a fragment can be configured with the variable
4976 `org-format-latex-header'.
4978    LaTeX fragments don't need any special marking at all.  The following
4979 snippets will be identified as LaTeX source code:
4980    * Environments of any kind.  The only requirement is that the
4981      `\begin' statement appears on a new line, preceded by only
4982      whitespace.
4984    * Text within the usual LaTeX math delimiters.  To avoid conflicts
4985      with currency specifications, single `$' characters are only
4986      recognized as math delimiters if the enclosed text contains at
4987      most two line breaks, is directly attached to the `$' characters
4988      with no whitespace in between, and if the closing `$' is followed
4989      by whitespace or punctuation.  For the other delimiters, there is
4990      no such restriction, so when in doubt, use `\(...\)' as inline
4991      math delimiters.
4993 For example:
4995      \begin{equation}                          % arbitrary environments,
4996      x=\sqrt{b}                                % even tables, figures
4997      \end{equation}                            % etc
4999      If $a^2=b$ and \( b=2 \), then the solution must be
5000      either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \].
5002 If you need any of the delimiter ASCII sequences for other purposes, you
5003 can configure the option `org-format-latex-options' to deselect the
5004 ones you do not wish to have interpreted by the LaTeX converter.
5006    ---------- Footnotes ----------
5008    (1) Yes, there is MathML, but that is not yet fully supported by
5009 many browsers, and there is no decent converter for turning LaTeX of
5010 ASCII representations of formulas into MathML.  So for the time being,
5011 converting formulas into images seems the way to go.
5013 \x1f
5014 File: org,  Node: Processing LaTeX fragments,  Next: CDLaTeX mode,  Prev: LaTeX fragments,  Up: Embedded LaTeX
5016 10.4 Processing LaTeX fragments
5017 ===============================
5019 LaTeX fragments can be processed to produce a preview images of the
5020 typeset expressions:
5022 `C-c C-x C-l'
5023      Produce a preview image of the LaTeX fragment at point and overlay
5024      it over the source code.  If there is no fragment at point,
5025      process all fragments in the current entry (between two
5026      headlines).  When called with a prefix argument, process the
5027      entire subtree.  When called with two prefix arguments, or when
5028      the cursor is before the first headline, process the entire buffer.  
5030 `C-c C-c'
5031      Remove the overlay preview images.
5033    During HTML export (*note HTML export::), all LaTeX fragments are
5034 converted into images and inlined into the document if the following
5035 setting is active:
5037      (setq org-export-with-LaTeX-fragments t)
5039 \x1f
5040 File: org,  Node: CDLaTeX mode,  Prev: Processing LaTeX fragments,  Up: Embedded LaTeX
5042 10.5 Using CDLaTeX to enter math
5043 ================================
5045 CDLaTeX-mode is a minor mode that is normally used in combination with a
5046 major LaTeX mode like AUCTeX in order to speed-up insertion of
5047 environments and math templates.  Inside Org-mode, you can make use of
5048 some of the features of cdlatex-mode.  You need to install `cdlatex.el'
5049 and `texmathp.el' (the latter comes also with AUCTeX) from
5050 `http://www.astro.uva.nl/~dominik/Tools/cdlatex'.  Don't turn
5051 cdlatex-mode itself under Org-mode, but use the light version
5052 `org-cdlatex-mode' that comes as part of Org-mode.  Turn it on for the
5053 current buffer with `M-x org-cdlatex-mode', or for all Org-mode files
5054 with
5056      (add-hook 'org-mode-hook 'turn-on-org-cdlatex)
5058    When this mode is enabled, the following features are present (for
5059 more details see the documentation of cdlatex-mode):
5060    * Environment templates can be inserted with `C-c {'.
5062    * The <TAB> key will do template expansion if the cursor is inside a
5063      LaTeX fragment(1).  For example, <TAB> will expand `fr' to
5064      `\frac{}{}' and position the cursor correctly inside the first
5065      brace.  Another <TAB> will get you into the second brace.  Even
5066      outside fragments, <TAB> will expand environment abbreviations at
5067      the beginning of a line.  For example, if you write `equ' at the
5068      beginning of a line and press <TAB>, this abbreviation will be
5069      expanded to an `equation' environment.  To get a list of all
5070      abbreviations, type `M-x cdlatex-command-help'.
5072    * Pressing `_' and `^' inside a LaTeX fragment will insert these
5073      characters together with a pair of braces.  If you use <TAB> to
5074      move out of the braces, and if the braces surround only a single
5075      character or macro, they are removed again (depending on the
5076      variable `cdlatex-simplify-sub-super-scripts').
5078    * Pressing the backquote ``' followed by a character inserts math
5079      macros, also outside LaTeX fragments.  If you wait more than 1.5
5080      seconds after the backquote, a help window will pop up.
5082    * Pressing the normal quote `'' followed by another character
5083      modifies the symbol before point with an accent or a font.  If you
5084      wait more than 1.5 seconds after the backquote, a help window will
5085      pop up.  Character modification will work only inside LaTeX
5086      fragments, outside the quote is normal.
5088    ---------- Footnotes ----------
5090    (1) Org-mode has a method to test if the cursor is inside such a
5091 fragment, see the documentation of the function
5092 `org-inside-LaTeX-fragment-p'.
5094 \x1f
5095 File: org,  Node: Exporting,  Next: Publishing,  Prev: Embedded LaTeX,  Up: Top
5097 11 Exporting
5098 ************
5100 Org-mode documents can be exported into a variety of other formats.  For
5101 printing and sharing of notes, ASCII export produces a readable and
5102 simple version of an Org-mode file.  HTML export allows you to publish a
5103 notes file on the web, while the XOXO format provides a solid base for
5104 exchange with a broad range of other applications.  To incorporate
5105 entries with associated times like deadlines or appointments into a
5106 desktop calendar program like iCal, Org-mode can also produce extracts
5107 in the iCalendar format.  Currently Org-mode only supports export, not
5108 import of these different formats.
5110    When exporting, Org-mode uses special conventions to enrich the
5111 output produced.  *Note Text interpretation::, for more details.
5113 `C-c C-e'
5114      Dispatcher for export and publishing commands.  Displays a
5115      help-window listing the additional key(s) needed to launch an
5116      export or publishing command.
5118 * Menu:
5120 * ASCII export::                Exporting to plain ASCII
5121 * HTML export::                 Exporting to HTML
5122 * XOXO export::                 Exporting to XOXO
5123 * iCalendar export::            Exporting in iCalendar format
5124 * Text interpretation::         How the exporter looks at the file
5126 \x1f
5127 File: org,  Node: ASCII export,  Next: HTML export,  Prev: Exporting,  Up: Exporting
5129 11.1 ASCII export
5130 =================
5132 ASCII export produces a simple and very readable version of an Org-mode
5133 file.
5135 `C-c C-e a'
5136      Export as ASCII file.  If there is an active region, only the
5137      region will be exported.  For an org file `myfile.org', the ASCII
5138      file will be `myfile.txt'.  The file will be overwritten without
5139      warning.  
5141 `C-c C-e v a'
5142      Export only the visible part of the document.
5144    In the exported version, the first 3 outline levels will become
5145 headlines, defining a general document structure.  Additional levels
5146 will be exported as itemized lists.  If you want that transition to
5147 occur at a different level, specify it with a prefix argument.  For
5148 example,
5150      C-1 C-c C-e a
5152 creates only top level headlines and does the rest as items.  When
5153 headlines are converted to items, the indentation of the text following
5154 the headline is changed to fit nicely under the item.  This is done with
5155 the assumption that the first bodyline indicates the base indentation of
5156 the body text.  Any indentation larger than this is adjusted to preserve
5157 the layout relative to the first line.  Should there be lines with less
5158 indentation than the first, these are left alone.
5160 \x1f
5161 File: org,  Node: HTML export,  Next: XOXO export,  Prev: ASCII export,  Up: Exporting
5163 11.2 HTML export
5164 ================
5166 Org-mode contains an HTML (XHTML 1.0 strict) exporter with extensive
5167 HTML formatting, in ways similar to John Grubers _markdown_ language,
5168 but with additional support for tables.
5170 * Menu:
5172 * Export commands::             How to invoke HTML export
5173 * Quoting HTML tags::           Using direct HTML in Org-mode
5174 * Links::                       How hyperlinks get transferred to HTML
5175 * Images::                      To inline or not to inline?
5176 * CSS support::                 Style specifications
5178 \x1f
5179 File: org,  Node: Export commands,  Next: Quoting HTML tags,  Prev: HTML export,  Up: HTML export
5181 11.2.1 HTML export commands
5182 ---------------------------
5184 `C-c C-e h'
5185      Export as HTML file `myfile.html'.  
5187 `C-c C-e b'
5188      Export as HTML file and open it with a browser.  
5190 `C-c C-e H'
5191      Export to a temporary buffer, do not create a file.  
5193 `C-c C-e H'
5194      Export the active region to a temporary buffer.  With prefix arg,
5195      do not produce file header and foot, but just the plain HTML
5196      section for the region.  This is good for cut-and-paste operations.  
5198 `C-c C-e v h'
5200 `C-c C-e v b'
5202 `C-c C-e v H'
5204 `C-c C-e v R'
5205      Export only the visible part of the document.
5207 `M-x org-export-region-as-html'
5208      Convert the region to HTML under the assumption that it was
5209      org-mode syntax before.  This is a global command that can be
5210      invoked in any buffer.
5212    In the exported version, the first 3 outline levels will become
5213 headlines, defining a general document structure.  Additional levels
5214 will be exported as itemized lists.  If you want that transition to
5215 occur at a different level, specify it with a prefix argument.  For
5216 example,
5218      C-2 C-c C-e b
5220 creates two levels of headings and does the rest as items.
5222 \x1f
5223 File: org,  Node: Quoting HTML tags,  Next: Links,  Prev: Export commands,  Up: HTML export
5225 11.2.2 Quoting HTML tags
5226 ------------------------
5228 Plain `<' and `>' are always transformed to `&lt;' and `&gt;' in HTML
5229 export.  If you want to include simple HTML tags which should be
5230 interpreted as such, mark them with `@' as in `@<b>bold text@</b>'.
5231 Note that this really works only for simple tags.  For more extensive
5232 HTML that should be copied verbatim to the exported file use either
5234      #+HTML: Literal HTML code for export
5238      #+BEGIN_HTML
5239      All lines between these markers are exported literally
5240      #+END_HTML
5242 \x1f
5243 File: org,  Node: Links,  Next: Images,  Prev: Quoting HTML tags,  Up: HTML export
5245 11.2.3 Links
5246 ------------
5248 Internal links (*note Internal links::) will continue to work in HTML
5249 files only if they match a dedicated `<<target>>'.  Automatic links
5250 created by radio targets (*note Radio targets::) will also work in the
5251 HTML file.  Links to external files will still work if the HTML file is
5252 in the same directory as the Org-mode file.  Links to other `.org'
5253 files will be translated into HTML links under the assumption that an
5254 HTML version also exists of the linked file.  For information related to
5255 linking files while publishing them to a publishing directory see *Note
5256 Publishing links::.
5258 \x1f
5259 File: org,  Node: Images,  Next: CSS support,  Prev: Links,  Up: HTML export
5261 11.2.4 Images
5262 -------------
5264 HTML export can inline images given as links in the Org-mode file, and
5265 it can make an image the clickable part of a link.  By default(1),
5266 images are inlined if a link does not have a description.  So
5267 `[[file:myimg.jpg]]' will be inlined, while `[[file:myimg.jpg][the
5268 image]]' will just produce a link `the image' that points to the image.
5269 If the description part itself is a `file:' link or a `http:' URL
5270 pointing to an image, this image will be inlined and activated so that
5271 clicking on the image will activate the link.  For example, to include
5272 a thumbnail that will link to a high resolution version of the image,
5273 you could use:
5275      [[file:highres.jpg][file:thumb.jpg]]
5277 and you could use `http' addresses just as well.
5279    ---------- Footnotes ----------
5281    (1) but see the variable `org-export-html-inline-images'
5283 \x1f
5284 File: org,  Node: CSS support,  Prev: Images,  Up: HTML export
5286 11.2.5 CSS support
5287 ------------------
5289 You can also give style information for the exported file.  The HTML
5290 exporter assigns the following CSS classes to appropriate parts of the
5291 document - your style specifications may change these:
5292      .todo           TODO keywords
5293      .done           the DONE keyword
5294      .timestamp      time stamp
5295      .timestamp-kwd  keyword associated with a time stamp, like SCHEDULED
5296      .tag            tag in a headline
5297      .target         target for links
5299    The default style specification can be configured through the option
5300 `org-export-html-style'.  If you want to use a file-local style, you
5301 may use file variables, best wrapped into a COMMENT section at the end
5302 of the outline tree.  For example(1):
5304      * COMMENT html style specifications
5306      # Local Variables:
5307      # org-export-html-style: "   <style type=\"text/css\">
5308      #       p {font-weight: normal; color: gray; }
5309      #       h1 {color: black; }
5310      #   </style>"
5311      # End:
5313    Remember to execute `M-x normal-mode' after changing this to make
5314 the new style visible to Emacs.  This command restarts org-mode for the
5315 current buffer and forces Emacs to re-evaluate the local variables
5316 section in the buffer.
5318    ---------- Footnotes ----------
5320    (1) Under Emacs 21, the continuation lines for a variable value
5321 should have no `#' at the start of the line.
5323 \x1f
5324 File: org,  Node: XOXO export,  Next: iCalendar export,  Prev: HTML export,  Up: Exporting
5326 11.3 XOXO export
5327 ================
5329 Org-mode contains an exporter that produces XOXO-style output.
5330 Currently, this exporter only handles the general outline structure and
5331 does not interpret any additional Org-mode features.
5333 `C-c C-e x'
5334      Export as XOXO file `myfile.html'.  
5336 `C-c C-e v x'
5337      Export only the visible part of the document.
5339 \x1f
5340 File: org,  Node: iCalendar export,  Next: Text interpretation,  Prev: XOXO export,  Up: Exporting
5342 11.4 iCalendar export
5343 =====================
5345 Some people like to use Org-mode for keeping track of projects, but
5346 still prefer a standard calendar application for anniversaries and
5347 appointments.  In this case it can be useful to have deadlines and
5348 other time-stamped items in Org-mode files show up in the calendar
5349 application.  Org-mode can export calendar information in the standard
5350 iCalendar format.  If you also want to have TODO entries included in the
5351 export, configure the variable `org-icalendar-include-todo'.
5353 `C-c C-e i'
5354      Create iCalendar entries for the current file and store them in
5355      the same directory, using a file extension `.ics'.  
5357 `C-c C-e I'
5358      Like `C-c C-e i', but do this for all files in `org-agenda-files'.
5359      For each of these files, a separate iCalendar file will be
5360      written.  
5362 `C-c C-e c'
5363      Create a single large iCalendar file from all files in
5364      `org-agenda-files' and write it to the file given by
5365      `org-combined-agenda-icalendar-file'.
5367    How this calendar is best read and updated, depends on the
5368 application you are using.  The FAQ covers this issue.
5370 \x1f
5371 File: org,  Node: Text interpretation,  Prev: iCalendar export,  Up: Exporting
5373 11.5 Text interpretation by the exporter
5374 ========================================
5376 The exporter backends interpret additional structure in the Org-mode
5377 file in order to produce better output.
5379 * Menu:
5381 * Comment lines::               Some lines will not be exported
5382 * Initial text::                Text before the first headline
5383 * Footnotes::                   Numbers like [1]
5384 * Enhancing text::              Subscripts, symbols and more
5385 * Export options::              How to influence the export settings
5387 \x1f
5388 File: org,  Node: Comment lines,  Next: Initial text,  Prev: Text interpretation,  Up: Text interpretation
5390 11.5.1 Comment lines
5391 --------------------
5393 Lines starting with `#' in column zero are treated as comments and will
5394 never be exported.  Also entire subtrees starting with the word
5395 `COMMENT' will never be exported.
5397 `C-c ;'
5398      Toggle the COMMENT keyword at the beginning of an entry.
5400 \x1f
5401 File: org,  Node: Initial text,  Next: Footnotes,  Prev: Comment lines,  Up: Text interpretation
5403 11.5.2 Text before the first headline
5404 -------------------------------------
5406 Org-mode normally ignores any text before the first headline when
5407 exporting, leaving this region for internal links to speed up navigation
5408 etc.  However, in publishing-oriented files, you might want to have some
5409 text before the first headline, like a small introduction, special HTML
5410 code with a navigation bar, etc.  You can ask to have this part of the
5411 file exported as well by setting the variable
5412 `org-export-skip-text-before-1st-heading' to `nil'.  On a per-file
5413 basis, you can get the same effect with
5415      #+OPTIONS: skip:nil
5417    The text before the first headline will be fully processed (*note
5418 Enhancing text::), and the first non-comment line becomes the title of
5419 the exported document.  If you need to include literal HTML, use the
5420 special constructs described in *Note Quoting HTML tags::.  The table
5421 of contents is normally inserted directly before the first headline of
5422 the file.  If you would like to get it to a different location, insert
5423 the string `[TABLE-OF-CONTENTS]' on a line by itself at the desired
5424 location.
5426    Finally, if you want to use the space before the first headline for
5427 internal purposes, but _still_ want to place something before the first
5428 headline when exporting the file, you can use the `#+TEXT' construct:
5430      #+OPTIONS: skip:t
5431      #+TEXT: This text will go before the *first* headline.
5432      #+TEXT: We place the table of contents here:
5433      #+TEXT: [TABLE-OF-CONTENTS]
5434      #+TEXT: This goes between the table of contents and the first headline
5436 \x1f
5437 File: org,  Node: Footnotes,  Next: Enhancing text,  Prev: Initial text,  Up: Text interpretation
5439 11.5.3 Footnotes
5440 ----------------
5442 Numbers in square brackets are treated as footnotes, so that you can use
5443 the Emacs package `footnote.el' to create footnotes.  For example:
5445      The org-mode homepage[1] clearly needs help from
5446      a good web designer.
5448      [1] The link is: http://www.astro.uva.nl/~dominik/Tools/org
5450 Note that the `footnote' package uses `C-c !' to invoke its commands.
5451 This binding conflicts with the org-mode command for inserting inactive
5452 time stamps.  You could use the variable `footnote-prefix' to switch
5453 footnotes commands to another key.  Or, if you are too used to this
5454 binding, you could use `org-replace-disputed-keys' and
5455 `org-disputed-keys' to change the settings in Org-mode.
5457 \x1f
5458 File: org,  Node: Enhancing text,  Next: Export options,  Prev: Footnotes,  Up: Text interpretation
5460 11.5.4 Enhancing text for export
5461 --------------------------------
5463 Some of the export backends of Org-mode allow for sophisticated text
5464 formatting, this is true in particular for the HTML backend.  Org-mode
5465 has a number of typing conventions that allow to produce a richly
5466 formatted output.
5468    * Plain lists `-', `*' or `+' as bullet, or with `1.' or `2)' as
5469      enumerator will be recognized and transformed if the backend
5470      supports lists.  See *Note Plain lists::.
5472    * You can make words *bold*, /italic/, _underlined_, `=code=', and
5473      even `+strikethrough+'(1).
5475    * A line consisting of only dashes, and at least 5 of them, will be
5476      exported as a horizontal line (`<hr/>' in HTML).
5478    * Many TeX macros and entire LaTeX fragments are converted into HTML
5479      entities or images (*note Embedded LaTeX::).
5481    * Tables are transformed into native tables under the exporter, if
5482      the export backend supports this. Data fields before the first
5483      horizontal separator line will be formatted as table header fields.
5485    * If a headline starts with the word `QUOTE', the text below the
5486      headline will be typeset as fixed-width, to allow quoting of
5487      computer codes etc.  Lines starting with `:' are also typeset in
5488      fixed-width font.
5489     `C-c :'
5490           Toggle fixed-width for entry (QUOTE) or region, see below.
5492    * A double backslash _at the end of a line_ enforces a line break at
5493      this position.
5495    If these conversions conflict with your habits of typing ASCII text,
5496 they can all be turned off with corresponding variables.  See the
5497 customization group `org-export-general', and the following section
5498 which explains how to set export options with special lines in a buffer.
5500    ---------- Footnotes ----------
5502    (1) but remember that strikethrough is typographically evil and
5503 should never be used.
5505 \x1f
5506 File: org,  Node: Export options,  Prev: Enhancing text,  Up: Text interpretation
5508 11.5.5 Export options
5509 ---------------------
5511 The exporter recognizes special lines in the buffer which provide
5512 additional information.  These lines may be put anywhere in the file.
5513 The whole set of lines can be inserted into the buffer with `C-c C-e
5514 t'.  For individual lines, a good way to make sure the keyword is
5515 correct is to type `#+' and then use `M-<TAB>' completion (*note
5516 Completion::).
5518 `C-c C-e t'
5519      Insert template with export options, see example below.
5521      #+TITLE:     the title to be shown (default is the buffer name)
5522      #+AUTHOR:    the author (default taken from `user-full-name')
5523      #+EMAIL:     his/her email address (default from `user-mail-address')
5524      #+LANGUAGE:  language for HTML, e.g. `en' (`org-export-default-language')
5525      #+TEXT:      Some descriptive text to be inserted at the beginning.
5526      #+TEXT:      Several lines may be given.
5527      #+OPTIONS:   H:2 num:t toc:t \n:nil @:t ::t |:t ^:t f:t *:nil TeX:t LaTeX:t skip:t
5529 The OPTIONS line is a compact form to specify export settings.  Here
5530 you can: 
5531      H:      set the number of headline levels for export
5532      num:    turn on/off section-numbers
5533      toc:    turn on/off table of contents, or set level limit (integer)
5534      \n:     turn on/off linebreak-preservation
5535      @:      turn on/off quoted HTML tags
5536      ::      turn on/off fixed-width sections
5537      |:      turn on/off tables
5538      ^:      turn on/off TeX-like syntax for sub- and superscripts.  If
5539              you write "^:{}", `a_{b}' will be interpreted, but
5540              the simple `a_b' will be left as it is.
5541      f:      turn on/off foototes like this[1].
5542      *:      turn on/off emphasized text (bold, italic, underlined)
5543      TeX:    turn on/off simple TeX macros in plain text
5544      LaTeX:  turn on/off LaTeX fragments
5545      skip:   turn on/off skipping the text before the first heading
5547 \x1f
5548 File: org,  Node: Publishing,  Next: Miscellaneous,  Prev: Exporting,  Up: Top
5550 12 Publishing
5551 *************
5553 Org-mode includes(1) a publishing management system that allows you to
5554 configure automatic HTML conversion of _projects_ composed of
5555 interlinked org files.  This system is called _org-publish_.  You can
5556 also configure org-publish to automatically upload your exported HTML
5557 pages and related attachments, such as images and source code files, to
5558 a web server.  Org-publish turns org-mode into a web-site authoring
5559 tool.
5561    Org-publish has been contributed to Org-mode by David O'Toole.
5563 * Menu:
5565 * Configuration::               Defining projects
5566 * Sample configuration::        Example projects
5567 * Triggering publication::      Publication commands
5569    ---------- Footnotes ----------
5571    (1) `org-publish.el' is not distributed with Emacs 21, if you are
5572 still using Emacs 21, you need you need to download this file
5573 separately.
5575 \x1f
5576 File: org,  Node: Configuration,  Next: Sample configuration,  Prev: Publishing,  Up: Publishing
5578 12.1 Configuration
5579 ==================
5581 Publishing needs significant configuration to specify files, destination
5582 and many other properties of a project.
5584 * Menu:
5586 * Project alist::               The central configuration variable
5587 * Sources and destinations::    From here to there
5588 * Selecting files::             What files are part of the project?
5589 * Publishing action::           Setting the function doing the publishing
5590 * Publishing options::          Tweaking HTML export
5591 * Publishing links::            Which links keep working after publishing?
5592 * Project page index::          Publishing a list of project files
5594 \x1f
5595 File: org,  Node: Project alist,  Next: Sources and destinations,  Prev: Configuration,  Up: Configuration
5597 12.1.1 The variable `org-publish-project-alist'
5598 -----------------------------------------------
5600 Org-publish is configured almost entirely through setting the value of
5601 one variable, called `org-publish-project-alist'.  Each element of the
5602 list configures one project, and may be in one of the two following
5603 forms:
5605      ("project-name"  :property value :property value ...)
5607      or
5609      ("project-name"  :components ("project-name" "project-name" ...))
5611    In both cases, projects are configured by specifying property values.
5612 A project defines the set of files that will be published, as well as
5613 the publishing configuration to use when publishing those files.  When
5614 a project takes the second form listed above, the individual members of
5615 the "components" property are taken to be components of the project,
5616 which group together files requiring different publishing options. When
5617 you publish such a "meta-project" all the components will also publish.
5619 \x1f
5620 File: org,  Node: Sources and destinations,  Next: Selecting files,  Prev: Project alist,  Up: Configuration
5622 12.1.2 Sources and destinations for files
5623 -----------------------------------------
5625 Most properties are optional, but some should always be set. In
5626 particular, org-publish needs to know where to look for source files,
5627 and where to put published files.
5629 `:base-directory'      Directory containing publishing source files
5630 `:publishing-directory'Directory (possibly remote) where output files
5631                        will be published.
5632 `:preparation-function'Function called before starting publishing
5633                        process, for example to run `make' for updating
5634                        files to be published.
5636 \x1f
5637 File: org,  Node: Selecting files,  Next: Publishing action,  Prev: Sources and destinations,  Up: Configuration
5639 12.1.3 Selecting files
5640 ----------------------
5642 By default, all files with extension `.org' in the base directory are
5643 considered part of the project.  This can be modified by setting the
5644 properties
5645 `:base-extension'  Extension (without the dot!) of source files.  This
5646                    actually is a regular expression.
5647 `:exclude'         Regular expression to match file names that should
5648                    not be published, even though they have been selected
5649                    on the basis of their extension.
5650 `:include'         List of files to be included regardless of
5651                    `:base-extension' and `:exclude'.
5653 \x1f
5654 File: org,  Node: Publishing action,  Next: Publishing options,  Prev: Selecting files,  Up: Configuration
5656 12.1.4 Publishing Action
5657 ------------------------
5659 Publishing means that a file is copied to the destination directory and
5660 possibly transformed in the process.  The default transformation is to
5661 export Org-mode files as HTML files, and this is done by the function
5662 `org-publish-org-to-html' which calls the HTML exporter (*note HTML
5663 export::).  Other files like images only need to be copied to the
5664 publishing destination.  For non-Org-mode files, you need to specify
5665 the publishing function.
5667 `:publishing-function' Function executing the publication of a file.
5668                        This may also be a list of functions, which will
5669                        all be called in turn.
5671    The function must accept two arguments: a property list containing at
5672 least a `:publishing-directory' property, and the name of the file to
5673 be published.  It should take the specified file, make the necessary
5674 transformation (if any) and place the result into the destination
5675 folder.  You can write your own publishing function, but `org-publish'
5676 provides one for attachments (files that only need to be copied):
5677 `org-publish-attachment'.
5679 \x1f
5680 File: org,  Node: Publishing options,  Next: Publishing links,  Prev: Publishing action,  Up: Configuration
5682 12.1.5 Options for the HTML exporter
5683 ------------------------------------
5685 The property list can be used to set many export options for the HTML
5686 exporter.  In most cases, these properties correspond to user variables
5687 in Org-mode.  The table below lists these properties along with the
5688 variable they belong to.  See the documentation string for the
5689 respective variable for details.
5691 `:language'            `org-export-default-language'
5692 `:headline-levels'     `org-export-headline-levels'
5693 `:section-numbers'     `org-export-with-section-numbers'
5694 `:table-of-contents'   `org-export-with-toc'
5695 `:archived-trees'      `org-export-with-archived-trees'
5696 `:emphasize'           `org-export-with-emphasize'
5697 `:sub-superscript'     `org-export-with-sub-superscripts'
5698 `:TeX-macros'          `org-export-with-TeX-macros'
5699 `:LaTeX-fragments'     `org-export-with-LaTeX-fragments'
5700 `:fixed-width'         `org-export-with-fixed-width'
5701 `:timestamps'          `org-export-with-timestamps'
5702  .                     
5703 `:tags'                `org-export-with-tags'
5704  .                     
5705 `:tables'              `org-export-with-tables'
5706 `:table-auto-headline' `org-export-highlight-first-table-line'
5707 `:style'               `org-export-html-style'
5708 `:convert-org-links'   `org-export-html-link-org-files-as-html'
5709 `:inline-images'       `org-export-html-inline-images'
5710 `:expand-quoted-html'  `org-export-html-expand'
5711 `:timestamp'           `org-export-html-with-timestamp'
5712 `:publishing-directory'`org-export-publishing-directory'
5713 `:preamble'            `org-export-html-preamble'
5714 `:postamble'           `org-export-html-postamble'
5715 `:auto-preamble'       `org-export-html-auto-preamble'
5716 `:auto-postamble'      `org-export-html-auto-postamble'
5717 `:author'              `user-full-name'
5718 `:email'               `user-mail-address'
5720    When a property is given a value in org-publish-project-alist, its
5721 setting overrides the value of the corresponding user variable (if any)
5722 during publishing.  Options set within a file (*note Export options::),
5723 however, override everything.
5725 \x1f
5726 File: org,  Node: Publishing links,  Next: Project page index,  Prev: Publishing options,  Up: Configuration
5728 12.1.6 Links between published files
5729 ------------------------------------
5731 To create a link from one Org-mode file to another, you would use
5732 something like `[[file:foo.org][The foo]]' or simply `file:foo.org.'
5733 (*note Hyperlinks::).  Upon publishing this link becomes a link to
5734 `foo.html'.  In this way, you can interlink the pages of your "org web"
5735 project and the links will work as expected when you publish them to
5736 HTML.
5738    You may also link to related files, such as images. Provided you are
5739 careful with relative pathnames, and provided you have also configured
5740 org-publish to upload the related files, these links will work too.
5741 *Note Complex example:: for an example of this usage.
5743    Sometime an Org-mode file to be published may contain links that are
5744 only valid in your production environment, but not in the publishing
5745 location.  In this case, use the property
5747 `:link-validation-function'   Function to validate links
5749 to define a function for checking link validity.  This function must
5750 accept two arguments, the file name and a directory relative to which
5751 the file name is interpreted in the production environment.  If this
5752 function returns `nil', then the HTML generator will only insert a
5753 description into the HTML file, but no link.  One option for this
5754 function is `org-publish-validate-link' which checks if the given file
5755 is part of any project in `org-publish-project-alist'.
5757 \x1f
5758 File: org,  Node: Project page index,  Prev: Publishing links,  Up: Configuration
5760 12.1.7 Project page index
5761 -------------------------
5763 The following properties may be used to control publishing of an index
5764 of files or summary page for a given project.
5766 `:auto-index'      When non-nil, publish an index during
5767                    org-publish-current-project or org-publish-all.
5768 `:index-filename'  Filename for output of index. Defaults to `index.org'
5769                    (which becomes `index.html').
5770 `:index-title'     Title of index page. Defaults to name of file.
5771 `:index-function'  Plugin function to use for generation of index.
5772                    Defaults to `org-publish-org-index', which generates
5773                    a plain list of links to all files in the project.
5775 \x1f
5776 File: org,  Node: Sample configuration,  Next: Triggering publication,  Prev: Configuration,  Up: Publishing
5778 12.2 Sample configuration
5779 =========================
5781 Below we provide two example configurations.  The first one is a simple
5782 project publishing only a set of Org-mode files.  The second example is
5783 more complex, with a multi-component project.
5785 * Menu:
5787 * Simple example::              One-component publishing
5788 * Complex example::             A multi-component publishing example
5790 \x1f
5791 File: org,  Node: Simple example,  Next: Complex example,  Prev: Sample configuration,  Up: Sample configuration
5793 12.2.1 Example: simple publishing configuration
5794 -----------------------------------------------
5796 This example publishes a set of Org-mode files to the `public_html'
5797 directory on the local machine.
5799      (setq org-publish-project-alist
5800            '(("org"
5801               :base-directory "~/org/"
5802               :publishing-directory "~/public_html"
5803               :section-numbers nil
5804               :table-of-contents nil
5805               :style "<link rel=stylesheet
5806                      href=\"../other/mystyle.css\"
5807                      type=\"text/css\">")))
5809 \x1f
5810 File: org,  Node: Complex example,  Prev: Simple example,  Up: Sample configuration
5812 12.2.2 Example: complex publishing configuration
5813 ------------------------------------------------
5815 This more complicated example publishes an entire website, including
5816 org files converted to HTML, image files, emacs lisp source code, and
5817 stylesheets. The publishing-directory is remote and private files are
5818 excluded.
5820    To ensure that links are preserved, care should be taken to replicate
5821 your directory structure on the web server, and to use relative file
5822 paths. For example, if your org files are kept in `~/org' and your
5823 publishable images in `~/images', you'd link to an image with
5824      file:../images/myimage.png
5825    On the web server, the relative path to the image should be the
5826 same. You can accomplish this by setting up an "images" folder in the
5827 right place on the webserver, and publishing images to it.
5829      (setq org-publish-project-alist
5830            '(("orgfiles"
5831                :base-directory "~/org/"
5832                :base-extension "org"
5833                :publishing-directory "/ssh:user@host:~/html/notebook/"
5834                :publishing-function org-publish-org-to-html
5835                :exclude "PrivatePage.org"   ;; regexp
5836                :headline-levels 3
5837                :section-numbers nil
5838                :table-of-contents nil
5839                :style "<link rel=stylesheet
5840                        href=\"../other/mystyle.css\" type=\"text/css\">"
5841                :auto-preamble t
5842                :auto-postamble nil)
5844               ("images"
5845                :base-directory "~/images/"
5846                :base-extension "jpg\\|gif\\|png"
5847                :publishing-directory "/ssh:user@host:~/html/images/"
5848                :publishing-function org-publish-attachment)
5850               ("other"
5851                :base-directory "~/other/"
5852                :base-extension "css\\|el"
5853                :publishing-directory "/ssh:user@host:~/html/other/"
5854                :publishing-function org-publish-attachment)
5855               ("website" :components ("orgfiles" "images" "other"))))
5857 \x1f
5858 File: org,  Node: Triggering publication,  Prev: Sample configuration,  Up: Publishing
5860 12.3 Triggering publication
5861 ===========================
5863 Once org-publish is properly configured, you can publish with the
5864 following functions:
5866 `C-c C-e C'
5867      Prompt for a specific project and publish all files that belong to
5868      it.
5870 `C-c C-e P'
5871      Publish the project containing the current file.
5873 `C-c C-e F'
5874      Publish only the current file.
5876 `C-c C-e A'
5877      Publish all projects.
5879    Org uses timestamps to track when a file has changed. The above
5880 functions normally only publish changed files. You can override this and
5881 force publishing of all files by giving a prefix argument.
5883 \x1f
5884 File: org,  Node: Miscellaneous,  Next: Extensions and Hacking,  Prev: Publishing,  Up: Top
5886 13 Miscellaneous
5887 ****************
5889 * Menu:
5891 * Completion::                  M-TAB knows what you need
5892 * Customization::               Adapting Org-mode to your taste
5893 * In-buffer settings::          Overview of the #+KEYWORDS
5894 * The very busy C-c C-c key::   When in doubt, press C-c C-c
5895 * Clean view::                  Getting rid of leading stars in the outline
5896 * TTY keys::                    Using Org-mode on a tty
5897 * Interaction::                 Other Emacs packages
5898 * Bugs::                        Things which do not work perfectly
5900 \x1f
5901 File: org,  Node: Completion,  Next: Customization,  Prev: Miscellaneous,  Up: Miscellaneous
5903 13.1 Completion
5904 ===============
5906 Org-mode supports in-buffer completion.  This type of completion does
5907 not make use of the minibuffer.  You simply type a few letters into the
5908 buffer and use the key to complete text right there.
5910 `M-<TAB>'
5911      Complete word at point
5912         * At the beginning of a headline, complete TODO keywords.
5914         * After `\', complete TeX symbols supported by the exporter.
5916         * After `*', complete headlines in the current buffer so that
5917           they can be used in search links like `[[*find this
5918           headline]]'.
5920         * After `:' in a headline, complete tags.  The list of tags is
5921           taken from the variable `org-tag-alist' (possibly set through
5922           the `#+TAGS' in-buffer option, *note Setting tags::), or it
5923           is created dynamically from all tags used in the current
5924           buffer.
5926         * After `:' and not in a headline, complete property keys.  The
5927           list of keys is constructed dynamically from all keys used in
5928           the current buffer.
5930         * After `[', complete link abbreviations (*note Link
5931           abbreviations::).
5933         * After `#+', complete the special keywords like `TYP_TODO' or
5934           `OPTIONS' which set file-specific options for Org-mode.  When
5935           the option keyword is already complete, pressing `M-<TAB>'
5936           again will insert example settings for this keyword.
5938         * In the line after `#+STARTUP: ', complete startup keywords,
5939           i.e. valid keys for this line.
5941         * Elsewhere, complete dictionary words using ispell.
5943 \x1f
5944 File: org,  Node: Customization,  Next: In-buffer settings,  Prev: Completion,  Up: Miscellaneous
5946 13.2 Customization
5947 ==================
5949 There are more than 180 variables that can be used to customize
5950 Org-mode.  For the sake of compactness of the manual, I am not
5951 describing the variables here.  A structured overview of customization
5952 variables is available with `M-x org-customize'.  Or select `Browse Org
5953 Group' from the `Org->Customization' menu.  Many settings can also be
5954 activated on a per-file basis, by putting special lines into the buffer
5955 (*note In-buffer settings::).
5957 \x1f
5958 File: org,  Node: In-buffer settings,  Next: The very busy C-c C-c key,  Prev: Customization,  Up: Miscellaneous
5960 13.3 Summary of in-buffer settings
5961 ==================================
5963 Org-mode uses special lines in the buffer to define settings on a
5964 per-file basis.  These lines start with a `#+' followed by a keyword, a
5965 colon, and then individual words defining a setting.  Several setting
5966 words can be in the same line, but you can also have multiple lines for
5967 the keyword.  While these settings are described throughout the manual,
5968 here is a summary.  After changing any of those lines in the buffer,
5969 press `C-c C-c' with the cursor still in the line to activate the
5970 changes immediately.  Otherwise they become effective only when the
5971 file is visited again in a new Emacs session.
5973 `#+ARCHIVE: %s_done::'
5974      This line sets the archive location for the agenda file.  It
5975      applies for all subsequent lines until the next `#+CATEGORY' line,
5976      or the end of the file.  The first such line also applies to any
5977      entries before it.  The corresponding variable is
5978      `org-archive-location'.
5980 `#+CATEGORY:'
5981      This line sets the category for the agenda file.  The category
5982      applies for all subsequent lines until the next `#+CATEGORY' line,
5983      or the end of the file.  The first such line also applies to any
5984      entries before it.
5986 `#+COLUMNS: %25ITEM .....'
5987      Set the default format for columns view.  This format applies when
5988      columns view is invoked in location where no COLUMNS property
5989      applies.
5991 `#+CONSTANTS: name1=value1 ...'
5992      Set file-local values for constants to be used in table formulas.
5993      This line set the local variable
5994      `org-table-formula-constants-local'.  The global version of theis
5995      variable is `org-table-formula-constants'.  corresponding
5997 `#+LINK:  linkword replace'
5998      These lines (several are allowed) specify link abbreviations.
5999      *Note Link abbreviations::.  The corresponding variable is
6000      `org-link-abbrev-alist'.
6002 `#+PRIORITIES: highest lowest default'
6003      This line sets the limits and the default for the priorities.  All
6004      three must be either letters A-Z or numbers 0-9.  The highest
6005      priority must have a lower ASCII number that the lowest priority.
6007 `#+STARTUP:'
6008      This line sets options to be used at startup of org-mode, when an
6009      Org-mode file is being visited.  The first set of options deals
6010      with the initial visibility of the outline tree.  The
6011      corresponding variable for global default settings is
6012      `org-startup-folded', with a default value `t', which means
6013      `overview'.  
6014           overview   top-level headlines only
6015           content    all headlines
6016           showall    no folding at all, show everything
6017      Then there are options for aligning tables upon visiting a file.
6018      This is useful in files containing narrowed table columns.  The
6019      corresponding variable is `org-startup-align-all-tables', with a
6020      default value `nil'.  
6021           align      align all tables
6022           noalign    don't align tables on startup
6023      Logging TODO state changes and clock intervals (variable
6024      `org-log-done') can be configured using these options.  
6025           logging          record a timestamp when an item is marked DONE
6026           nologging        don't record when items are marked DONE
6027           lognotedone      record timestamp and a note when DONE
6028           lognotestate     record timestamp and a note when TODO state changes
6029           logrepeat        record a note when re-instating a repeating item
6030           nologrepeat      do not record when re-instating repeating item
6031           lognoteclock-out record timestamp and a note when clocking out
6032      Here are the options for hiding leading stars in outline headings.
6033      The corresponding variables are `org-hide-leading-stars' and
6034      `org-odd-levels-only', both with a default setting `nil' (meaning
6035      `showstars' and `oddeven').  
6036           hidestars  make all but one of the stars starting a headline invisible.
6037           showstars  show all stars starting a headline
6038           odd        allow only odd outline levels (1,3,...)
6039           oddeven    allow all outline levels
6040      To turn on custom format overlays over time stamps (variables
6041      `org-put-time-stamp-overlays' and
6042      `org-time-stamp-overlay-formats'), use 
6043           customtime overlay custom time format
6044      The following options influence the table spreadsheet (variable
6045      `constants-unit-system').  
6046           constcgs   `constants.el' should use the c-g-s unit system
6047           constSI    `constants.el' should use the SI unit system
6049 `#+TAGS:  TAG1(c1) TAG2(c2)'
6050      These lines (several such lines are allowed) specify the legal
6051      tags in this file, and (potentially) the corresponding _fast tag
6052      selection_ keys.  The corresponding variable is `org-tag-alist'.
6054 `#+TBLFM:'
6055      This line contains the formulas for the table directly above the
6056      line.
6058 `#+TITLE:, #+AUTHOR:, #+EMAIL:, #+LANGUAGE:, #+TEXT:, #+OPTIONS:'
6059      These lines provide settings for exporting files.  For more
6060      details see *Note Export options::.
6062 `#+SEQ_TODO:   #+TYP_TODO:'
6063      These lines set the TODO keywords and their interpretation in the
6064      current file.  The corresponding variables are `org-todo-keywords'
6065      and `org-todo-interpretation'.
6067 \x1f
6068 File: org,  Node: The very busy C-c C-c key,  Next: Clean view,  Prev: In-buffer settings,  Up: Miscellaneous
6070 13.4 The very busy C-c C-c key
6071 ==============================
6073 The key `C-c C-c' has many purposes in org-mode, which are all
6074 mentioned scattered throughout this manual.  One specific function of
6075 this key is to add _tags_ to a headline (*note Tags::).  In many other
6076 circumstances it means something like _Hey Org-mode, look here and
6077 update according to what you see here_.  Here is a summary of what this
6078 means in different contexts.
6080    - If there are highlights in the buffer from the creation of a sparse
6081      tree, or from clock display, remove these highlights.
6083    - If the cursor is in one of the special `#+KEYWORD' lines, this
6084      triggers scanning the buffer for these lines and updating the
6085      information.
6087    - If the cursor is inside a table, realign the table.  This command
6088      works even if the automatic table editor has been turned off.
6090    - If the cursor is on a `#+TBLFM' line, re-apply the formulas to the
6091      entire table.
6093    - If the cursor is inside a table created by the `table.el' package,
6094      activate that table.
6096    - If the current buffer is a remember buffer, close the note and
6097      file it.  With a prefix argument, file it, without further
6098      interaction, to the default location.
6100    - If the cursor is on a `<<<target>>>', update radio targets and
6101      corresponding links in this buffer.
6103    - If the cursor is in a property line or at the start or end of a
6104      property drawer, offer property commands.
6106    - If the cursor is in a plain list item with a checkbox, toggle the
6107      status of the checkbox.
6109    - If the cursor is on a numbered item in a plain list, renumber the
6110      ordered list.
6112 \x1f
6113 File: org,  Node: Clean view,  Next: TTY keys,  Prev: The very busy C-c C-c key,  Up: Miscellaneous
6115 13.5 A cleaner outline view
6116 ===========================
6118 Some people find it noisy and distracting that the Org-mode headlines
6119 are starting with a potentially large number of stars.  For example the
6120 tree from *Note Headlines:::
6122      * Top level headline
6123      ** Second level
6124      *** 3rd level
6125          some text
6126      *** 3rd level
6127          more text
6128      * Another top level headline
6130 Unfortunately this is deeply ingrained into the code of Org-mode and
6131 cannot be easily changed.  You can, however, modify the display in such
6132 a way that all leading stars become invisible and the outline more easy
6133 to read.  To do this, customize the variable `org-hide-leading-stars'
6134 like this:
6136      (setq org-hide-leading-stars t)
6138 or change this on a per-file basis with one of the lines (anywhere in
6139 the buffer)
6141      #+STARTUP: showstars
6142      #+STARTUP: hidestars
6144 Press `C-c C-c' with the cursor in a `STARTUP' line to activate the
6145 modifications.
6147    With stars hidden, the tree becomes:
6149      * Top level headline
6150       * Second level
6151        * 3rd level
6152          some text
6153        * 3rd level
6154          more text
6155      * Another top level headline
6157 Note that the leading stars are not truly replaced by whitespace, they
6158 are only fontified with the face `org-hide' that uses the background
6159 color as font color.  If you are not using either white or black
6160 background, you may have to customize this face to get the wanted
6161 effect.  Another possibility is to set this font such that the extra
6162 stars are almost invisible, for example using the color `grey90' on a
6163 white background.
6165    Things become cleaner still if you skip all the even levels and use
6166 only odd levels 1, 3, 5..., effectively adding two stars to go from one
6167 outline level to the next:
6169      * Top level headline
6170        * Second level
6171          * 3rd level
6172            some text
6173          * 3rd level
6174            more text
6175      * Another top level headline
6177 In order to make the structure editing and export commands handle this
6178 convention correctly, use
6180      (setq org-odd-levels-only t)
6182 or set this on a per-file basis with one of the following lines (don't
6183 forget to press `C-c C-c' with the cursor in the startup line to
6184 activate changes immediately).
6186      #+STARTUP: odd
6187      #+STARTUP: oddeven
6189    You can convert an Org-mode file from single-star-per-level to the
6190 double-star-per-level convention with `M-x org-convert-to-odd-levels
6191 RET' in that file.  The reverse operation is `M-x
6192 org-convert-to-oddeven-levels'.
6194 \x1f
6195 File: org,  Node: TTY keys,  Next: Interaction,  Prev: Clean view,  Up: Miscellaneous
6197 13.6 Using org-mode on a tty
6198 ============================
6200 Org-mode uses a number of keys that are not accessible on a tty.  This
6201 applies to most special keys like cursor keys, <TAB> and <RET>, when
6202 these are combined with modifier keys like <Meta> and/or <Shift>.
6203 Org-mode uses these bindings because it needs to provide keys for a
6204 large number of commands, and because these keys appeared particularly
6205 easy to remember.  In order to still be able to access the core
6206 functionality of Org-mode on a tty, alternative bindings are provided.
6207 Here is a complete list of these bindings, which are obviously more
6208 cumbersome to use.  Note that sometimes a work-around can be better.
6209 For example changing a time stamp is really only fun with `S-<cursor>'
6210 keys.  On a tty you would rather use `C-c .'  to re-insert the
6211 timestamp.
6213 Default     Alternative 1  Alternative 2
6214 `S-<TAB>'   `C-u <TAB>'    
6215 `M-<left>'  `C-c C-x l'    `<Esc> <left>'
6216 `M-S-<left>'`C-c C-x L'    
6217 `M-<right>' `C-c C-x r'    `<Esc>
6218                            <right>'
6219 `M-S-<right>'`C-c C-x R'    
6220 `M-<up>'    `C-c C-x u'    `<Esc> <up>'
6221 `M-S-<up>'  `C-c C-x U'    
6222 `M-<down>'  `C-c C-x d'    `<Esc> <down>'
6223 `M-S-<down>'`C-c C-x D'    
6224 `S-<RET>'   `C-c C-x c'    
6225 `M-<RET>'   `C-c C-x m'    `<Esc> <RET>'
6226 `M-S-<RET>' `C-c C-x M'    
6227 `S-<left>'  `C-c <left>'   
6228 `S-<right>' `C-c <right>'  
6229 `S-<up>'    `C-c <up>'     
6230 `S-<down>'  `C-c <down>'   
6231 `C-S-<left>'`C-c C-x       
6232             <left>'        
6233 `C-S-<right>'`C-c C-x       
6234             <right>'       
6236 \x1f
6237 File: org,  Node: Interaction,  Next: Bugs,  Prev: TTY keys,  Up: Miscellaneous
6239 13.7 Interaction with other packages
6240 ====================================
6242 Org-mode lives in the world of GNU Emacs and interacts in various ways
6243 with other code out there.
6245 * Menu:
6247 * Cooperation::                 Packages Org-mode cooperates with
6248 * Conflicts::                   Packages that lead to conflicts
6250 \x1f
6251 File: org,  Node: Cooperation,  Next: Conflicts,  Prev: Interaction,  Up: Interaction
6253 13.7.1 Packages that Org-mode cooperates with
6254 ---------------------------------------------
6256 `calc.el' by Dave Gillespie
6257      Org-mode uses the calc package for implementing spreadsheet
6258      functionality in its tables (*note The spreadsheet::).  Org-mode
6259      checks for the availability of calc by looking for the function
6260      `calc-eval' which should be autoloaded in your setup if calc has
6261      been installed properly.  As of Emacs 22, calc is part of the Emacs
6262      distribution.  Another possibility for interaction between the two
6263      packages is using calc for embedded calculations. *Note Embedded
6264      Mode: (calc)Embedded Mode.  
6266 `constants.el' by Carsten Dominik
6267      In a table formula (*note The spreadsheet::), it is possible to use
6268      names for natural constants or units.  Instead of defining your own
6269      constants in the variable `org-table-formula-constants', install
6270      the `constants' package which defines a large number of constants
6271      and units, and lets you use unit prefixes like `M' for `Mega' etc.
6272      You will need version 2.0 of this package, available at
6273      `http://www.astro.uva.nl/~dominik/Tools'. Org-mode checks for the
6274      function `constants-get', which has to be autoloaded in your
6275      setup.  See the installation instructions in the file
6276      `constants.el'.
6278 `cdlatex.el' by Carsten Dominik
6279      Org-mode can make use of the cdlatex package to efficiently enter
6280      LaTeX fragments into Org-mode files. See *Note CDLaTeX mode::.
6282 `remember.el' by John Wiegley
6283      Org mode cooperates with remember, see *Note Remember::.
6284      `Remember.el' is not part of Emacs, find it on the web.  
6286 `table.el' by Takaaki Ota
6287      Complex ASCII tables with automatic line wrapping, column- and
6288      row-spanning, and alignment can be created using the Emacs table
6289      package by Takaaki Ota (`http://sourceforge.net/projects/table',
6290      and also part of Emacs 22).  When <TAB> or `C-c C-c' is pressed in
6291      such a table, Org-mode will call `table-recognize-table' and move
6292      the cursor into the table.  Inside a table, the keymap of Org-mode
6293      is inactive.  In order to execute Org-mode-related commands, leave
6294      the table.
6296     `C-c C-c'
6297           Recognize `table.el' table.  Works when the cursor is in a
6298           table.el table.  
6300     `C-c ~'
6301           Insert a table.el table.  If there is already a table at
6302           point, this command converts it between the table.el format
6303           and the Org-mode format.  See the documentation string of the
6304           command `org-convert-table' for the restrictions under which
6305           this is possible.
6306      `table.el' is part of Emacs 22.  
6308 `footnote.el' by Steven L. Baur
6309      Org-mode recognizes numerical footnotes as provided by this package
6310      (*note Footnotes::).
6312 \x1f
6313 File: org,  Node: Conflicts,  Prev: Cooperation,  Up: Interaction
6315 13.7.2 Packages that lead to conflicts with Org-mode
6316 ----------------------------------------------------
6318 `allout.el' by Ken Manheimer
6319      Startup of Org-mode may fail with the error message
6320      `(wrong-type-argument keymapp nil)' when there is an outdated
6321      version `allout.el' on the load path, for example the version
6322      distributed with Emacs 21.x.  Upgrade to Emacs 22 and this problem
6323      will disappear.  If for some reason you cannot do this, make sure
6324      that org.el is loaded _before_ `allout.el', for example by putting
6325      `(require 'org)' early enough into your `.emacs' file.
6327 `CUA.el' by Kim. F. Storm
6328      Keybindings in Org-mode conflict with the `S-<cursor>' keys used
6329      by CUA-mode (as well as pc-select-mode and s-region-mode) to
6330      select and extend the region.  If you want to use one of these
6331      packages along with Org-mode, configure the variable
6332      `org-CUA-compatible'.  When set, Org-mode will move the following
6333      keybindings in org-mode files, and in the agenda buffer (but not
6334      during date selection).
6336           S-UP    -> M-p             S-DOWN  -> M-n
6337           S-LEFT  -> M--             S-RIGHT -> M-+
6339      Yes, these are unfortunately more difficult to remember.  If you
6340      want to have other replacement keys, look at the variable
6341      `org-disputed-keys'.
6343 `windmove.el' by Hovav Shacham
6344      Also this package uses the `S-<cursor>' keys, so everything written
6345      in the paragraph above about CUA mode also applies here.
6347 `footnote.el' by Steven L. Baur
6348      Org-mode supports the syntax of the footnote package, but only the
6349      numerical footnote markers.  Also, the default key for footnote
6350      commands, `C-c !' is already used by org-mode.  You could use the
6351      variable `footnote-prefix' to switch footnotes commands to another
6352      key.  Or, you could use `org-replace-disputed-keys' and
6353      `org-disputed-keys' to change the settings in Org-mode.
6356 \x1f
6357 File: org,  Node: Bugs,  Prev: Interaction,  Up: Miscellaneous
6359 13.8 Bugs
6360 =========
6362 Here is a list of things that should work differently, but which I have
6363 found too hard to fix.
6365    * If a table field starts with a link, and if the corresponding table
6366      column is narrowed (*note Narrow columns::) to a width too small to
6367      display the link, the field would look entirely empty even though
6368      it is not.  To prevent this, Org-mode throws an error.  The
6369      work-around is to make the column wide enough to fit the link, or
6370      to add some text (at least 2 characters) before the link in the
6371      same field.
6373    * Narrowing table columns does not work on XEmacs, because the
6374      `format' function does not transport text properties.
6376    * Text in an entry protected with the `QUOTE' keyword should not
6377      autowrap.
6379    * When the application called by `C-c C-o' to open a file link fails
6380      (for example because the application does not exist or refuses to
6381      open the file), it does so silently.  No error message is
6382      displayed.
6384    * Recalculating a table line applies the formulas from left to right.
6385      If a formula uses _calculated_ fields further down the row,
6386      multiple recalculation may be needed to get all fields consistent.
6387      You may use the command `org-table-iterate' (`C-u C-c *') to
6388      recalculate until convergence.
6390    * A single letter cannot be made bold, for example `*a*'.
6392    * The exporters work well, but could be made more efficient.
6394 \x1f
6395 File: org,  Node: Extensions and Hacking,  Next: History and Acknowledgments,  Prev: Miscellaneous,  Up: Top
6397 Appendix A Extensions, Hooks and Hacking
6398 ****************************************
6400 This appendix lists extensions for Org-mode written by other authors.
6401 It also covers some aspects where users can extend the functionality of
6402 Org-mode.
6404 * Menu:
6406 * Extensions::                  Existing 3rd-part extensions
6407 * Tables in arbitrary syntax::  Orgtbl for LaTeX and other programs
6408 * Dynamic blocks::              Automatically filled blocks
6409 * Special agenda views::        Customized views
6410 * Using the property API::      Writing programs that use entry properties
6412 \x1f
6413 File: org,  Node: Extensions,  Next: Tables in arbitrary syntax,  Prev: Extensions and Hacking,  Up: Extensions and Hacking
6415 A.1 Third-party extensions for Org-mode
6416 =======================================
6418 The following extensions for Org-mode have been written by other people:
6420 `org-publish.el' by David O'Toole
6421      This package provides facilities for publishing related sets of
6422      Org-mode files together with linked files like images as webpages.
6423      It is highly configurable and can be used for other publishing
6424      purposes as well.  As of Org-mode version 4.30, `org-publish.el'
6425      is part of the Org-mode distribution.  It is not yet part of
6426      Emacs, however, a delay caused by the preparations for the 22.1
6427      release.  In the mean time, `org-publish.el' can be downloaded
6428      from David's site: `http://dto.freeshell.org/e/org-publish.el'.  
6430 `org-mouse.el' by Piotr Zielinski
6431      This package implements extended mouse functionality for Org-mode.
6432      It allows you to cycle visibility and to edit the document
6433      structure with the mouse.  Best of all, it provides a
6434      context-sensitive menu on <mouse-3> that changes depending on the
6435      context of a mouse-click.  As of Org-mode version 4.53,
6436      `org-mouse.el' is part of the Org-mode distribution.  It is not
6437      yet part of Emacs, however, a delay caused by the preparations for
6438      the 22.1 release.  In the mean time, `org-mouse.el' can be
6439      downloaded from Piotr's site:
6440      `http://www.cl.cam.ac.uk/~pz215/files/org-mouse.el'.  
6442 `org-blog.el' by David O'Toole
6443      A blogging plug-in for `org-publish.el'.
6444      `http://dto.freeshell.org/notebook/OrgMode.html'.  
6446 `blorg.el' by Bastien Guerry
6447      Publish Org-mode files as blogs.
6448      `http://www.cognition.ens.fr/~guerry/blorg.html'.  
6450 `org2rem.el' by Bastien Guerry
6451      Translates Org-mode files into something readable by Remind.
6452      `http://www.cognition.ens.fr/~guerry/u/org2rem.el'.
6454 \x1f
6455 File: org,  Node: Tables in arbitrary syntax,  Next: Dynamic blocks,  Prev: Extensions,  Up: Extensions and Hacking
6457 A.2 Tables in arbitrary syntax
6458 ==============================
6460 Since Orgtbl-mode can be used as a minor mode in arbitrary buffers, a
6461 frequent feature request has been to make it work with native tables in
6462 specific languages, for example LaTeX.  However, this is extremely hard
6463 to do in a general way, would lead to a customization nightmare, and
6464 would take away much of the simplicity of the Orgtbl-mode table editor.
6466    This appendix describes a different approach.  We keep the
6467 Orgtbl-mode table in its native format (the source table), and use a
6468 custom function to translate the table to the correct syntax, and to
6469 install it in the right location (the target table).  This puts the
6470 burden of writing conversion functions on the user, but it allows for a
6471 very flexible system.
6473 * Menu:
6475 * Radio tables::                Sending and receiving
6476 * A LaTeX example::             Step by step, almost a tutorial
6477 * Translator functions::        Copy and modify
6479 \x1f
6480 File: org,  Node: Radio tables,  Next: A LaTeX example,  Prev: Tables in arbitrary syntax,  Up: Tables in arbitrary syntax
6482 A.2.1 Radio tables
6483 ------------------
6485 To define the location of the target table, you first need to create two
6486 lines that are comments in the current mode, but contain magic words for
6487 Orgtbl-mode to find.  Orgtbl-mode will insert the translated table
6488 between these lines, replacing whatever was there before.  For example:
6490      /* BEGIN RECEIVE ORGTBL table_name */
6491      /* END RECEIVE ORGTBL table_name */
6493 Just above the source table, we put a special line that tells
6494 Orgtbl-mode how to translate this table and where to install it.  For
6495 example:
6496      #+ORGTBL: SEND table_name translation_function arguments....
6498 `table_name' is the reference name for the table that is also used in
6499 the receiver lines. `translation_function' is the Lisp function that
6500 does the translation.  Furthermore, the line can contain a list of
6501 arguments (alternating key and value) at the end.  The arguments will be
6502 passed as a property list to the translation function for
6503 interpretation.  A few standard parameters are already recognized and
6504 acted upon before the translation function is called:
6506 `:skip N'
6507      Skip the first N lines of the table. Hlines do count!
6509 `:skipcols (n1 n2 ...)'
6510      List of columns that should be skipped.  If the table has a column
6511      with calculation marks, that column is automatically discarded as
6512      well.  Please note that the translator function sees the table
6513      _after_ the removal of these columns, the function never knows
6514      that there have been additional columns.
6516 The one problem remaining is how to keep the source table in the buffer
6517 without disturbing the normal workings of the file, for example during
6518 compilation of a C file or processing of a LaTeX file.  There are a
6519 number of different solutions:
6521    * The table could be placed in a block comment if that is supported
6522      by the language.  For example, in C-mode you could wrap the table
6523      between `/*' and `*/' lines.
6525    * Sometimes it is possible to put the table after some kind of END
6526      statement, for example `\bye' in TeX and `\end{document}' in LaTeX.
6528    * You can just comment the table line by line whenever you want to
6529      process the file, and uncomment it whenever you need to edit the
6530      table.  This only sounds tedious - the command `M-x
6531      orgtbl-toggle-comment' does make this comment-toggling very easy,
6532      in particular if you bind it to a key.
6534 \x1f
6535 File: org,  Node: A LaTeX example,  Next: Translator functions,  Prev: Radio tables,  Up: Tables in arbitrary syntax
6537 A.2.2 A LaTeX example
6538 ---------------------
6540 The best way to wrap the source table in LaTeX is to use the `comment'
6541 environment provided by `comment.sty'.  It has to be activated by
6542 placing `\usepackage{comment}' into the document header.  Orgtbl-mode
6543 can insert a radio table skeleton(1)  with the command `M-x
6544 orgtbl-insert-radio-table'.  You will be prompted for a table name,
6545 lets say we use `salesfigures'.  You will then get the following
6546 template:
6548      % BEGIN RECEIVE ORGTBL salesfigures
6549      % END RECEIVE ORGTBL salesfigures
6550      \begin{comment}
6551      #+ORGTBL: SEND salesfigures orgtbl-to-latex
6552      | | |
6553      \end{comment}
6555 The `#+ORGTBL: SEND' line tells orgtbl-mode to use the function
6556 `orgtbl-to-latex' to convert the table into LaTeX and to put it into
6557 the receiver location with name `salesfigures'.  You may now fill in
6558 the table, feel free to use the spreadsheet features(2):
6560      % BEGIN RECEIVE ORGTBL salesfigures
6561      % END RECEIVE ORGTBL salesfigures
6562      \begin{comment}
6563      #+ORGTBL: SEND salesfigures orgtbl-to-latex
6564      | Month | Days | Nr sold | per day |
6565      |-------+------+---------+---------|
6566      | Jan   |   23 |      55 |     2.4 |
6567      | Feb   |   21 |      16 |     0.8 |
6568      | March |   22 |     278 |    12.6 |
6569      #+TBLFM: $4=$3/$2;%.1f
6570      % $ (optional extra dollar to keep font-lock happy, see footnote)
6571      \end{comment}
6573 When you are done, press `C-c C-c' in the table to get the converted
6574 table inserted between the two marker lines.
6576    Now lets assume you want to make the table header by hand, because
6577 you want to control how columns are aligned etc.  In this case we make
6578 sure that the table translator does skip the first 2 lines of the source
6579 table, and tell the command to work as a splice, i.e. to not produce
6580 header and footer commands of the target table:
6582      \begin{tabular}{lrrr}
6583      Month & \multicolumn{1}{c}{Days} & Nr.\ sold & per day\\
6584      % BEGIN RECEIVE ORGTBL salesfigures
6585      % END RECEIVE ORGTBL salesfigures
6586      \end{tabular}
6587      %
6588      \begin{comment}
6589      #+ORGTBL: SEND salesfigures orgtbl-to-latex :splice t :skip 2
6590      | Month | Days | Nr sold | per day |
6591      |-------+------+---------+---------|
6592      | Jan   |   23 |      55 |     2.4 |
6593      | Feb   |   21 |      16 |     0.8 |
6594      | March |   22 |     278 |    12.6 |
6595      #+TBLFM: $4=$3/$2;%.1f
6596      \end{comment}
6598    The LaTeX translator function `orgtbl-to-latex' is already part of
6599 Orgtbl-mode.  It uses a `tabular' environment to typeset the table and
6600 marks horizontal lines with `\hline'.  Furthermore, it interprets the
6601 following parameters:
6603 `:splice nil/t'
6604      When set to t, return only table body lines, don't wrap them into a
6605      tabular environment.  Default is nil.
6607 `:fmt fmt'
6608      A format to be used to wrap each field, should contain `%s' for the
6609      original field value.  For example, to wrap each field value in
6610      dollars, you could use `:fmt "$%s$"'.  This may also be a property
6611      list with column numbers and formats. for example `:fmt (2 "$%s$"
6612      4 "%s\\%%")'.
6614 `:efmt efmt'
6615      Use this format to print numbers with exponentials.  The format
6616      should have `%s' twice for inserting mantissa and exponent, for
6617      example `"%s\\times10^{%s}"'.  The default is `"%s\\,(%s)"'.  This
6618      may also be a property list with column numbers and formats, for
6619      example `:efmt (2 "$%s\\times10^{%s}$" 4 "$%s\\cdot10^{%s}$")'.
6620      After `efmt' has been applied to a value, `fmt' will also be
6621      applied.
6623    ---------- Footnotes ----------
6625    (1) By default this works only for LaTeX, HTML, and TeXInfo.
6626 Configure the variable `orgtbl-radio-tables' to install templates for
6627 other modes.
6629    (2) If the `#+TBLFM' line contains an odd number of dollar
6630 characters, this may cause problems with font-lock in latex-mode.  As
6631 shown in the example you can fix this by adding an extra line inside the
6632 `comment' environment that is used to balance the dollar expressions.
6633 If you are using AUCTeX with the font-latex library, a much better
6634 solution is to add the `comment' environment to the variable
6635 `LaTeX-verbatim-environments'.
6637 \x1f
6638 File: org,  Node: Translator functions,  Prev: A LaTeX example,  Up: Tables in arbitrary syntax
6640 A.2.3 Translator functions
6641 --------------------------
6643 Orgtbl-mode has several translator functions built-in:
6644 `orgtbl-to-latex', `orgtbl-to-html', and `orgtbl-to-texinfo'.  Except
6645 for `orgtbl-to-html'(1), these all use a generic translator,
6646 `orgtbl-to-generic'.  For example, `orgtbl-to-latex' itself is a very
6647 short function that computes the column definitions for the `tabular'
6648 environment, defines a few field and line separators and then hands
6649 over to the generic translator.  Here is the entire code:
6651      (defun orgtbl-to-latex (table params)
6652        "Convert the orgtbl-mode TABLE to LaTeX."
6653        (let* ((alignment (mapconcat (lambda (x) (if x "r" "l"))
6654                                     org-table-last-alignment ""))
6655               (params2
6656                (list
6657                 :tstart (concat "\\begin{tabular}{" alignment "}")
6658                 :tend "\\end{tabular}"
6659                 :lstart "" :lend " \\\\" :sep " & "
6660                 :efmt "%s\\,(%s)" :hline "\\hline")))
6661          (orgtbl-to-generic table (org-combine-plists params2 params))))
6663    As you can see, the properties passed into the function (variable
6664 PARAMS) are combined with the ones newly defined in the function
6665 (variable PARAMS2).  The ones passed into the function (i.e. the ones
6666 set by the `ORGTBL SEND' line) take precedence.  So if you would like
6667 to use the LaTeX translator, but wanted the line endings to be
6668 `\\[2mm]' instead of the default `\\', you could just overrule the
6669 default with
6671      #+ORGTBL: SEND test orgtbl-to-latex :lend " \\\\[2mm]"
6673    For a new language, you can either write your own converter function
6674 in analogy with the LaTeX translator, or you can use the generic
6675 function directly.  For example, if you have a language where a table
6676 is started with `!BTBL!', ended with `!ETBL!', and where table lines are
6677 started with `!BL!', ended with `!EL!' and where the field separator is
6678 a TAB, you could call the generic translator like this (on a single
6679 line!):
6681      #+ORGTBL: SEND test orgtbl-to-generic :tstart "!BTBL!" :tend "!ETBL!"
6682                                    :lstart "!BL! " :lend " !EL!" :sep "\t"
6684 Please check the documentation string of the function
6685 `orgtbl-to-generic' for a full list of parameters understood by that
6686 function and remember that you can pass each of them into
6687 `orgtbl-to-latex', `orgtbl-to-texinfo', and any other function using
6688 the generic function.
6690    Of course you can also write a completely new function doing
6691 complicated things the generic translator cannot do.  A translator
6692 function takes two arguments.  The first argument is the table, a list
6693 of lines, each line either the symbol `hline' or a list of fields.  The
6694 second argument is the property list containing all parameters
6695 specified in the `#+ORGTBL: SEND' line.  The function must return a
6696 single string containing the formatted table.  If you write a generally
6697 useful translator, please post it on `emacs-orgmode@gnu.org' so that
6698 others can benefit from your work.
6700    ---------- Footnotes ----------
6702    (1) The HTML translator uses the same code that produces tables
6703 during HTML export.
6705 \x1f
6706 File: org,  Node: Dynamic blocks,  Next: Special agenda views,  Prev: Tables in arbitrary syntax,  Up: Extensions and Hacking
6708 A.3 Dynamic blocks
6709 ==================
6711 Org-mode documents can contain _dynamic blocks_.  These are specially
6712 marked regions that are updated by some user-written function.  A good
6713 example for such a block is the clock table inserted by the command
6714 `C-c C-x C-r' (*note Clocking work time::).
6716    Dynamic block are enclosed by a BEGIN-END structure that assigns a
6717 name to the block and can also specify parameters for the function
6718 producing the content of the block.
6720      #+BEGIN: myblock :parameter1 value1 :parameter2 value2 ...
6722      #+END:
6724    Dynamic blocks are updated with the following commands
6726 `C-c C-x C-u'
6727      Update dynamic block at point.  
6729 `C-u C-c C-x C-u'
6730      Update all dynamic blocks in the current file.
6732    Updating a dynamic block means to remove all the text between BEGIN
6733 and END, parse the BEGIN line for parameters and then call the specific
6734 writer function for this block to insert the new content.  For a block
6735 with name `myblock', the writer function is `org-dblock-write:myblock'
6736 with as only parameter a property list with the parameters given in the
6737 begin line.  Here is a trivial example of a block that keeps track of
6738 when the block update function was last run:
6740      #+BEGIN: block-update-time :format "on %m/%d/%Y at %H:%M"
6742      #+END:
6744 The corresponding block writer function could look like this:
6746      (defun org-dblock-write:block-update-time (params)
6747         (let ((fmt (or (plist-get params :format) "%d. %m. %Y")))
6748           (insert "Last block update at: "
6749                   (format-time-string fmt (current-time)))))
6751    If you want to make sure that all dynamic blocks are always
6752 up-to-date, you could add the function `org-update-all-dblocks' to a
6753 hook, for example `before-save-hook'.  `org-update-all-dblocks' is
6754 written in a way that is does nothing in buffers that are not in
6755 Org-mode.
6757 \x1f
6758 File: org,  Node: Special agenda views,  Next: Using the property API,  Prev: Dynamic blocks,  Up: Extensions and Hacking
6760 A.4 Special Agenda Views
6761 ========================
6763 Org-mode provides a special hook that can be used to narrow down the
6764 selection made by any of the agenda views.  You may specify a function
6765 that is used at each match to verify if the match should indeed be part
6766 of the agenda view, and if not, how much should be skipped.
6768    Let's say you want to produce a list of projects that contain a
6769 WAITING tag anywhere in the project tree.  Let's further assume that
6770 you have marked all tree headings that define a project with the todo
6771 keyword PROJECT.  In this case you would run a todo search for the
6772 keyword PROJECT, but skip the match unless there is a WAITING tag
6773 anywhere in the subtree belonging to the project line.
6775    To achieve this, you must write a function that searches the subtree
6776 for the tag.  If the tag is found, the function must return `nil' to
6777 indicate that this match should not be skipped.  If there is no such
6778 tag, return the location of the end of the subtree, to indicate that
6779 search should continue from there.
6781      (defun my-skip-unless-waiting ()
6782        "Skip trees that are not waiting"
6783        (let ((subtree-end (save-excursion (org-end-of-subtree t))))
6784          (if (re-search-forward ":WAITING:" subtree-end t)
6785              nil          ; tag found, do not skip
6786            subtree-end))) ; tag not found, continue after end of subtree
6788    Furthermore you must write a command that uses `let' to temporarily
6789 put this function into the variable `org-agenda-skip-function', sets
6790 the header string for the agenda buffer, and calls the todo-list
6791 generator while asking for the specific TODO keyword PROJECT.  The
6792 function must also accept one argument MATCH, but it can choose to
6793 ignore it(1) (as we do in the example below).  Here is the example:
6795      (defun my-org-waiting-projects (&optional match)
6796        "Produce a list of projects that contain a WAITING tag.
6797      MATCH is being ignored."
6798        (interactive)
6799        (let ((org-agenda-skip-function 'my-skip-unless-waiting)
6800              (org-agenda-overriding-header "Projects waiting for something: "))
6801          ;; make the list
6802          (org-todo-list "PROJECT")))
6804    ---------- Footnotes ----------
6806    (1) MATCH must be present in case you want to define a custom
6807 command for producing this special list.  Custom commands always supply
6808 the MATCH argument, but it can be empty if you do not specify it while
6809 defining the command(*note Custom agenda views::).
6811 \x1f
6812 File: org,  Node: Using the property API,  Prev: Special agenda views,  Up: Extensions and Hacking
6814 A.5 Using the property API
6815 ==========================
6817 Here is a description of the functions that can be used to work with
6818 properties.
6820  -- Function: org-entry-properties &optional pom which
6821      Get all properties of the entry at point-or-marker POM.  This
6822      includes the TODO keyword, the tags, time strings for deadline,
6823      scheduled, and clocking, and any additional properties defined in
6824      the entry.  The return value is an alist, keys may occur multiple
6825      times if the property key was used several times.  POM may also be
6826      nil, in which case the current entry is used.  If WHICH is nil or
6827      `all', get all properties.  If WHICH is `special' or `standard',
6828      only get that subclass.
6830  -- Function: org-entry-get pom property &optional inherit
6831      Get value of PROPERTY for entry at point-or-marker POM.  If
6832      INHERIT is non-nil and the entry does not have the property, then
6833      also check higher levels of the hierarchy.
6835  -- Function: org-entry-delete pom property
6836      Delete the property PROPERTY from entry at point-or-marker POM.
6838  -- Function: org-entry-put pom property value
6839      Set PROPERTY to VALUE for entry at point-or-marker POM.
6841  -- Function: org-buffer-property-keys &optional include-specials
6842      Get all property keys in the current buffer.
6844  -- Function: org-insert-property-drawer
6845      Insert a property drawer at point.
6847 \x1f
6848 File: org,  Node: History and Acknowledgments,  Next: Index,  Prev: Extensions and Hacking,  Up: Top
6850 Appendix B History and Acknowledgments
6851 **************************************
6853 Org-mode was borne in 2003, out of frustration over the user interface
6854 of the Emacs outline-mode.  I was trying to organize my notes and
6855 projects, and using Emacs seemed to be the natural way to go.  However,
6856 having to remember eleven different commands with two or three keys per
6857 command, only to hide and unhide parts of the outline tree, that seemed
6858 entirely unacceptable to me.  Also, when using outlines to take notes, I
6859 constantly want to restructure the tree, organizing it parallel to my
6860 thoughts and plans.  _Visibility cycling_ and _structure editing_ were
6861 originally implemented in the package `outline-magic.el', but quickly
6862 moved to the more general `org.el'.  As this environment became
6863 comfortable for project planning, the next step was adding _TODO
6864 entries_, basic _time stamps_, and _table support_.  These areas
6865 highlight the two main goals that Org-mode still has today: To create a
6866 new, outline-based, plain text mode with innovative and intuitive
6867 editing features, and to incorporate project planning functionality
6868 directly into a notes file.
6870    Since the first release, literally thousands of emails to me or on
6871 `emacs-orgmode@gnu.org' have provided a constant stream of bug reports,
6872 feedback, new ideas, and sometimes patches and add-on code.  Many
6873 thanks to everyone who has helped to improve this package.  I am trying
6874 to keep here a list of the people who had significant influence in
6875 shaping one or more aspects of Org-mode.  The list may not be complete,
6876 if I have forgotten someone, please accept my apologies and let me know.
6878    * Russel Adams came up with the idea for drawers.
6880    * Thomas Baumann contributed the code for links to the MH-E email
6881      system.
6883    * Alex Bochannek provided a patch for rounding time stamps.
6885    * Charles Cave's suggestion sparked the implementation of templates
6886      for Remember.
6888    * Pavel Chalmoviansky influenced the agenda treatment of items with
6889      specified time.
6891    * Gregory Chernov patched support for lisp forms into table
6892      calculations and improved XEmacs compatibility, in particular by
6893      porting `nouline.el' to XEmacs.
6895    * Sacha Chua suggested to copy some linking code from Planner.
6897    * Eddward DeVilla proposed and tested checkbox statistics.  He also
6898      came up with the idea of properties, and that there should be an
6899      API for them.
6901    * Kees Dullemond used to edit projects lists directly in HTML and so
6902      inspired some of the early development, including HTML export.  He
6903      also asked for a way to narrow wide table columns.
6905    * Christian Egli converted the documentation into TeXInfo format,
6906      patched CSS formatting into the HTML exporter, and inspired the
6907      agenda.
6909    * David Emery provided a patch for custom CSS support in exported
6910      HTML agendas.
6912    * Nic Ferrier contributed mailcap and XOXO support.
6914    * John Foerch figured out how to make incremental search show context
6915      around a match in a hidden outline tree.
6917    * Niels Giessen had the idea to automatically archive DONE trees.
6919    * Bastien Guerry provided extensive feedback and some patches, and
6920      translated David O'Toole's tutorial into French.
6922    * Kai Grossjohann pointed out key-binding conflicts with other
6923      packages.
6925    * Scott Jaderholm proposed footnotes, control over whitespace between
6926      folded entries, and column view for properties.
6928    * Shidai Liu ("Leo") asked for embedded LaTeX and tested it.  He also
6929      provided frequent feedback and some patches.
6931    * Jason F. McBrayer suggested agenda export to CSV format.
6933    * Dmitri Minaev sent a patch to set priority limits on a per-file
6934      basis.
6936    * Stefan Monnier provided a patch to keep the Emacs-Lisp compiler
6937      happy.
6939    * Rick Moynihan proposed to allow multiple TODO sequences in a file.
6941    * Todd Neal provided patches for links to Info files and elisp forms.
6943    * Tim O'Callaghan suggested in-file links, search options for general
6944      file links, and TAGS.
6946    * Takeshi Okano translated the manual and David O'Toole's tutorial
6947      into Japanese.
6949    * Oliver Oppitz suggested multi-state TODO items.
6951    * Scott Otterson sparked the introduction of descriptive text for
6952      links, among other things.
6954    * Pete Phillips helped during the development of the TAGS feature,
6955      and provided frequent feedback.
6957    * T.V. Raman reported bugs and suggested improvements.
6959    * Matthias Rempe (Oelde) provided ideas, Windows support, and quality
6960      control.
6962    * Kevin Rogers contributed code to access VM files on remote hosts.
6964    * Frank Ruell solved the mystery of the `keymapp nil' bug, a
6965      conflict with `allout.el'.
6967    * Jason Riedy sent a patch to fix a bug with export of TODO keywords.
6969    * Philip Rooke created the Org-mode reference card and provided lots
6970      of feedback.
6972    * Christian Schlauer proposed angular brackets around links, among
6973      other things.
6975    * Linking to VM/BBDB/GNUS was inspired by Tom Shannon's
6976      `organizer-mode.el'.
6978    * Daniel Sinder came up with the idea of internal archiving by
6979      locking subtrees.
6981    * Dale Smith proposed link abbreviations.
6983    * David O'Toole wrote `org-publish.el' and drafted the manual
6984      chapter about publishing.
6986    * Ju"rgen Vollmer contributed code generating the table of contents
6987      in HTML output.
6989    * Chris Wallace provided a patch implementing the `QUOTE' keyword.
6991    * David Wainberg suggested archiving, and improvements to the linking
6992      system.
6994    * John Wiegley wrote `emacs-wiki.el' and `planner.el'.  The
6995      development of Org-mode was fully independent, and both systems are
6996      really different beasts in their basic ideas and implementation
6997      details.  I later looked at John's code, however, and learned from
6998      his implementation of (i) links where the link itself is hidden
6999      and only a description is shown, and (ii) popping up a calendar to
7000      select a date.
7002    * Carsten Wimmer suggested some changes and helped fix a bug in
7003      linking to GNUS.
7005    * Roland Winkler requested additional keybindings to make Org-mode
7006      work on a tty.
7008    * Piotr Zielinski wrote `org-mouse.el', proposed agenda blocks and
7009      contributed various ideas and code snippets.
7011 \x1f
7012 File: org,  Node: Index,  Next: Key Index,  Prev: History and Acknowledgments,  Up: Top
7014 Index
7015 *****
7017 \0\b[index\0\b]
7018 * Menu:
7020 * abbreviation, links:                   Link abbreviations.  (line   6)
7021 * acknowledgments:                       History and Acknowledgments.
7022                                                               (line   6)
7023 * action, for publishing:                Publishing action.   (line   6)
7024 * activation:                            Activation.          (line   6)
7025 * active region <1>:                     Export commands.     (line   6)
7026 * active region <2>:                     ASCII export.        (line   9)
7027 * active region <3>:                     Built-in table editor.
7028                                                               (line 141)
7029 * active region:                         Structure editing.   (line  64)
7030 * agenda:                                Weekly/Daily agenda. (line   6)
7031 * agenda dispatcher:                     Agenda dispatcher.   (line   6)
7032 * agenda files:                          Agenda files.        (line   6)
7033 * agenda files, removing buffers:        Agenda commands.     (line 239)
7034 * agenda views:                          Agenda views.        (line   6)
7035 * agenda views, custom:                  Custom agenda views. (line   6)
7036 * agenda views, exporting <1>:           Exporting Agenda Views.
7037                                                               (line   6)
7038 * agenda views, exporting:               Agenda commands.     (line 228)
7039 * agenda views, user-defined:            Special agenda views.
7040                                                               (line   6)
7041 * agenda, pipe:                          Extracting Agenda Information for other programs.
7042                                                               (line   6)
7043 * agenda, with block views:              Block agenda.        (line   6)
7044 * align, STARTUP keyword:                In-buffer settings.  (line  63)
7045 * allout.el:                             Conflicts.           (line   6)
7046 * angular brackets, around links:        External links.      (line  43)
7047 * API, for properties <1>:               Using the property API.
7048                                                               (line   6)
7049 * API, for properties:                   Property API.        (line   6)
7050 * archive locations:                     Moving subtrees.     (line  21)
7051 * archiving:                             Archiving.           (line   6)
7052 * ASCII export:                          ASCII export.        (line   6)
7053 * author:                                Feedback.            (line   6)
7054 * autoload:                              Activation.          (line   6)
7055 * backtrace of an error:                 Feedback.            (line  27)
7056 * BBDB links:                            External links.      (line   6)
7057 * block agenda:                          Block agenda.        (line   6)
7058 * blorg.el:                              Extensions.          (line  32)
7059 * bold text:                             Enhancing text.      (line  15)
7060 * Boolean logic, for tag searches:       Tag searches.        (line  23)
7061 * bug reports:                           Feedback.            (line   6)
7062 * bugs:                                  Bugs.                (line   6)
7063 * C-c C-c, overview:                     The very busy C-c C-c key.
7064                                                               (line   6)
7065 * calc package:                          The spreadsheet.     (line   6)
7066 * calc.el:                               Cooperation.         (line   6)
7067 * calculations, in tables <1>:           The spreadsheet.     (line   6)
7068 * calculations, in tables:               Built-in table editor.
7069                                                               (line 141)
7070 * calendar commands, from agenda:        Agenda commands.     (line 191)
7071 * calendar integration:                  Weekly/Daily agenda. (line  24)
7072 * calendar, for selecting date:          The date/time prompt.
7073                                                               (line  26)
7074 * category:                              Categories.          (line   6)
7075 * CDLaTeX:                               CDLaTeX mode.        (line   6)
7076 * cdlatex.el:                            Cooperation.         (line  29)
7077 * checkbox statistics:                   Checkboxes.          (line  23)
7078 * checkboxes:                            Checkboxes.          (line   6)
7079 * children, subtree visibility state:    Visibility cycling.  (line  10)
7080 * clean outline view:                    Clean view.          (line   6)
7081 * column formula:                        Column formulas.     (line   6)
7082 * column view, for properties:           Defining columns.    (line   6)
7083 * commands, in agenda buffer:            Agenda commands.     (line   6)
7084 * comment lines:                         Comment lines.       (line   6)
7085 * completion, of dictionary words:       Completion.          (line   6)
7086 * completion, of file names:             Handling links.      (line  43)
7087 * completion, of link abbreviations:     Completion.          (line   6)
7088 * completion, of links:                  Handling links.      (line  25)
7089 * completion, of option keywords <1>:    Completion.          (line   6)
7090 * completion, of option keywords <2>:    Export options.      (line   6)
7091 * completion, of option keywords:        Per file keywords.   (line  23)
7092 * completion, of property keys:          Completion.          (line   6)
7093 * completion, of tags <1>:               Completion.          (line   6)
7094 * completion, of tags:                   Setting tags.        (line  11)
7095 * completion, of TeX symbols:            Completion.          (line   6)
7096 * completion, of TODO keywords <1>:      Completion.          (line   6)
7097 * completion, of TODO keywords:          Workflow states.     (line  15)
7098 * constants, in calculations:            References.          (line  82)
7099 * constants.el:                          Cooperation.         (line  14)
7100 * constcgs, STARTUP keyword:             In-buffer settings.  (line  88)
7101 * constSI, STARTUP keyword:              In-buffer settings.  (line  88)
7102 * content, STARTUP keyword:              In-buffer settings.  (line  56)
7103 * contents, global visibility state:     Visibility cycling.  (line  22)
7104 * copying, of subtrees:                  Structure editing.   (line   6)
7105 * creating timestamps:                   Creating timestamps. (line   6)
7106 * CUA.el:                                Conflicts.           (line  15)
7107 * custom agenda views:                   Custom agenda views. (line   6)
7108 * custom date/time format:               Custom time format.  (line   6)
7109 * custom search strings:                 Custom searches.     (line   6)
7110 * customization:                         Customization.       (line   6)
7111 * customtime, STARTUP keyword:           In-buffer settings.  (line  85)
7112 * cutting, of subtrees:                  Structure editing.   (line   6)
7113 * cycling, of TODO states:               TODO basics.         (line  13)
7114 * cycling, visibility:                   Visibility cycling.  (line   6)
7115 * daily agenda:                          Weekly/Daily agenda. (line   6)
7116 * date format, custom:                   Custom time format.  (line   6)
7117 * date range:                            Time stamps.         (line  41)
7118 * date stamps <1>:                       Time stamps.         (line   6)
7119 * date stamps:                           Timestamps.          (line   6)
7120 * date, reading in minibuffer:           The date/time prompt.
7121                                                               (line   6)
7122 * DEADLINE keyword:                      Deadlines and scheduling.
7123                                                               (line  10)
7124 * deadlines:                             Time stamps.         (line   6)
7125 * debugging, of table formulas:          Editing and debugging formulas.
7126                                                               (line  97)
7127 * demotion, of subtrees:                 Structure editing.   (line   6)
7128 * diary entries, creating from agenda:   Agenda commands.     (line 196)
7129 * diary integration:                     Weekly/Daily agenda. (line  24)
7130 * dictionary word completion:            Completion.          (line   6)
7131 * directories, for publishing:           Sources and destinations.
7132                                                               (line   6)
7133 * dispatching agenda commands:           Agenda dispatcher.   (line   6)
7134 * display changing, in agenda:           Agenda commands.     (line  65)
7135 * document structure:                    Document structure.  (line   6)
7136 * DONE, final TODO keyword:              Per file keywords.   (line  26)
7137 * drawer, for properties:                Property syntax.     (line   6)
7138 * drawers:                               Drawers.             (line   6)
7139 * dynamic blocks:                        Dynamic blocks.      (line   6)
7140 * editing tables:                        Tables.              (line   6)
7141 * editing, of table formulas:            Editing and debugging formulas.
7142                                                               (line   6)
7143 * elisp links:                           External links.      (line   6)
7144 * emphasized text:                       Export options.      (line  25)
7145 * enhancing text:                        Enhancing text.      (line   6)
7146 * evaluate time range:                   Creating timestamps. (line  48)
7147 * even, STARTUP keyword:                 In-buffer settings.  (line  78)
7148 * exporting:                             Exporting.           (line   6)
7149 * exporting agenda views <1>:            Exporting Agenda Views.
7150                                                               (line  12)
7151 * exporting agenda views:                Agenda commands.     (line 228)
7152 * exporting, not:                        Comment lines.       (line   6)
7153 * extended TODO keywords:                TODO extensions.     (line   6)
7154 * extension, third-party:                Extensions.          (line   6)
7155 * external archiving:                    Moving subtrees.     (line   6)
7156 * external links:                        External links.      (line   6)
7157 * external links, in HTML export:        Links.               (line   6)
7158 * FAQ:                                   Summary.             (line  56)
7159 * feedback:                              Feedback.            (line   6)
7160 * field formula:                         Field formulas.      (line   6)
7161 * field references:                      References.          (line  15)
7162 * file links:                            External links.      (line   6)
7163 * file links, searching:                 Search options.      (line   6)
7164 * file name completion:                  Handling links.      (line  43)
7165 * files for agenda:                      Agenda files.        (line   6)
7166 * files, adding to agenda list:          Agenda files.        (line  12)
7167 * files, selecting for publishing:       Selecting files.     (line   6)
7168 * fixed width:                           Enhancing text.      (line  28)
7169 * fixed-width sections:                  Export options.      (line  25)
7170 * folded, subtree visibility state:      Visibility cycling.  (line  10)
7171 * folding, sparse trees:                 Sparse trees.        (line   6)
7172 * following links:                       Handling links.      (line  58)
7173 * footnote.el <1>:                       Conflicts.           (line  35)
7174 * footnote.el <2>:                       Cooperation.         (line  56)
7175 * footnote.el:                           Footnotes.           (line   6)
7176 * footnotes <1>:                         Export options.      (line  25)
7177 * footnotes:                             Footnotes.           (line   6)
7178 * format specifier:                      Formula syntax for Calc.
7179                                                               (line  14)
7180 * format, of links:                      Link format.         (line   6)
7181 * formula debugging:                     Editing and debugging formulas.
7182                                                               (line  97)
7183 * formula editing:                       Editing and debugging formulas.
7184                                                               (line   6)
7185 * formula syntax, Calc:                  Formula syntax for Calc.
7186                                                               (line   6)
7187 * formula, for individual table field:   Field formulas.      (line   6)
7188 * formula, for table column:             Column formulas.     (line   6)
7189 * formula, in tables:                    Built-in table editor.
7190                                                               (line 141)
7191 * global cycling:                        Visibility cycling.  (line  22)
7192 * global keybindings:                    Activation.          (line   6)
7193 * global TODO list:                      Global TODO list.    (line   6)
7194 * global visibility states:              Visibility cycling.  (line  22)
7195 * GNUS links:                            External links.      (line   6)
7196 * grouping columns in tables:            Column groups.       (line   6)
7197 * hand-formatted lists:                  Enhancing text.      (line  11)
7198 * headline levels:                       Export options.      (line  25)
7199 * headline levels, for exporting <1>:    Export commands.     (line  34)
7200 * headline levels, for exporting:        ASCII export.        (line  18)
7201 * headline navigation:                   Motion.              (line   6)
7202 * headline tagging:                      Tags.                (line   6)
7203 * headline, promotion and demotion:      Structure editing.   (line   6)
7204 * headlines:                             Headlines.           (line   6)
7205 * hide text:                             Visibility cycling.  (line   6)
7206 * hidestars, STARTUP keyword:            In-buffer settings.  (line  78)
7207 * hiding leading stars:                  Clean view.          (line   6)
7208 * history:                               History and Acknowledgments.
7209                                                               (line   6)
7210 * horizontal rules, in exported files:   Enhancing text.      (line  18)
7211 * HTML export:                           HTML export.         (line   6)
7212 * HTML, and orgtbl-mode:                 Translator functions.
7213                                                               (line   6)
7214 * hyperlinks:                            Hyperlinks.          (line   6)
7215 * iCalendar export:                      iCalendar export.    (line   6)
7216 * images, inline in HTML:                Images.              (line   6)
7217 * in-buffer settings:                    In-buffer settings.  (line   6)
7218 * inactive timestamp:                    Time stamps.         (line  50)
7219 * index, of published pages:             Project page index.  (line   6)
7220 * Info links:                            External links.      (line   6)
7221 * inheritance, of tags:                  Tag inheritance.     (line   6)
7222 * inlining images in HTML:               Images.              (line   6)
7223 * inserting links:                       Handling links.      (line  25)
7224 * installation:                          Installation.        (line   6)
7225 * internal archiving:                    ARCHIVE tag.         (line   6)
7226 * internal links:                        Internal links.      (line   6)
7227 * internal links, in HTML export:        Links.               (line   6)
7228 * introduction:                          Introduction.        (line   6)
7229 * italic text:                           Enhancing text.      (line  15)
7230 * jumping, to headlines:                 Motion.              (line   6)
7231 * keybindings, global:                   Activation.          (line   6)
7232 * keyword options:                       Per file keywords.   (line   6)
7233 * LaTeX fragments <1>:                   Export options.      (line  25)
7234 * LaTeX fragments:                       LaTeX fragments.     (line   6)
7235 * LaTeX fragments, export:               Enhancing text.      (line  21)
7236 * LaTeX fragments, preview:              Processing LaTeX fragments.
7237                                                               (line   6)
7238 * LaTeX interpretation:                  Embedded LaTeX.      (line   6)
7239 * LaTeX, and orgtbl-mode:                A LaTeX example.     (line   6)
7240 * level, require for tags match:         Tag searches.        (line  68)
7241 * linebreak preservation:                Export options.      (line  25)
7242 * linebreak, forced:                     Enhancing text.      (line  35)
7243 * link abbreviations:                    Link abbreviations.  (line   6)
7244 * link abbreviations, completion of:     Completion.          (line   6)
7245 * link completion:                       Handling links.      (line  25)
7246 * link format:                           Link format.         (line   6)
7247 * links, external:                       External links.      (line   6)
7248 * links, finding next/previous:          Handling links.      (line  91)
7249 * links, handling:                       Handling links.      (line   6)
7250 * links, in HTML export:                 Links.               (line   6)
7251 * links, internal:                       Internal links.      (line   6)
7252 * links, publishing:                     Publishing links.    (line   6)
7253 * links, radio targets:                  Radio targets.       (line   6)
7254 * links, returning to:                   Handling links.      (line  85)
7255 * Lisp forms, as table formulas:         Formula syntax for Lisp.
7256                                                               (line   6)
7257 * lists, hand-formatted:                 Enhancing text.      (line  11)
7258 * lists, ordered:                        Plain lists.         (line   6)
7259 * lists, plain:                          Plain lists.         (line   6)
7260 * logdone, STARTUP keyword:              In-buffer settings.  (line  67)
7261 * logging, of progress:                  Progress logging.    (line   6)
7262 * lognoteclock-out, STARTUP keyword:     In-buffer settings.  (line  67)
7263 * lognotedone, STARTUP keyword:          In-buffer settings.  (line  67)
7264 * lognotestate, STARTUP keyword:         In-buffer settings.  (line  67)
7265 * logrepeat, STARTUP keyword:            In-buffer settings.  (line  67)
7266 * maintainer:                            Feedback.            (line   6)
7267 * mark ring:                             Handling links.      (line  81)
7268 * marking characters, tables:            Advanced features.   (line  40)
7269 * matching, of properties:               Matching tags and properties.
7270                                                               (line   6)
7271 * matching, of tags:                     Matching tags and properties.
7272                                                               (line   6)
7273 * matching, tags:                        Tags.                (line   6)
7274 * math symbols:                          Math symbols.        (line   6)
7275 * MH-E links:                            External links.      (line   6)
7276 * minor mode for structure editing:      orgstruct-mode.      (line   6)
7277 * minor mode for tables:                 orgtbl-mode.         (line   6)
7278 * mode, for calc:                        Formula syntax for Calc.
7279                                                               (line  14)
7280 * motion commands in agenda:             Agenda commands.     (line  19)
7281 * motion, between headlines:             Motion.              (line   6)
7282 * name, of column or field:              References.          (line  82)
7283 * named references:                      References.          (line  82)
7284 * names as TODO keywords:                TODO types.          (line   6)
7285 * narrow columns in tables:              Narrow columns.      (line   6)
7286 * noalign, STARTUP keyword:              In-buffer settings.  (line  63)
7287 * nologging, STARTUP keyword:            In-buffer settings.  (line  67)
7288 * nologrepeat, STARTUP keyword:          In-buffer settings.  (line  67)
7289 * occur, command:                        Sparse trees.        (line   6)
7290 * odd, STARTUP keyword:                  In-buffer settings.  (line  78)
7291 * option keyword completion:             Completion.          (line   6)
7292 * options, for custom agenda views:      Setting Options.     (line   6)
7293 * options, for customization:            Customization.       (line   6)
7294 * options, for export:                   Export options.      (line   6)
7295 * options, for publishing:               Publishing options.  (line   6)
7296 * ordered lists:                         Plain lists.         (line   6)
7297 * org-agenda, command:                   Weekly/Daily agenda. (line   9)
7298 * org-blog.el:                           Extensions.          (line  28)
7299 * org-mode, turning on:                  Activation.          (line  22)
7300 * org-mouse.el:                          Extensions.          (line  16)
7301 * org-publish-project-alist:             Project alist.       (line   6)
7302 * org-publish.el:                        Extensions.          (line   8)
7303 * org2rem.el:                            Extensions.          (line  36)
7304 * orgstruct-mode:                        orgstruct-mode.      (line   6)
7305 * orgtbl-mode <1>:                       Tables in arbitrary syntax.
7306                                                               (line   6)
7307 * orgtbl-mode:                           orgtbl-mode.         (line   6)
7308 * outline tree:                          Headlines.           (line   6)
7309 * outline-mode:                          Outlines.            (line   6)
7310 * outlines:                              Outlines.            (line   6)
7311 * overview, global visibility state:     Visibility cycling.  (line  22)
7312 * overview, STARTUP keyword:             In-buffer settings.  (line  56)
7313 * packages, interaction with other:      Interaction.         (line   6)
7314 * pasting, of subtrees:                  Structure editing.   (line   6)
7315 * per file keywords:                     Per file keywords.   (line   6)
7316 * plain lists:                           Plain lists.         (line   6)
7317 * plain text external links:             External links.      (line  43)
7318 * presentation, of agenda items:         Presentation and sorting.
7319                                                               (line   6)
7320 * printing sparse trees:                 Sparse trees.        (line  41)
7321 * priorities:                            Priorities.          (line   6)
7322 * priorities, of agenda items:           Sorting of agenda items.
7323                                                               (line   6)
7324 * progress logging:                      Progress logging.    (line   6)
7325 * projects, for publishing:              Project alist.       (line   6)
7326 * promotion, of subtrees:                Structure editing.   (line   6)
7327 * properties:                            Properties and columns.
7328                                                               (line   6)
7329 * properties, API <1>:                   Using the property API.
7330                                                               (line   6)
7331 * properties, API:                       Property API.        (line   6)
7332 * properties, column view:               Defining columns.    (line   6)
7333 * properties, searching:                 Property searches.   (line   6)
7334 * properties, special:                   Special properties.  (line   6)
7335 * property syntax:                       Property syntax.     (line   6)
7336 * publishing:                            Publishing.          (line   6)
7337 * quoted HTML tags:                      Export options.      (line  25)
7338 * radio tables:                          Radio tables.        (line   6)
7339 * radio targets:                         Radio targets.       (line   6)
7340 * range references:                      References.          (line  60)
7341 * ranges, time:                          Time stamps.         (line   6)
7342 * recomputing table fields:              Updating the table.  (line   6)
7343 * references:                            References.          (line   6)
7344 * references, named:                     References.          (line  82)
7345 * references, to fields:                 References.          (line  15)
7346 * references, to ranges:                 References.          (line  60)
7347 * region, active <1>:                    Export commands.     (line   6)
7348 * region, active <2>:                    ASCII export.        (line   9)
7349 * region, active <3>:                    Built-in table editor.
7350                                                               (line 141)
7351 * region, active:                        Structure editing.   (line  64)
7352 * regular expressions, with tags search: Tag searches.        (line  63)
7353 * remember.el <1>:                       Cooperation.         (line  33)
7354 * remember.el:                           Remember.            (line   6)
7355 * remote editing, from agenda:           Agenda commands.     (line 106)
7356 * remote editing, undo:                  Agenda commands.     (line 107)
7357 * richer text:                           Enhancing text.      (line   6)
7358 * RMAIL links:                           External links.      (line   6)
7359 * SCHEDULED keyword:                     Deadlines and scheduling.
7360                                                               (line  22)
7361 * scheduling:                            Time stamps.         (line   6)
7362 * Scripts, for agenda processing:        Extracting Agenda Information for other programs.
7363                                                               (line   6)
7364 * search option in file links:           Search options.      (line   6)
7365 * search strings, custom:                Custom searches.     (line   6)
7366 * searching for tags:                    Tag searches.        (line   6)
7367 * section-numbers:                       Export options.      (line  25)
7368 * setting tags:                          Setting tags.        (line   6)
7369 * SHELL links:                           External links.      (line   6)
7370 * show all, command:                     Visibility cycling.  (line  33)
7371 * show all, global visibility state:     Visibility cycling.  (line  22)
7372 * show hidden text:                      Visibility cycling.  (line   6)
7373 * showall, STARTUP keyword:              In-buffer settings.  (line  56)
7374 * showstars, STARTUP keyword:            In-buffer settings.  (line  78)
7375 * sorting, of agenda items:              Sorting of agenda items.
7376                                                               (line   6)
7377 * sparse tree, for deadlines:            Inserting deadline/schedule.
7378                                                               (line  11)
7379 * sparse tree, for TODO:                 TODO basics.         (line  26)
7380 * sparse tree, tag based:                Tags.                (line   6)
7381 * sparse trees:                          Sparse trees.        (line   6)
7382 * special keywords:                      In-buffer settings.  (line   6)
7383 * spreadsheet capabilities:              The spreadsheet.     (line   6)
7384 * statistics, for checkboxes:            Checkboxes.          (line  23)
7385 * storing links:                         Handling links.      (line   9)
7386 * structure editing:                     Structure editing.   (line   6)
7387 * structure of document:                 Document structure.  (line   6)
7388 * sublevels, inclusion into tags match:  Tag inheritance.     (line   6)
7389 * sublevels, inclusion into todo list:   Global TODO list.    (line  34)
7390 * subscript:                             Subscripts and Superscripts.
7391                                                               (line   6)
7392 * subtree cycling:                       Visibility cycling.  (line  10)
7393 * subtree visibility states:             Visibility cycling.  (line  10)
7394 * subtree, cut and paste:                Structure editing.   (line   6)
7395 * subtree, subtree visibility state:     Visibility cycling.  (line  10)
7396 * subtrees, cut and paste:               Structure editing.   (line   6)
7397 * summary:                               Summary.             (line   6)
7398 * superscript:                           Subscripts and Superscripts.
7399                                                               (line   6)
7400 * syntax, of formulas:                   Formula syntax for Calc.
7401                                                               (line   6)
7402 * table editor, built-in:                Built-in table editor.
7403                                                               (line   6)
7404 * table editor, table.el:                Cooperation.         (line  37)
7405 * table of contents:                     Export options.      (line  25)
7406 * table.el:                              Cooperation.         (line  34)
7407 * tables <1>:                            Export options.      (line  25)
7408 * tables:                                Tables.              (line   6)
7409 * tables, export:                        Enhancing text.      (line  24)
7410 * tables, in other modes:                Tables in arbitrary syntax.
7411                                                               (line   6)
7412 * tag completion:                        Completion.          (line   6)
7413 * tag searches:                          Tag searches.        (line   6)
7414 * tags:                                  Tags.                (line   6)
7415 * tags view:                             Matching tags and properties.
7416                                                               (line   6)
7417 * tags, setting:                         Setting tags.        (line   6)
7418 * targets, for links:                    Internal links.      (line   6)
7419 * targets, radio:                        Radio targets.       (line   6)
7420 * tasks, breaking down:                  Breaking down tasks. (line   6)
7421 * templates, for remember:               Remember templates.  (line   6)
7422 * TeX interpretation:                    Embedded LaTeX.      (line   6)
7423 * TeX macros <1>:                        Export options.      (line  25)
7424 * TeX macros:                            Math symbols.        (line   6)
7425 * TeX macros, export:                    Enhancing text.      (line  21)
7426 * TeX symbol completion:                 Completion.          (line   6)
7427 * TeX-like syntax for sub- and superscripts: Export options.  (line  25)
7428 * thanks:                                History and Acknowledgments.
7429                                                               (line   6)
7430 * time format, custom:                   Custom time format.  (line   6)
7431 * time grid:                             Time-of-day specifications.
7432                                                               (line  26)
7433 * time stamps <1>:                       Time stamps.         (line   6)
7434 * time stamps:                           Timestamps.          (line   6)
7435 * time, reading in minibuffer:           The date/time prompt.
7436                                                               (line   6)
7437 * time-of-day specification:             Time-of-day specifications.
7438                                                               (line   6)
7439 * time-sorted view:                      Timeline.            (line   6)
7440 * timeline, single file:                 Timeline.            (line   6)
7441 * timerange:                             Time stamps.         (line  41)
7442 * timestamp:                             Time stamps.         (line  14)
7443 * timestamp, inactive:                   Time stamps.         (line  50)
7444 * timestamp, with repeater interval:     Time stamps.         (line  25)
7445 * timestamps, creating:                  Creating timestamps. (line   6)
7446 * TODO items:                            TODO items.          (line   6)
7447 * TODO keyword matching:                 Global TODO list.    (line  17)
7448 * TODO keyword matching, with tags search: Tag searches.      (line  40)
7449 * todo keyword sets:                     Multiple sets in one file.
7450                                                               (line   6)
7451 * TODO keywords completion:              Completion.          (line   6)
7452 * TODO list, global:                     Global TODO list.    (line   6)
7453 * TODO types:                            TODO types.          (line   6)
7454 * TODO workflow:                         Workflow states.     (line   6)
7455 * transient-mark-mode <1>:               Export commands.     (line   6)
7456 * transient-mark-mode <2>:               ASCII export.        (line   9)
7457 * transient-mark-mode <3>:               Built-in table editor.
7458                                                               (line 141)
7459 * transient-mark-mode:                   Structure editing.   (line  64)
7460 * translator function:                   Translator functions.
7461                                                               (line   6)
7462 * trees, sparse:                         Sparse trees.        (line   6)
7463 * trees, visibility:                     Visibility cycling.  (line   6)
7464 * tty keybindings:                       TTY keys.            (line   6)
7465 * types as TODO keywords:                TODO types.          (line   6)
7466 * underlined text:                       Enhancing text.      (line  15)
7467 * undoing remote-editing events:         Agenda commands.     (line 107)
7468 * updating, table:                       Updating the table.  (line   6)
7469 * URL links:                             External links.      (line   6)
7470 * USENET links:                          External links.      (line   6)
7471 * variables, for customization:          Customization.       (line   6)
7472 * vectors, in table calculations:        Formula syntax for Calc.
7473                                                               (line  11)
7474 * visibility cycling:                    Visibility cycling.  (line   6)
7475 * visibility cycling, drawers:           Drawers.             (line   6)
7476 * visible text, printing:                Sparse trees.        (line  41)
7477 * VM links:                              External links.      (line   6)
7478 * WANDERLUST links:                      External links.      (line   6)
7479 * weekly agenda:                         Weekly/Daily agenda. (line   6)
7480 * windmove.el:                           Conflicts.           (line  32)
7481 * workflow states as TODO keywords:      Workflow states.     (line   6)
7482 * XEmacs:                                Installation.        (line   6)
7483 * XOXO export:                           XOXO export.         (line   6)
7485 \x1f
7486 File: org,  Node: Key Index,  Prev: Index,  Up: Top
7488 Key Index
7489 *********
7491 \0\b[index\0\b]
7492 * Menu:
7494 * $:                                     Agenda commands.     (line 121)
7495 * ':                                     CDLaTeX mode.        (line  43)
7496 * +:                                     Agenda commands.     (line 143)
7497 * ,:                                     Agenda commands.     (line 135)
7498 * -:                                     Agenda commands.     (line 149)
7499 * .:                                     Agenda commands.     (line  98)
7500 * ::                                     Agenda commands.     (line 129)
7501 * < <1>:                                 The date/time prompt.
7502                                                               (line  32)
7503 * <:                                     Using column view.   (line  54)
7504 * <left>:                                Agenda commands.     (line  95)
7505 * <RET> <1>:                             Agenda commands.     (line  39)
7506 * <RET> <2>:                             The date/time prompt.
7507                                                               (line  57)
7508 * <RET> <3>:                             Setting tags.        (line  76)
7509 * <RET>:                                 Built-in table editor.
7510                                                               (line  62)
7511 * <right>:                               Agenda commands.     (line  90)
7512 * <SPC> <1>:                             Agenda commands.     (line  28)
7513 * <SPC>:                                 Setting tags.        (line  73)
7514 * <TAB> <1>:                             CDLaTeX mode.        (line  23)
7515 * <TAB> <2>:                             Agenda commands.     (line  33)
7516 * <TAB> <3>:                             Setting tags.        (line  68)
7517 * <TAB> <4>:                             Editing and debugging formulas.
7518                                                               (line  57)
7519 * <TAB> <5>:                             Built-in table editor.
7520                                                               (line  55)
7521 * <TAB> <6>:                             Plain lists.         (line  41)
7522 * <TAB>:                                 Visibility cycling.  (line  10)
7523 * > <1>:                                 Agenda commands.     (line 171)
7524 * > <2>:                                 The date/time prompt.
7525                                                               (line  33)
7526 * >:                                     Using column view.   (line  54)
7527 * ^:                                     CDLaTeX mode.        (line  33)
7528 * _:                                     CDLaTeX mode.        (line  33)
7529 * `:                                     CDLaTeX mode.        (line  39)
7530 * a <1>:                                 Agenda commands.     (line 132)
7531 * a:                                     Using column view.   (line  43)
7532 * b:                                     Agenda commands.     (line  49)
7533 * C:                                     Agenda commands.     (line 211)
7534 * c:                                     Agenda commands.     (line 191)
7535 * C-#:                                   Advanced features.   (line   9)
7536 * C-':                                   Agenda files.        (line  18)
7537 * C-,:                                   Agenda files.        (line  18)
7538 * C-_:                                   Agenda commands.     (line 107)
7539 * C-c ! <1>:                             Footnotes.           (line  14)
7540 * C-c !:                                 Creating timestamps. (line  19)
7541 * C-c #:                                 Checkboxes.          (line  57)
7542 * C-c %:                                 Handling links.      (line  81)
7543 * C-c &:                                 Handling links.      (line  85)
7544 * C-c ':                                 Editing and debugging formulas.
7545                                                               (line  36)
7546 * C-c *:                                 Updating the table.  (line  13)
7547 * C-c +:                                 Built-in table editor.
7548                                                               (line 141)
7549 * C-c ,:                                 Priorities.          (line  18)
7550 * C-c - <1>:                             Built-in table editor.
7551                                                               (line  90)
7552 * C-c -:                                 Plain lists.         (line  88)
7553 * C-c .:                                 Creating timestamps. (line  10)
7554 * C-c /:                                 Sparse trees.        (line  15)
7555 * C-c ::                                 Enhancing text.      (line  32)
7556 * C-c ;:                                 Comment lines.       (line  10)
7557 * C-c <:                                 Creating timestamps. (line  23)
7558 * C-c <TAB>:                             Built-in table editor.
7559                                                               (line 161)
7560 * C-c = <1>:                             Editing and debugging formulas.
7561                                                               (line  14)
7562 * C-c =:                                 Column formulas.     (line  26)
7563 * C-c >:                                 Creating timestamps. (line  27)
7564 * C-c ?:                                 Editing and debugging formulas.
7565                                                               (line  24)
7566 * C-c [:                                 Agenda files.        (line  12)
7567 * C-c \:                                 Tag searches.        (line   9)
7568 * C-c ]:                                 Agenda files.        (line  15)
7569 * C-c ^ <1>:                             Built-in table editor.
7570                                                               (line  94)
7571 * C-c ^:                                 Structure editing.   (line  52)
7572 * C-c `:                                 Built-in table editor.
7573                                                               (line 157)
7574 * C-c a !:                               Stuck projects.      (line  14)
7575 * C-c a #:                               Stuck projects.      (line  13)
7576 * C-c a a:                               Weekly/Daily agenda. (line   9)
7577 * C-c a C:                               Storing searches.    (line   9)
7578 * C-c a e:                               Exporting Agenda Views.
7579                                                               (line  57)
7580 * C-c a L:                               Timeline.            (line  10)
7581 * C-c a M:                               Matching tags and properties.
7582                                                               (line  15)
7583 * C-c a m:                               Matching tags and properties.
7584                                                               (line  10)
7585 * C-c a M:                               Tag searches.        (line  16)
7586 * C-c a m:                               Tag searches.        (line  12)
7587 * C-c a T:                               Global TODO list.    (line  14)
7588 * C-c a t <1>:                           Global TODO list.    (line   9)
7589 * C-c a t:                               TODO basics.         (line  36)
7590 * C-c C-a:                               Visibility cycling.  (line  33)
7591 * C-c C-b:                               Motion.              (line  15)
7592 * C-c C-c <1>:                           Cooperation.         (line  37)
7593 * C-c C-c <2>:                           The very busy C-c C-c key.
7594                                                               (line   6)
7595 * C-c C-c <3>:                           Processing LaTeX fragments.
7596                                                               (line  15)
7597 * C-c C-c <4>:                           Property syntax.     (line  46)
7598 * C-c C-c <5>:                           Setting tags.        (line  10)
7599 * C-c C-c <6>:                           Checkboxes.          (line  37)
7600 * C-c C-c <7>:                           Editing and debugging formulas.
7601                                                               (line  46)
7602 * C-c C-c <8>:                           Built-in table editor.
7603                                                               (line  54)
7604 * C-c C-c:                               Plain lists.         (line  81)
7605 * C-c C-d <1>:                           Agenda commands.     (line 156)
7606 * C-c C-d:                               Inserting deadline/schedule.
7607                                                               (line   9)
7608 * C-c C-e:                               Exporting.           (line  19)
7609 * C-c C-e a:                             ASCII export.        (line   9)
7610 * C-c C-e b:                             Export commands.     (line   7)
7611 * C-c C-e c:                             iCalendar export.    (line  21)
7612 * C-c C-e H:                             Export commands.     (line  10)
7613 * C-c C-e h:                             Export commands.     (line   6)
7614 * C-c C-e I:                             iCalendar export.    (line  16)
7615 * C-c C-e i:                             iCalendar export.    (line  14)
7616 * C-c C-e R:                             Export commands.     (line  13)
7617 * C-c C-e t:                             Export options.      (line  13)
7618 * C-c C-e v <1>:                         XOXO export.         (line  11)
7619 * C-c C-e v:                             Sparse trees.        (line  41)
7620 * C-c C-e v a:                           ASCII export.        (line  13)
7621 * C-c C-e v b:                           Export commands.     (line  18)
7622 * C-c C-e v H:                           Export commands.     (line  18)
7623 * C-c C-e v h:                           Export commands.     (line  18)
7624 * C-c C-e v R:                           Export commands.     (line  18)
7625 * C-c C-e x:                             XOXO export.         (line  10)
7626 * C-c C-f:                               Motion.              (line  12)
7627 * C-c C-j:                               Motion.              (line  21)
7628 * C-c C-l:                               Handling links.      (line  25)
7629 * C-c C-n:                               Motion.              (line   8)
7630 * C-c C-o <1>:                           Creating timestamps. (line  31)
7631 * C-c C-o:                               Handling links.      (line  58)
7632 * C-c C-p:                               Motion.              (line   9)
7633 * C-c C-q <1>:                           Editing and debugging formulas.
7634                                                               (line  50)
7635 * C-c C-q:                               Built-in table editor.
7636                                                               (line 125)
7637 * C-c C-r <1>:                           Editing and debugging formulas.
7638                                                               (line  53)
7639 * C-c C-r:                               Visibility cycling.  (line  34)
7640 * C-c C-s <1>:                           Agenda commands.     (line 153)
7641 * C-c C-s:                               Inserting deadline/schedule.
7642                                                               (line  18)
7643 * C-c C-t <1>:                           Clocking work time.  (line  27)
7644 * C-c C-t:                               TODO basics.         (line  13)
7645 * C-c C-u:                               Motion.              (line  18)
7646 * C-c C-v:                               TODO basics.         (line  26)
7647 * C-c C-w:                               Inserting deadline/schedule.
7648                                                               (line  11)
7649 * C-c C-x b:                             Visibility cycling.  (line  41)
7650 * C-c C-x C-a:                           ARCHIVE tag.         (line  28)
7651 * C-c C-x C-b:                           Checkboxes.          (line  39)
7652 * C-c C-x C-c <1>:                       Agenda commands.     (line 218)
7653 * C-c C-x C-c:                           Using column view.   (line   9)
7654 * C-c C-x C-d:                           Clocking work time.  (line  35)
7655 * C-c C-x C-i:                           Clocking work time.  (line  12)
7656 * C-c C-x C-k:                           Structure editing.   (line  39)
7657 * C-c C-x C-l:                           Processing LaTeX fragments.
7658                                                               (line   9)
7659 * C-c C-x C-n:                           Handling links.      (line  91)
7660 * C-c C-x C-o:                           Clocking work time.  (line  14)
7661 * C-c C-x C-p:                           Handling links.      (line  91)
7662 * C-c C-x C-r:                           Clocking work time.  (line  43)
7663 * C-c C-x C-s:                           Moving subtrees.     (line  10)
7664 * C-c C-x C-t:                           Custom time format.  (line  12)
7665 * C-c C-x C-u:                           Dynamic blocks.      (line  21)
7666 * C-c C-x C-w <1>:                       Built-in table editor.
7667                                                               (line 114)
7668 * C-c C-x C-w:                           Structure editing.   (line  39)
7669 * C-c C-x C-x:                           Clocking work time.  (line  31)
7670 * C-c C-x C-y <1>:                       Built-in table editor.
7671                                                               (line 118)
7672 * C-c C-x C-y:                           Structure editing.   (line  46)
7673 * C-c C-x M-w <1>:                       Built-in table editor.
7674                                                               (line 111)
7675 * C-c C-x M-w:                           Structure editing.   (line  43)
7676 * C-c C-y <1>:                           Clocking work time.  (line  22)
7677 * C-c C-y:                               Creating timestamps. (line  48)
7678 * C-c l:                                 Handling links.      (line   9)
7679 * C-c { <1>:                             CDLaTeX mode.        (line  21)
7680 * C-c {:                                 Editing and debugging formulas.
7681                                                               (line  33)
7682 * C-c |:                                 Built-in table editor.
7683                                                               (line  40)
7684 * C-c }:                                 Editing and debugging formulas.
7685                                                               (line  28)
7686 * C-c ~:                                 Cooperation.         (line  48)
7687 * C-k:                                   Agenda commands.     (line 115)
7688 * C-S-<left>:                            Multiple sets in one file.
7689                                                               (line  25)
7690 * C-S-<right>:                           Multiple sets in one file.
7691                                                               (line  25)
7692 * C-TAB:                                 ARCHIVE tag.         (line  38)
7693 * C-u C-c *:                             Updating the table.  (line  16)
7694 * C-u C-c .:                             Creating timestamps. (line  14)
7695 * C-u C-c = <1>:                         Editing and debugging formulas.
7696                                                               (line  14)
7697 * C-u C-c =:                             Field formulas.      (line  24)
7698 * C-u C-c C-c:                           Updating the table.  (line  19)
7699 * C-u C-c C-l:                           Handling links.      (line  43)
7700 * C-u C-c C-x C-a:                       ARCHIVE tag.         (line  31)
7701 * C-u C-c C-x C-s:                       Moving subtrees.     (line  12)
7702 * C-u C-c C-x C-u <1>:                   Dynamic blocks.      (line  22)
7703 * C-u C-c C-x C-u:                       Clocking work time.  (line  70)
7704 * C-u C-u C-c *:                         Updating the table.  (line  22)
7705 * C-u C-u C-c =:                         Editing and debugging formulas.
7706                                                               (line  18)
7707 * C-x C-s:                               Editing and debugging formulas.
7708                                                               (line  46)
7709 * C-x C-w <1>:                           Exporting Agenda Views.
7710                                                               (line  11)
7711 * C-x C-w:                               Agenda commands.     (line 227)
7712 * D:                                     Agenda commands.     (line  72)
7713 * d:                                     Agenda commands.     (line  66)
7714 * e:                                     Using column view.   (line  33)
7715 * f:                                     Agenda commands.     (line  42)
7716 * g:                                     Agenda commands.     (line  76)
7717 * H:                                     Agenda commands.     (line 215)
7718 * i:                                     Agenda commands.     (line 196)
7719 * I:                                     Agenda commands.     (line 176)
7720 * l:                                     Agenda commands.     (line  55)
7721 * L:                                     Agenda commands.     (line  30)
7722 * M:                                     Agenda commands.     (line 202)
7723 * m:                                     Agenda commands.     (line  66)
7724 * M-<down> <1>:                          Editing and debugging formulas.
7725                                                               (line  76)
7726 * M-<down>:                              Built-in table editor.
7727                                                               (line  80)
7728 * M-<left> <1>:                          Built-in table editor.
7729                                                               (line  72)
7730 * M-<left>:                              Structure editing.   (line  21)
7731 * M-<RET> <1>:                           Plain lists.         (line  49)
7732 * M-<RET>:                               Structure editing.   (line   6)
7733 * M-<right> <1>:                         Built-in table editor.
7734                                                               (line  72)
7735 * M-<right>:                             Structure editing.   (line  24)
7736 * M-<TAB> <1>:                           Completion.          (line  10)
7737 * M-<TAB> <2>:                           Property syntax.     (line  38)
7738 * M-<TAB> <3>:                           Setting tags.        (line   6)
7739 * M-<TAB> <4>:                           Per file keywords.   (line  23)
7740 * M-<TAB>:                               Editing and debugging formulas.
7741                                                               (line  64)
7742 * M-<up> <1>:                            Editing and debugging formulas.
7743                                                               (line  76)
7744 * M-<up>:                                Built-in table editor.
7745                                                               (line  80)
7746 * M-S-<down> <1>:                        Editing and debugging formulas.
7747                                                               (line  72)
7748 * M-S-<down> <2>:                        Built-in table editor.
7749                                                               (line  87)
7750 * M-S-<down> <3>:                        Plain lists.         (line  66)
7751 * M-S-<down>:                            Structure editing.   (line  36)
7752 * M-S-<left> <1>:                        The date/time prompt.
7753                                                               (line  54)
7754 * M-S-<left> <2>:                        Built-in table editor.
7755                                                               (line  74)
7756 * M-S-<left> <3>:                        Plain lists.         (line  72)
7757 * M-S-<left>:                            Structure editing.   (line  27)
7758 * M-S-<RET> <1>:                         Checkboxes.          (line  54)
7759 * M-S-<RET> <2>:                         Plain lists.         (line  59)
7760 * M-S-<RET>:                             Structure editing.   (line  18)
7761 * M-S-<right> <1>:                       The date/time prompt.
7762                                                               (line  51)
7763 * M-S-<right> <2>:                       Built-in table editor.
7764                                                               (line  77)
7765 * M-S-<right> <3>:                       Plain lists.         (line  72)
7766 * M-S-<right>:                           Structure editing.   (line  30)
7767 * M-S-<up> <1>:                          Editing and debugging formulas.
7768                                                               (line  72)
7769 * M-S-<up> <2>:                          Built-in table editor.
7770                                                               (line  84)
7771 * M-S-<up> <3>:                          Plain lists.         (line  66)
7772 * M-S-<up>:                              Structure editing.   (line  33)
7773 * mouse-1 <1>:                           Agenda commands.     (line  33)
7774 * mouse-1 <2>:                           The date/time prompt.
7775                                                               (line  36)
7776 * mouse-1:                               Handling links.      (line  72)
7777 * mouse-2 <1>:                           Agenda commands.     (line  33)
7778 * mouse-2:                               Handling links.      (line  72)
7779 * mouse-3 <1>:                           Agenda commands.     (line  28)
7780 * mouse-3:                               Handling links.      (line  77)
7781 * n <1>:                                 Agenda commands.     (line  19)
7782 * n:                                     Using column view.   (line  30)
7783 * O:                                     Agenda commands.     (line 180)
7784 * o:                                     Agenda commands.     (line  65)
7785 * P:                                     Agenda commands.     (line 140)
7786 * p <1>:                                 Agenda commands.     (line  20)
7787 * p:                                     Using column view.   (line  30)
7788 * q <1>:                                 Agenda commands.     (line 238)
7789 * q:                                     Using column view.   (line  17)
7790 * r <1>:                                 Agenda commands.     (line  80)
7791 * r:                                     Global TODO list.    (line  22)
7792 * S:                                     Agenda commands.     (line 206)
7793 * s:                                     Agenda commands.     (line  87)
7794 * S-<down> <1>:                          Agenda commands.     (line 149)
7795 * S-<down> <2>:                          The date/time prompt.
7796                                                               (line  45)
7797 * S-<down> <3>:                          Creating timestamps. (line  40)
7798 * S-<down> <4>:                          Priorities.          (line  23)
7799 * S-<down> <5>:                          Editing and debugging formulas.
7800                                                               (line  67)
7801 * S-<down>:                              Plain lists.         (line  62)
7802 * S-<left> <1>:                          Agenda commands.     (line 167)
7803 * S-<left> <2>:                          The date/time prompt.
7804                                                               (line  42)
7805 * S-<left> <3>:                          Creating timestamps. (line  35)
7806 * S-<left> <4>:                          Using column view.   (line  26)
7807 * S-<left> <5>:                          Property syntax.     (line  54)
7808 * S-<left> <6>:                          Multiple sets in one file.
7809                                                               (line  29)
7810 * S-<left> <7>:                          TODO basics.         (line  20)
7811 * S-<left>:                              Editing and debugging formulas.
7812                                                               (line  67)
7813 * S-<RET>:                               Built-in table editor.
7814                                                               (line 144)
7815 * S-<right> <1>:                         Agenda commands.     (line 159)
7816 * S-<right> <2>:                         The date/time prompt.
7817                                                               (line  39)
7818 * S-<right> <3>:                         Creating timestamps. (line  35)
7819 * S-<right> <4>:                         Using column view.   (line  26)
7820 * S-<right> <5>:                         Property syntax.     (line  54)
7821 * S-<right> <6>:                         Multiple sets in one file.
7822                                                               (line  29)
7823 * S-<right> <7>:                         TODO basics.         (line  20)
7824 * S-<right>:                             Editing and debugging formulas.
7825                                                               (line  67)
7826 * S-<TAB> <1>:                           Built-in table editor.
7827                                                               (line  59)
7828 * S-<TAB>:                               Visibility cycling.  (line  22)
7829 * S-<up> <1>:                            Agenda commands.     (line 143)
7830 * S-<up> <2>:                            The date/time prompt.
7831                                                               (line  48)
7832 * S-<up> <3>:                            Creating timestamps. (line  40)
7833 * S-<up> <4>:                            Priorities.          (line  23)
7834 * S-<up> <5>:                            Editing and debugging formulas.
7835                                                               (line  67)
7836 * S-<up>:                                Plain lists.         (line  62)
7837 * S-M-<left>:                            Using column view.   (line  58)
7838 * S-M-<RET>:                             TODO basics.         (line  44)
7839 * S-M-<right>:                           Using column view.   (line  55)
7840 * T:                                     Agenda commands.     (line 124)
7841 * t:                                     Agenda commands.     (line 111)
7842 * v:                                     Using column view.   (line  39)
7843 * w:                                     Agenda commands.     (line  66)
7844 * x:                                     Agenda commands.     (line 239)
7845 * X:                                     Agenda commands.     (line 183)
7846 * y:                                     Agenda commands.     (line  66)
7849 \x1f
7850 Tag Table:
7851 Node: Top\x7f970
7852 Node: Introduction\x7f12513
7853 Node: Summary\x7f12928
7854 Node: Installation\x7f16080
7855 Node: Activation\x7f17458
7856 Node: Feedback\x7f18707
7857 Node: Document structure\x7f20783
7858 Node: Outlines\x7f21675
7859 Node: Headlines\x7f22335
7860 Ref: Headlines-Footnote-1\x7f23343
7861 Node: Visibility cycling\x7f23454
7862 Ref: Visibility cycling-Footnote-1\x7f25664
7863 Ref: Visibility cycling-Footnote-2\x7f25722
7864 Ref: Visibility cycling-Footnote-3\x7f25772
7865 Node: Motion\x7f26042
7866 Node: Structure editing\x7f26996
7867 Node: Archiving\x7f29822
7868 Node: ARCHIVE tag\x7f30380
7869 Node: Moving subtrees\x7f32173
7870 Node: Sparse trees\x7f33484
7871 Ref: Sparse trees-Footnote-1\x7f35616
7872 Ref: Sparse trees-Footnote-2\x7f35798
7873 Node: Plain lists\x7f35913
7874 Ref: Plain lists-Footnote-1\x7f40110
7875 Ref: Plain lists-Footnote-2\x7f40468
7876 Node: Drawers\x7f40649
7877 Node: orgstruct-mode\x7f41487
7878 Node: Tables\x7f42387
7879 Node: Built-in table editor\x7f42968
7880 Node: Narrow columns\x7f50207
7881 Ref: Narrow columns-Footnote-1\x7f52142
7882 Node: Column groups\x7f52188
7883 Node: orgtbl-mode\x7f53721
7884 Node: The spreadsheet\x7f54524
7885 Node: References\x7f55611
7886 Ref: References-Footnote-1\x7f60075
7887 Node: Formula syntax for Calc\x7f60364
7888 Node: Formula syntax for Lisp\x7f62821
7889 Node: Field formulas\x7f64539
7890 Node: Column formulas\x7f65847
7891 Node: Editing and debugging formulas\x7f67446
7892 Node: Updating the table\x7f71599
7893 Node: Advanced features\x7f72634
7894 Node: Hyperlinks\x7f77159
7895 Node: Link format\x7f77932
7896 Node: Internal links\x7f79225
7897 Ref: Internal links-Footnote-1\x7f81150
7898 Node: Radio targets\x7f81285
7899 Node: External links\x7f81976
7900 Node: Handling links\x7f84380
7901 Ref: Handling links-Footnote-1\x7f89667
7902 Ref: Handling links-Footnote-2\x7f89904
7903 Node: Link abbreviations\x7f89978
7904 Node: Search options\x7f91657
7905 Ref: Search options-Footnote-1\x7f93437
7906 Node: Custom searches\x7f93518
7907 Node: Remember\x7f94566
7908 Node: Setting up remember\x7f95553
7909 Node: Remember templates\x7f96135
7910 Ref: Remember templates-Footnote-1\x7f99581
7911 Node: Storing notes\x7f99679
7912 Node: TODO items\x7f101566
7913 Node: TODO basics\x7f102543
7914 Node: TODO extensions\x7f104307
7915 Node: Workflow states\x7f105126
7916 Ref: Workflow states-Footnote-1\x7f106301
7917 Node: TODO types\x7f106394
7918 Ref: TODO types-Footnote-1\x7f107977
7919 Node: Multiple sets in one file\x7f108059
7920 Node: Per file keywords\x7f109670
7921 Ref: Per file keywords-Footnote-1\x7f110959
7922 Node: Priorities\x7f111160
7923 Node: Breaking down tasks\x7f112770
7924 Ref: Breaking down tasks-Footnote-1\x7f113290
7925 Node: Checkboxes\x7f113386
7926 Node: Tags\x7f116235
7927 Node: Tag inheritance\x7f117007
7928 Node: Setting tags\x7f117944
7929 Ref: Setting tags-Footnote-1\x7f122467
7930 Ref: Setting tags-Footnote-2\x7f122579
7931 Node: Tag searches\x7f122662
7932 Node: Properties and columns\x7f125379
7933 Node: Property syntax\x7f126484
7934 Node: Special properties\x7f128644
7935 Node: Property searches\x7f129560
7936 Node: Column view\x7f130215
7937 Node: Defining columns\x7f131382
7938 Node: Scope of column definitions\x7f131780
7939 Node: Column attributes\x7f132702
7940 Node: Using column view\x7f134950
7941 Node: Property API\x7f136937
7942 Node: Timestamps\x7f137291
7943 Node: Time stamps\x7f137752
7944 Ref: Time stamps-Footnote-1\x7f140180
7945 Node: Creating timestamps\x7f140296
7946 Node: The date/time prompt\x7f142370
7947 Ref: The date/time prompt-Footnote-1\x7f144358
7948 Node: Custom time format\x7f144464
7949 Node: Deadlines and scheduling\x7f146156
7950 Ref: Deadlines and scheduling-Footnote-1\x7f147506
7951 Node: Inserting deadline/schedule\x7f147661
7952 Node: Repeated tasks\x7f148599
7953 Node: Progress logging\x7f150238
7954 Node: Closing items\x7f150893
7955 Ref: Closing items-Footnote-1\x7f151827
7956 Ref: Closing items-Footnote-2\x7f151896
7957 Node: Tracking TODO state changes\x7f151969
7958 Node: Clocking work time\x7f152825
7959 Ref: Clocking work time-Footnote-1\x7f156471
7960 Ref: Clocking work time-Footnote-2\x7f156549
7961 Node: Agenda views\x7f156675
7962 Node: Agenda files\x7f158626
7963 Ref: Agenda files-Footnote-1\x7f159592
7964 Ref: Agenda files-Footnote-2\x7f159741
7965 Node: Agenda dispatcher\x7f159934
7966 Node: Built-in agenda views\x7f161631
7967 Node: Weekly/Daily agenda\x7f162211
7968 Node: Global TODO list\x7f165153
7969 Node: Matching tags and properties\x7f167431
7970 Node: Timeline\x7f168520
7971 Node: Stuck projects\x7f169192
7972 Node: Presentation and sorting\x7f171043
7973 Node: Categories\x7f171834
7974 Node: Time-of-day specifications\x7f172498
7975 Node: Sorting of agenda items\x7f174469
7976 Node: Agenda commands\x7f175751
7977 Node: Custom agenda views\x7f183032
7978 Node: Storing searches\x7f183751
7979 Node: Block agenda\x7f185663
7980 Node: Setting Options\x7f186893
7981 Node: Exporting Agenda Views\x7f189632
7982 Ref: Exporting Agenda Views-Footnote-1\x7f193916
7983 Ref: Exporting Agenda Views-Footnote-2\x7f193973
7984 Node: Extracting Agenda Information for other programs\x7f194159
7985 Node: Embedded LaTeX\x7f198285
7986 Ref: Embedded LaTeX-Footnote-1\x7f199379
7987 Node: Math symbols\x7f199569
7988 Node: Subscripts and Superscripts\x7f200336
7989 Node: LaTeX fragments\x7f201182
7990 Ref: LaTeX fragments-Footnote-1\x7f203418
7991 Node: Processing LaTeX fragments\x7f203680
7992 Node: CDLaTeX mode\x7f204628
7993 Ref: CDLaTeX mode-Footnote-1\x7f207114
7994 Node: Exporting\x7f207262
7995 Node: ASCII export\x7f208576
7996 Node: HTML export\x7f209866
7997 Node: Export commands\x7f210485
7998 Node: Quoting HTML tags\x7f211729
7999 Node: Links\x7f212359
8000 Node: Images\x7f213056
8001 Ref: Images-Footnote-1\x7f213927
8002 Node: CSS support\x7f213988
8003 Ref: CSS support-Footnote-1\x7f215307
8004 Node: XOXO export\x7f215420
8005 Node: iCalendar export\x7f215859
8006 Node: Text interpretation\x7f217078
8007 Node: Comment lines\x7f217669
8008 Node: Initial text\x7f218064
8009 Node: Footnotes\x7f219733
8010 Node: Enhancing text\x7f220548
8011 Ref: Enhancing text-Footnote-1\x7f222407
8012 Node: Export options\x7f222497
8013 Node: Publishing\x7f224442
8014 Ref: Publishing-Footnote-1\x7f225238
8015 Node: Configuration\x7f225382
8016 Node: Project alist\x7f226100
8017 Node: Sources and destinations\x7f227166
8018 Node: Selecting files\x7f227896
8019 Node: Publishing action\x7f228644
8020 Node: Publishing options\x7f229877
8021 Node: Publishing links\x7f232029
8022 Node: Project page index\x7f233542
8023 Node: Sample configuration\x7f234320
8024 Node: Simple example\x7f234812
8025 Node: Complex example\x7f235485
8026 Node: Triggering publication\x7f237561
8027 Node: Miscellaneous\x7f238246
8028 Node: Completion\x7f238880
8029 Node: Customization\x7f240550
8030 Node: In-buffer settings\x7f241133
8031 Node: The very busy C-c C-c key\x7f246472
8032 Node: Clean view\x7f248233
8033 Node: TTY keys\x7f250810
8034 Node: Interaction\x7f252420
8035 Node: Cooperation\x7f252817
8036 Node: Conflicts\x7f255693
8037 Node: Bugs\x7f257696
8038 Node: Extensions and Hacking\x7f259192
8039 Node: Extensions\x7f259863
8040 Node: Tables in arbitrary syntax\x7f261810
8041 Node: Radio tables\x7f262887
8042 Node: A LaTeX example\x7f265390
8043 Ref: A LaTeX example-Footnote-1\x7f269036
8044 Ref: A LaTeX example-Footnote-2\x7f269184
8045 Node: Translator functions\x7f269619
8046 Ref: Translator functions-Footnote-1\x7f272728
8047 Node: Dynamic blocks\x7f272816
8048 Node: Special agenda views\x7f274788
8049 Ref: Special agenda views-Footnote-1\x7f277098
8050 Node: Using the property API\x7f277358
8051 Node: History and Acknowledgments\x7f278839
8052 Node: Index\x7f285223
8053 Node: Key Index\x7f318969
8054 \x1f
8055 End Tag Table