config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

orgcard.tex (24117B)


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