annotate man/org.texi @ 70141:21438c8b3a3f

(gdb-data-list-register-values-handler): Use font-lock-warning-face for any errors e.g. no stack. (gdb-stack-list-locals-handler): Display any errors e.g. no stack.
author Nick Roberts <nickrob@snap.net.nz>
date Thu, 20 Apr 2006 22:57:03 +0000
parents 36d1ec75581c
children 7ce8d4154af5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 \input texinfo
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 @c %**start of header
65245
8a283bd1b6c0 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 65244
diff changeset
3 @c @setfilename org
8a283bd1b6c0 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 65244
diff changeset
4 @setfilename ../info/org
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 @settitle Org Mode Manual
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
7 @set VERSION 4.25
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
8 @set DATE April 2006
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 @dircategory Emacs
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 @direntry
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
12 * Org Mode: (org). outline-based notes management and organizer
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 @end direntry
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 @c Version and Contact Info
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 @set MAINTAINERSITE @uref{http://www.astro.uva.nl/~dominik/Tools/org/,maintainers webpage}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 @set MAINTAINER Carsten Dominik
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 @set MAINTAINEREMAIL @email{dominik@@science.uva.nl}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 @set MAINTAINERCONTACT @uref{mailto:dominik@@science.uva.nl,contact the maintainer}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 @c %**end of header
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 @finalout
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 @c Macro definitions
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24
69999
bd591cbbcdec (Updating settings): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 69929
diff changeset
25 @c Subheadings inside a table.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 @macro tsubheading{text}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 @ifinfo
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 @subsubheading \text\
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 @end ifinfo
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 @ifnotinfo
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 @item @b{\text\}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 @end ifnotinfo
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 @end macro
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 @copying
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 This manual is for Org-mode (version @value{VERSION}).
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
38 Copyright @copyright{} 2004, 2005, 2006 Free Software Foundation
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 @quotation
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 Permission is granted to copy, distribute and/or modify this document
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
42 under the terms of the GNU Free Documentation License, Version 1.1 or
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 any later version published by the Free Software Foundation; with no
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 Invariant Sections, with the Front-Cover texts being ``A GNU Manual,''
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 and with the Back-Cover Texts as in (a) below. A copy of the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 license is included in the section entitled ``GNU Free Documentation
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 License.''
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 this GNU Manual, like GNU software. Copies published by the Free
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 Software Foundation raise funds for GNU development.''
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 @end quotation
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 @end copying
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 @titlepage
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 @title Org Mode Manual
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 @subtitle Release @value{VERSION}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 @author by Carsten Dominik
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 @c The following two commands start the copyright page.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 @page
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 @vskip 0pt plus 1filll
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 @insertcopying
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 @end titlepage
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 @c Output the table of contents at the beginning.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 @contents
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 @ifnottex
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 @node Top, Introduction, (dir), (dir)
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 @top Org Mode Manual
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 @insertcopying
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 @end ifnottex
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 @menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 * Introduction:: Getting started
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
79 * Document structure:: A tree works like your brain
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 * Tables:: Pure magic for quick formatting
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 * Hyperlinks:: Notes in context
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
82 * TODO items:: Every tree branch can be a TODO item
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 * Timestamps:: Assign date and time to items
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
84 * Tags:: Tagging headlines and matching sets of tags
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
85 * Agenda views:: Collecting information into views
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 * Exporting:: Sharing and publishing of notes
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 * Miscellaneous:: All the rest which did not fit elsewhere
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 * Index:: The fast road to specific information
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 * Key Index:: Key bindings and where they are described
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 @detailmenu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 --- The Detailed Node Listing ---
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 Introduction
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 * Summary:: Brief summary of what Org-mode does
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
97 * Installation and activation:: How to install Org-mode
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
98 * Feedback:: Bug reports, ideas, patches etc.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
100 Document structure
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 * Outlines:: Org-mode is based on outline-mode
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 * Headlines:: How to typeset org-tree headlines
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
104 * Visibility cycling:: Show and hide, much simplified
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 * Motion:: Jumping to other headlines
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 * Structure editing:: Changing sequence and level of headlines
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
107 * Archiving:: Move done task trees to a different place
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 * Sparse trees:: Matches embedded in context
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
109 * Plain lists:: Editing hand-formatted lists
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
111 Tables
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
112
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
113 * Built-in table editor:: Simple tables
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
114 * Narrow columns:: Stop wasting space in tables
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
115 * Table calculations:: Compute a field from other fields
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
116 * orgtbl-mode:: The table editor as minor mode
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
117 * table.el:: Complex tables
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
118
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
119 Calculations in tables
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
120
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
121 * Formula syntax:: How to write a formula
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
122 * Column formulas:: Formulas valid for all fields in a column
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
123 * Advanced features:: Field names, parameters and automatic recalc
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
124 * Named-field formulas:: Formulas valid in single fields
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
125 * Editing/debugging formulas:: Changing a stored formula
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
126 * Appetizer:: Taste the power of calc
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
127
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
128 Hyperlinks
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
129
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
130 * Link format:: How links in Org-mode are formatted
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
131 * Internal links:: Links to other places in the current file
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
132 * External links:: URL-like links to the world
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
133 * Managing links:: Creating, inserting and following
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
134 * Search Options:: Linking to a specific location
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
135 * Remember:: Org-trees store quick notes
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
136
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
137 Internal links
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
138
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
139 * Radio targets:: Make targets trigger links in plain text.
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
140 * CamelCase links:: Activating CamelCase words as links
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
141
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142 TODO items
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 * TODO basics:: Marking and displaying TODO entries
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
145 * Progress logging:: Document your productivity
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
146 * TODO extensions:: Workflow and assignments
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 * Priorities:: Some things are more important than others
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149 Extended use of TODO keywords
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 * Workflow states:: From TODO to DONE in steps
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152 * TODO types:: I do this, Fred the rest
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 * Per file keywords:: Different files, different requirements
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 Timestamps
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157 * Time stamps:: Assigning a time to a tree entry
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 * Creating timestamps:: Commands which insert timestamps
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
160 Tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
161
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
162 * Tag inheritance:: Tags use the tree structure of the outline
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
163 * Setting tags:: How to assign tags to a headline
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
164 * Tag searches:: Searching for combinations of tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
165
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
166 Agenda views
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
167
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
168 * Agenda files:: Files being searched for agenda information
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
169 * Agenda dispatcher:: Keyboard access to agenda views
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
170 * Weekly/Daily agenda:: The calendar page with current tasks
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
171 * Global TODO list:: All unfinished action items
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
172 * Matching headline tags:: Structured information with fine-tuned search
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
173 * Timeline:: Time-sorted view for single file
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
174 * Agenda commands:: Remote editing of org trees
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
175
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
176 The weekly/daily agenda
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
177
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
178 * Categories:: Not all tasks are equal
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
179 * Time-of-day specifications:: How the agenda knows the time
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
180 * Calendar/Diary integration:: Integrating Anniversaries and more
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
181 * Sorting of agenda items:: The order of things
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
182
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
183 Exporting
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
184
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
185 * ASCII export:: Exporting to plain ASCII
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
186 * HTML export:: Exporting to HTML
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
187 * XML export:: Exporting to XML
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
188 * iCalendar export:: Exporting in iCalendar format
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
189 * Text interpretation:: How the exporter looks at the file
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
190
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
191 Text interpretation by the exporter
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
192
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
193 * Comment lines:: Some lines will not be exported
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
194 * Enhancing text:: Subscripts, symbols and more
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
195 * Export options:: How to influence the export settings
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
196
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
197 Miscellaneous
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
198
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
199 * Completion:: M-TAB knows what you need
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
200 * Customization:: Adapting Org-mode to your taste
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
201 * Summary of in-buffer settings:: Using special lines to set options
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
202 * The very busy C-c C-c key:: When in doubt, press C-c C-c
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
203 * Clean view:: Getting rid of leading stars in the outline
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
204 * TTY keys:: Using Org-mode on a tty
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
205 * FAQ:: Frequently asked questions
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
206 * Interaction:: Other Emacs packages
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
207 * Bugs:: Things which do not work perfectly
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
208 * Acknowledgments:: These people provided feedback and more
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
209
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
210 @end detailmenu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
211 @end menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
212
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
213 @node Introduction, Document structure, Top, Top
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
214 @chapter Introduction
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
215 @cindex introduction
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
216
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
217 @menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
218 * Summary:: Brief summary of what Org-mode does
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
219 * Installation and activation:: How to install Org-mode
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
220 * Feedback:: Bug reports, ideas, patches etc.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
221 @end menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
222
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
223 @node Summary, Installation and activation, Introduction, Introduction
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
224 @section Summary
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
225 @cindex summary
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
226
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
227 Org-mode is a mode for keeping notes, maintaining ToDo lists, and doing
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
228 project planning with a fast and effective plain-text system.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
229
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230 Org-mode develops organizational tasks around NOTES files that contain
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
231 information about projects as plain text. Org-mode is implemented on
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
232 top of outline-mode, which makes it possible to keep the content of
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
233 large files well structured. Visibility cycling and structure editing
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
234 help to work with the tree. Tables are easily created with a built-in
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
235 table editor. Org-mode supports ToDo items, deadlines, time stamps,
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
236 and scheduling. It dynamically compiles entries into an agenda that
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
237 utilizes and smoothly integrates much of the Emacs calendar and diary.
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
238 Plain text URL-like links connect to websites, emails, Usenet
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
239 messages, BBDB entries, and any files related to the projects. For
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
240 printing and sharing of notes, an Org-mode file can be exported as a
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
241 structured ASCII file, as HTML, or (todo and agenda items only) as an
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
242 iCalendar file.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
243
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
244 Org-mode keeps simple things simple. When first fired up, it should
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
245 feel like a simple but easy to use outliner. Complexity is not
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
246 imposed, but a large amount of functionality is available when you
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
247 need it. Org-mode can be used on different levels and in different
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
248 ways, for example:
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
249
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
250 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
251 @r{@bullet{} as an outline extension with visibility cycling and structure editing}
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
252 @r{@bullet{} as an ASCII system and table editor for taking structured notes}
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
253 @r{@bullet{} as an ASCII table editor with spreadsheet-like capabilities}
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
254 @r{@bullet{} as a simple hypertext system, with HTML export}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
255 @r{@bullet{} as a TODO list editor}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
256 @r{@bullet{} as a full agenda and planner with deadlines and work scheduling}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
257 @end example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
258
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
259 The Org-mode table editor can be integrated into any major mode by
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
260 activating the minor Orgtbl-mode.
59541
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
261
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
262 There is a website for Org-mode which provides links to the newest
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
263 version of Org-mode, as well as additional information, screen shots
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
264 and example files. This page is located at
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
265 @uref{http://www.astro.uva.nl/~dominik/Tools/org/}.
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
266
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
267 @page
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
268
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
269 @node Installation and activation, Feedback, Summary, Introduction
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
270 @section Installation and Activation
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
271 @cindex installation
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
272 @cindex autoload
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
273 @cindex global keybindings
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
274 @cindex keybindings, global
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
275
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
276 If Org-mode is part of the Emacs distribution or an XEmacs package,
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
277 you only need to copy the following lines to your @file{.emacs} file.
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
278 The last two lines define @emph{global} keys for the commands
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
279 @command{org-store-link} and @command{org-agenda} - please
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
280 choose suitable keys yourself.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
281
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
282 @lisp
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
283 ;; The following lines are always needed. Choose your own keys.
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
284 (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
285 (define-key global-map "\C-cl" 'org-store-link)
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
286 (define-key global-map "\C-ca" 'org-agenda)
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
287 @end lisp
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
288
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
289 If you have downloaded Org-mode from the Web, you must byte-compile
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
290 @file{org.el} and put it on your load path. In addition to the Emacs
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
291 Lisp lines above, you also need to add the following lines to
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
292 @file{.emacs}:
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
293
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
294 @lisp
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
295 ;; These lines only if org-mode is not part of the X/Emacs distribution.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
296 (autoload 'org-mode "org" "Org mode" t)
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
297 (autoload 'org-diary "org" "Diary entries from Org mode")
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
298 (autoload 'org-agenda "org" "Multi-file agenda from Org mode" t)
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
299 (autoload 'org-store-link "org" "Store a link to the current location" t)
59541
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
300 (autoload 'orgtbl-mode "org" "Org tables as a minor mode" t)
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
301 (autoload 'turn-on-orgtbl "org" "Org tables as a minor mode")
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
302 @end lisp
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
303
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
304 @cindex org-mode, turning on
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
305 With this setup, all files with extension @samp{.org} will be put into
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
306 Org-mode. As an alternative, make the first line of a file look like
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
307 this:
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
308
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
309 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
310 MY PROJECTS -*- mode: org; -*-
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
311 @end example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
312
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
313 @noindent which will select Org-mode for this buffer no matter what
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
314 the file's name is. See also the variable
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
315 @code{org-insert-mode-line-in-empty-file}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
316
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
317 @node Feedback, , Installation and activation, Introduction
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
318 @section Feedback
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
319 @cindex feedback
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
320 @cindex bug reports
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
321 @cindex maintainer
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
322 @cindex author
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
323
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
324 If you find problems with Org-mode, or if you have questions, remarks,
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
325 or ideas about it, please contact the maintainer Carsten Dominik at
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
326 @value{MAINTAINEREMAIL}.
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
327
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
328 For bug reports, please provide as much information as possible,
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
329 including the version information of Emacs (@kbd{C-h v emacs-version
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
330 @key{RET}}) and Org-mode (@kbd{C-h v org-version @key{RET}}), as well as
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
331 the Org-mode related setup in @file{.emacs}. If an error occurs, a
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
332 traceback can be very useful. Often a small example file helps, along
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
333 with clear information about:
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
334
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
335 @enumerate
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
336 @item What exactly did you do?
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
337 @item What did you expect to happen?
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
338 @item What happened instead?
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
339 @end enumerate
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
340 @noindent Thank you for helping to improve this mode.
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
341
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
342 @node Document structure, Tables, Introduction, Top
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
343 @chapter Document Structure
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
344 @cindex document structure
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
345 @cindex structure of document
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
346
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
347 Org-mode is based on outline mode and provides flexible commands to
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
348 edit the structure of the document.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
349
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
350 @menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
351 * Outlines:: Org-mode is based on outline-mode
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
352 * Headlines:: How to typeset org-tree headlines
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
353 * Visibility cycling:: Show and hide, much simplified
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
354 * Motion:: Jumping to other headlines
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
355 * Structure editing:: Changing sequence and level of headlines
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
356 * Archiving:: Move done task trees to a different place
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
357 * Sparse trees:: Matches embedded in context
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
358 * Plain lists:: Editing hand-formatted lists
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
359 @end menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
360
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
361 @node Outlines, Headlines, Document structure, Document structure
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
362 @section Outlines
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
363 @cindex outlines
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
364 @cindex outline-mode
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
365
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
366 Org-mode is implemented on top of outline-mode. Outlines allow to
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
367 organize a document in a hierarchical structure, which (at least for
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
368 me) is the best representation of notes and thoughts. Overview over
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
369 this structure is achieved by folding (hiding) large parts of the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
370 document to show only the general document structure and the parts
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
371 currently being worked on. Org-mode greatly simplifies the use of
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
372 outlines by compressing the entire show/hide functionality into a
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
373 single command @command{org-cycle}, which is bound to the @key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
374 key.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
375
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
376 @node Headlines, Visibility cycling, Outlines, Document structure
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
377 @section Headlines
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
378 @cindex headlines
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
379 @cindex outline tree
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
380
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
381 Headlines define the structure of an outline tree. The headlines in
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
382 Org-mode start with one or more stars, on the left margin. For
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
383 example:
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
384
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
385 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
386 * Top level headline
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
387 ** Second level
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
388 *** 3rd level
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
389 some text
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
390 *** 3rd level
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
391 more text
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
392 * Another top level headline
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
393 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
394
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
395 @noindent Some people find the many stars too noisy and would prefer an
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
396 outline that has whitespace followed by a single star as headline
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
397 starters. @ref{Clean view} describes a setup to realize this.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
398
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
399 @node Visibility cycling, Motion, Headlines, Document structure
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
400 @section Visibility cycling
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
401 @cindex cycling, visibility
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
402 @cindex visibility cycling
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
403 @cindex trees, visibility
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
404 @cindex show hidden text
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
405 @cindex hide text
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
406
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
407 Outlines make it possible to hide parts of the text in the buffer.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
408 Org-mode uses a single command bound to the @key{TAB} key to change
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
409 the visibility in the buffer.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
410
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
411 @cindex subtree visibility states
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
412 @cindex folded, subtree visibility state
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
413 @cindex children, subtree visibility state
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
414 @cindex subtree, subtree visibility state
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
415 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
416 @kindex @key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
417 @item @key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
418 Rotate current subtree between the states
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
419
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
420 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
421 ,-> FOLDED -> CHILDREN -> SUBTREE --.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
422 '-----------------------------------'
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
423 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
424
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
425 At the beginning of the buffer (or when called with @kbd{C-u}), this does
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
426 the same as the command @kbd{S-@key{TAB}} below.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
427
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
428 @cindex global visibility states
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
429 @cindex overview, global visibility state
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
430 @cindex contents, global visibility state
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
431 @cindex show all, global visibility state
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
432 @kindex S-@key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
433 @item S-@key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
434 Rotate the entire buffer between the states
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
435
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
436 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
437 ,-> OVERVIEW -> CONTENTS -> SHOW ALL --.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
438 '--------------------------------------'
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
439 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
440
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
441 Note that inside tables, @kbd{S-@key{TAB}} jumps to the previous field.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
442
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
443 @cindex show all, command
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
444 @kindex C-c C-a
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
445 @item C-c C-a
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
446 Show all.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
447 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
448
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
449 When Emacs first visits an Org-mode file, the global state is set to
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
450 OVERVIEW, i.e. only the top level headlines are visible. This can be
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
451 configured through the variable @code{org-startup-folded}, or on a
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
452 per-file basis by adding one of the following lines anywhere in the
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
453 buffer:
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
454
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
455 @example
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
456 #+STARTUP: overview
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
457 #+STARTUP: content
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
458 #+STARTUP: showall
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
459 @end example
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
460
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
461 @node Motion, Structure editing, Visibility cycling, Document structure
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
462 @section Motion
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
463 @cindex motion, between headlines
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
464 @cindex jumping, to headlines
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
465 @cindex headline navigation
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
466 The following commands jump to other headlines in the buffer.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
467
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
468 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
469 @kindex C-c C-n
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
470 @item C-c C-n
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
471 Next heading.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
472 @kindex C-c C-p
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
473 @item C-c C-p
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
474 Previous heading.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
475 @kindex C-c C-f
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
476 @item C-c C-f
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
477 Next heading same level.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
478 @kindex C-c C-b
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
479 @item C-c C-b
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
480 Previous heading same level.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
481 @kindex C-c C-u
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
482 @item C-c C-u
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
483 Backward to higher level heading.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
484 @kindex C-c C-j
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
485 @item C-c C-j
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
486 Jump to a different place without changing the current outline
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
487 visibility. Shows the document structure in a temporary buffer, where
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
488 you can use visibility cycling (@key{TAB}) to find your destination.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
489 After pressing @key{RET}, the cursor moves to the selected location in
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
490 the original buffer, and the headings hierarchy above it is made
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
491 visible.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
492 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
493
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
494 @node Structure editing, Archiving, Motion, Document structure
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
495 @section Structure editing
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
496 @cindex structure editing
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
497 @cindex headline, promotion and demotion
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
498 @cindex promotion, of subtrees
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
499 @cindex demotion, of subtrees
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
500 @cindex subtree, cut and paste
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
501 @cindex pasting, of subtrees
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
502 @cindex cutting, of subtrees
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
503 @cindex copying, of subtrees
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
504 @cindex subtrees, cut and paste
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
505
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
506 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
507 @kindex M-@key{RET}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
508 @item M-@key{RET}
67382
62adeda8b0dd Structure editing): DOcument new fucntionality of
Carsten Dominik <dominik@science.uva.nl>
parents: 67353
diff changeset
509 Insert new heading with same level as current. If the cursor is in a
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
510 plain list item, a new item is created (@pxref{Plain lists}). To force
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
511 creation of a new headline, use a prefix arg, or first press @key{RET}
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
512 to get to the beginning of the next line. When this command is used in
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
513 the middle of a line, the line is split and the rest of the line becomes
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
514 the new headline. If the command is used at the beginning of a
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
515 headline, the new headline is created before the current line. It at
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
516 the beginning of any other line, the content of that line is made the
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
517 new heading.
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
518 @kindex M-S-@key{RET}
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
519 @item M-S-@key{RET}
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
520 Insert new TODO entry with same level as current heading.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
521 @kindex M-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
522 @item M-@key{left}
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
523 Promote current heading by one level.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
524 @kindex M-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
525 @item M-@key{right}
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
526 Demote current heading by one level.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
527 @kindex M-S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
528 @item M-S-@key{left}
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
529 Promote the current subtree by one level.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
530 @kindex M-S-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
531 @item M-S-@key{right}
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
532 Demote the current subtree by one level.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
533 @kindex M-S-@key{up}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
534 @item M-S-@key{up}
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
535 Move subtree up (swap with previous subtree of same
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
536 level).
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
537 @kindex M-S-@key{down}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
538 @item M-S-@key{down}
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
539 Move subtree down (swap with next subtree of same level).
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
540 @kindex C-c C-x C-w
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
541 @kindex C-c C-x C-k
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
542 @item C-c C-x C-w
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
543 @itemx C-c C-x C-k
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
544 Kill subtree, i.e. remove it from buffer but save in kill ring.
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
545 @kindex C-c C-x M-w
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
546 @item C-c C-x M-w
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
547 Copy subtree to kill ring.
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
548 @kindex C-c C-x C-y
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
549 @item C-c C-x C-y
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
550 Yank subtree from kill ring. This does modify the level of the subtree to
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
551 make sure the tree fits in nicely at the yank position. The yank
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
552 level can also be specified with a prefix arg, or by yanking after a
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
553 headline marker like @samp{****}.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
554 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
555
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
556 @cindex region, active
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
557 @cindex active region
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
558 @cindex transient-mark-mode
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
559 When there is an active region (transient-mark-mode), promotion and
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
560 demotion work on all headlines in the region. To select a region of
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
561 headlines, it is best to place both point and mark at the beginning of a
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
562 line, mark at the beginning of the first headline, and point at the line
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
563 just after the last headline to change. Note that when the cursor is
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
564 inside a table (@pxref{Tables}), the Meta-Cursor keys have different
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
565 functionality.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
566
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
567 @node Archiving, Sparse trees, Structure editing, Document structure
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
568 @section Archiving
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
569 @cindex archiving
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
570 @cindex filing subtrees
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
571
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
572 When a project represented by a (sub)tree is finished, you may want
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
573 to move the tree to an archive place, either in the same file under a
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
574 special top-level heading, or even to a different file.
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
575 @table @kbd
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
576 @kindex C-c $
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
577 @item @kbd{C-c $}
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
578 Archive the subtree starting at the cursor position to the location
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
579 given by @code{org-archive-location}.
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
580 @end table
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
581
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
582 @cindex archive locations
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
583 The default archive is a file in the same directory as the current
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
584 file, with the name derived by appending @file{_archive} to the
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
585 current file name. For information and examples on how to change
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
586 this, see the documentation string of the variable
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
587 @code{org-archive-location}. If you are also using the Org-mode
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
588 agenda, archiving to a different file is a good way to keep archived
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
589 trees from contributing agenda items.
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
590
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
591 @node Sparse trees, Plain lists, Archiving, Document structure
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
592 @section Sparse trees
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
593 @cindex sparse trees
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
594 @cindex trees, sparse
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
595 @cindex folding, sparse trees
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
596 @cindex occur, command
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
597
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
598 An important feature of Org-mode is the ability to construct
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
599 @emph{sparse trees} for selected information in an outline tree. A
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
600 sparse tree means that the entire document is folded as much as
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
601 possible, but the selected information is made visible along with the
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
602 headline structure above it@footnote{See also the variables
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
603 @code{org-show-hierarchy-above} and
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
604 @code{org-show-following-heading}.}. Just try it out and you will see
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
605 immediately how it works.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
606
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
607 Org-mode contains several commands creating such trees. The most
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
608 basic one is @command{org-occur}:
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
609
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
610 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
611 @kindex C-c /
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
612 @item C-c /
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
613 Occur. Prompts for a regexp and shows a sparse tree with all matches.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
614 If the match is in a headline, the headline is made visible. If the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
615 match is in the body of an entry, headline and body are made visible.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
616 In order to provide minimal context, also the full hierarchy of
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
617 headlines above the match is shown, as well as the headline following
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
618 the match. Each match is also highlighted, the highlights disappear
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
619 when the buffer is changed with an editing command.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
620 @end table
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
621 @noindent
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
622 For frequently used sparse trees of specific search strings, you can
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
623 use the variable @code{org-agenda-custom-commands} to define fast
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
624 keyboard access to specific sparse trees. These commands will then be
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
625 accessible through the agenda dispatcher (@pxref{Agenda dispatcher}).
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
626 For example:
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
627
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
628 @lisp
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
629 (setq org-agenda-custom-commands
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
630 '(("f" occur-tree "FIXME")))
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
631 @end lisp
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
632
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
633 @noindent will define the key @kbd{C-c a f} as a shortcut for creating
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
634 a sparse tree matching the string @samp{FIXME}.
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
635
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
636 Other commands are using sparse trees as well. For example @kbd{C-c
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
637 C-v} creates a sparse TODO tree (@pxref{TODO basics}).
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
638
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
639 @kindex C-c C-x v
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
640 @cindex printing sparse trees
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
641 @cindex visible text, printing
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
642 To print a sparse tree, you can use the Emacs command
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
643 @code{ps-print-buffer-with-faces} which does not print invisible parts
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
644 of the document @footnote{This does not work under XEmacs, because
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
645 XEmacs uses selective display for outlining, not text properties}.
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
646 Or you can use the command @kbd{C-c C-x v} to copy the visible part of
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
647 the document to another file (extension @file{.txt}) which can then be
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
648 printed in any desired way.
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
649
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
650
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
651 @node Plain lists, , Sparse trees, Document structure
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
652 @section Plain lists
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
653 @cindex plain lists
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
654 @cindex lists, plain
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
655 @cindex lists, ordered
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
656 @cindex ordered lists
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
657
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
658 Headlines define both the structure of the Org-mode file, and also lists
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
659 (for example, TODO items (@pxref{TODO items}) should be created using
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
660 headline levels). However, when taking notes, the plain text is
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
661 sometimes easier to read with hand-formatted lists. Org-mode supports
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
662 editing such lists, and the HTML exporter (@pxref{Exporting}) does
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
663 parse and format them.
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
664
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
665 Org-mode knows ordered and unordered lists. Unordered list items start
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
666 with @samp{-}, @samp{+}, or @samp{*}@footnote{When using @samp{*} as a
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
667 bullet, lines must be indented or they will be seen as top-level
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
668 headlines. Also, when you are hiding leading stars to get a clean
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
669 outline view, plain list items starting with a star are visually
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
670 indistinguishable from true headlines. In short: even though @samp{*}
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
671 is supported, it may be better to not use it for plain list items} as
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
672 bullets. Ordered list items start with @samp{1.} or @samp{1)}. Items
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
673 belonging to the same list must have the same indentation on the first
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
674 line. In particular, if an ordered list reaches number @samp{10.}, then
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
675 the 2--digit numbers must be written left-aligned with the other numbers
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
676 in the list. Indentation also determines the end of a list item. It
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
677 ends before the next line that is indented like the bullet/number, or
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
678 less. For example:
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
679
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
680 @example
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
681 ** Lord of the Rings
67219
7dc296b93149 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67107
diff changeset
682 My favorite scenes are (in this order)
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
683 1. Eowyns fight with the witch king
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
684 + this was already my favorite scene in the book
67219
7dc296b93149 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67107
diff changeset
685 + I really like Miranda Otto.
7dc296b93149 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67107
diff changeset
686 2. The attack of the Rohirrim
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
687 3. Peter Jackson being shot by Legolas
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
688 - on DVD only
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
689 He makes a really funny face when it happens.
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
690 @end example
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
691
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
692 Org-mode supports these lists by tuning filling and wrapping commands
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
693 to correctly deal with them. Furthermore, the following commands act
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
694 on items when the cursor is in the first line of an item (the line
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
695 with the bullet or number).
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
696
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
697 @table @kbd
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
698 @kindex @key{TAB}
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
699 @item @key{TAB}
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
700 Items can be folded just like headline levels if you set the variable
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
701 @code{org-cycle-include-plain-lists}. The level of an item is then
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
702 given by the indentation of the bullet/number. However, items are
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
703 always subordinate to real headlines, the hierarchies remain
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
704 completely separated.
67382
62adeda8b0dd Structure editing): DOcument new fucntionality of
Carsten Dominik <dominik@science.uva.nl>
parents: 67353
diff changeset
705 @kindex M-@key{RET}
62adeda8b0dd Structure editing): DOcument new fucntionality of
Carsten Dominik <dominik@science.uva.nl>
parents: 67353
diff changeset
706 @item M-@key{RET}
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
707 Insert new item at current level. With prefix arg, force a new heading
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
708 (@pxref{Structure editing}). If this command is used in the middle of a
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
709 line, the line is @emph{split} and the rest of the line becomes the new
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
710 item. If this command is executed in the @emph{whitespace before a bullet or
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
711 number}, the new item is created @emph{before} the current item. If the
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
712 command is executed in the white space before the text that is part of
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
713 an item but does not contain the bullet, a bullet is added to the
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
714 current line.
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
715 @kindex M-S-@key{up}
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
716 @kindex M-S-@key{down}
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
717 @item M-S-@key{up}
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
718 @itemx M-S-@key{down}
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
719 Move the item including subitems up/down (swap with previous/next item
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
720 of same indentation). If the list is ordered, renumbering is
67107
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
721 automatic.
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
722 @kindex M-S-@key{left}
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
723 @kindex M-S-@key{right}
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
724 @item M-S-@key{left}
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
725 @itemx M-S-@key{right}
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
726 Decrease/increase the indentation of the item, including subitems.
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
727 Initially, the item tree is selected based on current indentation.
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
728 When these commands are executed several times in direct succession,
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
729 the initially selected region is used, even if the new indentation
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
730 would imply a different hierarchy. To use the new hierarchy, break
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
731 the command chain with a cursor motion or so.
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
732 @kindex C-c C-c
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
733 @item C-c C-c
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
734 Renumber the ordered list at the cursor.
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
735 @end table
a0a8d49729fd (Structure editing): New item moving commands added.
Carsten Dominik <dominik@science.uva.nl>
parents: 66988
diff changeset
736
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
737 @node Tables, Hyperlinks, Document structure, Top
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
738 @chapter Tables
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
739 @cindex tables
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
740 @cindex editing tables
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
741
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
742 Org-mode has a very fast and intuitive table editor built-in.
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
743 Spreadsheet-like calculations are supported in connection with the
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
744 Emacs @file{calc} package.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
745
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
746 @menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
747 * Built-in table editor:: Simple tables
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
748 * Narrow columns:: Stop wasting space in tables
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
749 * Table calculations:: Compute a field from other fields
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
750 * orgtbl-mode:: The table editor as minor mode
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
751 * table.el:: Complex tables
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
752 @end menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
753
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
754 @node Built-in table editor, Narrow columns, Tables, Tables
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
755 @section The built-in table editor
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
756 @cindex table editor, builtin
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
757
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
758 Org-mode makes it easy to format tables in plain ASCII. Any line with
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
759 @samp{|} as the first non-white character is considered part of a
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
760 table. @samp{|} is also the column separator. A table might look
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
761 like this:
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
762
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
763 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
764 | Name | Phone | Age |
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
765 |-------+-------+-----|
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
766 | Peter | 1234 | 17 |
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
767 | Anna | 4321 | 25 |
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
768 @end example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
769
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
770 A table is re-aligned automatically each time you press @key{TAB} or
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
771 @key{RET} or @kbd{C-c C-c} inside the table. @key{TAB} also moves to
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
772 the next field (@key{RET} to the next row) and creates new table rows
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
773 at the end of the table or before horizontal lines. The indentation
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
774 of the table is set by the first line. Any line starting with
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
775 @samp{|-} is considered as a horizontal separator line and will be
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
776 expanded on the next re-align to span the whole table width. So, to
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
777 create the above table, you would only type
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
778
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
779 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
780 |Name|Phone|Age
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
781 |-
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
782 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
783
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
784 @noindent and then press @key{TAB} to align the table and start filling in
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
785 fields.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
786
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
787 When typing text into a field, Org-mode treats @key{DEL},
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
788 @key{Backspace}, and all character keys in a special way, so that
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
789 inserting and deleting avoids shifting other fields. Also, when
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
790 typing @emph{immediately after the cursor was moved into a new field
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
791 with @kbd{@key{TAB}}, @kbd{S-@key{TAB}} or @kbd{@key{RET}}}, the
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
792 field is automatically made blank. If this behavior is too
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
793 unpredictable for you, configure the variables
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
794 @code{org-enable-table-editor} and @code{org-table-auto-blank-field}.
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
795
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
796 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
797 @tsubheading{Creation and conversion}
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
798 @kindex C-c |
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
799 @item C-c |
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
800 Convert the active region to table. If every line contains at least one
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
801 TAB character, the function assumes that the material is tab separated.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
802 If not, lines are split at whitespace into fields. You can use a prefix
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
803 argument to indicate the minimum number of consecutive spaces required
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
804 to identify a field separator (default: just one).@*
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
805 If there is no active region, this command creates an empty Org-mode
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
806 table. However, it's easier to just start typing, like
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
807 @kbd{|Name|Phone|Age @key{RET} |- @key{TAB}}.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
808
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
809 @tsubheading{Re-aligning and field motion}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
810 @kindex C-c C-c
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
811 @item C-c C-c
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
812 Re-align the table without moving the cursor.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
813
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
814 @kindex @key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
815 @item @key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
816 Re-align the table, move to the next field. Creates a new row if
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
817 necessary.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
818
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
819 @kindex S-@key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
820 @item S-@key{TAB}
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
821 Re-align, move to previous field.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
822
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
823 @kindex @key{RET}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
824 @item @key{RET}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
825 Re-align the table and move down to next row. Creates a new row if
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
826 necessary. At the beginning or end of a line, @key{RET} still does
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
827 NEWLINE, so it can be used to split a table.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
828
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
829 @tsubheading{Column and row editing}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
830 @kindex M-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
831 @kindex M-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
832 @item M-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
833 @itemx M-@key{right}
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
834 Move the current column left/right.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
835
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
836 @kindex M-S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
837 @item M-S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
838 Kill the current column.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
839
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
840 @kindex M-S-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
841 @item M-S-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
842 Insert a new column to the left of the cursor position.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
843
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
844 @kindex M-@key{up}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
845 @kindex M-@key{down}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
846 @item M-@key{up}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
847 @itemx M-@key{down}
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
848 Move the current row up/down.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
849
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
850 @kindex M-S-@key{up}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
851 @item M-S-@key{up}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
852 Kill the current row or horizontal line.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
853
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
854 @kindex M-S-@key{down}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
855 @item M-S-@key{down}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
856 Insert a new row above (with arg: below) the current row.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
857
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
858 @kindex C-c -
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
859 @item C-c -
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
860 Insert a horizontal line below current row. With prefix arg, the line
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
861 is created above the current line.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
862
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
863 @kindex C-c ^
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
864 @item C-c ^
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
865 Sort the table lines in the region. Point and mark must be in the first
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
866 and last line to be included, and must be in the column that should be
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
867 used for sorting. The command prompts for numerical versus
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
868 alphanumerical sorting.
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
869
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
870 @tsubheading{Regions}
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
871 @kindex C-c C-x M-w
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
872 @item C-c C-x M-w
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
873 Copy a rectangular region from a table to a special clipboard. Point
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
874 and mark determine edge fields of the rectangle. The process ignores
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
875 horizontal separator lines.
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
876 @kindex C-c C-x C-w
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
877 @item C-c C-x C-w
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
878 Copy a rectangular region from a table to a special clipboard, and
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
879 blank all fields in the rectangle. So this is the ``cut'' operation.
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
880 @kindex C-c C-x C-y
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
881 @item C-c C-x C-y
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
882 Paste a rectangular region into a table.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
883 The upper right corner ends up in the current field. All involved fields
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
884 will be overwritten. If the rectangle does not fit into the present table,
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
885 the table is enlarged as needed. The process ignores horizontal separator
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
886 lines.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
887 @kindex C-c C-q
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
888 @item C-c C-q
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
889 Wrap several fields in a column like a paragraph. If there is an active
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
890 region, and both point and mark are in the same column, the text in the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
891 column is wrapped to minimum width for the given number of lines. A
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
892 prefix ARG may be used to change the number of desired lines. If there
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
893 is no region, the current field is split at the cursor position and the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
894 text fragment to the right of the cursor is prepended to the field one
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
895 line down. If there is no region, but you specify a prefix ARG, the
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
896 current field is made blank, and the content is appended to the field
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
897 above.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
898
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
899 @tsubheading{Calculations}
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
900 @cindex formula, in tables
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
901 @cindex calculations, in tables
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
902 @kindex C-c =
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
903 @item C-c =
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
904 Install a new formula for the current column and replace current field
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
905 with the result of the formula.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
906
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
907 @kindex C-u C-c =
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
908 @item C-u C-c =
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
909 Install a new formula for the current field, which must be a named
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
910 field. Evaluate the formula and replace the field content with the
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
911 result.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
912
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
913 @kindex C-c '
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
914 @item C-c '
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
915 Edit all formulas associated with the current table in a separate
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
916 buffer.
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
917
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
918 @kindex C-c *
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
919 @item C-c *
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
920 Recalculate the current row by applying the stored formulas from left
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
921 to right. When called with a @kbd{C-u} prefix, recalculate the
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
922 entire table, starting with the first non-header line (i.e. below the
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
923 first horizontal separator line). For details, see @ref{Table calculations}.
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
924
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
925 @kindex C-#
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
926 @item C-#
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
927 Rotate the calculation mark in first column through the states
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
928 @samp{}, @samp{#}, @samp{*}, @samp{!}, @samp{$}. For the meaning of
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
929 these marks see @ref{Advanced features}. When there is an active
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
930 region, change all marks in the region.
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
931
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
932 @kindex C-c ?
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
933 @item C-c ?
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
934 Which table column is the cursor in? Displays number >0 in echo
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
935 area.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
936
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
937 @cindex region, active
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
938 @cindex active region
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
939 @cindex transient-mark-mode
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
940 @kindex C-c +
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
941 @item C-c +
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
942 Sum the numbers in the current column, or in the rectangle defined by
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
943 the active region. The result is shown in the echo area and can
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
944 be inserted with @kbd{C-y}.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
945
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
946 @kindex S-@key{RET}
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
947 @item S-@key{RET}
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
948 When current field is empty, copy from first non-empty field above.
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
949 When not empty, copy current field down to next row and move cursor
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
950 along with it. Depending on the variable
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
951 @code{org-table-copy-increment}, integer field values will be
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
952 incremented during copy. This key is also used by CUA-mode
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
953 (@pxref{Interaction}).
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
954
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
955 @tsubheading{Miscellaneous}
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
956 @kindex C-c `
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
957 @item C-c `
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
958 Edit the current field in a separate window. This is useful for fields
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
959 that are not fully visible (@pxref{Narrow columns}). When called with a
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
960 @kbd{C-u} prefix, just make the full field visible, so that it can be
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
961 edited in place.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
962
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
963 @kindex C-c @key{TAB}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
964 @item C-c @key{TAB}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
965 This is an alias for @kbd{C-u C-c `} to make the current field fully
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
966 visible.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
967
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
968 @item M-x org-table-import
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
969 Import a file as a table. The table should be TAB- or whitespace
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
970 separated. Useful, for example, to import an Excel table or data from a
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
971 database, because these programs generally can write TAB-separated text
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
972 files. This command works by inserting the file into the buffer and
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
973 then converting the region to a table. Any prefix argument is passed on
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
974 to the converter, which uses it to determine the separator.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
975
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
976 @item M-x org-table-export
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
977 Export the table as a TAB-separated file. Useful for data exchange with,
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
978 for example, Excel or database programs.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
979
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
980 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
981
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
982 If you don't like the automatic table editor because it gets in your
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
983 way on lines which you would like to start with @samp{|}, you can turn
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
984 it off with
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
985
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
986 @lisp
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
987 (setq org-enable-table-editor nil)
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
988 @end lisp
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
989
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
990 @noindent The only table command which then still works is
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
991 @kbd{C-c C-c} to do a manual re-align.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
992
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
993 @node Narrow columns, Table calculations, Built-in table editor, Tables
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
994 @section Narrow columns
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
995 @cindex narrow columns in tables
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
996
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
997 The width of columns is automatically determined by the table editor.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
998 Sometimes a single field or a few fields need to carry more text,
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
999 leading to inconveniently wide columns. To limit@footnote{This feature
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1000 does not work on XEmacs.} the width of a column, one field anywhere in
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1001 the column must carry the string @samp{<N>} where @samp{N} is an integer
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1002 specifying the width of the column in characters. The next re-align
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1003 will then set the width of this column to no more than this value.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1004
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1005 @example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1006 |---+------------------------------| |---+--------|
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1007 | | | | | <6> |
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1008 | 1 | one | | 1 | one |
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1009 | 2 | two | ----\ | 2 | two |
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1010 | 3 | This is a long chunk of text | ----/ | 3 | This=> |
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1011 | 4 | four | | 4 | four |
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1012 |---+------------------------------| |---+--------|
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1013 @end example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1014
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1015 @noindent
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1016 Fields that are wider become clipped and end in the string @samp{=>}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1017 Note that the full text is still in the buffer, it is only invisible.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1018 To see the full text, hold the mouse over the field - a tooltip window
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1019 will show the full content. To edit such a field, use the command
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1020 @kbd{C-c `} (that is @kbd{C-c} followed by the backquote). This will
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1021 open a new window with the full field. Edit it and finish with @kbd{C-c
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1022 C-c}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1023
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1024 When visiting a file containing a table with narrowed columns, the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1025 necessary character hiding has not yet happened, and the table needs to
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1026 be aligned before it looks nice. Setting the option
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1027 @code{org-startup-align-all-tables} will realign all tables in a file
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1028 upon visiting, but also slow down startup. You can also set this option
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1029 on a per-file basis with:
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1030
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1031 @example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1032 #+STARTUP: align
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1033 #+STARTUP: noalign
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1034 @end example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1035
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1036 @node Table calculations, orgtbl-mode, Narrow columns, Tables
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1037 @section Calculations in tables
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1038 @cindex calculations, in tables
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1039 @cindex spreadsheet capabilities
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1040 @cindex @file{calc} package
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1041
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1042 The table editor makes use of the Emacs @file{calc} package to
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1043 implement spreadsheet-like capabilities. Org-mode has two levels of
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1044 complexity for table calculations. On the basic level, tables do only
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1045 horizontal computations, so a field can be computed from other fields
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1046 @emph{in the same row}, and Org-mode assumes that there is only one
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1047 formula for each column. This is very efficient to work with and
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1048 enough for many tasks. On the complex level, columns and individual
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1049 fields can be named for easier referencing in formulas, individual
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1050 named fields can have their own formula associated with them, and
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1051 recalculation can be automated.
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1052
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1053 @menu
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1054 * Formula syntax:: How to write a formula
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1055 * Column formulas:: Formulas valid for all fields in a column
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1056 * Advanced features:: Field names, parameters and automatic recalc
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1057 * Named-field formulas:: Formulas valid in single fields
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1058 * Editing/debugging formulas:: Changing a stored formula
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1059 * Appetizer:: Taste the power of calc
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1060 @end menu
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1061
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1062 @node Formula syntax, Column formulas, Table calculations, Table calculations
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1063 @subsection Formula syntax
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1064 @cindex formula syntax
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1065 @cindex syntax, of formulas
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1066
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1067 A formula can be any algebraic expression understood by the Emacs
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
1068 @file{calc} package. Note that @file{calc} has the slightly
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1069 non-standard convention that @samp{/} has lower precedence than
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
1070 @samp{*}, so that @samp{a/b*c} is interpreted as @samp{a/(b*c)}. Before
70065
4804517d7073 (Formula syntax): Fixed link to Calc Manual.
Carsten Dominik <dominik@science.uva.nl>
parents: 70011
diff changeset
1071 evaluation by @code{calc-eval} (@pxref{Calling Calc from Your
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
1072 Programs,calc-eval,Calling calc from Your Lisp Programs,calc,GNU Emacs
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
1073 Calc Manual}), variable substitution takes place:
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1074
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1075 @example
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1076 $ @r{refers to the current field}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1077 $3 @r{refers to the field in column 3 of the current row}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1078 $3..$7 @r{a vector of the fields in columns 3-7 of current row}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1079 $P1..$P3 @r{vector of column range, using column names}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1080 &2 @r{second data field above the current, in same column}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1081 &5-2 @r{vector from fifth to second field above current}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1082 &III-II @r{vector of fields between 2nd and 3rd hline above}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1083 &III @r{vector of fields between third hline above and current field}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1084 $name @r{a named field, parameter or constant}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1085 @end example
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1086
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1087 @cindex vectors, in table calculations
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1088 The range vectors can be directly fed into the calc vector functions
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
1089 like @samp{vmean} and @samp{vsum}.
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1090
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1091 @cindex name, of column or field
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1092 @cindex constants, in calculations
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1093 @samp{$name} is interpreted as the name of a column, parameter or
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1094 constant. Constants are defined globally through the variable
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1095 @code{org-table-formula-constants}. If you have the
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1096 @file{constants.el} package, it will also be used to resolve
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
1097 constants, including natural constants like @samp{$h} for Planck's
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1098 constant, and units like @samp{$km} for kilometers. Column names and
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1099 parameters can be specified in special table lines. These are
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1100 described below, see @ref{Advanced features}.
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1101
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1102 @cindex format specifier
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1103 @cindex mode, for @file{calc}
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1104 A formula can contain an optional mode string after a semicolon. This
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1105 string consists of flags to influence calc's modes@footnote{By
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1106 default, Org-mode uses the standard calc modes (precision 12, angular
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1107 units degrees, fraction and symbolic modes off). However, the display
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1108 format has been changed to @code{(float 5)} to keep tables compact.
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1109 The default settings can be configured using the variable
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1110 @code{org-calc-default-modes}.} during execution, e.g. @samp{p20} to
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1111 switch the internal precision to 20 digits, @samp{n3}, @samp{s3},
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1112 @samp{e2} or @samp{f4} to switch to normal, scientific, engineering,
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1113 or fixed display format, respectively, and @samp{D}, @samp{R}, @samp{F},
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1114 and @samp{S} to turn on degrees, radians, fraction and symbolic modes,
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1115 respectively. In addition, you may provide a @code{printf} format
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1116 specifier to reformat the final result. A few examples:
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1117
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1118 @example
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1119 $1+$2 @r{Sum of first and second field}
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1120 $1+$2;%.2f @r{Same, format result to two decimals}
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1121 exp($2)+exp($1) @r{Math functions can be used}
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1122 $;%.1f @r{Reformat current cell to 1 decimal}
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1123 ($3-32)*5/9 @r{Degrees F -> C conversion}
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1124 $c/$1/$cm @r{Hz -> cm conversion, using @file{constants.el}}
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1125 tan($1);Dp3s1 @r{Compute in degrees, precision 3, display SCI 1}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1126 sin($1);Dp3%.1e @r{Same, but use printf specifier for display}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1127 vmean($2..$7) @r{Compute column range mean, using vector function}
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1128 vsum(&III) @r{Sum numbers from 3rd hline above, up to here}
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1129 taylor($3,x=7,2) @r{taylor series of $3, at x=7, second degree}
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1130 @end example
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1131
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1132 @node Column formulas, Advanced features, Formula syntax, Table calculations
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1133 @subsection Column formulas
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1134 @cindex column formula
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1135 @cindex formula, for table column
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1136
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1137 To apply a formula to a field, type it directly into the field,
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1138 preceded by an equal sign, like @samp{=$1+$2}. When you press
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1139 @key{TAB} or @key{RET} or @kbd{C-c C-c} with the cursor still in the
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1140 field, the formula will be stored as the formula for the current
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1141 column, evaluated and the current field replaced with the result. If
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1142 the field contains only @samp{=}, the previously stored formula for
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1143 this column is used.
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1144
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1145 For each column, Org-mode will remember the most recently used
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1146 formula. The information is stored in a special line starting with
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1147 @samp{#+TBLFM} directly below the table. When adding/deleting/moving
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1148 columns with the appropriate commands, the stored equations will be
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1149 modified accordingly. When a column used in a calculation is removed,
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1150 references to this column become invalid and will cause an error upon
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1151 applying the equation.
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1152
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1153 Instead of typing an equation into the field, you may also use the
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1154 command @kbd{C-c =}. It prompts for a formula (with default taken
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1155 from the @samp{#+TBLFM:} line) and applies it to the current field. A
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1156 numerical prefix (e.g. @kbd{C-5 C-c =}) will apply it to that many
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1157 subsequent fields in the current column.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1158
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1159 @cindex recomputing table fields
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1160 To recompute all the fields in a line, use the command @kbd{C-c *}.
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1161 It re-applies all stored equations to the current row, from left to
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1162 right. With a @kbd{C-u} prefix, this will be done to every line in
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1163 the table, so use this command it you want to make sure the entire
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1164 table is up-to-date. @kbd{C-u C-c C-c} is another way to update the
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1165 entire table. Global updating does not touch the line(s) above the
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1166 first horizontal separator line, assuming that this is the table
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1167 header.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1168
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1169 @node Advanced features, Named-field formulas, Column formulas, Table calculations
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1170 @subsection Advanced features
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1171
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1172 If you want the recalculation of fields to happen automatically,
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1173 or if you want to be able to assign a formula to an individual field
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1174 (instead of an entire column) you need to reserve the first column of
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1175 the table for special marking characters. Here is an example of a
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1176 table that collects exam results of students and makes use of these
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1177 features:
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1178
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1179 @example
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1180 @group
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1181 |---+---------+--------+--------+--------+-------+------|
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1182 | | Student | Prob 1 | Prob 2 | Prob 3 | Total | Note |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1183 |---+---------+--------+--------+--------+-------+------|
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1184 | ! | | P1 | P2 | P3 | Tot | |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1185 | # | Maximum | 10 | 15 | 25 | 50 | 10.0 |
64069
ff90f1b70996 Version 3.13
Carsten Dominik <dominik@science.uva.nl>
parents: 63833
diff changeset
1186 | ^ | | m1 | m2 | m3 | mt | |
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1187 |---+---------+--------+--------+--------+-------+------|
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1188 | # | Peter | 10 | 8 | 23 | 41 | 8.2 |
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1189 | # | Sara | 6 | 14 | 19 | 39 | 7.8 |
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1190 | # | Sam | 2 | 4 | 3 | 9 | 1.8 |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1191 |---+---------+--------+--------+--------+-------+------|
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1192 | | Average | | | | 29.7 | |
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1193 | ^ | | | | | at | |
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1194 | $ | max=50 | | | | | |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1195 |---+---------+--------+--------+--------+-------+------|
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1196 #+TBLFM: $6=vsum($P1..$P3)::$7=10*$Tot/$max;%.1f::$at=vmean(&II);%.1f
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1197 @end group
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1198 @end example
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1199
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1200 @noindent @b{Important}: Please note that for these special tables,
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1201 recalculating the table with @kbd{C-u C-c *} will only affect rows
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1202 which are marked @samp{#} or @samp{*}, and named fields. The column
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1203 formulas are not applied in rows with empty first field.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1204
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1205 @cindex marking characters, tables
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1206 The marking characters have the following meaning:
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1207 @table @samp
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1208 @item !
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1209 The fields in this line define names for the columns, so that you may
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1210 refer to a column as @samp{$Tot} instead of @samp{$6}.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1211 @item ^
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
1212 This row defines names for the fields @emph{above} the row. With such
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1213 a definition, any formula in the table may use @samp{$m1} to refer to
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1214 the value @samp{10}. Also, named fields can have their own formula
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1215 associated with them.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1216 @item _
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1217 Similar to @samp{^}, but defines names for the fields in the row
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1218 @emph{below}.
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1219 @item $
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1220 Fields in this row can define @emph{parameters} for formulas. For
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1221 example, if a field in a @samp{$} row contains @samp{max=50}, then
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1222 formulas in this table can refer to the value 50 using @samp{$max}.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1223 Parameters work exactly like constants, only that they can be defined on
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1224 a per-table basis. Changing a parameter and then recalculating the
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1225 table can be useful.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1226 @item #
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1227 Fields in this row are automatically recalculated when pressing
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1228 @key{TAB} or @key{RET} or @kbd{S-@key{TAB}} in this row. Also, this row
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1229 is selected for a global recalculation with @kbd{C-u C-c *}. Unmarked
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1230 lines will be left alone by this command.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1231 @item *
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1232 Selects this line for global recalculation with @kbd{C-u C-c *}, but
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1233 not for automatic recalculation. Use this when automatic
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1234 recalculation slows down editing too much.
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1235 @item
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1236 Unmarked lines are exempt from recalculation with @kbd{C-u C-c *}.
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1237 All lines that should be recalculated should be marked with @samp{#}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1238 or @samp{*}.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1239 @end table
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1240
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1241 @node Named-field formulas, Editing/debugging formulas, Advanced features, Table calculations
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1242 @subsection Named-field formulas
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1243 @cindex named field formula
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1244 @cindex formula, for named table field
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1245
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1246 A named field can have its own formula associated with it. In the
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1247 example above, this is used for the @samp{at} field that contains
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1248 the average result of the students. To enter a formula for a named
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1249 field, just type it into the buffer, preceded by @samp{:=}. Or use
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1250 @kbd{C-u C-c =}. This equation will be stored below the table like
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1251 @samp{$name=...}. Any recalculation in the table (even if only
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1252 requested for the current line) will also update all named field
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1253 formulas.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1254
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1255 @node Editing/debugging formulas, Appetizer, Named-field formulas, Table calculations
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1256 @subsection Editing and debugging formulas
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1257 @cindex formula editing
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1258 @cindex editing, of table formulas
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1259
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1260 To edit a column or field formula, use the commands @kbd{C-c
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1261 =} and @kbd{C-u C-c =}, respectively. The currently active expression
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1262 is then presented as default in the minibuffer, where it may be edited.
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1263
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1264 Note that making a table field blank does not remove the formula
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1265 associated with the field - during the next recalculation the field
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1266 will be filled again. To remove a formula from a field, you have to
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1267 give an empty reply when prompted for the formula, or to edit the
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1268 @samp{#+TBLFM} line.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1269
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1270 @kindex C-c C-c
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1271 You may edit the @samp{#+TBLFM} directly and re-apply
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1272 the changed equations with @kbd{C-c C-c} in that line, or with the
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1273 normal recalculation commands in the table.
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1274
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1275 @kindex C-c '
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1276 @kindex C-c C-c
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1277 @kindex C-c C-q
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1278 @kindex C-c ?
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1279 In particular for large tables with many formulas, it is convenient to
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1280 use the command @kbd{C-c '} to edit the formulas of the current table
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1281 in a separate buffer. That buffer will show the formulas one per
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1282 line, and you are free to edit, add and remove formulas. Press
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1283 @kbd{C-c ?} on a @samp{$...} expression to get information about its
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1284 interpretation. Exiting the buffer with @kbd{C-c C-c} only stores the
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1285 modified formulas below the table. Exiting with @kbd{C-u C-c C-c}
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1286 also applies them to the entire table. @kbd{C-c C-q} exits without
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1287 installing the changes.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1288
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1289 When the evaluation of a formula leads to an error, the field content
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1290 becomes the string @samp{#ERROR}. If you would like see what is going
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1291 on during variable substitution and calculation in order to find a
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1292 bug, turn on formula debugging in the menu and repeat the calculation,
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1293 for example by pressing @kbd{C-c = @key{RET}} in a field.
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1294 Detailed information will be displayed.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1295
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1296 @node Appetizer, , Editing/debugging formulas, Table calculations
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1297 @subsection Appetizer
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1298
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1299 Finally, just to wet your appetite on what can be done with the fantastic
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1300 @file{calc} package, here is a table that computes the Taylor series
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1301 for a couple of functions (homework: try that with Excel :-)
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1302
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1303 @example
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1304 @group
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1305 |---+-------------+---+-----+--------------------------------------|
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1306 | | Func | n | x | Result |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1307 |---+-------------+---+-----+--------------------------------------|
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1308 | # | exp(x) | 1 | x | 1 + x |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1309 | # | exp(x) | 2 | x | 1 + x + x^2 / 2 |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1310 | # | exp(x) | 3 | x | 1 + x + x^2 / 2 + x^3 / 6 |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1311 | # | x^2+sqrt(x) | 2 | x=0 | x*(0.5 / 0) + x^2 (2 - 0.25 / 0) / 2 |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1312 | # | x^2+sqrt(x) | 2 | x=1 | 2 + 2.5 x - 2.5 + 0.875 (x - 1)^2 |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1313 | * | tan(x) | 3 | x | 0.0175 x + 1.77e-6 x^3 |
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1314 |---+-------------+---+-----+--------------------------------------|
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1315 #+TBLFM: $5=taylor($2,$4,$3);n3
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1316 @end group
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1317 @end example
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1318
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1319 @node orgtbl-mode, table.el, Table calculations, Tables
59541
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1320 @section The Orgtbl minor mode
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1321 @cindex orgtbl-mode
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1322 @cindex minor mode for tables
59541
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1323
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1324 If you like the intuitive way the Org-mode table editor works, you
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1325 might want to use it also in other modes like text-mode or mail-mode.
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1326 The minor mode Orgtbl-mode makes this possible. You can always toggle
59541
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1327 the mode with @kbd{M-x orgtbl-mode}. To turn it on by default, for
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1328 example in mail mode, use
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1329
59541
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1330 @lisp
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1331 (add-hook 'mail-mode-hook 'turn-on-orgtbl)
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1332 @end lisp
7de30c78c347 version 3.04
Carsten Dominik <dominik@science.uva.nl>
parents: 58848
diff changeset
1333
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1334 @node table.el, , orgtbl-mode, Tables
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1335 @section The @file{table.el} package
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1336 @kindex C-c C-c
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1337 @cindex table editor, @file{table.el}
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1338 @cindex @file{table.el}
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1339
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1340 Complex ASCII tables with automatic line wrapping, column- and
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1341 row-spanning, and alignment can be created using the Emacs table
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1342 package by Takaaki Ota (@uref{http://sourceforge.net/projects/table},
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1343 and also part of Emacs 22).
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1344 When @key{TAB} or @kbd{C-c C-c} is pressed in such a table, Org-mode
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1345 will call @command{table-recognize-table} and move the cursor into the
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1346 table. Inside a table, the keymap of Org-mode is inactive. In order
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1347 to execute Org-mode-related commands, leave the table.
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1348
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1349 @table @kbd
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1350 @kindex C-c C-c
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1351 @item C-c C-c
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1352 Recognize @file{table.el} table. Works when the cursor is in a
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1353 table.el table.
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1354
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1355 @kindex C-c ~
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1356 @item C-c ~
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1357 Insert a table.el table. If there is already a table at point, this
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1358 command converts it between the table.el format and the Org-mode
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1359 format. See the documentation string of the command
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1360 @code{org-convert-table} for the restrictions under which this is
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1361 possible.
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1362 @end table
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1363
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1364 @node Hyperlinks, TODO items, Tables, Top
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1365 @chapter Hyperlinks
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1366 @cindex hyperlinks
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1367
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1368 Just like HMTL, Org-mode provides links inside a file, and external
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1369 links to other files, Usenet articles, emails and much more.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1370
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1371 @menu
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1372 * Link format:: How links in Org-mode are formatted
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1373 * Internal links:: Links to other places in the current file
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1374 * External links:: URL-like links to the world
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1375 * Managing links:: Creating, inserting and following
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1376 * Search Options:: Linking to a specific location
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1377 * Remember:: Org-trees store quick notes
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1378 @end menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1379
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1380 @node Link format, Internal links, Hyperlinks, Hyperlinks
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1381 @section Link format
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1382 @cindex link format
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1383 @cindex format, of links
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1384
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1385 Org-mode will recognize plain URL-like links and activate them as
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1386 clickable links. However, the general link format looks like this:
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1387
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1388 @example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1389 [[link][description]] @r{or alternatively} [[link]]
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1390 @end example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1391
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1392 Once a link in the buffer is complete (all brackets present), Org-mode
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1393 will change the display so that @samp{description} is displayed instead
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1394 of @samp{[[link][description]]} and @samp{link} is displayed instead of
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1395 @samp{[[link]]}. Links will be highlighted in the face @code{org-link},
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1396 which by default is an underlined face. You can directly edit the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1397 visible part of a link. Note that this can be either the @samp{link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1398 part (if there is not description) or the @samp{description} part. To
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1399 edit also the invisible @samp{link} part, use @kbd{C-c C-l} with the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1400 cursor on the link.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1401
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1402 If you place the cursor at the beginning or just behind the end of the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1403 displayed text and press @key{BACKSPACE}, you will remove the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1404 (invisible) bracket at that location. This makes the link incomplete
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1405 and the internals are again displayed as plain text. Inserting the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1406 missing bracket does hide the link internals again. To show the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1407 internal structure of all links, use the menu entry
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1408 @code{Org->Hyperlinks->Literal links}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1409
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1410 @node Internal links, External links, Link format, Hyperlinks
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1411 @section Internal links
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1412 @cindex internal links
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1413 @cindex links, internal
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1414 @cindex CamelCase links
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1415
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1416 If the link text does not look like a URL, links are considered to be
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1417 internal in the current file. Links such as @samp{[[My Target]]} or
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1418 @samp{[[My Target][Find my target]]} lead to a text search in the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1419 current file. The link can be followed with @kbd{C-c C-o} when the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1420 cursor is on the link, or with a mouse click (@pxref{Managing links}).
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1421 The preferred match for such a link is a dedicated target: The same
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1422 string in double angular brackets. Targets may be located anywhere,
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1423 often it is convenient to put them into a comment line, for example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1424
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1425 @example
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1426 # <<My Target>>
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1427 @end example
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1428
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1429 @noindent In HTML export (@pxref{HTML export}), such targets will become
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1430 named anchors for direct access through http links.
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1431
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1432 If no dedicated target exists, Org-mode will search for the words in the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1433 link, often removing the need for a dedicated target. In the above
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1434 example the search would be for @samp{my target}. Links starting with a
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1435 star like @samp{*My Target} restrict the search to headlines. When
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1436 searching, Org-mode will first try an exact match, but then move on to
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1437 more and more lenient searches. For example, the link @samp{[[*My
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1438 Targets]]} will find any of the following:
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1439
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1440 @example
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1441 ** My targets
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1442 ** TODO my targets are bright
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1443 ** my 20 targets are
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1444 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1445
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1446 To insert a link targeting a headline, in-buffer completion can be used.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1447 Just type a star followed by a few optional letters into the buffer and
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1448 press @kbd{M-@key{TAB}}. All headlines in the current buffer will be
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1449 offered as completions. @xref{Managing links}, for more commands
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1450 creating links.
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1451
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1452 Following a link pushes a mark onto Org-mode's own mark ring. You can
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1453 return to the previous position with @kbd{C-c &}. Using this command
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1454 several times in direct succession goes back to positions recorded
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1455 earlier.
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1456
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1457 @menu
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1458 * Radio targets:: Make targets trigger links in plain text.
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1459 * CamelCase links:: Activating CamelCase words as links
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1460 @end menu
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1461
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1462 @node Radio targets, CamelCase links, Internal links, Internal links
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1463 @subsection Radio targets
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1464
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1465 You can configure Org-mode to link any occurrences of certain target
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1466 names in normal text. So without explicitly creating a link, the text
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1467 connects to the target radioing its position. Radio targets are
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1468 enclosed by triple angular brackets. For example, a target
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1469 @samp{<<<My Target>>>} causes each occurrence of @samp{my target} in
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1470 normal text to become activated as a link. The Org-mode file is
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1471 scanned automatically for radio targets only when the file is first
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1472 loaded into Emacs. To update the target list during editing, press
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1473 @kbd{C-c C-c} with the cursor on or at a target.
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1474
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1475 @node CamelCase links, , Radio targets, Internal links
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1476 @subsection CamelCase words as links
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1477 @cindex completion, of CamelCase links
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1478 @cindex CamelCase links, completion of
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1479
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1480 Org-mode also supports CamelCase words as links. This feature is not
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1481 turned on by default because of the inconsistencies this system suffers
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1482 from. To activate CamelCase words as links, you need to customize
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1483 the option @code{org-activate-links}. A CamelCase word then leads to a
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1484 text search such that @samp{CamelCaseLink} is equivalent to
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1485 @samp{[[camel case link]]}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1486
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1487 @node External links, Managing links, Internal links, Hyperlinks
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1488 @section External links
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1489 @cindex links, external
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1490 @cindex external links
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1491 @cindex links, external
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1492 @cindex GNUS links
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1493 @cindex BBDB links
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1494 @cindex URL links
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1495 @cindex file links
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1496 @cindex VM links
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1497 @cindex RMAIL links
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1498 @cindex WANDERLUST links
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1499 @cindex MH-E links
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1500 @cindex USENET links
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1501 @cindex SHELL links
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1502
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1503 Org-mode supports links to files, websites, Usenet and email messages;
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1504 and BBDB database entries. External links are URL-like locators. The
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1505 following list shows examples for each link type.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1506
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1507 @example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1508 http://www.astro.uva.nl/~dominik @r{on the web}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1509 file:/home/dominik/images/jupiter.jpg @r{file, absolute path}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1510 file:papers/last.pdf @r{file, relative path}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1511 news:comp.emacs @r{Usenet link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1512 mailto:adent@@galaxy.net @r{Mail link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1513 vm:folder @r{VM folder link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1514 vm:folder#id @r{VM message link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1515 vm://myself@@some.where.org/folder#id @r{VM on remote machine}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1516 wl:folder @r{WANDERLUST folder link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1517 wl:folder#id @r{WANDERLUST message link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1518 mhe:folder @r{MH-E folder link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1519 mhe:folder#id @r{MH-E message link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1520 rmail:folder @r{RMAIL folder link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1521 rmail:folder#id @r{RMAIL message link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1522 gnus:group @r{GNUS group link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1523 gnus:group#id @r{GNUS article link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1524 bbdb:Richard Stallman @r{BBDB link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1525 shell:ls *.org @r{A shell command}
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1526 @end example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1527
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1528 A link should be enclosed in double brackets and may contain a
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1529 descriptive text to be displayed instead of the url (@pxref{Link
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1530 format}), for example:
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1531
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1532 @example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1533 [[http://www.gnu.org/software/emacs/][GNU Emacs]]
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1534 @end example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1535
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1536 @cindex angular brackets, around links
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1537 @cindex plain text external links
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1538 Org-mode also finds external links in the normal text and activates them
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1539 as links. If spaces must be part of the link (for example in
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1540 @samp{bbdb:Richard Stallman}) or to remove ambiguities about the end of
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1541 the link, enclose them in angular brackets.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1542
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1543 @node Managing links, Search Options, External links, Hyperlinks
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1544 @section Managing links
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1545
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1546 Org-mode provides methods to create a link in the correct syntax, to
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1547 insert it into an org-mode file, and to follow the link.
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1548
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1549 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1550 @kindex C-c l
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1551 @cindex storing links
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1552 @item C-c l
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1553 Store a link to the current location. This is a @emph{global} command
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1554 which can be used in any buffer to create a link. The link will be
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1555 stored for later insertion into an Org-mode buffer (see below). For VM,
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1556 RMAIL, WANDERLUST, MH-E, GNUS and BBDB buffers, the link will point to
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1557 the current article/entry. For W3 and W3M buffers, the link goes to the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1558 current URL. For Org-mode files, the current headline is targeted. For
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1559 any other files, the link will point to the file, with a search string
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1560 (@pxref{Search Options}) pointing to the contents of the current line.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1561 If there is an active region, the selected words will form the basis of
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1562 the search string. The key binding @kbd{C-c l} is only a suggestion -
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1563 see @ref{Installation and activation}.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1564
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1565 @kindex C-c C-l
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1566 @cindex link completion
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1567 @cindex completion, of links
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1568 @cindex inserting links
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1569 @item C-c C-l
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1570 Insert a link. This prompts for a link to be inserted into the buffer.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1571 You can just type a link, using text for an internal link, or one of the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1572 link type prefixes mentioned in the examples above. Through completion,
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1573 all links stored during the current session can be accessed. The link
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
1574 will be formatted as given in the variable @code{org-link-format} and
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1575 inserted into the buffer, along with a descriptive text. Note that you
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1576 don't have to use this command to insert a link. Links in Org-mode are
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1577 plain text, and you can type or paste them straight into the buffer.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1578 By using this command, the links are automatically enclosed in double
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1579 brackets, and you will be asked for the optional descriptive text.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1580
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1581 @kindex C-u C-c C-l
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1582 @cindex file name completion
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1583 @cindex completion, of file names
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1584 @item C-u C-c C-l
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1585 When @kbd{C-c C-l} is called with a @kbd{C-u} prefix argument, a link to
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1586 a file will be inserted and you may use file name completion to select
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1587 the name of the file. The path to the file is inserted relative to the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1588 directory of the current org file, if the linked file is in the current
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1589 directory or in a subdirectory of it, or if the path is written relative
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1590 to the current directory using @samp{../}. Otherwise an absolute path
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1591 is used, if possible with @samp{~/} for your home directory. You can
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1592 force an absolute path with two @kbd{C-u} prefixes.
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1593
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1594 @item C-c C-l @r{with cursor on existing link}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1595 When the cursor is on an existing link, @kbd{C-c C-l} allows to edit the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1596 link and description parts of the link.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1597
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1598 @cindex following links
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1599 @kindex C-c C-o
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1600 @item C-c C-o
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1601 Open link at point. This will launch a web browser for URLs (using
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1602 @command{browse-url-at-point}), run vm/mh-e/wanderlust/rmail/gnus/bbdb
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1603 for the corresponding links, and execute the command in a shell link.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1604 When the cursor is on an internal link, this commands runs the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1605 corresponding search. When the cursor is on a TAGS list in a headline,
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1606 it creates the corresponding TAGS view. If the cursor is on a time
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1607 stamp, it compiles the agenda for that date. Furthermore, it will visit
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1608 text files in @samp{file:} links with Emacs and select a suitable
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1609 application for non-text files. Classification of files is based on
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1610 file extension only. See option @code{org-file-apps}. If you want to
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1611 override the default application and visit the file with Emacs, use a
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1612 @kbd{C-u} prefix.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1613
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1614 @kindex mouse-2
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
1615 @kindex mouse-1
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1616 @item mouse-2
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
1617 @itemx mouse-1
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
1618 On links, @kbd{mouse-2} will open the link just like @kbd{C-c C-o}
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
1619 would. Under Emacs 22, also @kbd{mouse-1} will follow a link.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1620
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1621 @kindex mouse-3
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1622 @item mouse-3
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1623 Like @kbd{mouse-2}, but force file links to be opened with Emacs.
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1624
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1625 @cindex mark ring
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1626 @kindex C-c %
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1627 @item C-c %
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1628 Push the current position onto the mark ring, to be able to return
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1629 easily. Commands following an internal link do this automatically.
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1630
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1631 @cindex links, returning to
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1632 @kindex C-c &
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1633 @item C-c &
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1634 Jump back to a recorded position. A position is recorded by the
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1635 commands following internal links, and by @kbd{C-c %}. Using this
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1636 command several times in direct succession moves through a ring of
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1637 previously recorded positions.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1638 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1639
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1640
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1641 @node Search Options, Remember, Managing links, Hyperlinks
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1642 @section Search options in file links
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1643 @cindex search option in file links
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1644 @cindex file links, searching
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1645
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1646 File links can contain additional information to make Emacs jump to a
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1647 particular location in the file when following a link. This can be a
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1648 line number or a search option after a double@footnote{For backward
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1649 compatibility, line numbers can also follow a single colon.} colon.
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1650 For example:
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1651
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1652 @example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1653 [[file:~/code/main.c::255]]
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1654 [[file:~/xx.org::My Target]]
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1655 [[file:~/xx.org::*My Target]]
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1656 [[file:~/xx.org::/regexp/]]
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1657 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1658
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1659 @noindent Here is what these options do.
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1660
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1661 @table @code
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1662 @item 255
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1663 Jump to line 255.
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1664 @item My Target
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1665 Search for a link target @samp{<<My Target>>}, or do a text search for
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1666 @samp{my target}, similar to the search in internal links, see
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1667 @ref{Internal links}. In HTML export (@pxref{HTML export}), such a file
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1668 link will become an html reference to the corresponding named anchor in
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1669 the linked file.
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1670 @item *My Target
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1671 In an Org-mode file, restrict search to headlines.
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1672 @item /regexp/
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1673 Do a regular expression search for @code{regexp}. This uses the Emacs
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1674 command @code{occur} to list all matches in a separate window. If the
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1675 target file is in Org-mode, @code{org-occur} is used to create a
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1676 sparse tree with the matches.
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1677 @c If the target file is a directory,
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1678 @c @code{grep} will be used to search all files in the directory.
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1679 @end table
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1680
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1681 As a degenerate case, a file link with an empty file name can be used
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1682 to search the current file. For example, @code{<file:::find me>} does
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1683 a search for @samp{find me} in the current file, just like
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
1684 @samp{[[find me]]} would.
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1685
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1686 @node Remember, , Search Options, Hyperlinks
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1687 @section Remember
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1688 @cindex @file{remember.el}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1689
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1690 Another way to create org entries with links to other files is through
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1691 the @emph{Remember} package by John Wiegley. @emph{Remember} lets you
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1692 store quick notes with little interruption of your work flow. See
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1693 @uref{http://www.emacswiki.org/cgi-bin/wiki/RememberMode} for more
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1694 information. The notes produced by @emph{Remember} can be stored in
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1695 different ways, and Org-mode files are a good target. Org-mode allows
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1696 to file away notes either to a default file, or directly to the
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1697 correct location in your Org-mode outline tree. The following
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1698 customization@footnote{The three autoload forms are only necessary if
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1699 @file{org.el} is not part of the Emacs distribution or an XEmacs
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1700 package.} will tell @emph{Remember} to use org files as target, and to
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1701 create annotations compatible with Org-mode links.
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
1702
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1703 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1704 (setq org-directory "~/path/to/my/orgfiles/")
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1705 (setq org-default-notes-file "~/.notes")
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1706 (autoload 'org-remember-annotation "org")
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1707 (autoload 'org-remember-apply-template "org")
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1708 (autoload 'org-remember-handler "org")
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1709 (setq remember-annotation-functions '(org-remember-annotation))
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1710 (setq remember-handler-functions '(org-remember-handler))
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1711 (add-hook 'remember-mode-hook 'org-remember-apply-template)
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1712 @end example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1713
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1714 @cindex templates, for remember
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1715 In combination with Org-mode, you can use templates to generate
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1716 different types of remember notes. For example, if you would like to
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1717 use one template to create general TODO entries, and another one for
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1718 journal entries, you could use:
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1719
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1720 @example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1721 (setq org-remember-templates
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1722 '((?t "* TODO %?\n %i\n %a" "~/org/TODO.org")
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1723 (?j "* %U %?\n\n %i\n %a" "~/org/JOURNAL.org")))
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1724 @end example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1725
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1726 @noindent In these entries, the character specifies how to select the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1727 template, the first string specifies the template, and the (optional)
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1728 second string specifies a default file (overruling
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1729 @code{org-default-notes-file}) as a target for this note.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1730
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1731 When you call @kbd{M-x remember} to remember something, org will prompt
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1732 for a key to select the template and then prepare the buffer like
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1733 @example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1734 * TODO
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1735 <file:link to where you called remember>
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1736 @end example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1737
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1738 @noindent or
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1739
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1740 @example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1741 * [2006-03-21 Tue 15:37]
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1742
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1743 <file:link to where you called remember>
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1744 @end example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1745
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1746 @noindent See the variable @code{org-remember-templates} for more details.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1747
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1748 When you are finished composing a note with remember, you have to press
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1749 @kbd{C-c C-c} to file the note away. The handler first prompts for a
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1750 target file - if you press @key{RET}, the value of
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1751 @code{org-default-notes-file} is used. Then the command offers the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1752 headings tree of the selected file. You can either immediately press
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1753 @key{RET} to get the note appended to the file. Or you can use vertical
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1754 cursor motion (@key{up} and @key{down}) and visibility cycling
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1755 (@key{TAB}) to find a better place. Pressing @key{RET} or @key{left} or
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1756 @key{right} leads to the following result.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1757
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1758 @multitable @columnfractions 0.2 0.1 0.7
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1759 @item @b{Cursor position} @tab @b{Key} @tab @b{Note gets inserted}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1760 @item buffer-start @tab @key{RET} @tab as level 2 heading at end of file
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1761 @item on headline @tab @key{RET} @tab as sublevel of the heading at cursor
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1762 @item @tab @key{left} @tab as same level, before current heading
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1763 @item @tab @key{right} @tab as same level, after current heading
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
1764 @item not on headline @tab @key{RET}
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1765 @tab at cursor position, level taken from context.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1766 Or use prefix arg to specify level manually.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1767 @end multitable
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1768
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
1769 So a fast way to store the note is to press @kbd{C-c C-c @key{RET}
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
1770 @key{RET}} to append it to the default file. Even shorter would be
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
1771 @kbd{C-u C-c C-c}, which does the same without even showing the tree.
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
1772 But with little extra effort, you can push it directly to the correct
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
1773 location.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1774
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1775 Before inserting the text into a tree, the function ensures that the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1776 text has a headline, i.e. a first line that starts with a @samp{*}.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1777 If not, a headline is constructed from the current date and some
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1778 additional data. If the variable @code{org-adapt-indentation} is
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1779 non-nil, the entire text is also indented so that it starts in the
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1780 same column as the headline (after the asterisks).
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1781
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1782
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1783 @node TODO items, Timestamps, Hyperlinks, Top
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1784 @chapter TODO items
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1785 @cindex TODO items
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1786
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1787 Org-mode does not maintain TODO lists as a separate document. TODO
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1788 items are an integral part of the notes file, because TODO items
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1789 usually come up while taking notes! With Org-mode, you simply mark
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1790 any entry in a tree as being a TODO item. In this way, the
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1791 information is not duplicated, and the entire context from which the
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1792 item emerged is always present when you check.
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1793
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1794 Of course, this technique causes TODO items to be scattered throughout
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1795 your file. Org-mode provides methods to give you an overview over all
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1796 things you have to do.
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1797
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1798 @menu
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1799 * TODO basics:: Marking and displaying TODO entries
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1800 * Progress logging:: Document your productivity
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1801 * TODO extensions:: Workflow and assignments
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1802 * Priorities:: Some things are more important than others
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1803 @end menu
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1804
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1805 @node TODO basics, Progress logging, TODO items, TODO items
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1806 @section Basic TODO functionality
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1807
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1808 Any headline can become a TODO item by starting it with the word TODO,
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1809 for example:
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1810
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1811 @example
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1812 *** TODO Write letter to Sam Fortune
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1813 @end example
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1814
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1815 @noindent
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1816 The most important commands to work with TODO entries are:
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1817
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1818 @table @kbd
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1819 @kindex C-c C-t
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1820 @cindex cycling, of TODO states
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1821 @item C-c C-t
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1822 Rotate the TODO state of the current item between
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1823
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1824 @example
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1825 ,-> (unmarked) -> TODO -> DONE --.
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1826 '--------------------------------'
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1827 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1828
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1829 The same rotation can also be done ``remotely'' from the timeline and
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1830 agenda buffers with the @kbd{t} command key (@pxref{Agenda commands}).
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1831 @kindex C-c C-v
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1832 @cindex sparse tree, for TODO
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1833 @item C-c C-v
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1834 View TODO items in a @emph{sparse tree} (@pxref{Sparse trees}). Folds
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1835 the entire buffer, but shows all TODO items and the headings hierarchy
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1836 above them. With prefix arg, show also the DONE entries. With
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1837 numerical prefix N, show the tree for the Nth keyword in the variable
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1838 @code{org-todo-keywords}.
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1839 @kindex C-c a t
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1840 @item C-c a t
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1841 Show the global TODO list. This collects the TODO items from all
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1842 agenda files (@pxref{Agenda views}) into a single buffer. The buffer is in
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1843 @code{agenda-mode}, so there are commands to examine and manipulate
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1844 the TODO entries directly from that buffer (@pxref{Agenda commands}).
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1845 @xref{Global TODO list}, for more information.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1846 @item @code{org-agenda-include-all-todo}
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1847 If you would like to have all your TODO items listed as part of your
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1848 agenda, customize the variable @code{org-agenda-include-all-todo}.
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1849 @end table
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1850
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1851 @node Progress logging, TODO extensions, TODO basics, TODO items
67537
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1852 @section Progress Logging
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1853 @cindex progress logging
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1854 @cindex logging, of progress
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1855 If you want to keep track of @emph{when} a certain TODO item was
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1856 finished, turn on logging with
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1857
67537
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1858 @lisp
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1859 (setq org-log-done t)
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1860 @end lisp
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1861
67537
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1862 @noindent
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1863 Then each time you turn a TODO entry into DONE using either @kbd{C-c
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1864 C-t} in the Org-mode buffer or @kbd{t} in the agenda buffer, a line
67537
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1865 @samp{CLOSED: [timestamp]} will be inserted just after the headline.
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
1866 If you turn the entry back into a TODO item again through further
67537
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1867 state cycling, that line will be removed again. In the timeline
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
1868 (@pxref{Timeline}) and in the agenda (@pxref{Weekly/Daily agenda}),
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
1869 you can then use the @kbd{L} key to display the TODO items closed on
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
1870 each day, giving you an overview of what has been done on a day.
67537
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
1871
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1872 @node TODO extensions, Priorities, Progress logging, TODO items
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1873 @section Extended use of TODO keywords
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1874 @cindex extended TODO keywords
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1875
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1876 The default implementation of TODO entries is just two states: TODO and
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1877 DONE. You can, however, use the TODO feature for more complicated
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1878 things by configuring the variables @code{org-todo-keywords} and
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1879 @code{org-todo-interpretation}. Using special setup, you can even use
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1880 TODO keywords in different ways in different org files.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1881
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1882 Note that @i{tags} are another way to classify headlines in general and
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1883 TODO items in particular (@pxref{Tags}).
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1884
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1885 @menu
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1886 * Workflow states:: From TODO to DONE in steps
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1887 * TODO types:: I do this, Fred the rest
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1888 * Per file keywords:: Different files, different requirements
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1889 @end menu
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1890
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1891 @node Workflow states, TODO types, TODO extensions, TODO extensions
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1892 @subsection TODO keywords as workflow states
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1893 @cindex TODO workflow
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1894 @cindex workflow states as TODO keywords
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1895
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1896 You can use TODO keywords to indicate different states in the process
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1897 of working on an item, for example:
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1898
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1899 @lisp
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1900 (setq org-todo-keywords '("TODO" "FEEDBACK" "VERIFY" "DONE")
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1901 org-todo-interpretation 'sequence)
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1902 @end lisp
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1903
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1904 @cindex completion, of TODO keywords
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1905 Changing these variables becomes only effective in a new Emacs session.
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1906 With this setup, the command @kbd{C-c C-t} will cycle an entry from
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1907 TODO to FEEDBACK, then to VERIFY, and finally to DONE. You may also
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1908 use a prefix argument to quickly select a specific state. For example
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1909 @kbd{C-3 C-c C-t} will change the state immediately to VERIFY.
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1910 If you define many keywords, you can use in-buffer completion (see
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1911 @ref{Completion}) to insert these words into the buffer.
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1912
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1913 @node TODO types, Per file keywords, Workflow states, TODO extensions
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1914 @subsection TODO keywords as types
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1915 @cindex TODO types
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1916 @cindex names as TODO keywords
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1917 @cindex types as TODO keywords
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1918
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1919 The second possibility is to use TODO keywords to indicate different
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1920 types of action items. For example, you might want to indicate that
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1921 items are for ``work'' or ``home''. If you are into David Allen's
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1922 @emph{Getting Things DONE}, you might want to use todo types
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1923 @samp{NEXTACTION}, @samp{WAITING}, @samp{MAYBE}. Or, when you work
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1924 with several people on a single project, you might want to assign
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1925 action items directly to persons, by using their names as TODO
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1926 keywords. This would be set up like this:
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1927
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1928 @lisp
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1929 (setq org-todo-keywords '("Fred" "Sara" "Lucy" "Mike" "DONE")
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1930 org-todo-interpretation 'type)
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1931 @end lisp
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1932
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1933 In this case, different keywords do not indicate a sequence, but
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1934 rather different types. So it is normally not useful to change from
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1935 one type to another. Therefore, in this case the behavior of the
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1936 command @kbd{C-c C-t} is changed slightly@footnote{This is also true
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1937 for the @kbd{t} command in the timeline and agenda buffers.}. When
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1938 used several times in succession, it will still cycle through all
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1939 names. But when you return to the item after some time and execute
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1940 @kbd{C-c C-t} again, it will switch from each name directly to DONE.
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1941 Use prefix arguments or completion to quickly select a specific name.
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1942 You can also review the items of a specific TODO type in a sparse tree
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1943 by using a numeric prefix to @kbd{C-c C-v}. For example, to see all
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1944 things Lucy has to do, you would use @kbd{C-3 C-c C-v}. To collect
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
1945 Lucy's items from all agenda files into a single buffer, you
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1946 would use the prefix arg as well when creating the global todo list:
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
1947 @kbd{C-3 C-c t}.
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1948
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1949 @node Per file keywords, , TODO types, TODO extensions
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1950 @subsection Setting up TODO keywords for individual files
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1951 @cindex keyword options
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1952 @cindex per file keywords
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1953
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1954 It can be very useful to use different aspects of the TODO mechanism
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1955 in different files, which is not possible with the global settings
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1956 described above. For file-local settings, you need to add special
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1957 lines to the file which set the keywords and interpretation for that
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1958 file only. For example, to set one of the two examples discussed
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1959 above, you need one of the following lines, starting in column zero
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1960 anywhere in the file:
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1961
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1962 @example
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1963 #+SEQ_TODO: TODO FEEDBACK VERIFY DONE
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1964 #+TYP_TODO: Fred Sara Lucy Mike DONE
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1965 @end example
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1966
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
1967 @cindex Completion, of option keywords
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1968 @kindex M-@key{TAB}
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1969 @noindent To make sure you are using the correct keyword, type
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1970 @samp{#+} into the buffer and then use @kbd{M-@key{TAB}} completion.
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1971
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1972 @cindex DONE, final TODO keyword
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1973 Remember that the last keyword must always mean that the item is DONE
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1974 (you may use a different word, though). Also note that in each file,
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1975 only one of the two aspects of TODO keywords can be used. After
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1976 changing one of these lines, use @kbd{C-c C-c} with the cursor still
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1977 in the line to make the changes known to Org-mode@footnote{Org-mode
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1978 parses these lines only when Org-mode is activated after visiting a
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
1979 file. @kbd{C-c C-c} with the cursor in a line starting with @samp{#+}
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1980 is simply restarting Org-mode, making sure that these changes will be
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
1981 respected.}.
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1982
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1983 If you want to use very many keywords, for example when working with a
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1984 large group of people, you may split the names over several lines:
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1985
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1986 @example
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1987 #+TYP_TODO: Fred Sara Lucy Mike
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1988 #+TYP_TODO: Luis George Jules Jessica
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1989 #+TYP_TODO: Kim Arnold Peter
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1990 #+TYP_TODO: DONE
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1991 @end example
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1992
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1993 @node Priorities, , TODO extensions, TODO items
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1994 @section Priorities
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1995 @cindex priorities
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1996
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1997 If you use Org-mode extensively to organize your work, you may end up
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1998 with a number of TODO entries so large that you'd like to prioritize
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
1999 them. This can be done by placing a @emph{priority cookie} into the
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2000 headline, like this
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2001
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2002 @example
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2003 *** TODO [#A] Write letter to Sam Fortune
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2004 @end example
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2005
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2006 @noindent
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2007 With its standard setup, Org-mode supports priorities @samp{A},
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2008 @samp{B}, and @samp{C}. @samp{A} is the highest priority. An entry
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2009 without a cookie is treated as priority @samp{B}. Priorities make a
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2010 difference only in the agenda (@pxref{Weekly/Daily agenda}).
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2011
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2012 @table @kbd
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2013 @kindex @kbd{C-c ,}
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2014 @item @kbd{C-c ,}
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2015 Set the priority of the current item. The command prompts for a
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2016 priority character @samp{A}, @samp{B} or @samp{C}. When you press
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2017 @key{SPC} instead, the priority cookie is removed from the headline.
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2018 The priorities can also be changed ``remotely'' from the timeline and
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2019 agenda buffer with the @kbd{,} command (@pxref{Agenda commands}).
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2020
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2021 @kindex S-@key{up}
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2022 @kindex S-@key{down}
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2023 @item S-@key{up}
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2024 @itemx S-@key{down}
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2025 Increase/decrease priority of current item. Note that these keys are
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2026 also used to modify time stamps (@pxref{Creating timestamps}).
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2027 Furthermore, these keys are also used by CUA-mode
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
2028 (@pxref{Interaction}).
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2029 @end table
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
2030
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2031 @node Timestamps, Tags, TODO items, Top
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2032 @chapter Timestamps
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2033
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2034 Items can be labeled with timestamps to make them useful for project
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2035 planning.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2036
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2037 @menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2038 * Time stamps:: Assigning a time to a tree entry
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2039 * Creating timestamps:: Commands which insert timestamps
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2040 @end menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2041
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2042
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2043 @node Time stamps, Creating timestamps, Timestamps, Timestamps
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2044 @section Time stamps, deadlines and scheduling
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2045 @cindex time stamps
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2046 @cindex ranges, time
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2047 @cindex date stamps
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2048 @cindex deadlines
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2049 @cindex scheduling
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2050
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2051 A time stamp is a specification of a date (possibly with time) in a
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2052 special format, either @samp{<2003-09-16 Tue>} or @samp{<2003-09-16
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2053 Tue 09:39>}. A time stamp can appear anywhere in the headline or body
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2054 of an org-tree entry. Its presence allows entries to be shown on specific
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2055 dates in the agenda (@pxref{Weekly/Daily agenda}). We distinguish:
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2056
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2057 @table @var
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2058 @cindex timestamp
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2059 @item TIMESTAMP
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2060 A simple time stamp just assigns a date/time to an item. This is just
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2061 like writing down an appointment in a paper agenda, or like writing down
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2062 an event in a diary, when you want to take not of when something
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2063 happened. In the timeline and agenda displays, the headline of an entry
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2064 associated with a plain time stamp will be shown exactly on that date.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2065
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2066 @item TIMERANGE
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2067 @cindex timerange
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2068 Two time stamps connected by @samp{--} denote a time range. The
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2069 headline will be shown on the first and last day of the range, and on
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2070 any dates that are displayed and fall in the range. Here is an
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2071 example:
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2072
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2073 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2074 ** Meeting in Amsterdam
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2075 <2004-08-23 Mon>--<2004-08-26 Thu>
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2076 @end example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2077
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2078 @item SCHEDULED
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2079 @cindex SCHEDULED keyword
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2080 If a time stamp is preceded by the word @samp{SCHEDULED:}, it means you
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2081 are planning to start working on that task on the given date. So this is
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2082 not about recording an event, but about planning your work. The
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2083 headline will be listed under the given date. In addition, a reminder
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2084 that the scheduled date has passed will be present in the compilation
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2085 for @emph{today}, until the entry is marked DONE. I.e., the task will
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2086 automatically be forwarded until completed.
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2087
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2088 @example
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2089 *** TODO Call Trillian to ask her out for a date on New Years Eve.
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2090 SCHEDULED: <2004-12-25 Sat>
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2091 @end example
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2092
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2093 @item DEADLINE
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2094 @cindex DEADLINE keyword
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2095 If a time stamp is preceded by the word @samp{DEADLINE:}, the task
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2096 (most likely a TODO item) is supposed to be finished on that date, and
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2097 it will be listed then. In addition, the compilation for @emph{today}
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2098 will carry a warning about the approaching or missed deadline,
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2099 starting @code{org-deadline-warning-days} before the due date, and
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2100 continuing until the entry is marked DONE. An example:
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2101
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2102 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2103 *** TODO write article about the Earth for the Guide
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2104 The editor in charge is <bbdb:Ford Prefect>
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2105 DEADLINE: <2004-02-29 Sun>
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2106 @end example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2107 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2108
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2109 @node Creating timestamps, , Time stamps, Timestamps
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2110 @section Creating timestamps
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2111 @cindex creating timestamps
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2112 @cindex timestamps, creating
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2113
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2114 For Org-mode to recognize time stamps, they need to be in the specific
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2115 format. All commands listed below produce time stamps in the correct
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2116 format.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2117
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2118 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2119 @kindex C-c .
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2120 @item C-c .
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2121 Prompt for a date and insert a corresponding time stamp. When the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2122 cursor is at a previously used time stamp, it is updated to NOW. When
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2123 this command is used twice in succession, a time range is inserted.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2124
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2125 @kindex C-u C-c .
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2126 @item C-u C-c .
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2127 Like @kbd{C-c .}, but use the alternative format which contains date
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2128 and time. The default time can be rounded to multiples of 5 minutes,
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2129 see the option @code{org-time-stamp-rounding-minutes}.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2130
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
2131 @kindex C-c !
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
2132 @item C-c !
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
2133 Like @kbd{C-c .}, but insert an inactive time stamp not triggering the
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2134 agenda.
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
2135
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2136 @kindex C-c <
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2137 @item C-c <
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2138 Insert a time stamp corresponding to the cursor date in the Calendar.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2139
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2140 @kindex C-c >
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2141 @item C-c >
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2142 Access the Emacs calendar for the current date. If there is a
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2143 timestamp in the current line, goto the corresponding date
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2144 instead.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2145
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2146 @kindex C-c C-o
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2147 @item C-c C-o
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2148 Access the agenda for the date given by the time stamp at point
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2149 (@pxref{Weekly/Daily agenda}).
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2150
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2151 @kindex C-c C-d
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2152 @item C-c C-d
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2153 Insert @samp{DEADLINE} keyword along with a stamp.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2154 @kindex C-c C-w
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2155 @cindex sparse tree, for deadlines
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2156 @item C-c C-w
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2157 Create a sparse tree with all deadlines that are either past-due, or
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2158 which will become due within @code{org-deadline-warning-days}.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2159 With @kbd{C-u} prefix, show all deadlines in the file. With a numeric
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2160 prefix, check that many days. For example, @kbd{C-1 C-c C-w} shows
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2161 all deadlines due tomorrow.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2162
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2163 @kindex C-c C-s
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2164 @item C-c C-s
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2165 Insert @samp{SCHEDULED} keyword along with a stamp.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2166
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2167 @kindex S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2168 @kindex S-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2169 @item S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2170 @itemx S-@key{right}
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
2171 Change date at cursor by one day. These key bindings conflict with
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
2172 CUA-mode (@pxref{Interaction}).
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2173
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2174 @kindex S-@key{up}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2175 @kindex S-@key{down}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2176 @item S-@key{up}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2177 @itemx S-@key{down}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2178 Change the item under the cursor in a timestamp. The cursor can be on
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2179 a year, month, day, hour or minute. Note that if the cursor is not at
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
2180 a time stamp, these same keys modify the priority of an item.
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2181 (@pxref{Priorities}). The key bindings also conflict with CUA-mode
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
2182 (@pxref{Interaction}).
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
2183
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2184
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2185 @kindex C-c C-y
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2186 @cindex evaluate time range
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2187 @item C-c C-y
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2188 Evaluate a time range by computing the difference between start and
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2189 end. With prefix arg, insert result after the time range (in a table:
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2190 into the following column).
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2191 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2192
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2193 @cindex date, reading in minibuffer
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2194 @cindex time, reading in minibuffer
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2195 @cindex calendar, for selecting date
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2196 When Org-mode prompts for a date/time, the function reading your input
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2197 will replace anything you choose not to specify with the current date
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2198 and time. For details, see the documentation string of
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2199 @command{org-read-date}. Also, a calender will pop up to allow
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2200 selecting a date. The calendar can be fully controlled from the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2201 minibuffer, and a date can be selected with the following commands:
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2202
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2203 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2204 @kindex <
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2205 @item <
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2206 Scroll calendar backwards by one month.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2207 @kindex >
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2208 @item >
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2209 Scroll calendar forwards by one month.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2210 @kindex mouse-1
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2211 @item mouse-1
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2212 Select date by clicking on it.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2213 @kindex S-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2214 @item S-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2215 One day forward.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2216 @kindex S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2217 @item S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2218 One day back.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2219 @kindex S-@key{down}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2220 @item S-@key{down}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2221 One week forward.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2222 @kindex S-@key{up}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2223 @item S-@key{up}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2224 One week back.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2225 @kindex M-S-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2226 @item M-S-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2227 One month forward.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2228 @kindex M-S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2229 @item M-S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2230 One month back.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2231 @kindex @key{RET}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2232 @item @key{RET}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2233 Choose date in calendar (only if nothing typed into minibuffer).
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2234 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2235
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2236 @node Tags, Agenda views, Timestamps, Top
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2237 @chapter Tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2238 @cindex tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2239 @cindex headline tagging
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2240 @cindex matching, tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2241 @cindex sparse tree, tag based
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2242
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2243 If you wish to implement a system to cross-correlate information, an
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2244 excellent way is to assign @i{tags} to headline. Org-mode has
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2245 extensive support for using tags.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2246
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2247 Every headline can contain a list of tags, at the end of the headline.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2248 Tags are normal words containing letters, numbers, @samp{_}, and
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2249 @samp{@@}. Tags must be preceded and followed by a single colon; like
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2250 @samp{:WORK:}. Several tags can be specified like @samp{:WORK:URGENT:}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2251
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2252 @menu
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2253 * Tag inheritance:: Tags use the tree structure of the outline
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2254 * Setting tags:: How to assign tags to a headline
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2255 * Tag searches:: Searching for combinations of tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2256 @end menu
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2257
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2258 @node Tag inheritance, Setting tags, Tags, Tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2259 @section Tag inheritance
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2260 @cindex inheritance, of tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2261
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2262 @i{Tags} make use of the hierarchical structure of outline trees. If a
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2263 heading has a certain tag, all subheadings will inherit the tag as
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2264 well. For example, in the list
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2265
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2266 @example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2267 * Meeting with the French group :WORK:
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2268 ** Summary by Frank :BOSS:NOTES:
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2269 *** TODO Prepare slides for him :ACTION:
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2270 @end example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2271
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2272 @noindent
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2273 the final heading will have the tags @samp{:WORK:}, @samp{:BOSS:},
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2274 @samp{:NOTES:}, and @samp{:ACTION:}. When executing tag searches and
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2275 Org-mode finds that a certain headline matches the search criterion, it
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2276 will not check any sublevel headline, assuming that these likely also
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2277 match, and that the list of matches can become very long. However, this
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2278 may not be what you want, and you can influence inheritance and
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2279 searching using the variables @code{org-use-tag-inheritance} and
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2280 @code{org-tags-match-list-sublevels}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2281
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2282 @node Setting tags, Tag searches, Tag inheritance, Tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2283 @section Setting tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2284 @cindex setting tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2285
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2286 @kindex M-@key{TAB}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2287 As Org-mode deals with plain text files, tags can simply be typed into
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2288 the buffer. After a colon, @kbd{M-@key{TAB}} offers completion on all
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2289 tags being used in the current buffer. There is also a special command
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2290 for inserting tags:
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2291
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2292 @table @kbd
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2293 @kindex C-c C-c
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2294 @item C-c C-c
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2295 @cindex completion, of tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2296 Enter new tags for the current headline. The minibuffer will prompt for
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2297 a list of tags and offer completion with respect to all other tags used
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2298 in the current buffer. Several tags, separated by colons, may be
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2299 specified at the prompt. After pressing @key{RET}, the tags will be
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2300 inserted and aligned to @code{org-tags-column}. When called with a
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2301 @kbd{C-u} prefix, all tags in the current buffer will be aligned to that
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2302 column, just to make things look nice. TAGS are automatically realigned
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2303 after promotion, demotion, and TODO state changes (@pxref{TODO basics}).
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2304 @end table
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2305
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2306 @node Tag searches, , Setting tags, Tags
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2307 @section Tag searches
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2308 @cindex tag searches
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2309
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2310 Once a tags system has been set up, it can be used to collect related
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2311 information into special lists.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2312
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2313 @table @kbd
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2314 @kindex C-c \
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2315 @item C-c \
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2316 Create a sparse tree with all headlines matching a tags search.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2317 @kindex C-c a m
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2318 @item C-c a m
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2319 Create a global list of tag matches from all agenda files.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2320 @xref{Matching headline tags}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2321 @kindex C-c a M
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2322 @item C-c a M
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2323 Create a global list of tag matches from all agenda files, but check
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2324 only TODO items and force checking subitems (see variable
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2325 @code{org-tags-match-list-sublevels}).
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2326 @end table
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2327
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2328 A @i{tags} search string can use Boolean operators @samp{&} for AND and
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2329 @samp{|} for OR. @samp{&} binds more strongly than @samp{|}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2330 Parenthesis are currently not implemented. A tag may also be preceded
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2331 by @samp{-}, to select against it, and @samp{+} is syntactic sugar for
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2332 positive selection. The AND operator @samp{&} is optional when @samp{+}
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2333 or @samp{-} is present. For example, @samp{+WORK-BOSS} would select all
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2334 headlines that are tagged @samp{:WORK:}, but discard those also tagged
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2335 @samp{:BOSS:}. The search string @samp{WORK|LAPTOP} selects all lines
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2336 tagged @samp{:WORK:} or @samp{:LAPTOP:}. The string
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2337 @samp{WORK|LAPTOP&NIGHT} requires that the @samp{:LAPTOP:} lines are
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2338 also tagged @samp{NIGHT}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2339
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2340 @node Agenda views, Exporting, Tags, Top
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2341 @chapter Agenda Views
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2342 @cindex agenda views
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2343
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2344 Due to the way Org-mode works, TODO items, time-stamped items, and
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2345 tagged headlines can be scattered throughout a file or even a number of
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2346 files. To get an overview over open action items, or over events that
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2347 are important for a particular date, this information must be collected,
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2348 sorted and displayed in an organized way.
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2349
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2350 Org-mode can select items based on various criteria, and display them
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2351 in a separate buffer. Three different views are provided:
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2352
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2353 @itemize @bullet
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2354 @item
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2355 an @emph{agenda} that is like a calendar and shows information
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2356 for specific dates
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2357 @item
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2358 a @emph{TODO list} that covers all unfinished
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2359 action items, and
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2360 @item
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2361 a @emph{tags view} that shows information based on
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2362 the tags associated with headlines in the outline tree.
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2363 @end itemize
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2364
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2365 @noindent
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2366 The extracted information is displayed in a special @emph{agenda
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2367 buffer}. This buffer is read-only, but provides commands to visit the
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2368 corresponding locations in the original Org-mode files, and even to
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2369 edit these files remotely.
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2370
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2371 @menu
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2372 * Agenda files:: Files being searched for agenda information
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2373 * Agenda dispatcher:: Keyboard access to agenda views
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2374 * Weekly/Daily agenda:: The calendar page with current tasks
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2375 * Global TODO list:: All unfinished action items
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2376 * Matching headline tags:: Structured information with fine-tuned search
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2377 * Timeline:: Time-sorted view for single file
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2378 * Agenda commands:: Remote editing of org trees
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2379 @end menu
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2380
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2381 @node Agenda files, Agenda dispatcher, Agenda views, Agenda views
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2382 @section Agenda files
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2383
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2384 The information to be shown is collected from all @emph{agenda files},
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2385 the files listed in the variable @code{org-agenda-files}@footnote{If the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2386 value of that variable is not a list, but a single file name, then the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2387 list of agenda files will be maintained in that external file.}. Thus even
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2388 if you only work with a single Org-mode file, this file should be put
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2389 into that list@footnote{When using the dispatcher pressing @kbd{1}
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2390 before selecting a command will actually limit the command to the
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2391 current file, and ignore @code{org-agenda-files} until the next
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2392 dispatcher command.}. You can customize @code{org-agenda-files}, but
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2393 the easiest way to maintain it is through the following commands
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2394
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2395 @cindex files, adding to agenda list
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2396 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2397 @kindex C-c [
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2398 @item C-c [
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
2399 Add current file to the list of agenda files. The file is added to
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
2400 the front of the list. If it was already in the list, it is moved to
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
2401 the front. With prefix arg, file is added/moved to the end.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2402 @kindex C-c ]
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2403 @item C-c ]
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2404 Remove current file from the list of agenda files.
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
2405 @kindex C-,
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
2406 @item C-,
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2407 Cycle through agenda file list, visiting one file after the other.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2408 @end table
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2409
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2410 @noindent
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2411 The Org menu contains the current list of files and can be used
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2412 to visit any of them.
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2413
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2414 @node Agenda dispatcher, Weekly/Daily agenda, Agenda files, Agenda views
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2415 @section The agenda dispatcher
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2416 @cindex agenda dispatcher
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2417 @cindex dispatching agenda commands
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2418 @cindex custom agenda commands
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2419 @cindex agenda commands, custom
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2420 The views are created through a dispatcher that should be bound to a
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2421 global key, for example @kbd{C-c a} (@pxref{Installation and
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2422 activation}). In the following we will assume that @kbd{C-c a} is
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2423 indeed how the dispatcher is accessed and list keyboard access to
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2424 commands accordingly. After pressing @kbd{C-c a}, an additional
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2425 letter is required to execute a command. The dispatcher offers the
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2426 following default commands:
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2427 @table @kbd
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2428 @item a
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2429 Create the calendar-like agenda (@pxref{Weekly/Daily agenda}).
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2430 @item t / T
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2431 Create a list of all TODO items (@pxref{Global TODO list}).
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2432 @item m / M
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2433 Create a list of headlines matching a TAGS expression (@pxref{Matching
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2434 headline tags}).
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2435 @end table
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2436
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2437 You can also define custom commands that will be accessible through
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2438 the dispatcher, just like the default commands. Custom commands are
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2439 global searches for tags and specific TODO keywords, or a variety of
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2440 sparse tree creating commands (@pxref{Sparse trees}). As sparse trees
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2441 are only defined for a single org-mode file, these latter commands act
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2442 on the current buffer instead of the list of agenda files.
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2443
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2444 @kindex C-c a C
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2445 Custom commands are configured in the variable
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2446 @code{org-agenda-custom-commands}. You can customize this variable,
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2447 for example by pressing @kbd{C-c a C}. You can also directly set it
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2448 with Emacs Lisp in @file{.emacs}. For example:
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2449
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2450 @lisp
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2451 (setq org-agenda-custom-commands
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2452 '(("w" todo "WAITING")
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2453 ("u" tags "+BOSS-URGENT")
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2454 ("U" tags-tree "+BOSS-URGENT")
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2455 ("f" occur-tree "\\<FIXME\\>")))
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2456 @end lisp
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2457
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2458 @noindent will define @kbd{C-c a w} as a global search for
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2459 TODO entries with @samp{WAITING} as the TODO keyword, @kbd{C-c a u} as a
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2460 global tags search for headlines marked @samp{:BOSS:} but not
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2461 @samp{:URGENT:}, @kbd{C-c a U} to do the same search but only in the
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2462 current buffer and display the result as a sparse tree, and @kbd{C-c a
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2463 f} to create a sparse tree with all entries containing the word
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2464 @samp{FIXME}. For more information, look at the documentation string
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2465 of the variable @code{org-agenda-custom-commands}.
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2466
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2467 @node Weekly/Daily agenda, Global TODO list, Agenda dispatcher, Agenda views
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2468 @section The weekly/daily agenda
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2469 @cindex agenda
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2470
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2471 The purpose of the weekly/daily @emph{agenda} is to act like a page of
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2472 a paper agenda, showing all the tasks for the current week or day.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2473
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2474 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2475 @cindex org-agenda, command
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2476 @kindex C-c a a
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2477 @item C-c a a
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2478 Compile an agenda for the current week from a list of org files. The
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2479 agenda shows the entries for each day. With a @kbd{C-u} prefix (or
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2480 when the variable @code{org-agenda-include-all-todo} is @code{t}), all
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2481 unfinished TODO items (including those without a date) are also listed at
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2482 the beginning of the buffer, before the first date.@*
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2483 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2484
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2485 Remote editing from the agenda buffer means, for example, that you can
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2486 change the dates of deadlines and appointments from the agenda buffer.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2487 The commands available in the Agenda buffer are listed in @ref{Agenda
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2488 commands}.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2489
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2490 @menu
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2491 * Categories:: Not all tasks are equal
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2492 * Time-of-day specifications:: How the agenda knows the time
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2493 * Calendar/Diary integration:: Integrating Anniversaries and more
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2494 * Sorting of agenda items:: The order of things
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2495 @end menu
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2496
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2497 @node Categories, Time-of-day specifications, Weekly/Daily agenda, Weekly/Daily agenda
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2498 @subsection Categories
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2499
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2500 @cindex category
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2501 In the agenda buffer, each entry is preceded by a @emph{category},
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2502 which is derived from the file name. The category can also be set
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2503 with a special line anywhere in the buffer, looking like this:
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2504
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2505 @example
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2506 #+CATEGORY: Thesis
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2507 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2508
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
2509 If there are several such lines in a file, each specifies the category
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2510 for the text below it (but the first category also applies to any text
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2511 before the first CATEGORY line). The display in the agenda buffer looks
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2512 best if the category is not longer than 10 characters.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2513
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2514 @node Time-of-day specifications, Calendar/Diary integration, Categories, Weekly/Daily agenda
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2515 @subsection Time-of-Day Specifications
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2516
64069
ff90f1b70996 Version 3.13
Carsten Dominik <dominik@science.uva.nl>
parents: 63833
diff changeset
2517 Org-mode checks each agenda item for a time-of-day specification. The
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2518 time can be part of the time stamp that triggered inclusion into the
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2519 agenda, for example as in @w{@samp{<2005-05-10 Tue 19:00>}}. Time
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2520 ranges can be specified with two time stamps, like
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2521 @c
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2522 @w{@samp{<2005-05-10 Tue 20:30>--<2005-05-10 Tue 22:15>}}.
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2523
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2524 In the headline of the entry itself, a time(range) may also appear as
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2525 plain text (like @samp{12:45} or a @samp{8:30-1pm}. If the agenda
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2526 integrates the Emacs diary (@pxref{Calendar/Diary integration}), time
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2527 specifications in diary entries are recognized as well.
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2528
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2529 For agenda display, Org-mode extracts the time and displays it in a
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2530 standard 24 hour format as part of the prefix. The example times in
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2531 the previous paragraphs would end up in the agenda like this:
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2532
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2533 @example
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2534 8:30-13:00 Arthur Dent lies in front of the bulldozer
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2535 12:45...... Ford Prefect arrives and takes Arthur to the pub
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2536 19:00...... The Vogon reads his poem
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2537 20:30-22:15 Marwin escorts the Hitchhikers to the bridge
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2538 @end example
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2539
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2540 If the agenda is in single-day mode, or for the display of today, the
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2541 timed entries are embedded in a time grid, like
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2542
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2543 @example
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2544 8:00...... ------------------
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2545 8:30-13:00 Arthur Dent lies in front of the bulldozer
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2546 10:00...... ------------------
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2547 12:00...... ------------------
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2548 12:45...... Ford Prefect arrives and takes Arthur to the pub
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2549 14:00...... ------------------
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2550 16:00...... ------------------
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2551 18:00...... ------------------
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2552 19:00...... The Vogon reads his poem
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2553 20:00...... ------------------
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2554 20:30-22:15 Marwin escorts the Hitchhikers to the bridge
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2555 @end example
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2556
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2557 The time grid can be turned on and off with the variable
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2558 @code{org-agenda-use-time-grid}, and can be configured with
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2559 @code{org-agenda-time-grid}.
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2560
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2561
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2562 @node Calendar/Diary integration, Sorting of agenda items, Time-of-day specifications, Weekly/Daily agenda
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2563 @subsection Calendar/Diary integration
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2564 @cindex calendar integration
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2565 @cindex diary integration
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2566
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2567 Emacs contains the calendar and diary by Edward M. Reingold. The
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2568 calendar displays a three-month calendar with holidays from different
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2569 countries and cultures. The diary allows you to keep track of
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2570 anniversaries, lunar phases, sunrise/set, recurrent appointments
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2571 (weekly, monthly) and more. In this way, it is quite complementary to
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2572 Org-mode. It can be very useful to combine output from Org-mode with
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2573 the diary.
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2574
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2575 In order to include entries from the Emacs diary into Org-mode's
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2576 agenda, you only need to customize the variable
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2577
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2578 @lisp
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2579 (setq org-agenda-include-diary t)
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2580 @end lisp
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2581
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2582 @noindent After that, everything will happen automatically. All diary
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2583 entries including holidays, anniversaries etc will be included in the
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2584 agenda buffer created by Org-mode. @key{SPC}, @key{TAB}, and
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2585 @key{RET} can be used from the agenda buffer to jump to the diary
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2586 file in order to edit existing diary entries. The @kbd{i} command to
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2587 insert new entries for the current date works in the agenda buffer, as
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2588 well as the commands @kbd{S}, @kbd{M}, and @kbd{C} to display
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2589 Sunrise/Sunset times, show lunar phases and to convert to other
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2590 calendars, respectively. @kbd{c} can be used to switch back and forth
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2591 between calendar and agenda.
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2592
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2593 @node Sorting of agenda items, , Calendar/Diary integration, Weekly/Daily agenda
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2594 @subsection Sorting of agenda items
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2595 @cindex sorting, of agenda items
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2596 @cindex priorities, of agenda items
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2597 The entries for each day are sorted. The default order is to first
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2598 collect all items containing an explicit time-of-day specification.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2599 These entries will be shown at the beginning of the list, as a
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2600 @emph{schedule} for the day. After that, items remain grouped in
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2601 categories, in the sequence given by @code{org-agenda-files}. Within
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2602 each category, items are sorted by priority (@pxref{Priorities}).
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2603
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2604 The priority is a numerical quantity composed of the base priority
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2605 (2000 for priority @samp{A}, 1000 for @samp{B}, and 0 for @samp{C}),
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2606 plus additional increments for overdue scheduled or deadline items.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2607
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2608 Sorting can be customized using the variable
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2609 @code{org-agenda-sorting-strategy}.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2610
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2611
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2612 @node Global TODO list, Matching headline tags, Weekly/Daily agenda, Agenda views
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2613 @section The global TODO list
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2614 @cindex global TODO list
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2615 @cindex TODO list, global
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2616
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2617 The global TODO list contains all unfinished TODO items, formatted and
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2618 collected into a single place.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2619
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2620 @table @kbd
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2621 @kindex C-c a t
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2622 @item C-c a t
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2623 Show the global TODO list. This collects the TODO items from all
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2624 agenda files (@pxref{Agenda views}) into a single buffer. The buffer is in
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2625 @code{agenda-mode}, so there are commands to examine and manipulate
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2626 the TODO entries directly from that buffer (@pxref{Agenda commands}).
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2627 @xref{Global TODO list}, for more information.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2628 @kindex C-c a T
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2629 @item C-c a T
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2630 Like the above, but allows selection of a specific TODO keyword. You can
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2631 also do this by specifying a prefix argument to @kbd{C-c a t}. With a
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2632 @kbd{C-u} prefix you are prompted for a keyword. With a numeric
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2633 prefix, the Nth keyword in @code{org-todo-keywords} is selected.
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2634 @kindex r
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2635 The @kbd{r} key in the agenda buffer regenerates it, and you can give
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2636 a prefix argument to this command to change the selected TODO keyword,
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2637 for example @kbd{3 r}. If you often need a search for a specific
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2638 keyword, define a custom command for it (@pxref{Agenda dispatcher}).
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2639 @end table
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2640
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2641 Remote editing of TODO items means that you can change the state of a
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2642 TODO entry with a single key press. The commands available in the
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2643 TODO list are described in @ref{Agenda commands}.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2644
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2645 @node Matching headline tags, Timeline, Global TODO list, Agenda views
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2646 @section Matching headline tags
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2647 @cindex matching, of tags
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2648 @cindex tags view
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2649
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2650 If headlines in the agenda files are marked with @emph{tags}
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2651 (@pxref{Tags}), you can select headlines based on the tags that apply
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2652 to them and collect them into an agenda buffer.
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2653
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2654 @table @kbd
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2655 @kindex C-c a m
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2656 @item C-c a m
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2657 Produce a list of all headlines that match a given set of tags. The
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2658 command prompts for a selection criterion, which is a boolean logic
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2659 expression with tags, like @samp{+WORK+URGENT-WITHBOSS} or
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2660 @samp{WORK|HOME} (@pxref{Tags}). If you often need a specific search,
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2661 define a custom command for it (@pxref{Agenda dispatcher}).
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2662 @kindex C-c a M
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2663 @item C-c a M
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2664 Like @kbd{C-c a m}, but only select headlines that are also TODO items
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2665 and force checking subitems (see variable
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2666 @code{org-tags-match-list-sublevels}.
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2667 @end table
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2668
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2669 The commands available in the tags list are described in @ref{Agenda
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2670 commands}.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2671
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2672 @node Timeline, Agenda commands, Matching headline tags, Agenda views
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2673 @section Timeline for a single file
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2674 @cindex single file summary
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2675 @cindex agenda, for single file
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2676 @cindex timeline, single file
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2677 @cindex time-sorted view
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2678
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2679 The timeline is not really an agenda view, because it only summarizes
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2680 items from a single Org-mode file. But it also uses the agenda buffer
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2681 and provides similar commands, so we discuss it here. The timeline
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2682 shows all time-stamped items in a single Org-mode file (or the
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2683 selected part of it), in a @emph{time-sorted view}. The main purpose of
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2684 this command is to give an overview over events in a project.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2685
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2686 @table @kbd
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2687 @kindex C-c C-r
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2688 @item C-c C-r
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2689 Show a time-sorted view of the org file, with all time-stamped items.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2690 When called with a @kbd{C-u} prefix, all unfinished TODO entries
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2691 (scheduled or not) are also listed under the current date.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2692 @end table
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2693
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2694 @noindent
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2695 The commands available in the timeline buffer are listed in
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2696 @ref{Agenda commands}.
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2697
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2698 @node Agenda commands, , Timeline, Agenda views
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2699 @section Commands in the agenda buffer
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2700 @cindex commands, in agenda buffer
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2701
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2702 Entries in the agenda buffer are linked back to the org file or diary
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2703 file where they originate. You are not allowed to edit the agenda
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2704 buffer itself, but commands are provided to show and jump to the
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2705 original entry location, and to edit the org-files ``remotely'' from
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2706 the agenda buffer. In this way, all information is stored only once,
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2707 removing the risk that your agenda and note files may diverge.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2708
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2709 Some commands can be executed with mouse clicks on agenda lines. For
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2710 the other commands, the cursor needs to be in the desired line.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2711
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2712 @table @kbd
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2713 @tsubheading{Motion}
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2714 @kindex n
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2715 @item n
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2716 Next line (same as @key{up}).
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2717 @kindex p
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2718 @item p
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2719 Previous line (same as @key{down}).
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2720 @tsubheading{View/GoTo org file}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2721 @kindex mouse-3
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2722 @kindex @key{SPC}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2723 @item mouse-3
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
2724 @itemx @key{SPC}
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2725 Display the original location of the item in another window.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2726
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2727 @kindex L
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2728 @item L
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2729 Display original location and recenter that window.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2730
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2731 @kindex mouse-2
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
2732 @kindex mouse-1
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2733 @kindex @key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2734 @item mouse-2
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
2735 @itemx mouse-1
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2736 @itemx @key{TAB}
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
2737 Go to the original location of the item in another window. Under Emacs
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2738 22, @kbd{mouse-1} will also works for this.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2739
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2740 @kindex @key{RET}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2741 @itemx @key{RET}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2742 Go to the original location of the item and delete other windows.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2743
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2744 @kindex f
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2745 @item f
67537
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
2746 Toggle Follow mode. In Follow mode, as you move the cursor through
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2747 the agenda buffer, the other window always shows the corresponding
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2748 location in the org file.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2749
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2750 @kindex l
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
2751 @item l
67537
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
2752 Toggle Logbook mode. In Logbook mode, entries that where marked DONE while
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
2753 logging was on (variable @code{org-log-done}) are shown in the agenda.
f0c77dab544c (Progress Logging): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 67382
diff changeset
2754
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2755 @tsubheading{Change display}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2756 @kindex o
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2757 @item o
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2758 Delete other windows.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2759
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2760 @kindex w
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2761 @item w
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2762 Switch to weekly view (7 days displayed together).
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2763
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2764 @kindex d
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2765 @item d
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2766 Switch to daily view (just one day displayed).
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2767
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2768 @kindex D
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2769 @item D
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2770 Toggle the inclusion of diary entries. See @ref{Calendar/Diary integration}.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2771
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2772 @kindex g
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2773 @item g
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2774 Toggle the time grid on and off. See also the variables
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2775 @code{org-agenda-use-time-grid} and @code{org-agenda-time-grid}.
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
2776
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2777 @kindex r
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2778 @item r
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2779 Recreate the agenda buffer, for example to reflect the changes
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2780 after modification of the time stamps of items with S-@key{left} and
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
2781 S-@key{right}. When the buffer is the global todo list, a prefix
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
2782 argument is interpreted to create a selective list for a specific TODO
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
2783 keyword.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2784
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2785 @kindex @key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2786 @item @key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2787 Display the following @code{org-agenda-ndays} days. For example, if
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2788 the display covers a week, switch to the following week. With prefix
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2789 arg, go forward that many times @code{org-agenda-ndays} days.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2790
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2791 @kindex @key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2792 @item @key{left}
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
2793 Display the previous dates.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2794
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2795 @kindex .
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2796 @item .
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2797 Goto today.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2798
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2799 @tsubheading{Remote editing}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2800
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2801 @item 0-9
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2802 Digit argument.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2803
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2804 @kindex t
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2805 @item t
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2806 Change the TODO state of the item, both in the agenda and in the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2807 original org file.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2808
68173
73b14864a9b7 (Agenda commands): Document tags command.
Carsten Dominik <dominik@science.uva.nl>
parents: 68060
diff changeset
2809 @kindex T
73b14864a9b7 (Agenda commands): Document tags command.
Carsten Dominik <dominik@science.uva.nl>
parents: 68060
diff changeset
2810 @item T
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2811 Show all tags associated with the current item. Because of
68173
73b14864a9b7 (Agenda commands): Document tags command.
Carsten Dominik <dominik@science.uva.nl>
parents: 68060
diff changeset
2812 inheritance, this may be more than the tags listed in the line itself.
73b14864a9b7 (Agenda commands): Document tags command.
Carsten Dominik <dominik@science.uva.nl>
parents: 68060
diff changeset
2813
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2814 @kindex :
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2815 @item :
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2816 Set tags for the current headline.
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
2817
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2818 @kindex ,
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2819 @item ,
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2820 Set the priority for the current item. Org-mode prompts for the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2821 priority character. If you reply with @key{SPC}, the priority cookie
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2822 is removed from the entry.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2823
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2824 @kindex P
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2825 @item p
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2826 Display weighted priority of current item.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2827
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2828 @kindex +
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2829 @kindex S-@key{up}
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2830 @item +
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2831 @itemx S-@key{up}
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2832 Increase the priority of the current item. The priority is changed in
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2833 the original buffer, but the agenda is not resorted. Use the @kbd{r}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2834 key for this.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2835
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2836 @kindex -
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2837 @kindex S-@key{down}
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2838 @item -
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
2839 @itemx S-@key{down}
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2840 Decrease the priority of the current item.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2841
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2842 @kindex S-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2843 @item S-@key{right}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2844 Change the time stamp associated with the current line by one day into
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2845 the future. With prefix argument, change it by that many days. For
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2846 example, @kbd{3 6 5 S-@key{right}} will change it by a year. The
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2847 stamp is changed in the original org file, but the change is not
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
2848 directly reflected in the agenda buffer. Use the
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2849 @kbd{r} key to update the buffer.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2850
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2851 @kindex S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2852 @item S-@key{left}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2853 Change the time stamp associated with the current line by one day
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2854 into the past.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2855
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2856 @kindex >
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2857 @item >
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2858 Change the time stamp associated with the current line to today.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2859 The key @kbd{>} has been chosen, because it is the same as @kbd{S-.}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2860 on my keyboard.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2861
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2862 @cindex diary entries, creating from agenda
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2863 @kindex i
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2864 @item i
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2865 Insert a new entry into the diary. Prompts for the type of entry
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2866 (day, weekly, monthly, yearly, anniversary, cyclic) and creates a new
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2867 entry in the diary, just like @kbd{i d} etc. would do in the calendar.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2868 The date is taken from the cursor position.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2869
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2870 @tsubheading{Calendar commands}
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2871 @kindex c
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2872 @item c
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2873 Open the Emacs calendar and move to the date at the agenda cursor.
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2874
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2875 @item c
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2876 When in the calendar, compute and show the Org-mode agenda for the
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2877 date at the cursor.
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2878
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2879 @kindex M
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2880 @item M
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2881 Show the phases of the moon for the three months around current date.
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2882
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2883 @kindex S
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2884 @item S
61562
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2885 Show sunrise and sunset times. The geographical location must be set
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2886 with calendar variables, see documentation of the Emacs calendar.
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2887
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2888 @kindex C
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2889 @item C
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2890 Convert the date at cursor into many other cultural and historic
6cd3b18f298e Update to version 3.06
Carsten Dominik <dominik@science.uva.nl>
parents: 61136
diff changeset
2891 calendars.
61136
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2892
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2893 @kindex H
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2894 @item H
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2895 Show holidays for three month around the cursor date.
003dd96023ff updated to org-mode version 3.05
Carsten Dominik <dominik@science.uva.nl>
parents: 59542
diff changeset
2896
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2897 @kindex C-c C-x C-c
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2898 @item C-c C-x C-c
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2899 Export a single iCalendar file containing entries from all agenda files.
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2900
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2901 @tsubheading{Quit and Exit}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2902 @kindex q
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2903 @item q
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2904 Quit agenda, remove the agenda buffer.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2905
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2906 @kindex x
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2907 @cindex agenda files, removing buffers
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2908 @item x
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2909 Exit agenda, remove the agenda buffer and all buffers loaded by Emacs
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2910 for the compilation of the agenda. Buffers created by the user to
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2911 visit org files will not be removed.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2912
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2913 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2914
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
2915 @node Exporting, Miscellaneous, Agenda views, Top
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2916 @chapter Exporting
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2917 @cindex exporting
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2918
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2919 Org-mode documents can be exported into a variety of other formats. For
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2920 printing and sharing of notes, ASCII export produces a readable and
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2921 simple version of an Org-mode file. HTML export allows to publish a
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2922 notes file on the web, while the XML format provides a solid base for
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2923 exchange with a broad range of other applications. To incorporate
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2924 entries with associated times like deadlines or appointments into a
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2925 desktop calendar program like iCal, Org-mode can also produce extracts
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2926 in the iCalendar format. Currently Org-mode only supports export, not
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2927 import of these different formats.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2928
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2929 When exporting, Org-mode uses special conventions to enrich the output
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2930 produced. @xref{Text interpretation}, for more details.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2931
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2932 @menu
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2933 * ASCII export:: Exporting to plain ASCII
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2934 * HTML export:: Exporting to HTML
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2935 * XML export:: Exporting to XML
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2936 * iCalendar export:: Exporting in iCalendar format
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2937 * Text interpretation:: How the exporter looks at the file
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2938 @end menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2939
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2940 @node ASCII export, HTML export, Exporting, Exporting
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2941 @section ASCII export
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2942 @cindex ASCII export
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2943
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2944 ASCII export produces an simple and very readable version of an Org-mode
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2945 file.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2946
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2947 @cindex region, active
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2948 @cindex active region
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2949 @cindex transient-mark-mode
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2950 @table @kbd
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
2951 @kindex C-c C-x a
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2952 @item C-c C-x a
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2953 Export as ASCII file. If there is an active region, only the region
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2954 will be exported. For an org file @file{myfile.org}, the ASCII file
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2955 will be @file{myfile.txt}. The file will be overwritten without
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2956 warning.
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2957 @end table
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2958
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2959 @cindex headline levels, for exporting
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2960 In the exported version, the first 3 outline levels will become
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2961 headlines, defining a general document structure. Additional levels
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2962 will be exported as itemized lists. If you want that transition to occur
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2963 at a different level, specify it with a prefix argument. For example,
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2964
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2965 @example
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2966 @kbd{C-1 C-c C-x a org-export-as-ascii}
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2967 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2968
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2969 @noindent
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2970 creates only top level headlines and does the rest as items.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2971
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
2972 @node HTML export, XML export, ASCII export, Exporting
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2973 @section HTML export
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2974 @cindex HTML export
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2975
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
2976 Org-mode contains an HTML exporter with extensive HTML formatting, in
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
2977 ways similar to John Grubers @emph{markdown} language, but with
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
2978 additional support for tables.
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2979
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2980 @cindex region, active
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2981 @cindex active region
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2982 @cindex transient-mark-mode
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2983 @table @kbd
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
2984 @kindex C-c C-x h
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2985 @item C-c C-x h
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2986 Export as HTML file @file{myfile.html}.
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
2987 @kindex C-c C-x b
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
2988 @item C-c C-x b
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2989 Export as HTML file and open it with a browser.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2990 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2991
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2992 @cindex headline levels, for exporting
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2993 In the exported version, the first 3 outline levels will become
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2994 headlines, defining a general document structure. Additional levels
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2995 will be exported as itemized lists. If you want that transition to occur
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2996 at a different level, specify it with a prefix argument. For example,
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
2997
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2998 @example
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
2999 @kbd{C-2 C-c C-x b}
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3000 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3001
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3002 @noindent
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3003 creates two levels of headings and does the rest as items.
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3004
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3005 If you want to include HTML tags which should be interpreted as such,
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3006 mark them with a @samp{@@} like in @samp{@@<b>bold text@@</b>}.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3007 Plain @samp{<} and @samp{>} are always transformed to @samp{&lt;} and
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3008 @samp{&gt;} in HTML export.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3009
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3010 You can also give style information for the exported file. The
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3011 default specification can be configured through the option
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3012 @code{org-export-html-style}. If you want to use a file-local style,
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3013 you may use file variables, best wrapped into a COMMENT section at the
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3014 end of the outline tree. For example:
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3015
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3016 @example
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3017 * COMMENT HTML style specifications
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3018
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3019 # Local Variables:
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3020 # org-export-html-style: " <style type=\"text/css\">
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3021 p @{font-weight: normal; color: gray; @}
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3022 h1 @{color: black; @}
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3023 </style>"
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3024 # End: ***
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3025 @end example
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3026
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3027 Remember to execute @kbd{M-x normal-mode} after changing this to make
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3028 the new style visible to Emacs. This command restarts org-mode for the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3029 current buffer and forces Emacs to re-evaluate the local variables
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3030 section in the buffer.
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3031
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
3032 @c FIXME: More about header and footer styles
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
3033 @c FIXME: Talk about links and targets.
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
3034
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3035 @node XML export, iCalendar export, HTML export, Exporting
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3036 @section XML export
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3037 @cindex XML export
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3038
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3039 Org-mode contains an XML exporter that produces XOXO-style XML.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3040 Currently, this exporter only handles the general outline structure and
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3041 does not interpret any additional Org-mode features.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3042
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3043 @table @kbd
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3044 @kindex C-c C-x C-x
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3045 @item C-c C-x C-x
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3046 Export as XML file @file{myfile.xml}.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3047 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3048
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3049 @node iCalendar export, Text interpretation, XML export, Exporting
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3050 @section iCalendar export
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3051 @cindex iCalendar export
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3052
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3053 Some people like to use Org-mode for keeping track of projects, but
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3054 still prefer a standard calendar application for anniversaries and
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3055 appointments. In this case it can be useful to have deadlines and
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3056 other time-stamped items in Org-mode files show up in the calendar
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3057 application. Org-mode can export calendar information in the standard
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3058 iCalendar format.
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3059
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3060 @table @kbd
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3061 @kindex C-c C-x i
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3062 @item C-c C-x i
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3063 Create iCalendar entries for the current file and store them in the same
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3064 directory, using a file extension @file{.ics}.
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3065 @kindex C-c C-x C-i
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3066 @item C-c C-x C-i
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3067 Like @kbd{C-c C-x i}, but do this for all files in
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3068 @code{org-agenda-files}. For each of these files, a separate iCalendar
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3069 file will be written.
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3070 @kindex C-c C-x c
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3071 @item C-c C-x c
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3072 Create a single large iCalendar file from all files in
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3073 @code{org-agenda-files} and write it to the file given by
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3074 @code{org-combined-agenda-icalendar-file}.
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3075 @end table
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3076
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
3077 How this calendar is best read and updated, depends on the application
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
3078 you are using. For example, when using iCal under Apple MacOS X, you
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
3079 could create a new calendar @samp{OrgMode} (the default name for the
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
3080 calendar created by @kbd{C-c C-x c}, see the variables
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3081 @code{org-icalendar-combined-name} and
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3082 @code{org-combined-agenda-icalendar-file}). Then set Org-mode to
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3083 overwrite the corresponding file
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3084 @file{~/Library/Calendars/OrgMode.ics}. You may even use AppleScript
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3085 to make iCal re-read the calendar files each time a new version of
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3086 @file{OrgMode.ics} is produced. Here is the setup needed for this:
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3087
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3088 @cindex applescript, for calendar update
66264
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3089 @lisp
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3090 (setq org-combined-agenda-icalendar-file
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3091 "~/Library/Calendars/OrgMode.ics")
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3092 (add-hook 'org-after-save-iCalendar-file-hook
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3093 (lambda ()
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3094 (shell-command
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3095 "osascript -e 'tell application \"iCal\" to reload calendars'")))
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3096 @end lisp
d979e1d45f97 (Summary): Mention iCalendar support.
Carsten Dominik <dominik@science.uva.nl>
parents: 65965
diff changeset
3097
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3098 @node Text interpretation, , iCalendar export, Exporting
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3099 @section Text interpretation by the exporter
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3100
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3101 The exporter backends interpret additional structure in the Org-mode file
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3102 in order to produce better output.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3103
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3104 @menu
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3105 * Comment lines:: Some lines will not be exported
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3106 * Enhancing text:: Subscripts, symbols and more
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3107 * Export options:: How to influence the export settings
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3108 @end menu
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3109
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3110 @node Comment lines, Enhancing text, Text interpretation, Text interpretation
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3111 @subsection Comment lines
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3112 @cindex comment lines
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3113 @cindex exporting, not
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3114
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3115 Lines starting with @samp{#} in column zero are treated as comments
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3116 and will never be exported. Also entire subtrees starting with the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3117 word @samp{COMMENT} will never be exported. Finally, any text before
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3118 the first headline will not be exported either.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3119
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3120 @table @kbd
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3121 @kindex C-c ;
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3122 @item C-c ;
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3123 Toggle the COMMENT keyword at the beginning of an entry.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3124 @end table
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3125
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3126
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3127
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3128 @node Enhancing text, Export options, Comment lines, Text interpretation
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3129 @subsection Enhancing text for export
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3130 @cindex enhancing text
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3131 @cindex richer text
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3132
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3133 Some of the export backends of Org-mode allow for sophisticated text
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3134 formatting, this is true in particular for the HTML backend. Org-mode
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3135 has a number of typing conventions that allow to produce a richly
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3136 formatted output.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3137
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3138
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3139 @itemize @bullet
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3140
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3141 @cindex hand-formatted lists
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3142 @cindex lists, hand-formatted
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3143 @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3144 Plain lists @samp{-}, @samp{*} or @samp{+} as bullet, or with @samp{1.}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3145 or @samp{2)} as enumerator will be recognized and transformed if the
70133
36d1ec75581c * org.texi: (Time stamps): Better explanation of the purpose of
Carsten Dominik <dominik@science.uva.nl>
parents: 70065
diff changeset
3146 backend supports lists. See @xref{Plain lists}.
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3147
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3148 @cindex underlined text
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3149 @cindex bold text
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3150 @cindex italic text
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3151 @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3152 You can make words @b{*bold*}, @i{/italic/}, and _underlined_
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3153
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3154 @cindex @TeX{} interpretation
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3155 @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3156 Simple @TeX{}-like math constructs are interpreted:
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3157
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3158 @cindex completion, of @TeX{} symbols
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3159 @itemize @minus
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3160 @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3161 @samp{10^22} and @samp{J_n} are super- and subscripts. You can quote
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3162 @samp{^} and @samp{_} with a backslash: @samp{\_} and @samp{\^}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3163 @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3164 @samp{\alpha} indicates a Greek letter, @samp{\to} an arrow. You can
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3165 use completion for these macros, just type @samp{\} and maybe a few
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3166 letters, and press @kbd{M-@key{TAB}} to see possible completions.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3167 @end itemize
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3168
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3169 @cindex tables, export
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3170 @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3171 Tables are transformed into native tables under the exporter, if the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3172 export backend supports this. Data fields before the first horizontal
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3173 separator line will be formatted as table header fields.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3174
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3175 @cindex fixed width
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3176 @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3177 If a headline starts with the word @samp{QUOTE}, the text below the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3178 headline will be typeset as fixed-width, to allow quoting of computer
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3179 codes etc. Lines starting with @samp{:} are also typeset in
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3180 fixed-width font.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3181 @table @kbd
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3182 @kindex C-c :
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3183 @item C-c :
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3184 Toggle fixed-width for entry (QUOTE) or region, see below.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3185 @end table
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3186 @end itemize
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3187
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3188 If these conversions conflict with your habits of typing ASCII text,
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3189 they can all be turned off with corresponding variables (see the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3190 customization group @code{org-export-general}, and the following section
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3191 which explains how to set export options with special lines in a
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3192 buffer.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3193
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3194 @node Export options, , Enhancing text, Text interpretation
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3195 @subsection Export options
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3196 @cindex options, for export
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3197
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3198 @cindex completion, of option keywords
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3199 The exporter recognizes special lines in the buffer which provide
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3200 additional information. These lines may be put anywhere in the file.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3201 The whole set of lines can be inserted into the buffer with @kbd{C-c
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3202 C-x t}. For individual lines, a good way to make sure the keyword is
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3203 correct is to type @samp{#+} and then use @kbd{M-@key{TAB}} completion
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3204 (@pxref{Completion}).
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3205
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3206 @table @kbd
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3207 @kindex C-c C-x t
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3208 @item C-c C-x t
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3209 Insert template with export options, see example below.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3210 @end table
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3211
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3212 @example
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3213 #+TITLE: the title to be shown (default is the buffer name)
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3214 #+AUTHOR: the author (default taken from @code{user-full-name})
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3215 #+EMAIL: his/her email address (default from @code{user-mail-address})
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3216 #+LANGUAGE: language for HTML, e.g. @samp{en} (@code{org-export-default-language})
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3217 #+TEXT: Some descriptive text to be inserted at the beginning.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3218 #+TEXT: Several lines may be given.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3219 #+OPTIONS: H:2 num:t toc:t \n:nil @:t ::t |:t ^:t *:nil TeX:t
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3220 @end example
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3221
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3222 @noindent
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3223 The OPTIONS line is a compact form to specify export settings. Here
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3224 you can:
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3225 @cindex headline levels
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3226 @cindex section-numbers
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3227 @cindex table of contents
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3228 @cindex linebreak preservation
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3229 @cindex quoted html tags
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3230 @cindex fixed-width sections
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3231 @cindex tables
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3232 @cindex @TeX{}-like syntax for sub- and superscripts
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3233 @cindex emphasized text
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3234 @cindex @TeX{} macros
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3235 @example
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3236 H: @r{set the number of headline levels for export}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3237 num: @r{turn on/off section-numbers}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3238 toc: @r{turn on/off table of contents}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3239 \n: @r{turn on/off linebreak-preservation}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3240 @@: @r{turn on/off quoted html tags}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3241 :: @r{turn on/off fixed-width sections}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3242 |: @r{turn on/off tables}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3243 ^: @r{turn on/off @TeX{}-like syntax for sub- and superscripts.}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3244 *: @r{turn on/off emphasized text (bold, italic, underlined)}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3245 TeX: @r{turn on/off @TeX{} macros}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3246 @end example
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3247
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3248 @node Miscellaneous, Index, Exporting, Top
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3249 @chapter Miscellaneous
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3250
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3251 @menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3252 * Completion:: M-TAB knows what you need
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3253 * Customization:: Adapting Org-mode to your taste
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3254 * Summary of in-buffer settings:: Using special lines to set options
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3255 * The very busy C-c C-c key:: When in doubt, press C-c C-c
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3256 * Clean view:: Getting rid of leading stars in the outline
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3257 * TTY keys:: Using Org-mode on a tty
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3258 * FAQ:: Frequently asked questions
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3259 * Interaction:: Other Emacs packages
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3260 * Bugs:: Things which do not work perfectly
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3261 * Acknowledgments:: These people provided feedback and more
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3262 @end menu
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3263
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3264 @node Completion, Customization, Miscellaneous, Miscellaneous
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3265 @section Completion
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3266 @cindex completion, of @TeX{} symbols
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3267 @cindex completion, of TODO keywords
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3268 @cindex completion, of dictionary words
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3269 @cindex completion, of option keywords
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
3270 @cindex completion, of CamelCase links
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3271 @cindex completion, of tags
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3272 @cindex @TeX{} symbol completion
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3273 @cindex TODO keywords completion
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3274 @cindex dictionary word completion
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3275 @cindex option keyword completion
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3276 @cindex CamelCase link completion
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3277 @cindex tag completion
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3278
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3279 Org-mode supports in-buffer completion. This type of completion does
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3280 not make use of the minibuffer. You simply type a few letters into
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3281 the buffer and use the key to complete text right there.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3282
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3283 @table @kbd
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3284 @kindex M-@key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3285 @item M-@key{TAB}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3286 Complete word at point
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3287 @itemize @bullet
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3288 @item
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3289 At the beginning of a headline, complete TODO keywords.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3290 @item
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3291 After @samp{\}, complete @TeX{} symbols supported by the exporter.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3292 @item
67344
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
3293 After @samp{*}, complete CamelCase versions of all headlines in the
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
3294 buffer.
22aa7225124f (TODO basics): Document the global todo list.
Carsten Dominik <dominik@science.uva.nl>
parents: 67219
diff changeset
3295 @item
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3296 After @samp{:}, complete tags used elsewhere in the buffer.
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3297 @item
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3298 After @samp{#+}, complete the special keywords like @samp{TYP_TODO} or
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3299 @samp{OPTIONS} which set file-specific options for Org-mode. When the
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3300 option keyword is already complete, pressing @kbd{M-@key{TAB}} again
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3301 will insert example settings for this keyword.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3302 @item
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3303 Elsewhere, complete dictionary words using ispell.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3304 @end itemize
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3305 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3306
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3307
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3308 @node Customization, Summary of in-buffer settings, Completion, Miscellaneous
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3309 @section Customization
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3310 @cindex customization
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3311 @cindex options, for customization
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3312 @cindex variables, for customization
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3313
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3314 There are more than 100 variables that can be used to customize
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3315 Org-mode. For the sake of compactness of the manual, we are not
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3316 describing the variables here. A structured overview of customization
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3317 variables is available with @kbd{M-x org-customize}. Or select
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3318 @code{Browse Org Group} from the @code{Org->Customization} menu. Many
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3319 settings can also be activated on a per-file basis, by putting special
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3320 lines into the buffer (@pxref{Summary of in-buffer settings}).
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3321
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3322 @node Summary of in-buffer settings, The very busy C-c C-c key, Customization, Miscellaneous
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3323 @section Summary of in-buffer settings
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3324 @cindex in-buffer settings
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3325 @cindex special keywords
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3326
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3327 Org-mode uses special lines in the buffer to define settings on a
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3328 per-file basis. These lines start with a @samp{#+} followed by a
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3329 keyword, a colon, and then individual words defining a setting. Several
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3330 settings words con be in the same line, but you can also have multiple
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3331 lines for the keyword. While these settings are described throughout
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3332 the manual, here is a summary. After changing any of those lines in the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3333 buffer, press @kbd{C-c C-c} with the cursor still in the line to
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3334 activate the changes immediately. Otherwise they become effective only
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3335 when the file is visited again in a new Emacs session.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3336
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3337 @table @kbd
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3338 @item #+STARTUP:
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3339 This line sets options to be used at startup of org-mode, when an
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3340 Org-mode file is being visited. The first set of options deals with the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3341 initial visibility of the outline tree. The corresponding variable for
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3342 global default settings is @code{org-startup-folded}, with a default
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3343 value @code{t}, which means @code{overview}.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3344 @example
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3345 overview @r{top-level headlines only}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3346 content @r{all headlines}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3347 showall @r{no folding at all, show everything}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3348 @end example
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3349 Then there are options for aligning tables upon visiting a file. This
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3350 is useful in files containing narrowed table columns. The corresponding
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3351 variable is @code{org-startup-align-all-tables}, with a default value
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3352 @code{nil}.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3353 @example
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3354 align @r{align all tables}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3355 noalign @r{don't align table on startup}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3356 @end example
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3357 Here are the options for hiding leading stars in outline headings. The
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3358 corresponding variables are @code{org-hide-leading-stars} and
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3359 @code{org-odd-levels-only}, both with a default setting @code{nil}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3360 (meaning @code{showstars} and @code{oddeven}).
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3361 @example
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3362 hidestars @r{make all but one of the stars starting a headline invisible.}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3363 showstars @r{show all stars starting a headline}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3364 odd @r{allow only odd outline levels (1,3,...)}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3365 oddeven @r{allow all outline levels}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3366 @end example
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3367 @item #+SEQ_TODO: #+TYP_TODO:
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3368 These lines that the TODO keywords and their interpretation in the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3369 current file. The corresponding variables are @code{org-todo-keywords}
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3370 and @code{org-todo-interpretation}.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3371 @item #+CATEGORY:
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3372 This line sets the category for the agenda file. The category applies
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3373 for all subsequent lines until the next @samp{#+CATEGORY} line, or the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3374 end of the file.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3375 @item #+TBLFM:
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3376 This line contains the formulas for the table directly above the line.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3377 @item #+TITLE:, #+AUTHOR:, #+EMAIL:, #+LANGUAGE:, #+TEXT:, #+OPTIONS:
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3378 These line provide setting for exporting files. For more details see
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3379 @ref{Export options}.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3380 @end table
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3381
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3382 @node The very busy C-c C-c key, Clean view, Summary of in-buffer settings, Miscellaneous
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3383 @section The very busy C-c C-c key
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3384 @kindex C-c C-c
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3385
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3386 The key @kbd{C-c C-c} has many purposes in org-mode, which are all
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3387 mentioned scattered throughout this manual. One specific function of
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3388 this key is to add @emph{tags} to a headline (@pxref{Tags}). In many
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3389 other circumstances it means something like @emph{Hey Org-mode, look
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3390 here and update according to what you see here}. Here is a summary what
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3391 this means in different contexts.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3392
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3393 @itemize @minus
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3394 @c @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3395 @c If the cursor is in a headline, prompt for tags and insert them
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3396 @c into the current line, aligned to `org-tags-column'. When called
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3397 @c with prefix arg, realign all tags in the current buffer.
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3398 @item
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3399 If the cursor is in one of the special #+KEYWORD lines, this
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3400 triggers scanning the buffer for these lines and updating the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3401 information.
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3402 @item
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3403 If the cursor is inside a table, realign the table. This command
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3404 works even if the automatic table editor has been turned off.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3405 @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3406 If the cursor is on a #+TBLFM line, re-apply the formulas to
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3407 the entire table.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3408 @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3409 If the cursor is inside a table created by the @file{table.el} package,
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3410 activate that table.
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3411 @item
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3412 If the current buffer is a remember buffer, close note and file it.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3413 with a prefix argument, file it without further interaction to the default
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3414 location.
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3415 @item
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3416 If the cursor is on a <<<target>>>, update radio targets and corresponding
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3417 links in this buffer.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3418 @item
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3419 If the cursor is on a numbered item in a plain list, renumber the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3420 ordered list.
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3421 @end itemize
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3422
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3423 @node Clean view, TTY keys, The very busy C-c C-c key, Miscellaneous
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3424 @section A cleaner outline view
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3425 @cindex hiding leading stars
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3426 @cindex clean outline view
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3427
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3428 Some people find it noisy and distracting that the Org-mode headlines
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3429 are starting with a potentially large number of stars. For example
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3430 the tree from @ref{Headlines}:
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3431
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3432 @example
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3433 * Top level headline
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3434 ** Second level
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3435 *** 3rd level
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3436 some text
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3437 *** 3rd level
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3438 more text
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3439 * Another top level headline
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3440 @end example
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3441
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3442 @noindent
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3443 Unfortunately this is deeply ingrained into the code of Org-mode and
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3444 cannot be easily changed. You can, however, modify the display in such
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3445 a way that all leading stars become invisible and the outline more easy
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3446 to read. To do this, customize the variable
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3447 @code{org-hide-leading-stars} like this:
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3448
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3449 @lisp
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3450 (setq org-hide-leading-stars t)
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3451 @end lisp
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3452
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3453 @noindent
69456
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3454 or change this on a per-file basis with one of the lines (anywhere in
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3455 the buffer)
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3456
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3457 @example
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3458 #+STARTUP: showstars
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3459 #+STARTUP: hidestars
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3460 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3461
69456
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3462 @noindent
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3463 Press @kbd{C-c C-c} with the cursor in a @samp{STARTUP} line to activate
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3464 the modifications.
69456
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3465
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3466 With stars hidden, the tree becomes:
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3467
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3468 @example
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3469 * Top level headline
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3470 * Second level
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3471 * 3rd level
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3472 some text
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3473 * 3rd level
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3474 more text
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3475 * Another top level headline
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3476 @end example
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3477
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3478 @noindent
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3479 Note that the leading stars are not truly replaced by whitespace, they
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3480 are only fontified with the face @code{org-hide} that uses the
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3481 background color as font color. If are are not using either white or
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3482 black background, you may have to customize this face to get the wanted
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3483 effect. Another possibility is to set this font such that the extra
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3484 stars are @i{almost} invisible, for example using the color
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3485 @code{grey90} on a white background.
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3486
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3487 Things become cleaner still if you skip all the even levels and use only
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3488 odd levels 1, 3, 5..., effectively adding two stars to go from one
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3489 outline level to the next:
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3490
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3491 @example
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3492 * Top level headline
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3493 * Second level
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3494 * 3rd level
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3495 some text
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3496 * 3rd level
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3497 more text
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3498 * Another top level headline
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3499 @end example
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3500
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3501 @noindent
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3502 In order to make the structure editing and export commands handle this
69456
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3503 convention correctly, use
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3504
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3505 @lisp
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3506 (setq org-odd-levels-only t)
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3507 @end lisp
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3508
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3509 @noindent
69456
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3510 or set this on a per-file basis with one of the following lines (don't
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3511 forget to press @kbd{C-c C-c} with the cursor in the startup line to
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3512 activate changes immediately).
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3513
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3514 @example
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3515 #+STARTUP: odd
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3516 #+STARTUP: oddeven
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3517 @end example
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3518
69999
bd591cbbcdec (Updating settings): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 69929
diff changeset
3519 You can convert an Org-mode file from single-star-per-level to the
bd591cbbcdec (Updating settings): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 69929
diff changeset
3520 double-star-per-level convention with @kbd{M-x org-convert-to-odd-levels
bd591cbbcdec (Updating settings): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 69929
diff changeset
3521 RET} in that file. The reverse operation is @kbd{M-x
bd591cbbcdec (Updating settings): New section.
Carsten Dominik <dominik@science.uva.nl>
parents: 69929
diff changeset
3522 org-convert-to-oddeven-levels}.
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3523
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3524 @node TTY keys, FAQ, Clean view, Miscellaneous
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3525 @section Using org-mode on a tty
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3526 @cindex tty keybindings
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3527
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3528 Org-mode uses a number of keys that are not accessible on a tty. This
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3529 applies to most special keys like cursor keys, @key{TAB} and
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3530 @key{RET}, when these are combined with modifier keys like @key{Meta}
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3531 and/or @key{Shift}. Org-mode uses these bindings because it needs to
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3532 provide keys for a large number of commands, and because these keys
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3533 appeared particularly easy to remember. In order to still be able to
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3534 access the core functionality of Org-mode on a tty, alternative
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3535 bindings are provided. Here is a complete list of these bindings,
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3536 which are obviously more cumbersome to use. Note that sometimes a
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3537 work-around can be better. For example changing a time stamp is
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3538 really only fun with @kbd{S-@key{cursor}} keys. On a tty you would
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3539 rather use @kbd{C-c .} to re-insert the timestamp.
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3540
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3541 @multitable @columnfractions 0.15 0.2 0.2
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3542 @item @b{Default} @tab @b{Alternative 1} @tab @b{Alternative 2}
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3543 @item @kbd{S-@key{TAB}} @tab @kbd{C-u @key{TAB}} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3544 @item @kbd{M-@key{left}} @tab @kbd{C-c C-x l} @tab @kbd{@key{Esc} @key{left}}
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3545 @item @kbd{M-S-@key{left}} @tab @kbd{C-c C-x L} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3546 @item @kbd{M-@key{right}} @tab @kbd{C-c C-x r} @tab @kbd{@key{Esc} @key{right}}
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3547 @item @kbd{M-S-@key{right}} @tab @kbd{C-c C-x R} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3548 @item @kbd{M-@key{up}} @tab @kbd{C-c C-x u} @tab @kbd{@key{Esc} @key{up}}
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3549 @item @kbd{M-S-@key{up}} @tab @kbd{C-c C-x U} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3550 @item @kbd{M-@key{down}} @tab @kbd{C-c C-x d} @tab @kbd{@key{Esc} @key{down}}
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3551 @item @kbd{M-S-@key{down}} @tab @kbd{C-c C-x D} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3552 @item @kbd{S-@key{RET}} @tab @kbd{C-c C-x c} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3553 @item @kbd{M-@key{RET}} @tab @kbd{C-c C-x m} @tab @kbd{@key{Esc} @key{RET}}
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3554 @item @kbd{M-S-@key{RET}} @tab @kbd{C-c C-x M} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3555 @item @kbd{S-@key{left}} @tab @kbd{C-c C-x @key{left}} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3556 @item @kbd{S-@key{right}} @tab @kbd{C-c C-x @key{right}} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3557 @item @kbd{S-@key{up}} @tab @kbd{C-c C-x @key{up}} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3558 @item @kbd{S-@key{down}} @tab @kbd{C-c C-x @key{down}} @tab
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3559 @end multitable
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3560
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3561 @node FAQ, Interaction, TTY keys, Miscellaneous
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3562 @section Frequently asked questions
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3563 @cindex FAQ
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3564
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3565 @enumerate
64069
ff90f1b70996 Version 3.13
Carsten Dominik <dominik@science.uva.nl>
parents: 63833
diff changeset
3566 @item @b{Org-mode seems to be a useful default mode for the various
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3567 @file{README} files I have scattered through my directories. How do I
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3568 turn it on for all @file{README} files?}@*
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3569 @c
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3570 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3571 (add-to-list 'auto-mode-alist '("README$" . org-mode))
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3572 @end example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3573
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3574 @item @b{Some of my links stopped working after I upgraded to a version
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3575 4.20 or later. Why is this, and how can I fix it?}@*
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3576 @c
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3577 These must be links in plain text, containing white space, such as
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3578 @samp{bbdb:Richard Stallman}. You need to protect these links by
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3579 putting double brackets around them, like @samp{[[bbdb:Richard
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3580 Stallman]]}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3581
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3582 @item @b{I see that Org-mode now creates links using the double bracket
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3583 convention that hides the link part and the brackets, only showing the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3584 description part. How can I convert my old links to this new format?}@*
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3585 @c
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3586 Execute once in each Org-mode file: @kbd{M-x org-upgrade-old-links}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3587 The replaces angular brackets with the link format.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3588
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3589 @item @b{I don't care if you find the new bracket links great, I am
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3590 attached to the old style using angular brackets and no hiding of the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3591 link text. Please give them back to me, don't tell me it is not
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3592 possible!}@*
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3593 @c
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3594 Would I let you down like that? If you must, you can do this
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3595
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3596 @lisp
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3597 (setq org-link-style 'plain
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3598 org-link-format "<%s>")
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3599 @end lisp
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3600
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3601 @item @b{When I am executing shell links I always get a
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3602 confirmation prompt and need to type @kbd{yes @key{RET}}, thats 4 key
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3603 presses! Can I get rid of this?}@*
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3604 @c
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3605 @cindex shell links, confirmation
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3606 @cindex dangerous commands
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3607 The confirmation is there to protect you from unwantingly execute
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3608 potentially dangerous commands. For example, imagine a link
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3609 @samp{[[shell:rm -rf ~/*][Google Search]]}. In an Org-mode buffer, this
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3610 command would look like @samp{Google Search}, but really it would remove
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3611 your home directory. If you wish, you can make it easier to respond to
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3612 the query by setting @code{org-confirm-shell-links} to @code{y-or-n-p}.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3613 Then a single @kbd{y} keypress will be enough to confirm shell links.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3614 It is also possible to turn off this check entirely, but I do not
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3615 recommend to do this. Be warned.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3616
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3617 @item @b{All these stars are driving me mad, I just find the Emacs
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3618 outlines unreadable. Can't you just put white space and a single star as a
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3619 starter for headlines?}@*
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3620 @c
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3621 See @ref{Clean view}.
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3622
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3623 @item @b{I would like to have two windows on the same Org-mode
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3624 file, but with different outline visibility. Is that possible?}@*
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3625 @c
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3626 @cindex @code{make-indirect-buffer}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3627 @cindex indirect buffers
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3628 In GNU Emacs, you may use @emph{indirect buffers} which do exactly this.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3629 See the documentation on the command @code{make-indirect-buffer}. In
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3630 XEmacs, this is currently not possible because of the different outline
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3631 implementation.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3632
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3633 @item @b{When I export my TODO list, every TODO item becomes a
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3634 separate section. How do I enforce these items to be exported as an
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3635 itemized list?}@*
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3636 @c
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3637 If you plan to use ASCII or HTML export, make sure things you want to
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3638 be exported as item lists are level 4 at least, even if that does mean
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3639 there is a level jump. For example:
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3640
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3641 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3642 * Todays top priorities
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3643 **** TODO write a letter to xyz
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3644 **** TODO Finish the paper
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3645 **** Pick up kids at the school
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3646 @end example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3647
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3648 Alternatively, if you need a specific value for the heading/item
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3649 transition in a particular file, use the @samp{+OPTIONS} line to
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3650 configure the @samp{H} switch.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3651
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3652 @example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3653 +OPTIONS: H:2; ...
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3654 @end example
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3655
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3656 @item @b{I would like to export only a subtree of my file to HTML.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3657 How?}@*
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3658 @c
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3659 @cindex exporting a subtree
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3660 If you want to export a subtree, mark the subtree as region and then
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3661 export. Marking can be done with @kbd{C-c @@ C-x C-x}, for example.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3662
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3663 @item @b{Org-mode takes over the S-cursor keys. I also want to use
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3664 CUA-mode, is there a way to fix this conflict?}@*
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3665 Yes, see @ref{Interaction}.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3666
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3667 @item @b{One of my table columns has started to fill up with
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3668 @samp{#ERROR}. What is going on?}@*
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3669 @c
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3670 Org-mode tried to compute the column from other fields using a
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3671 formula stored in the @samp{#+TBLFM:} line just below the table, and
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3672 the evaluation of the formula fails. Fix the fields used in the
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3673 formula, or fix the formula, or remove it!
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3674
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3675 @item @b{When I am in the last column of a table and just above a
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3676 horizontal line in the table, pressing TAB creates a new table line
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3677 @i{before} the horizontal line. How can I quickly move to the line
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3678 @i{below} the horizontal line instead?}@*
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3679 @c
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3680 Press @key{down} (to get on the separator line) and then @key{TAB}.
66988
578b7f9692c4 (FAQ): Document `org-table-tab-jumps-over-hlines'.
Carsten Dominik <dominik@science.uva.nl>
parents: 66690
diff changeset
3681 Or configure the variable @code{org-table-tab-jumps-over-hlines}.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3682
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3683 @item @b{How can I change the indentation of an entire table without
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3684 fixing every line by hand?}@*
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3685 @c
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3686 @cindex indentation, of tables
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3687 The indentation of a table is set by the first line. So just fix the
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3688 indentation of the first line and realign with @key{TAB}.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3689
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3690 @item @b{Is it possible to include entries from org-mode files into my
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3691 emacs diary?}@*
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3692 @c
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3693 Since the org-mode agenda is much more powerful and can contain the
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3694 diary (@pxref{Calendar/Diary integration}), you should think twice
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3695 before deciding to do this. Integrating Org-mode information into the
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3696 diary is, however, possible. The following steps are necessary:
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3697 Autoload the function @command{org-diary} as shown above under
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3698 @ref{Installation and activation}. You also need to use @emph{fancy
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3699 diary display} by setting in @file{.emacs}:
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3700
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3701 @lisp
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3702 (add-hook 'diary-display-hook 'fancy-diary-display)
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3703 @end lisp
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3704
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3705 Then include the following line into your @file{~/diary} file, in
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3706 order to get the entries from all files listed in the variable
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3707 @code{org-agenda-files}:
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3708
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3709 @example
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3710 &%%(org-diary)
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3711 @end example
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3712 @noindent
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3713 You may also select specific files with
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3714
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3715 @example
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3716 &%%(org-diary) ~/path/to/some/org-file.org
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3717 &%%(org-diary) ~/path/to/another/org-file.org
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3718 @end example
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3719
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3720 If you now launch the calendar and press @kbd{d} to display a diary, the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3721 headlines of entries containing a timestamp, date range, schedule, or
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3722 deadline referring to the selected date will be listed. Just like in
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3723 Org-mode's agenda view, the diary for @emph{today} contains additional
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3724 entries for overdue deadlines and scheduled items. See also the
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3725 documentation of the @command{org-diary} function. Under XEmacs, it is
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3726 not possible to jump back from the diary to the org, this works only in
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3727 the agenda buffer.
68033
59e35f6b8ff4 (Agenda Views): Chapter reorganized.
Carsten Dominik <dominik@science.uva.nl>
parents: 67884
diff changeset
3728
62548
55227ff1f8d5 Version 3.09
Carsten Dominik <dominik@science.uva.nl>
parents: 61923
diff changeset
3729 @end enumerate
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3730
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3731
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3732 @node Interaction, Bugs, FAQ, Miscellaneous
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3733 @section Interaction with other packages
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3734 @cindex packages, interaction with other
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3735 Org-mode can cooperate with the following packages:
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3736
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3737 @table @asis
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3738 @cindex @file{org-mouse.el}
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3739 @item @file{org-mouse.el} by Piotr Zielinski
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3740 This package implements extended mouse functionality for Org-mode. It
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3741 allows you to cycle visibility and to edit the document structure with
70011
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3742 the mouse. Best of all, it provides a context-sensitive menu on
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3743 @key{mouse-3} that changes depending on the context of a mouse-click.
74050e653990 (Visibility cycling): Better names for the startup
Carsten Dominik <dominik@science.uva.nl>
parents: 69999
diff changeset
3744 Use a search engine to find this package on the web.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3745 @cindex @file{table.el}
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3746 @item @file{table.el} by Takaaki Ota
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3747 Org mode cooperates with table.el, see @ref{table.el}. @file{table.el}
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3748 is part of Emacs 22.
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3749 @cindex @file{calc.el}
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3750 @item @file{calc.el} by Dave Gillespie
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3751 Org-mode uses the calc package for implementing spreadsheet
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3752 functionality in its tables (@pxref{Table calculations}). Org-modes
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3753 checks for the availability of calc by looking for the function
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3754 @code{calc-eval} which should be autoloaded in your setup if calc has
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3755 been installed properly. As of Emacs 22, calc is part of the Emacs
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3756 distribution. Another possibility for interaction between the two
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3757 packages is using calc for embedded calculations. @xref{Embedded Mode,
64517
098497d516e8 Version 3.14
Carsten Dominik <dominik@science.uva.nl>
parents: 64460
diff changeset
3758 , Embedded Mode, calc, GNU Emacs Calc Manual}.
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3759 @cindex @file{constants.el}
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3760 @item @file{constants.el} by Carsten Dominik
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3761 In a table formula (@pxref{Table calculations}), it is possible to use
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3762 names for natural constants or units. Instead of defining your own
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3763 constants in the variable @code{org-table-formula-constants}, install
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3764 the @file{constants} package which defines a large number of constants
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3765 and units, and lets you use unit prefixes like @samp{M} for
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3766 @samp{Mega} etc. You will need version 2.0 of this package, available
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3767 at @url{http://www.astro.uva.nl/~dominik/Tools}. Org-mode checks for
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3768 the function @code{constants-get}, which has to be autoloaded in your
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3769 setup. See the installation instructions in the file
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3770 @file{constants.el}.
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3771 @cindex @file{remember.el}
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3772 @cindex @file{CUA.el}
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3773 @item @file{CUA.el} by Kim. F. Storm
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3774 Keybindings in Org-mode conflict with the @kbd{S-<cursor>} keys
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3775 used by CUA-mode (as well as pc-select-mode and s-region-mode) to
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3776 select and extend the region. If you want to use one of these
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3777 packages along with Org-mode, configure the variable
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3778 @code{org-CUA-compatible}. When set, Org-mode will move the following
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3779 keybindings in org-mode files, and in the agenda buffer (but not
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3780 during date selection).
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3781
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3782 @example
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3783 S-UP -> M-p S-DOWN -> M-n
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3784 S-LEFT -> M-- S-RIGHT -> M-+
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3785 S-RET -> C-S-RET
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3786 @end example
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3787
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3788 Yes, these are unfortunately more difficult to remember. If you want
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3789 to have other replacement keys, look at the variable
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
3790 @code{org-disputed-keys}.
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3791 @item @file{remember.el} by John Wiegley
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3792 Org mode cooperates with remember, see @ref{Remember}.
69456
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3793 @file{Remember.el} is not part of Emacs, find it on the web.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3794 @end table
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3795
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3796 @node Bugs, Acknowledgments, Interaction, Miscellaneous
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3797 @section Bugs
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3798 @cindex bugs
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3799
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3800 Here is a list of things that should work differently, but which I
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3801 have found too hard to fix.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3802
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3803 @itemize @bullet
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
3804 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3805 If a table field starts with a link, and if the corresponding table
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3806 column is narrowed (@pxref{Narrow columns}) to a width too small to
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3807 display the link, the field would look entirely empty even though it is
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3808 not. To prevent this, Org-mode throws an error. The work-around is to
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3809 make the column wide enough to fit the link, or to add some text (at
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3810 least 2 characters) before the link in the same field.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3811 @item
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3812 Narrowing table columns does not work on XEmacs, because the
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3813 @code{format} function does not transport text properties.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3814 @item
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
3815 Text in an entry protected with the @samp{QUOTE} keyword should not
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
3816 autowrap.
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
3817 @item
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3818 When the application called by @kbd{C-c C-o} to open a file link fails
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3819 (for example because the application does not exits or refuses to open
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3820 the file), it does so silently. No error message is displayed.
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
3821 @item
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3822 Plain list items should be able to hold a TODO item. Unfortunately this
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3823 has so many technical problems that I will only consider this change for
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3824 the next major release (5.0).
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3825 @item
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
3826 The remote-editing commands in the agenda buffer cannot be undone with
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
3827 @code{undo} called from within the agenda buffer. But you can go to
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
3828 the corresponding buffer (using @key{TAB} or @key{RET} and execute
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
3829 @code{undo} there.
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
3830 @item
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3831 Recalculating a table line applies the formulas from left to right.
65656
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
3832 If a formula uses @emph{calculated} fields further down the row,
55fcf5165d97 Version 3.16
Carsten Dominik <dominik@science.uva.nl>
parents: 65555
diff changeset
3833 multiple recalculation may be needed to get all fields consistent.
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3834 @item
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3835 You can only make a single word boldface or italic. To emphasize
69456
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3836 several words in a row, each must have the emphasize markers, like in
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3837 @samp{*three* *bold* *words*}.
63672
c90c20a1b568 (Remember): Texinfo usage fix.
Juanma Barranquero <lekktu@gmail.com>
parents: 63362
diff changeset
3838 @item
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3839 The exporters work well, but could be made more efficient.
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3840 @end itemize
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3841
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3842 @node Acknowledgments, , Bugs, Miscellaneous
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3843 @section Acknowledgments
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3844 @cindex acknowledgments
67613
eab2494a32d7 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67604
diff changeset
3845 @cindex thanks
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3846
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3847 Org-mode was written by Carsten Dominik, who still maintains it at the
61923
88492f3ccffa *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 61562
diff changeset
3848 Org-mode homepage @uref{http://www.astro.uva.nl/~dominik/Tools/org/}.
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3849 The following people (in alphabetic order) have helped the development
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3850 along with ideas, suggestions and patches. Many thanks to all of you,
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3851 Org-mode would not be what it is without your input.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3852
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3853 @itemize @bullet
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3854 @item
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
3855 Thomas Baumann contributed the code for links to the MH-E email system.
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
3856 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3857 Alex Bochannek provided a patch for rounding time stamps.
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3858 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3859 Charles Caves' suggestion sparked the implementation of templates for
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3860 Remember.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3861 @item
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3862 Pavel Chalmoviansky influenced the agenda treatment of items with
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3863 specified time.
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3864 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3865 Sacha Chua suggested to copy some linking code from Planner.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3866 @item
70065
4804517d7073 (Formula syntax): Fixed link to Calc Manual.
Carsten Dominik <dominik@science.uva.nl>
parents: 70011
diff changeset
3867 Kees Dullemond inspired the use of narrowed tabled columns.
4804517d7073 (Formula syntax): Fixed link to Calc Manual.
Carsten Dominik <dominik@science.uva.nl>
parents: 70011
diff changeset
3868 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3869 Christian Egli converted the documentation into TeXInfo format, patched
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3870 CSS formatting into the HTML exporter, and inspired the agenda.
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3871 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3872 Nic Ferrier contributed mailcap and XML support.
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3873 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3874 Kai Grossjohann pointed out key-binding conflicts caused by Org-mode.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3875 @item
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3876 Stefan Monnier provided a patch to keep the Emacs-Lisp compiler happy.
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3877 @item
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3878 Tim O'Callaghan suggested in-file links, search options for
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3879 general file links, and TAGS.
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3880 @item
69090
66a57755230b * org.texi (Internal Links): Rewritten to cover the modified
Carsten Dominik <dominik@science.uva.nl>
parents: 68639
diff changeset
3881 Oliver Oppitz suggested multi-state TODO items.
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3882 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3883 Scott Otterson sparked the introduction of descriptive text for links,
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3884 among other things.
67694
5f1a4736c318 *** empty log message ***
Carsten Dominik <dominik@science.uva.nl>
parents: 67613
diff changeset
3885 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3886 Pete Phillips helped the development of the TAGS feature.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3887 @item
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3888 Matthias Rempe (Oelde) provided ideas, Windows support, and quality
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3889 control.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3890 @item
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3891 Kevin Rogers contributed code to access VM files on remote hosts.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3892 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3893 Philip Rooke created the Org-mode reference card and provided lots of feedback.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3894 @item
63833
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3895 Christian Schlauer proposed angular brackets around links, among other
addf44674c32 Version 3.12
Carsten Dominik <dominik@science.uva.nl>
parents: 63672
diff changeset
3896 things.
63362
8a4e1b582425 Version 3.11
Carsten Dominik <dominik@science.uva.nl>
parents: 62713
diff changeset
3897 @item
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3898 Linking to VM/BBDB/GNUS was inspired by Tom Shannon's
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3899 @file{organizer-mode.el}.
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3900 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3901 J@"urgen Vollmer contributed code generating the table of contents
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3902 in HTML output.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3903 @item
69456
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3904 Chris Wallace provided a patch implementing the @samp{QUOTE} keyword.
6c85e996427c (Clean view): Document new startup options.
Carsten Dominik <dominik@science.uva.nl>
parents: 69318
diff changeset
3905 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3906 David Wainberg suggested archiving, and improvements to the linking
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3907 system.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3908 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3909 John Wiegley wrote @file{emacs-wiki.el} and @file{planner.el}. The
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3910 development of Org-mode was fully independent, and both systems are
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3911 really different beasts in their basic ideas and implementation details.
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3912 However, I have later looked at John's code and learned from his
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3913 implementation of (i) links where the link itself is hidden and only a
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3914 description is shown, and (ii) popping up a calendar to select a date.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3915 @item
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3916 Carsten Wimmer suggested some changes and helped fix a bug in linking
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3917 to GNUS.
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3918 @item
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3919 Roland Winkler requested additional keybindings to make Org-mode
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3920 work on a tty.
69225
a2d5fbc00b3e (Interaction): Added item about `org-mouse.el' by Piotr
Carsten Dominik <dominik@science.uva.nl>
parents: 69117
diff changeset
3921 @item
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3922 Piotr Zielinski wrote @file{org-mouse.el} and showed how to follow links
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3923 with mouse-1.
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3924 @end itemize
69929
beebc22085fe (Link format): New section, emphasis on bracket links.
Carsten Dominik <dominik@science.uva.nl>
parents: 69891
diff changeset
3925
58792
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3926 @node Index, Key Index, Miscellaneous, Top
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3927 @chapter Index
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3928
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3929 @printindex cp
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3930
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3931 @node Key Index, , Index, Top
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3932 @chapter Key Index
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3933
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3934 @printindex ky
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3935
265139cbc47c New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3936 @bye
64070
ac6ca3de0b38 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 64069
diff changeset
3937
ac6ca3de0b38 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 64069
diff changeset
3938 @ignore
ac6ca3de0b38 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 64069
diff changeset
3939 arch-tag: 7893d1fe-cc57-4d13-b5e5-f494a1bcc7ac
ac6ca3de0b38 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 64069
diff changeset
3940 @end ignore