Refill some long/short copyright headers.
[bpt/emacs.git] / etc / refcards / orgcard.tex
CommitLineData
6f463292 1% Reference Card for Org Mode
acedf35c 2\def\orgversionnumber{7.4}
ed21c5c8 3\def\versionyear{2010} % latest update
970b9a42 4\def\year{2011} % latest copyright year
dbc28aaa 5
6f463292
GM
6%**start of header
7\newcount\columnsperpage
873f531d 8\newcount\letterpaper
6f463292
GM
9
10% This file can be printed with 1, 2, or 3 columns per page (see below).
873f531d 11% Specify how many you want here.
873f531d 12\columnsperpage=3
6f463292 13
324f60ef
GM
14% PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
15% a landscape layout.
16\input pdflayout.sty
17\pdflayout=(0l)
18
873f531d 19% Nothing else needs to be changed below this line.
95df8112
GM
20% Copyright (C) 1987, 1993, 1996-1997, 2001-2011
21% Free Software Foundation, Inc.
873f531d
CD
22
23% This file is part of GNU Emacs.
6f463292 24
b83446dd 25% GNU Emacs is free software: you can redistribute it and/or modify
6f463292 26% it under the terms of the GNU General Public License as published by
b83446dd
GM
27% the Free Software Foundation, either version 3 of the License, or
28% (at your option) any later version.
6f463292
GM
29
30% GNU Emacs is distributed in the hope that it will be useful,
31% but WITHOUT ANY WARRANTY; without even the implied warranty of
32% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33% GNU General Public License for more details.
34
35% You should have received a copy of the GNU General Public License
b83446dd 36% along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6f463292
GM
37
38% This file is intended to be processed by plain TeX (TeX82).
39%
40% The final reference card has six columns, three on each side.
41% This file can be used to produce it in any of three ways:
42% 1 column per page
43% produces six separate pages, each of which needs to be reduced to 80%.
44% This gives the best resolution.
45% 2 columns per page
46% produces three already-reduced pages.
47% You will still need to cut and paste.
48% 3 columns per page
49% produces two pages which must be printed sideways to make a
50% ready-to-use 8.5 x 11 inch reference card.
51% For this you need a dvi device driver that can print sideways.
52% Which mode to use is controlled by setting \columnsperpage above.
53%
873f531d
CD
54% To compile and print this document:
55% tex refcard.tex
56% dvips -t landscape refcard.dvi
57%
6f463292
GM
58% Author:
59% Stephen Gildea
60% Internet: gildea@stop.mail-abuse.org
61%
62% Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
63% for their many good ideas.
64
65\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
66 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
67 Permissions on back. v\orgversionnumber}}
68
69\def\copyrightnotice{
70\vskip 1ex plus 100 fill\begingroup\small
71\centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
72\centerline{v\orgversionnumber{} for Org-Mode \orgversionnumber{}, \versionyear}
73\centerline{Author: Philip Rooke}
74\centerline{based on refcard design and format by Stephen Gildea}
75
76Permission is granted to make and distribute copies of
77this card provided the copyright notice and this permission notice
78are preserved on all copies.
79
80\endgroup}
81
82% make \bye not \outer so that the \def\bye in the \else clause below
83% can be scanned without complaint.
84\def\bye{\par\vfill\supereject\end}
85
873f531d
CD
86\newdimen\intercolumnskip %horizontal space between columns
87\newbox\columna %boxes to hold columns already built
6f463292
GM
88\newbox\columnb
89
90\def\ncolumns{\the\columnsperpage}
91
873f531d 92\message{[\ncolumns\space
6f463292
GM
93 column\if 1\ncolumns\else s\fi\space per page]}
94
95\def\scaledmag#1{ scaled \magstep #1}
96
97% This multi-way format was designed by Stephen Gildea October 1986.
98% Note that the 1-column format is fontfamily-independent.
873f531d 99\if 1\ncolumns %one-column format uses normal size
6f463292
GM
100 \hsize 4in
101 \vsize 10in
102 \voffset -.7in
103 \font\titlefont=\fontname\tenbf \scaledmag3
104 \font\headingfont=\fontname\tenbf \scaledmag2
105 \font\smallfont=\fontname\sevenrm
106 \font\smallsy=\fontname\sevensy
107
108 \footline{\hss\folio}
109 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
873f531d 110\else %2 or 3 columns uses prereduced size
873f531d 111 \if 1\the\letterpaper
39586cf3 112 \hsize 3.2in
873f531d 113 \vsize 7.95in
39586cf3
CD
114 \hoffset -.75in
115 \voffset -.745in
873f531d 116 \else
39586cf3 117 \hsize 3.2in
873f531d 118 \vsize 7.65in
39586cf3
CD
119 \hoffset -.25in
120 \voffset -.745in
873f531d 121 \fi
6f463292
GM
122 \font\titlefont=cmbx10 \scaledmag2
123 \font\headingfont=cmbx10 \scaledmag1
124 \font\smallfont=cmr6
125 \font\smallsy=cmsy6
126 \font\eightrm=cmr8
127 \font\eightbf=cmbx8
128 \font\eightit=cmti8
129 \font\eighttt=cmtt8
130 \font\eightmi=cmmi8
131 \font\eightsy=cmsy8
132 \textfont0=\eightrm
133 \textfont1=\eightmi
134 \textfont2=\eightsy
135 \def\rm{\eightrm}
136 \def\bf{\eightbf}
137 \def\it{\eightit}
138 \def\tt{\eighttt}
873f531d
CD
139 \if 1\the\letterpaper
140 \normalbaselineskip=.8\normalbaselineskip
141 \else
142 \normalbaselineskip=.7\normalbaselineskip
143 \fi
6f463292
GM
144 \normallineskip=.8\normallineskip
145 \normallineskiplimit=.8\normallineskiplimit
873f531d 146 \normalbaselines\rm %make definitions take effect
6f463292
GM
147
148 \if 2\ncolumns
149 \let\maxcolumn=b
150 \footline{\hss\rm\folio\hss}
151 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
152 \else \if 3\ncolumns
153 \let\maxcolumn=c
154 \nopagenumbers
155 \else
156 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
157 \errmessage{Illegal number of columns per page}
158 \fi\fi
159
160 \intercolumnskip=.46in
161 \def\abc{a}
873f531d 162 \output={% %see The TeXbook page 257
6f463292
GM
163 % This next line is useful when designing the layout.
164 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
165 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
166 \else\if a\abc
873f531d 167 \global\setbox\columna\columnbox \global\def\abc{b}
6f463292
GM
168 %% in case we never use \columnb (two-column mode)
169 \global\setbox\columnb\hbox to -\intercolumnskip{}
170 \else
873f531d 171 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
6f463292
GM
172 \def\multicolumnformat{\shipout\vbox{\makeheadline
173 \hbox{\box\columna\hskip\intercolumnskip
174 \box\columnb\hskip\intercolumnskip\columnbox}
175 \makefootline}\advancepageno}
176 \def\columnbox{\leftline{\pagebody}}
177
178 \def\bye{\par\vfill\supereject
179 \if a\abc \else\null\vfill\eject\fi
180 \if a\abc \else\null\vfill\eject\fi
873f531d 181 \end}
6f463292
GM
182\fi
183
184% we won't be using math mode much, so redefine some of the characters
185% we might want to talk about
186%\catcode`\^=12
187\catcode`\_=12
188
189% we also need the tilde, for file names.
190\catcode`\~=12
191
192\chardef\\=`\\
193\chardef\{=`\{
194\chardef\}=`\}
195
196\hyphenation{mini-buf-fer}
197
198\parindent 0pt
199\parskip 1ex plus .5ex minus .5ex
200
201\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
202
203% newcolumn - force a new column. Use sparingly, probably only for
204% the first column of a page, which should have a title anyway.
205\outer\def\newcolumn{\vfill\eject}
206
207% title - page title. Argument is title text.
208\outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
209
210% section - new major section. Argument is section name.
211\outer\def\section#1{\par\filbreak
212 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
213 \vskip 2ex plus 1ex minus 1.5ex}
214
215\newdimen\keyindent
216
217% beginindentedkeys...endindentedkeys - key definitions will be
218% indented, but running text, typically used as headings to group
219% definitions, will not.
220\def\beginindentedkeys{\keyindent=1em}
221\def\endindentedkeys{\keyindent=0em}
222\endindentedkeys
223
224% paralign - begin paragraph containing an alignment.
225% If an \halign is entered while in vertical mode, a parskip is never
226% inserted. Using \paralign instead of \halign solves this problem.
227\def\paralign{\vskip\parskip\halign}
228
229% \<...> - surrounds a variable name in a code example
230\def\<#1>{{\it #1\/}}
231
232% kbd - argument is characters typed literally. Like the Texinfo command.
873f531d 233\def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
6f463292
GM
234
235% beginexample...endexample - surrounds literal text, such a code example.
236% typeset in a typewriter font with line breaks preserved
237\def\beginexample{\par\leavevmode\begingroup
238 \obeylines\obeyspaces\parskip0pt\tt}
239{\obeyspaces\global\let =\ }
240\def\endexample{\endgroup}
241
242% key - definition of a key.
243% \key{description of key}{key-name}
244% prints the description left-justified, and the key-name in a \kbd
245% form near the right margin.
246\def\key#1#2{\leavevmode\hbox to \hsize{\vtop
247 {\hsize=.75\hsize\rightskip=1em
248 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
249
250\newbox\metaxbox
251\setbox\metaxbox\hbox{\kbd{M-x }}
252\newdimen\metaxwidth
253\metaxwidth=\wd\metaxbox
254
255% metax - definition of a M-x command.
256% \metax{description of command}{M-x command-name}
257% Tries to justify the beginning of the command name at the same place
258% as \key starts the key name. (The "M-x " sticks out to the left.)
259\def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
260 {\hskip\keyindent\relax#1\hfil}%
261 \hskip -\metaxwidth minus 1fil
262 \kbd{#2}\hfil}}
263
264% threecol - like "key" but with two key names.
265% for example, one for doing the action backward, and one for forward.
266\def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
267 &\kbd{#3}\hfil\quad\cr}
268
acedf35c
CD
269\def\noteone{{\small \hfill [1]}}
270\def\notetwo{{\small \hfill [2]}}
271
272
6f463292
GM
273%**end of header
274\f
275
276\title{Org-Mode Reference Card (1/2)}
277
278\centerline{(for version \orgversionnumber)}
279
280\section{Getting Started}
6f463292
GM
281\metax{To read the on-line documentation try}{M-x org-info}
282
283\section{Visibility Cycling}
284
285\key{rotate current subtree between states}{TAB}
286\key{rotate entire buffer between states}{S-TAB}
a6520ff3
CD
287\key{restore property-dependent startup visibility}{C-u C-u TAB}
288\metax{show the whole file, including drawers}{C-u C-u C-u TAB}
6f463292 289\key{reveal context around point}{C-c C-r}
6f463292
GM
290
291\section{Motion}
292
293\key{next/previous heading}{C-c C-n/p}
294\key{next/previous heading, same level}{C-c C-f/b}
295\key{backward to higher level heading}{C-c C-u}
296\key{jump to another place in document}{C-c C-j}
acedf35c 297\key{previous/next plain list item}{S-UP/DOWN\notetwo}
6f463292
GM
298
299\section{Structure Editing}
300
301\key{insert new heading/item at current level}{M-RET}
dbc28aaa 302\key{insert new heading after subtree}{C-RET}
6f463292 303\key{insert new TODO entry/checkbox item}{M-S-RET}
a6520ff3 304\key{insert TODO entry/ckbx after subtree}{C-S-RET}
7f36140a
CD
305\key{turn (head)line into item, cycle item type}{C-c -}
306\key{turn item/line into headline}{C-c *}
b349f79f
CD
307\key{promote/demote heading}{M-LEFT/RIGHT}
308\metax{promote/demote current subtree}{M-S-LEFT/RIGHT}
7f36140a 309\metax{move subtree/list item up/down}{M-S-UP/DOWN}
c8d0cf5c
CD
310\metax{sort subtree/region/plain-list}{C-c \^{}}
311\metax{clone a subtree}{C-c C-x c}
7f36140a 312\metax{kill/copy subtree}{C-c C-x C-w/M-w}
1463de90 313\metax{yank subtree}{C-c C-x C-y or C-y}
7f36140a 314\metax{narrow buffer to subtree / widen}{C-x n s/w}
6f463292 315
acedf35c
CD
316\section{Capture - Refile - Archiving}
317\key{capture a new item (C-u C-u = goto last)}{C-c c \noteone}
318\key{refile subtree (C-u C-u = goto last)}{C-c C-w}
8afcfab3 319\key{archive subtree using the default command}{C-c C-x C-a}
7f6c6a23 320\key{move subtree to archive file}{C-c C-x C-s}
8afcfab3
CD
321\key{toggle ARCHIVE tag / to ARCHIVE sibling}{C-c C-x a/A}
322\key{force cycling of an ARCHIVEd tree}{C-TAB}
6f463292
GM
323
324\section{Filtering and Sparse Trees}
325
dbc28aaa 326\key{construct a sparse tree by various criteria}{C-c /}
86fbb8ca 327\key{view TODO's in sparse tree}{C-c / t/T}
acedf35c 328\key{global TODO list in agenda mode}{C-c a t \noteone}
6f463292 329\key{time sorted view of current org file}{C-c a L}
6f463292
GM
330
331\section{Tables}
332
333{\bf Creating a table}
334
335%\metax{insert a new Org-mode table}{M-x org-table-create}
336\metax{just start typing, e.g.}{|Name|Phone|Age RET |- TAB}
337\key{convert region to table}{C-c |}
338\key{... separator at least 3 spaces}{C-3 C-c |}
339
340{\bf Commands available inside tables}
341
342The following commands work when the cursor is {\it inside a table}.
343Outside of tables, the same keys may have other functionality.
344
345{\bf Re-aligning and field motion}
346
347\key{re-align the table without moving the cursor}{C-c C-c}
348\key{re-align the table, move to next field}{TAB}
349\key{move to previous field}{S-TAB}
350\key{re-align the table, move to next row}{RET}
c8d0cf5c 351\key{move to beginning/end of field}{M-a/e}
6f463292
GM
352
353{\bf Row and column editing}
354
873f531d 355\key{move the current column left}{M-LEFT/RIGHT}
6f463292
GM
356\key{kill the current column}{M-S-LEFT}
357\key{insert new column to left of cursor position}{M-S-RIGHT}
358
873f531d 359\key{move the current row up/down}{M-UP/DOWN}
6f463292
GM
360\key{kill the current row or horizontal line}{M-S-UP}
361\key{insert new row above the current row}{M-S-DOWN}
7f6c6a23 362\key{insert hline below (\kbd{C-u} : above) current row}{C-c -}
7f36140a 363\key{insert hline and move to line below it}{C-c RET}
6f463292
GM
364\key{sort lines in region}{C-c \^{}}
365
366{\bf Regions}
367
ed21c5c8
CD
368\metax{cut/copy/paste rectangular region}{C-c C-x C-w/M-w/C-y}
369%\key{copy rectangular region}{C-c C-x M-w}
370%\key{paste rectangular region}{C-c C-x C-y}
6f463292
GM
371\key{fill paragraph across selected cells}{C-c C-q}
372
6f463292
GM
373{\bf Miscellaneous}
374
375\key{to limit column width to \kbd{N} characters, use}{...| <N> |...}
376\key{edit the current field in a separate window}{C-c `}
377\key{make current field fully visible}{C-u TAB}
378\metax{export as tab-separated file}{M-x org-table-export}
379\metax{import tab-separated file}{M-x org-table-import}
873f531d 380\key{sum numbers in current column/rectangle}{C-c +}
6f463292
GM
381
382{\bf Tables created with the \kbd{table.el} package}
383
384\key{insert a new \kbd{table.el} table}{C-c ~}
385\key{recognize existing table.el table}{C-c C-c}
386\key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~}
387
873f531d
CD
388{\bf Spreadsheet}
389
390Formulas typed in field are executed by \kbd{TAB},
391\kbd{RET} and \kbd{C-c C-c}. \kbd{=} introduces a column
392formula, \kbd{:=} a field formula.
393
394\key{Example: Add Col1 and Col2}{|=\$1+\$2 |}
395\key{... with printf format specification}{|=\$1+\$2;\%.2f|}
396\key{... with constants from constants.el}{|=\$1/\$c/\$cm |}
397\metax{sum from 2nd to 3rd hline}{|:=vsum(@II..@III)|}
398\key{apply current column formula}{| = |}
399
400\key{set and eval column formula}{C-c =}
401\key{set and eval field formula}{C-u C-c =}
402\key{re-apply all stored equations to current line}{C-c *}
403\key{re-apply all stored equations to entire table}{C-u C-c *}
404\key{iterate table to stability}{C-u C-u C-c *}
405\key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#}
406\key{show line, column, formula reference}{C-c ?}
c8d0cf5c 407\key{toggle grid / debugger}{C-c \}/\{}
873f531d 408
39586cf3 409\newcolumn
873f531d
CD
410{\it Formula Editor}
411
412\key{edit formulas in separate buffer}{C-c '}
413\key{exit and install new formulas}{C-c C-c}
414\key{exit, install, and apply new formulas}{C-u C-c C-c}
415\key{abort}{C-c C-q}
416\key{toggle reference style}{C-c C-r}
417\key{pretty-print Lisp formula}{TAB}
418\key{complete Lisp symbol}{M-TAB}
419\key{shift reference point}{S-cursor}
420\key{shift test line for column references}{M-up/down}
421\key{scroll the window showing the table}{M-S-up/down}
422\key{toggle table coordinate grid}{C-c \}}
423
6f463292
GM
424\section{Links}
425
acedf35c 426\key{globally store link to the current location}{C-c l \noteone}
6f463292
GM
427\key{insert a link (TAB completes stored links)}{C-c C-l}
428\key{insert file link with file name completion}{C-u C-c C-l}
429\key{edit (also hidden part of) link at point}{C-c C-l}
430
431\key{open file links in emacs}{C-c C-o}
432\key{...force open in emacs/other window}{C-u C-c C-o}
433\key{open link at point}{mouse-1/2}
434\key{...force open in emacs/other window}{mouse-3}
435\key{record a position in mark ring}{C-c \%}
436\key{jump back to last followed link(s)}{C-c \&}
a6520ff3
CD
437\key{find next link}{C-c C-x C-n}
438\key{find previous link}{C-c C-x C-p}
439\key{edit code snippet of file at point}{C-c '}
86fbb8ca
CD
440\key{toggle inline display of linked images}{C-c C-x C-v}
441
86fbb8ca
CD
442\section{Working with Code (Babel)}
443
444\key{execute code block at point}{C-c C-c}
445\key{open results of code block at point}{C-c C-o}
446\key{view expanded body of code block at point}{C-c C-v v}
447\key{go to named code block}{C-c C-v g}
448\key{go to named result}{C-c C-v r}
afe98dfa 449\key{go to the head of the current code block}{C-c C-v u}
86fbb8ca
CD
450\key{go to the next code block}{C-c C-v n}
451\key{go to the previous code block}{C-c C-v p}
afe98dfa
CD
452\key{demarcate a code block}{C-c C-v d}
453\key{execute the next key sequence in the code edit buffer}{C-c C-v x}
86fbb8ca
CD
454\key{execute all code blocks in current buffer}{C-c C-v b}
455\key{execute all code blocks in current subtree}{C-c C-v s}
456\key{tangle code blocks in current file}{C-c C-v t}
457\key{tangle code blocks in supplied file}{C-c C-v f}
afe98dfa 458\key{ingest all code blocks in supplied file into the Library of Babel}{C-c C-v i}
86fbb8ca 459\key{switch to the session of the current code block}{C-c C-v z}
afe98dfa 460\key{load expanded body of the current code block into a session}{C-c C-v l}
86fbb8ca 461\key{view sha1 hash of the current code block}{C-c C-v a}
6f463292 462
6f463292
GM
463\section{Completion}
464
465In-buffer completion completes TODO keywords at headline start, TeX
466macros after ``{\tt \\}'', option keywords after ``{\tt \#-}'', TAGS
467after ``{\tt :}'', and dictionary words elsewhere.
468
c8d0cf5c 469\key{complete word at point}{M-TAB}
6f463292
GM
470
471
472\newcolumn
473\title{Org-Mode Reference Card (2/2)}
474
475\centerline{(for version \orgversionnumber)}
476
477\section{TODO Items and Checkboxes}
478
479\key{rotate the state of the current item}{C-c C-t}
873f531d
CD
480\metax{select next/previous state}{S-LEFT/RIGHT}
481\metax{select next/previous set}{C-S-LEFT/RIGHT}
c8d0cf5c 482\key{toggle ORDERED property}{C-c C-x o}
6f463292
GM
483\key{view TODO items in a sparse tree}{C-c C-v}
484\key{view 3rd TODO keyword's sparse tree}{C-3 C-c C-v}
485
486\key{set the priority of the current item}{C-c , [ABC]}
487\key{remove priority cookie from current item}{C-c , SPC}
acedf35c 488\key{raise/lower priority of current item}{S-UP/DOWN\notetwo}
6f463292
GM
489
490\key{insert new checkbox item in plain list}{M-S-RET}
491\key{toggle checkbox(es) in region/entry/at point}{C-c C-x C-b}
492\key{toggle checkbox at point}{C-c C-c}
c8d0cf5c 493%\metax{checkbox statistics cookies: insert {\tt [/]} or {\tt [\%]}}{}
6f463292
GM
494\key{update checkbox statistics (\kbd{C-u} : whole file)}{C-c \#}
495
496\section{Tags}
497
71d35b24
CD
498\key{set tags for current heading}{C-c C-q}
499\key{realign tags in all headings}{C-u C-c C-q}
6f463292
GM
500\key{create sparse tree with matching tags}{C-c \\}
501\key{globally (agenda) match tags at cursor}{C-c C-o}
502
fecda3e8
CD
503\section{Properties and Column View}
504
ccfa8d36 505\key{set property/effort}{C-c C-x p/e}
fecda3e8
CD
506\key{special commands in property lines}{C-c C-c}
507\key{next/previous allowed value}{S-left/right}
508\key{turn on column view}{C-c C-x C-c}
a6520ff3 509\key{capture columns view in dynamic block}{C-c C-x i}
fecda3e8
CD
510
511\key{quit column view}{q}
c8d0cf5c 512\key{show full value}{v}
fecda3e8 513\key{edit value}{e}
c8d0cf5c 514\metax{next/previous allowed value}{n/p or S-left/right}
fecda3e8 515\key{edit allowed values list}{a}
fecda3e8
CD
516\key{make column wider/narrower}{> / <}
517\key{move column left/right}{M-left/right}
518\key{add new column}{M-S-right}
519\key{Delete current column}{M-S-left}
520
521
6f463292
GM
522\section{Timestamps}
523
524\key{prompt for date and insert timestamp}{C-c .}
525\key{like \kbd{C-c} . but insert date and time format}{C-u C-c .}
c8d0cf5c 526\key{like \kbd{C-c .} but make stamp inactive}{C-c !} % FIXME
6f463292
GM
527\key{insert DEADLINE timestamp}{C-c C-d}
528\key{insert SCHEDULED timestamp}{C-c C-s}
dbc28aaa 529\key{create sparse tree with all deadlines due}{C-c / d}
6f463292 530\key{the time between 2 dates in a time range}{C-c C-y}
acedf35c
CD
531\metax{change timestamp at cursor $\pm 1$ day}{S-RIGHT/LEFT\notetwo}
532\key{change year/month/day at cursor by $\pm 1$}{S-UP/DOWN\notetwo}
6f463292
GM
533\key{access the calendar for the current date}{C-c >}
534\key{insert timestamp matching date in calendar}{C-c <}
535\key{access agenda for current date}{C-c C-o}
c8d0cf5c 536\key{select date while prompted}{mouse-1/RET}
6f463292
GM
537%\key{... select date in calendar}{mouse-1/RET}
538%\key{... scroll calendar back/forward one month}{< / >}
539%\key{... forward/backward one day}{S-LEFT/RIGHT}
540%\key{... forward/backward one week}{S-UP/DOWN}
8afcfab3 541%\key{... forward/backward one month}{M-S-LEFT/RIGHT}
c8d0cf5c 542\key{toggle custom format display for dates/times}{C-c C-x C-t}
6f463292 543
fecda3e8
CD
544\newcolumn
545
873f531d 546{\bf Clocking time}
6f463292
GM
547
548\key{start clock on current item}{C-c C-x C-i}
ccfa8d36 549\key{stop/cancel clock on current item}{C-c C-x C-o/x}
6f463292
GM
550\key{display total subtree times}{C-c C-x C-d}
551\key{remove displayed times}{C-c C-c}
552\key{insert/update table with clock report}{C-c C-x C-r}
553
6f463292
GM
554\section{Agenda Views}
555
556\key{add/move current file to front of agenda}{C-c [}
557\key{remove current file from your agenda}{C-c ]}
7f6c6a23 558\key{cycle through agenda file list}{C-'}
dbc28aaa 559\key{set/remove restriction lock}{C-c C-x </>}
6f463292 560
acedf35c
CD
561\key{compile agenda for the current week}{C-c a a \noteone}
562\key{compile global TODO list}{C-c a t \noteone}
563\key{compile TODO list for specific keyword}{C-c a T \noteone}
564\key{match tags, TODO kwds, properties}{C-c a m \noteone}
565\key{match only in TODO entries}{C-c a M \noteone}
566\key{find stuck projects}{C-c a \# \noteone}
567\key{show timeline of current org file}{C-c a L \noteone}
568\key{configure custom commands}{C-c a C \noteone}
569%\key{configure stuck projects}{C-c a ! \noteone}
6f463292
GM
570\key{agenda for date at cursor}{C-c C-o}
571
6f463292
GM
572{\bf Commands available in an agenda buffer}
573
574{\bf View Org file}
575
576\key{show original location of item}{SPC/mouse-3}
577%\key{... also available with}{mouse-3}
578\key{show and recenter window}{L}
579\key{goto original location in other window}{TAB/mouse-2}
580%\key{... also available with}{mouse-2}
581\key{goto original location, delete other windows}{RET}
ccfa8d36
CD
582\key{show subtree in indirect buffer, ded.\ frame}{C-c C-x b}
583\key{toggle follow-mode}{F}
6f463292
GM
584
585{\bf Change display}
586
587\key{delete other windows}{o}
8afcfab3 588\key{view mode dispatcher}{v}
c8d0cf5c 589\key{switch to day/week/month/year view}{d w vm vy}
8afcfab3 590\key{toggle diary entries / time grid / habits}{D / G / K}
ccfa8d36
CD
591\key{toggle entry text / clock report}{E / R}
592\key{toggle display of logbook entries}{l / v l/L}
593\key{toggle inclusion of archived trees/files}{v a/A}
28a16a1b 594\key{refresh agenda buffer with any changes}{r / g}
8afcfab3 595\key{filter with respect to a tag}{/}
6f463292 596\key{save all org-mode buffers}{s}
ccfa8d36 597\key{display next/previous day,week,...}{f / b}
c8d0cf5c 598\key{goto today / some date (prompt)}{. / j}
6f463292
GM
599
600{\bf Remote editing}
601
602\key{digit argument}{0-9}
603\key{change state of current TODO item}{t}
604\key{kill item and source}{C-k}
8afcfab3 605\key{archive default}{\$ / a}
c8d0cf5c 606\key{refile the subtree}{C-c C-w}
ccfa8d36
CD
607\key{set/show tags of current headline}{: / T}
608\key{set effort property (prefix=nth)}{e}
609\key{set / compute priority of current item}{, / P}
acedf35c 610\key{raise/lower priority of current item}{S-UP/DOWN\notetwo}
a6520ff3 611\key{run an attachment command}{C-c C-a}
6f463292 612\key{schedule/set deadline for this item}{C-c C-s/d}
acedf35c 613\metax{change timestamp one day earlier/later}{S-LEFT/RIGHT\notetwo}
6f463292
GM
614\key{change timestamp to today}{>}
615\key{insert new entry into diary}{i}
fecda3e8 616\newcolumn
dbc28aaa
CD
617\key{start/stop/cancel the clock on current item}{I / O / X}
618\key{jump to running clock entry}{J}
c8d0cf5c 619\key{mark / unmark / execute bulk action}{m / u / B}
6f463292 620
7f6c6a23 621{\bf Misc}
6f463292 622
ccfa8d36 623\key{follow one or offer all links in current entry}{C-c C-o}
7f6c6a23 624
6f463292
GM
625{\bf Calendar commands}
626
627\key{find agenda cursor date in calendar}{c}
628\key{compute agenda for calendar cursor date}{c}
629\key{show phases of the moon}{M}
630\key{show sunrise/sunset times}{S}
631\key{show holidays}{H}
632\key{convert date to other calendars}{C}
633
634{\bf Quit and Exit}
635
636\key{quit agenda, remove agenda buffer}{q}
637\key{exit agenda, remove all agenda buffers}{x}
638
fecda3e8
CD
639\section{LaTeX and cdlatex-mode}
640
641\key{preview LaTeX fragment}{C-c C-x C-l}
c8d0cf5c
CD
642\key{expand abbreviation (cdlatex-mode)}{TAB}
643\key{insert/modify math symbol (cdlatex-mode)}{` / '}
644\key{insert citation using RefTeX}{C-c C-x [}
fecda3e8 645
6f463292
GM
646\section{Exporting and Publishing}
647
648Exporting creates files with extensions {\it .txt\/} and {\it .html\/}
649in the current directory. Publishing puts the resulting file into
650some other place.
651
652\key{export/publish dispatcher}{C-c C-e}
653
654\key{export visible part only}{C-c C-e v}
c8d0cf5c 655\key{insert template of export options}{C-c C-e t}
6f463292 656\key{toggle fixed width for entry or region}{C-c :}
86fbb8ca 657\key{toggle pretty display of scripts, entities}{C-c C-x {\tt\char`\\}}
6f463292 658
6f463292
GM
659{\bf Comments: Text not being exported}
660
86fbb8ca
CD
661Lines starting with \kbd{\#} and subtrees starting with COMMENT are
662never exported.
6f463292
GM
663
664\key{toggle COMMENT keyword on entry}{C-c ;}
665
6f463292
GM
666\section{Dynamic Blocks}
667
668\key{update dynamic block at point}{C-c C-x C-u}
669\metax{update all dynamic blocks}{C-u C-c C-x C-u}
670
671\section{Notes}
acedf35c 672[1] This is only a suggestion for a binding of this command. Choose
55773fe2 673your own key as shown under INSTALLATION.
6f463292 674
acedf35c 675[2] Keybinding affected by {\tt org-support-shift-select} and also
86fbb8ca 676 {\tt org-replace-disputed-keys}.
6f463292
GM
677
678\copyrightnotice
679
680\bye
681\f
873f531d 682% Local variables:
28a16a1b 683% compile-command: "tex refcard"
873f531d 684% End:
6f463292 685