dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

orgcard.tex (24071B)


      1 % Reference Card for Org Mode
      2 \input org-version.tex
      3 
      4 %**start of header
      5 \newcount\columnsperpage
      6 \newcount\letterpaper
      7 
      8 % This file can be printed with 1, 2, or 3 columns per page (see below).
      9 % Specify how many you want here.
     10 \columnsperpage=3
     11 
     12 % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
     13 % a landscape layout.
     14 \input pdflayout.sty
     15 \pdflayout=(0l)
     16 
     17 % Nothing else needs to be changed below this line.
     18 % Copyright (C) 1987, 1993, 1996--1997, 2001--2023 Free Software
     19 % Foundation, Inc.
     20 
     21 % This document is free software: you can redistribute it and/or modify
     22 % it under the terms of the GNU General Public License as published by
     23 % the Free Software Foundation, either version 3 of the License, or
     24 % (at your option) any later version.
     25 
     26 % As a special additional permission, you may distribute reference cards
     27 % printed, or formatted for printing, with the notice "Released under
     28 % the terms of the GNU General Public License version 3 or later"
     29 % instead of the usual distributed-under-the-GNU-GPL notice, and without
     30 % a copy of the GPL itself.
     31 
     32 % This document is distributed in the hope that it will be useful,
     33 % but WITHOUT ANY WARRANTY; without even the implied warranty of
     34 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     35 % GNU General Public License for more details.
     36 
     37 % You should have received a copy of the GNU General Public License
     38 % along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
     39 
     40 % This file is intended to be processed by plain TeX (TeX82).
     41 %
     42 % The final reference card has six columns, three on each side.
     43 % This file can be used to produce it in any of three ways:
     44 % 1 column per page
     45 %    produces six separate pages, each of which needs to be reduced to 80%.
     46 %    This gives the best resolution.
     47 % 2 columns per page
     48 %    produces three already-reduced pages.
     49 %    You will still need to cut and paste.
     50 % 3 columns per page
     51 %    produces two pages which must be printed sideways to make a
     52 %    ready-to-use 8.5 x 11 inch reference card.
     53 %    For this you need a dvi device driver that can print sideways.
     54 % Which mode to use is controlled by setting \columnsperpage above.
     55 %
     56 % To compile and print this document:
     57 % tex refcard.tex
     58 % dvips -t landscape refcard.dvi
     59 %
     60 % Author:
     61 %  Stephen Gildea <stepheng+emacs@gildea.com>
     62 %
     63 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
     64 % for their many good ideas.
     65 
     66 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
     67   \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
     68   Permissions on back.  v\orgversionnumber}}
     69 
     70 \def\copyrightnotice{
     71 \vskip 1ex plus 100 fill\begingroup\small
     72 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
     73 \centerline{v\orgversionnumber{} for Org-Mode \orgversionnumber{}, \versionyear}
     74 \centerline{Author: Philip Rooke}
     75 \centerline{based on refcard design and format by Stephen Gildea}
     76 
     77 \centerline{Released under the terms of the GNU General Public License}
     78 \centerline{version 3 or later.}
     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 
     86 \newdimen\intercolumnskip	%horizontal space between columns
     87 \newbox\columna			%boxes to hold columns already built
     88 \newbox\columnb
     89 
     90 \def\ncolumns{\the\columnsperpage}
     91 
     92 \message{[\ncolumns\space
     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.
     99 \if 1\ncolumns			%one-column format uses normal size
    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}}
    110 \else				%2 or 3 columns uses prereduced size
    111   \if 1\the\letterpaper
    112      \hsize 3.2in
    113      \vsize 7.95in
    114      \hoffset -.75in
    115      \voffset -.745in
    116   \else
    117      \hsize 3.2in
    118      \vsize 7.65in
    119      \hoffset -.25in
    120      \voffset -.745in
    121   \fi
    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}
    139   \if 1\the\letterpaper
    140      \normalbaselineskip=.8\normalbaselineskip
    141   \else
    142      \normalbaselineskip=.7\normalbaselineskip
    143   \fi
    144   \normallineskip=.8\normallineskip
    145   \normallineskiplimit=.8\normallineskiplimit
    146   \normalbaselines\rm		%make definitions take effect
    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}
    162   \output={%			%see The TeXbook page 257
    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
    167 	\global\setbox\columna\columnbox \global\def\abc{b}
    168         %% in case we never use \columnb (two-column mode)
    169         \global\setbox\columnb\hbox to -\intercolumnskip{}
    170       \else
    171 	\global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
    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
    181     \end}
    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.
    233 \def\kbd#1{{\tt#1}\null}	%\null so not an abbrev even if period follows
    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 
    269 %\def\noteone{{\small \hfill [1]}}
    270 %\def\notetwo{{\small \hfill [2]}}
    271 \def\noteone{{\small [1]}}
    272 \def\notetwo{{\small [2]}}
    273 
    274 
    275 %**end of header
    276 
    277 
    278 \title{Org-Mode Reference Card (1/2)}
    279 
    280 \centerline{(for version \orgversionnumber)}
    281 
    282 \section{Getting Started}
    283 \metax{To read the on-line documentation try}{M-x org-info}
    284 
    285 \section{Visibility Cycling}
    286 
    287 \key{rotate current subtree between states}{TAB}
    288 \key{rotate entire buffer between states}{S-TAB}
    289 \key{restore property-dependent startup visibility}{C-u C-u TAB}
    290 \metax{show the whole file, including drawers}{C-u C-u C-u TAB}
    291 \key{reveal context around point}{C-c C-r}
    292 \metax{toggle indented view}{M-x org-indent-mode}
    293 
    294 \section{Motion}
    295 
    296 \key{next/previous heading}{C-c C-n/p}
    297 \key{next/previous heading, same level}{C-c C-f/b}
    298 \key{backward to higher level heading}{C-c C-u}
    299 \key{jump to another place in document}{C-c C-j}
    300 \key{previous/next plain list item}{S-UP/DOWN\notetwo}
    301 
    302 \section{Structure Editing}
    303 
    304 \key{insert new heading/item at current level}{M-RET}
    305 \key{insert new heading after subtree}{C-RET}
    306 \key{insert new TODO entry/checkbox item}{M-S-RET}
    307 \key{insert TODO entry/ckbx after subtree}{C-S-RET}
    308 \key{turn (head)line into item, cycle item type}{C-c -}
    309 \key{turn item/line into headline}{C-c *}
    310 \key{promote/demote heading}{M-LEFT/RIGHT}
    311 \metax{promote/demote current subtree}{M-S-LEFT/RIGHT}
    312 \metax{move subtree/list item up/down}{M-UP/DOWN}
    313 \metax{move the line at point up/down}{M-S-UP/DOWN}
    314 \metax{sort subtree/region/plain-list}{C-c \^{}}
    315 \metax{clone a subtree}{C-c C-x c}
    316 \metax{copy visible parts of the region}{C-c C-x v}
    317 \metax{kill/copy subtree}{C-c C-x C-w/M-w}
    318 \metax{yank subtree}{C-c C-x C-y or C-y}
    319 \metax{narrow buffer to subtree / widen}{C-x n s/w}
    320 
    321 \section{Capture - Refile - Archiving}
    322 \key{capture a new item (C-u C-u = goto last)}{C-c c \noteone}
    323 \key{refile subtree (C-u C-u = goto last)}{C-c C-w}
    324 \key{archive subtree using the default command}{C-c C-x C-a}
    325 \key{move subtree to archive file}{C-c C-x C-s}
    326 \key{toggle ARCHIVE tag / to ARCHIVE sibling}{C-c C-x a/A}
    327 \key{force cycling of an ARCHIVEd tree}{C-TAB}
    328 
    329 \section{Filtering and Sparse Trees}
    330 
    331 \key{construct a sparse tree by various criteria}{C-c /}
    332 \key{view TODO's in sparse tree}{C-c / t/T}
    333 \key{global TODO list in agenda mode}{C-c a t \noteone}
    334 
    335 \section{Tables}
    336 
    337 {\bf Creating a table}
    338 
    339 %\metax{insert a new Org-mode table}{M-x org-table-create}
    340 \metax{just start typing, e.g.}{|Name|Phone|Age RET |- TAB}
    341 \key{convert region to table}{C-c |}
    342 \key{... separator at least 3 spaces}{C-3 C-c |}
    343 
    344 {\bf Commands available inside tables}
    345 
    346 The following commands work when the cursor is {\it inside a table}.
    347 Outside of tables, the same keys may have other functionality.
    348 
    349 {\bf Re-aligning and field motion}
    350 
    351 \key{re-align the table without moving the cursor}{C-c C-c}
    352 \key{re-align the table, move to next field}{TAB}
    353 \key{move to previous field}{S-TAB}
    354 \key{re-align the table, move to next row}{RET}
    355 \key{move to beginning/end of field}{M-a/e}
    356 
    357 {\bf Row and column editing}
    358 
    359 \key{move the current column left}{M-LEFT/RIGHT}
    360 \key{kill the current column}{M-S-LEFT}
    361 \key{insert new column to left of cursor position}{M-S-RIGHT}
    362 
    363 \key{move the current row up/down}{M-UP/DOWN}
    364 \key{kill the current row or horizontal line}{M-S-UP}
    365 \key{insert new row above the current row}{M-S-DOWN}
    366 \key{insert hline below (\kbd{C-u} : above) current row}{C-c -}
    367 \key{insert hline and move to line below it}{C-c RET}
    368 \key{sort lines in region}{C-c \^{}}
    369 
    370 {\bf Regions}
    371 
    372 \metax{cut/copy/paste rectangular region}{C-c C-x C-w/M-w/C-y}
    373 %\key{copy rectangular region}{C-c C-x M-w}
    374 %\key{paste rectangular region}{C-c C-x C-y}
    375 
    376 {\bf Miscellaneous}
    377 
    378 \key{to limit column width to \kbd{N} characters, use}{...| <N> |...}
    379 \key{edit the current field in a separate window}{C-c `}
    380 \key{make current field fully visible}{C-u TAB}
    381 \metax{export as tab-separated file}{M-x org-table-export}
    382 \metax{import tab-separated file}{M-x org-table-import}
    383 \key{sum numbers in current column/rectangle}{C-c +}
    384 
    385 {\bf Tables created with the \kbd{table.el} package}
    386 
    387 \key{insert a new \kbd{table.el} table}{C-c ~}
    388 \key{recognize existing table.el table}{C-c C-c}
    389 \key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~}
    390 
    391 {\bf Spreadsheet}
    392 
    393 Formulas typed in field are executed by \kbd{TAB},
    394 \kbd{RET} and \kbd{C-c C-c}.  \kbd{=} introduces a column
    395 formula, \kbd{:=} a field formula.
    396 
    397 \key{Example: Add Col1 and Col2}{|=\$1+\$2      |}
    398 \key{... with printf format specification}{|=\$1+\$2;\%.2f|}
    399 \key{... with constants from constants.el}{|=\$1/\$c/\$cm |}
    400 \metax{sum from 2nd to 3rd hline}{|:=vsum(@II..@III)|}
    401 \key{apply current column formula}{| = |}
    402 
    403 \key{set and eval column formula}{C-c =}
    404 \key{set and eval field formula}{C-u C-c =}
    405 \key{re-apply all stored equations to current line}{C-c *}
    406 \key{re-apply all stored equations to entire table}{C-u C-c *}
    407 \key{iterate table to stability}{C-u C-u C-c *}
    408 \key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#}
    409 \key{show line, column, formula reference}{C-c ?}
    410 \key{toggle grid / debugger}{C-c \}/\{}
    411 
    412 \newcolumn
    413 {\it Formula Editor}
    414 
    415 \key{edit formulas in separate buffer}{C-c '}
    416 \key{exit and install new formulas}{C-c C-c}
    417 \key{exit, install, and apply new formulas}{C-u C-c C-c}
    418 \key{abort}{C-c C-q}
    419 \key{toggle reference style}{C-c C-r}
    420 \key{pretty-print Lisp formula}{TAB}
    421 \key{complete Lisp symbol}{M-TAB}
    422 \key{shift reference point}{S-cursor}
    423 \key{shift test line for column references}{M-up/down}
    424 \key{scroll the window showing the table}{M-S-up/down}
    425 \key{toggle table coordinate grid}{C-c \}}
    426 
    427 \section{Links}
    428 
    429 \key{globally store link to the current location}{C-c l \noteone}
    430 \key{insert a link (TAB completes stored links)}{C-c C-l}
    431 \key{insert file link with file name completion}{C-u C-c C-l}
    432 \key{edit (also hidden part of) link at point}{C-c C-l}
    433 
    434 \key{open file links in emacs}{C-c C-o}
    435 \key{...force open in emacs/other window}{C-u C-c C-o}
    436 \key{open link at point}{mouse-1/2}
    437 \key{...force open in emacs/other window}{mouse-3}
    438 \key{record a position in mark ring}{C-c \%}
    439 \key{jump back to last followed link(s)}{C-c \&}
    440 \key{find next link}{C-c C-x C-n}
    441 \key{find previous link}{C-c C-x C-p}
    442 \key{edit code snippet of file at point}{C-c '}
    443 \key{toggle inline display of linked images}{C-c C-x C-v}
    444 
    445 \section{Working with Code (Babel)}
    446 
    447 \key{execute code block at point}{C-c C-c}
    448 \key{open results of code block at point}{C-c C-o}
    449 \key{check code block at point for errors}{C-c C-v c}
    450 \key{insert a header argument with completion}{C-c C-v j}
    451 \key{view expanded body of code block at point}{C-c C-v v}
    452 \key{view information about code block at point}{C-c C-v I}
    453 \key{go to named code block}{C-c C-v g}
    454 \key{go to named result}{C-c C-v r}
    455 \key{go to the head of the current code block}{C-c C-v u}
    456 \key{go to the next code block}{C-c C-v n}
    457 \key{go to the previous code block}{C-c C-v p}
    458 \key{demarcate a code block}{C-c C-v d}
    459 \key{execute next key sequence in code edit buffer}{C-c C-v x}
    460 \key{execute all code blocks in current buffer}{C-c C-v b}
    461 \key{execute all code blocks in current subtree}{C-c C-v s}
    462 \key{tangle code blocks in current file}{C-c C-v t}
    463 \key{tangle code blocks in supplied file}{C-c C-v f}
    464 \key{ingest all code blocks in supplied file into the Library of Babel}{C-c C-v i}
    465 \key{switch to the session of the current code block}{C-c C-v z}
    466 \key{load the current code block into a session}{C-c C-v l}
    467 \key{view sha1 hash of the current code block}{C-c C-v a}
    468 
    469 \section{Completion and Template Insertion}
    470 
    471 In-buffer completion completes TODO keywords at headline start, TeX
    472 macros after ``{\tt \\}'', option keywords after ``{\tt \#-}'', TAGS
    473 after  ``{\tt :}'', and dictionary words elsewhere.
    474 
    475 \key{complete word at point}{M-TAB}
    476 \key{structure template (insert or wrap region)}{C-c C-,}
    477 
    478 
    479 \newcolumn
    480 \title{Org-Mode Reference Card (2/2)}
    481 
    482 \centerline{(for version \orgversionnumber)}
    483 
    484 \section{TODO Items and Checkboxes}
    485 
    486 \key{rotate the state of the current item}{C-c C-t}
    487 \metax{select next/previous state}{\quad\quad S-LEFT/RIGHT}
    488 \metax{select next/previous set}{\quad\quad\quad C-S-LEFT/RIGHT}
    489 \key{toggle ORDERED property}{C-c C-x o}
    490 
    491 \key{view TODO items in a sparse tree}{C-c / t}
    492 \key{view 3rd TODO keyword's sparse tree}{C-3 C-c / t}
    493 \key{set the priority of the current item}{C-c , [ABC]}
    494 \key{remove priority cookie from current item}{C-c , SPC}
    495 \key{raise/lower priority of current item}{S-UP/DOWN\notetwo}
    496 
    497 \key{insert new checkbox item in plain list}{M-S-RET}
    498 \key{toggle checkbox(es) in region/entry/at point}{C-c C-x C-b}
    499 \key{toggle checkbox at point}{C-c C-c}
    500 %\metax{checkbox statistics cookies: insert {\tt [/]} or {\tt [\%]}}{}
    501 \key{update checkbox statistics (\kbd{C-u} : whole file)}{C-c \#}
    502 
    503 \section{Tags}
    504 
    505 \key{set tags for current heading}{C-c C-q}
    506 \key{realign tags in all headings}{C-u C-c C-q}
    507 \key{create sparse tree with matching tags}{C-c \\}
    508 \key{globally (agenda) match tags at cursor}{C-c C-o}
    509 
    510 \section{Properties and Column View}
    511 
    512 \key{set property/effort}{C-c C-x p/e}
    513 \key{special commands in property lines}{C-c C-c}
    514 \key{next/previous allowed value}{S-LEFT/RIGHT}
    515 \key{turn on column view}{C-c C-x C-c}
    516 \key{capture columns view in dynamic block}{C-c C-x x}
    517 
    518 \key{quit column view}{q}
    519 \key{show full value}{v}
    520 \key{edit value}{e}
    521 \metax{next/previous allowed value}{n/p or S-LEFT/RIGHT}
    522 \key{edit allowed values list}{a}
    523 \key{make column wider/narrower}{> / <}
    524 \key{move column left/right}{M-LEFT/RIGHT}
    525 \key{add new column}{M-S-RIGHT}
    526 \key{Delete current column}{M-S-LEFT}
    527 
    528 
    529 \section{Timestamps}
    530 
    531 \key{prompt for date and insert timestamp}{C-c .}
    532 \key{like \kbd{C-c .} but insert date and time format}{C-u C-c .}
    533 \key{like \kbd{C-c .} but make stamp inactive}{C-c !} % FIXME
    534 \key{insert DEADLINE timestamp}{C-c C-d}
    535 \key{insert SCHEDULED timestamp}{C-c C-s}
    536 \key{create sparse tree with all deadlines due}{C-c / d}
    537 \key{the time between 2 dates in a time range}{C-c C-y}
    538 \metax{change timestamp at cursor $\pm 1$ day}{\quad\quad\quad\quad S-RIGHT/LEFT \notetwo}
    539 \key{change year/month/day at cursor by $\pm 1$}{S-UP/DOWN \notetwo}
    540 \key{access the calendar for the current date}{C-c >}
    541 \key{insert timestamp matching date in calendar}{C-c <}
    542 \key{access agenda for current date}{C-c C-o}
    543 \key{select date while prompted}{mouse-1/RET}
    544 %\key{... select date in calendar}{mouse-1/RET}
    545 %\key{... scroll calendar back/forward one month}{< / >}
    546 %\key{... forward/backward one day}{S-LEFT/RIGHT}
    547 %\key{... forward/backward one week}{S-UP/DOWN}
    548 %\key{... forward/backward one month}{M-S-LEFT/RIGHT}
    549 \key{toggle custom format display for dates/times}{C-c C-x C-t}
    550 
    551 \newcolumn
    552 
    553 {\bf Clocking time}
    554 
    555 \key{start clock on current item}{C-c C-x C-i}
    556 \key{stop/cancel clock on current item}{C-c C-x C-o/x}
    557 \key{display total subtree times}{C-c C-x C-d}
    558 \key{remove displayed times}{C-c C-c}
    559 \key{insert/update table with clock report}{C-c C-x C-x}
    560 
    561 \section{Agenda Views}
    562 
    563 \key{add/move current file to front of agenda}{C-c [}
    564 \key{remove current file from your agenda}{C-c ]}
    565 \key{cycle through agenda file list}{C-'}
    566 \key{set/remove restriction lock}{C-c C-x </>}
    567 
    568 \key{compile agenda for the current week}{C-c a a \noteone}
    569 \key{compile global TODO list}{C-c a t \noteone}
    570 \key{compile TODO list for specific keyword}{C-c a T \noteone}
    571 \key{match tags, TODO kwds, properties}{C-c a m \noteone}
    572 \key{match only in TODO entries}{C-c a M \noteone}
    573 \key{find stuck projects}{C-c a \# \noteone}
    574 \key{configure custom commands}{C-c a C \noteone}
    575 %\key{configure stuck projects}{C-c a ! \noteone}
    576 \key{agenda for date at cursor}{C-c C-o}
    577 
    578 {\bf Commands available in an agenda buffer}
    579 
    580 {\bf View Org file}
    581 
    582 \key{show original location of item}{SPC/mouse-3}
    583 %\key{... also available with}{mouse-3}
    584 \key{show and recenter window}{L}
    585 \key{goto original location in other window}{TAB/mouse-2}
    586 %\key{... also available with}{mouse-2}
    587 \key{goto original location, delete other windows}{RET}
    588 \key{show subtree in indirect buffer, ded.\ frame}{C-c C-x b}
    589 \key{toggle follow-mode}{F}
    590 
    591 {\bf Change display}
    592 
    593 \key{delete other windows}{o}
    594 \key{view mode dispatcher}{v}
    595 \key{switch to day/week/month/year/def view}{d w vm vy vSP}
    596 \key{toggle diary entries / time grid / habits}{D / G / K}
    597 \key{toggle entry text / clock report}{E / R}
    598 \key{toggle display of logbook entries}{l / v l/L/c}
    599 \key{toggle inclusion of archived trees/files}{v a/A}
    600 \key{refresh agenda buffer with any changes}{r / g}
    601 \key{filter with respect to a tag}{/}
    602 \key{save all org-mode buffers}{s}
    603 \key{display next/previous day,week,...}{f / b}
    604 \key{goto today / some date (prompt)}{. / j}
    605 
    606 {\bf Remote editing}
    607 
    608 \key{digit argument}{0-9}
    609 \key{change state of current TODO item}{t}
    610 \key{kill item and source}{C-k}
    611 \key{archive default}{\$ / a}
    612 \key{refile the subtree}{C-c C-w}
    613 \key{set/show tags of current headline}{: / T}
    614 \key{set effort property (prefix=nth)}{e}
    615 \key{set / compute priority of current item}{, / P}
    616 \key{raise/lower priority of current item}{S-UP/DOWN\notetwo}
    617 \key{run an attachment command}{C-c C-a}
    618 \key{schedule/set deadline for this item}{C-c C-s/d}
    619 \metax{change timestamp one day earlier/later}{S-LEFT/RIGHT\notetwo}
    620 \key{change timestamp to today}{>}
    621 \key{insert new entry into diary}{i}
    622 \newcolumn
    623 \key{start/stop/cancel the clock on current item}{I / O / X}
    624 \key{jump to running clock entry}{J}
    625 \key{mark / unmark / execute bulk action}{m / u / B}
    626 
    627 {\bf Misc}
    628 
    629 \key{follow one or offer all links in current entry}{C-c C-o}
    630 
    631 {\bf Calendar commands}
    632 
    633 \key{find agenda cursor date in calendar}{c}
    634 \key{compute agenda for calendar cursor date}{c}
    635 \key{show phases of the moon}{M}
    636 \key{show sunrise/sunset times}{S}
    637 \key{show holidays}{H}
    638 \key{convert date to other calendars}{C}
    639 
    640 {\bf Quit and Exit}
    641 
    642 \key{quit agenda, remove agenda buffer}{q}
    643 \key{exit agenda, remove all agenda buffers}{x}
    644 
    645 \section{LaTeX and cdlatex-mode}
    646 
    647 \key{preview LaTeX fragment}{C-c C-x C-l}
    648 \key{expand abbreviation (cdlatex-mode)}{TAB}
    649 \key{insert/modify math symbol (cdlatex-mode)}{` / '}
    650 \key{insert citation using RefTeX}{C-c C-x [}
    651 
    652 \section{Exporting and Publishing}
    653 
    654 Exporting creates files with extensions {\it .txt\/} and {\it .html\/}
    655 in the current directory.  Publishing puts the resulting file into
    656 some other place.
    657 
    658 \key{export/publish dispatcher}{C-c C-e}
    659 
    660 \key{toggle asynchronous export}{C-c C-e C-a}
    661 \key{toggle body/visible only export}{C-c C-e C-b/v}
    662 \key{toggle subtree export}{C-c C-e C-s}
    663 \key{insert template of export options}{C-c C-e \#}
    664 
    665 \key{toggle fixed width for entry or region}{C-c :}
    666 \key{toggle pretty display of scripts, entities}{C-c C-x {\tt\char`\\}}
    667 
    668 Lines starting with \kbd{\#} and subtrees starting with COMMENT are
    669 never exported.
    670 
    671 \key{toggle COMMENT keyword on entry}{C-c ;}
    672 
    673 \section{Dynamic Blocks}
    674 
    675 \key{update dynamic block at point}{C-c C-x C-u}
    676 \metax{update all dynamic blocks}{C-u C-c C-x C-u}
    677 
    678 \section{Notes}
    679 [1] This is only a suggestion for a binding of this command.  Choose
    680 your own key as shown under ACTIVATION.
    681 
    682 [2] Keybinding affected by {\tt org-support-shift-select} and also
    683  {\tt org-replace-disputed-keys}.
    684 
    685 \copyrightnotice
    686 
    687 \bye
    688 
    689 % Local variables:
    690 % compile-command: "pdftex orgcard"
    691 % End: