vm / vmcard.tex

Full commit
% Quick Reference Card for VM 4 under GNU Emacs version 18 on Unix systems
%**start of header

% This file can be printed with 1, 2, or 3 columns per page (see below).
% Specify how many you want here.  Nothing else needs to be changed.


% Copyright (c) 1989 Free Software Foundation, Inc.

% This file is part of GNU Emacs.

% This file is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY.  No author or distributor
% accepts responsibility to anyone for the consequences of using it
% or for whether it serves any particular purpose or describes
% any piece of software unless they say so in writing.  Refer to the
% GNU Emacs General Public License for full details.
% Permission is granted to copy, modify and redistribute this source
% file provided the copyright notice and permission notices are
% preserved on all copies.
% Permission is granted to process this file through TeX and print the
% results, provided the printed document carries copyright and
% permission notices identical to the ones below.

% This file is intended to be processed by plain TeX (TeX82).
% The final reference card has six columns, three on each side.
% This file can be used to produce it in any of three ways:
% 1 column per page
%    produces six separate pages, each of which needs to be reduced to 80%.
%    This gives the best resolution.
% 2 columns per page
%    produces three already-reduced pages.
%    You will still need to cut and paste.
% 3 columns per page
%    produces two pages which must be printed sideways to make a
%    ready-to-use 8.5 x 11 inch reference card.
%    For this you need a dvi device driver that can print sideways.
% Which mode to use is controlled by setting \columnsperpage above.
% VMREFCARD 1.0 - October 9, 1989 -
%  Hacked up vipcard.tex by msato which was hacked from refcard.tex
%  by sgildea.  No doubt a tradition for years to come.
% Author:
%  Masahiko Sato
%  Internet:
%  Junet: masahiko@sato.riec.tohoku.junet
% The original TeX code for formatting the reference card was written by:
%  Stephen Gildea
%  UUCP: mit-erl!gildea
%  Internet:

\def\version{September \year\ v\versionnumber}

\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
  \centerline{\small \copyright\ \year\ Kyle Jones
  Permissions on back.  v\versionnumber}}

%\vskip 1ex plus 2 fill\begingroup\small
\vskip 1ex \begingroup\small
\centerline{Copyright \copyright\ \year\ Kyle Jones}
\centerline{refcard redesigned by jgraf, \version}
\centerline{for VM 4 under GNU Emacs version 18 on Unix systems}

Permission is granted to make and distribute copies of
this card provided the copyright notice and this permission notice
are preserved on all copies.


% make \bye not \outer so that the \def\bye in the \else clause below
% can be scanned without complaint.



  column\if 1\ncolumns\else s\fi\space per page]}

\def\scaledmag#1{ scaled \magstep #1}

% This multi-way format was designed by Stephen Gildea
% October 1986.
% Slightly modified by Masahiko Sato, September 1987.
\if 1\ncolumns
  \hsize 4in
  \vsize 10in
  %\voffset -.7in
  \voffset -.57in
  \font\titlefont=\fontname\tenbf \scaledmag3
  \font\headingfont=\fontname\tenbf \scaledmag2
  \font\miniheadingfont=\fontname\tenbf \scaledmag1 % masahiko

  %\hsize 3.2in
  %\vsize 7.95in
  \hsize 3.41in % masahiko
  \vsize 8in % masahiko
  \hoffset -.75in
  \voffset -.745in
  \font\titlefont=cmbx10 \scaledmag2
  \font\headingfont=cmbx10 \scaledmag1
  \font\miniheadingfont=cmbx10 % masahiko
  \def\sl{\eightsl} % masahiko
  \normalbaselines\rm		%make definitions take effect

  \if 2\ncolumns
    \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
  \else \if 3\ncolumns
    \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
    \errmessage{Illegal number of columns per page}

  \intercolumnskip=.19in % masahiko .19x4 + 3.41x3 = 10.99
      % This next line is useful when designing the layout.
      %\immediate\write16{Column \folio\abc\space starts with \firstmark}
      \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
      \else\if a\abc
	\global\setbox\columna\columnbox \global\def\abc{b}
        %% in case we never use \columnb (two-column mode)
        \global\setbox\columnb\hbox to -\intercolumnskip{}
	\global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}

    \if a\abc \else\null\vfill\eject\fi
    \if a\abc \else\null\vfill\eject\fi

% we won't be using math mode much, so redefine some of the characters
% we might want to talk about



\parindent 0pt
\parskip 1ex plus .5ex minus .5ex



\outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}

  \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
  \vskip 2ex plus 1ex minus 1.5ex}

% masahiko
  \vskip 2ex plus 2ex minus 2ex {\miniheadingfont #1}\mark{#1}%
  \vskip 1ex plus 1ex minus 1.5ex}




\def\<#1>{$\langle${\rm #1}$\rangle$}

\def\kbd#1{{\tt#1}\null}	%\null so not an abbrev even if period follows

{\obeyspaces\global\let =\ }

\def\key#1#2{\leavevmode\hbox to \hsize{\vtop

\setbox\metaxbox\hbox{\kbd{M-x }}

\def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
  \hskip -\metaxwidth minus 1fil






%**end of header

\title{VM (View Mail) Reference Card}

\centerline{(for version 4 under GNU Emacs version 18)}


\section{VM Major Mode}

To invoke VM type {\bf M-x vm}

\subsection{Selecting and Previewing Mail}

\key{go to next message}{n}
\key{go to previous message}{p}
\key{like {\bf n} but ignore skip-variable setting}{N}
\key{like {\bf p} but ignore skip-variable setting}{P}
\key{go to next unread message}{M-n}
\key{go to previous unread message}{M-p}
\key{go to numbered message (uses prefix arg)}{RET}
\key{go to last message seen}{TAB}
\key{incremental search through folder}{M-s}

\key{display hidden headers}{t}
\key{scroll forward a page (or display next msg)}{SPC}
\key{scroll back a page}{b {\rm or} DEL}
\key{go to start of current message}{<}
\key{go to end of current message}{>}

\subsection{Deleting mail}
\key{delete current message (mark)}{d}
\key{undelete (mark)}{u}
\key{delete all msgs with same subj as current msg}{k}

\subsection{Sending mail from within VM}

\key{originate a piece of mail}{m}
\key{reply (only to sender of message)}{r}
\key{reply with included text from current msg}{R}
\key{followup (reply to all recipients of msg)}{f}
\key{followup with included text}{F}
\key{forward the current message}{z}


\key{digestify and mail folder contents}{@}
\key{burst a digest}{*}

\key{group msgs according to criteria}{G}

\key{get any new mail from system mailbox}{g}
\key{visit another mail folder}{v}

\key{save current msg to folder (append if exist)}{s}
\key{write msg to file sans headers (append if exist)}{w}
\key{expunge and save mail folder}{S}
\key{expunge deleted msgs (don't save folder)}{\#}
\key{save unfiled msgs via vm-auto-folder-alist}{A}
\key{quit VM, expunge and save folder}{q}
\key{exit VM with no change to folder}{x}


\subsection {VM Miscellaneous Commands}

\key{special undo for msg attributes only}{C-_}
\key{run a shell command}{!}
\key{run a shell cmd with cur. msg as input}{|}

\hskip 5ex
If the *mail* buffer was entered via the VM command {\bf m}, then the
following commands are valid within the *mail* buffer:

\hskip 5ex

\key{copy msg from folder to *mail*}{C-C C-y}
\key{execute VM cmd in *mail* buffer}{C-C C-v}

\section{EMACS Mail Mode}

\key{originate a piece of mail}{C-x m}
\key{same as C-x m but use other window}{C-x 4 m}

\subsection{Sending Mail}

\key{send message, leave *mail* selected}{C-c C-s}
\key{send message, select some other buffer}{C-c C-c}

\subsection{Mail Mode Commands}

\key{insert file \~/.signature at end of message}{C-c C-w}
\key{yank selected message from Rmail/VM}{C-c C-y}
\key{fill paragraphs of yanked messages}{C-c C-q}

\subsection{Mail Header Fields}

\hskip 5ex
Fields that have commands associated with them will move to the 
appropriate field creating one if needed.

\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr

\threecol{{\bf Field}}{{\bf Purpose}}{{\bf Command}}
\threecol{To:}        {mail to  address(es)}{C-c C-f C-t}
\threecol{Subject:}   {topic of mail message}{C-c C-f C-s}
\threecol{CC:}        {copy to(appears in header)}{C-c C-f C-c}
\threecol{BCC:}       {copy to (not in header)}{C-c C-f C-b}
\threecol{FCC:}       {save file to after send}{NA}
\threecol{From:}      {who sent the mail}{NA}
\threecol{Reply-To:}  {send replies to address}{NA}
\threecol{In-Reply-To}{subject of reply}{NA}

\hskip 5ex
The `To', `CC', `BCC' and `FCC' fields can appear any number of times and
`To', `CC' and `BCC' fields can have continuation lines.

\hskip 5ex


% Local variables:
% compile-command: "tex refcard"
% End: