Mercurial > hg > xemacs-beta
comparison man/vmcard.tex @ 0:376386a54a3c r19-14
Import from CVS: tag r19-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:45:50 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:376386a54a3c |
---|---|
1 % Quick Reference Card for VM 4 under GNU Emacs version 18 on Unix systems | |
2 %**start of header | |
3 \newcount\columnsperpage | |
4 | |
5 % This file can be printed with 1, 2, or 3 columns per page (see below). | |
6 % Specify how many you want here. Nothing else needs to be changed. | |
7 | |
8 \columnsperpage=2 | |
9 | |
10 % Copyright (c) 1989 Free Software Foundation, Inc. | |
11 | |
12 % This file is part of GNU Emacs. | |
13 | |
14 % This file is distributed in the hope that it will be useful, | |
15 % but WITHOUT ANY WARRANTY. No author or distributor | |
16 % accepts responsibility to anyone for the consequences of using it | |
17 % or for whether it serves any particular purpose or describes | |
18 % any piece of software unless they say so in writing. Refer to the | |
19 % GNU Emacs General Public License for full details. | |
20 % | |
21 % Permission is granted to copy, modify and redistribute this source | |
22 % file provided the copyright notice and permission notices are | |
23 % preserved on all copies. | |
24 % | |
25 % Permission is granted to process this file through TeX and print the | |
26 % results, provided the printed document carries copyright and | |
27 % permission notices identical to the ones below. | |
28 | |
29 % This file is intended to be processed by plain TeX (TeX82). | |
30 % | |
31 % The final reference card has six columns, three on each side. | |
32 % This file can be used to produce it in any of three ways: | |
33 % 1 column per page | |
34 % produces six separate pages, each of which needs to be reduced to 80%. | |
35 % This gives the best resolution. | |
36 % 2 columns per page | |
37 % produces three already-reduced pages. | |
38 % You will still need to cut and paste. | |
39 % 3 columns per page | |
40 % produces two pages which must be printed sideways to make a | |
41 % ready-to-use 8.5 x 11 inch reference card. | |
42 % For this you need a dvi device driver that can print sideways. | |
43 % Which mode to use is controlled by setting \columnsperpage above. | |
44 % | |
45 % VMREFCARD 1.0 - October 9, 1989 - jgraf@mipos3.intel.com | |
46 % Hacked up vipcard.tex by msato which was hacked from refcard.tex | |
47 % by sgildea. No doubt a tradition for years to come. | |
48 % | |
49 % Author: | |
50 % Masahiko Sato | |
51 % Internet: ms@sail.stanford.edu | |
52 % Junet: masahiko@sato.riec.tohoku.junet | |
53 % | |
54 % The original TeX code for formatting the reference card was written by: | |
55 % Stephen Gildea | |
56 % UUCP: mit-erl!gildea | |
57 % Internet: gildea@erl.mit.edu | |
58 | |
59 | |
60 \def\versionnumber{1.0} | |
61 \def\year{1989} | |
62 \def\version{September \year\ v\versionnumber} | |
63 | |
64 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill | |
65 \centerline{\small \copyright\ \year\ Kyle Jones | |
66 Permissions on back. v\versionnumber}} | |
67 | |
68 \def\copyrightnotice{ | |
69 %\vskip 1ex plus 2 fill\begingroup\small | |
70 \vskip 1ex \begingroup\small | |
71 \centerline{Copyright \copyright\ \year\ Kyle Jones} | |
72 \centerline{refcard redesigned by jgraf, \version} | |
73 \centerline{for VM 4 under GNU Emacs version 18 on Unix systems} | |
74 | |
75 Permission is granted to make and distribute copies of | |
76 this card provided the copyright notice and this permission notice | |
77 are preserved on all copies. | |
78 | |
79 \endgroup} | |
80 | |
81 % make \bye not \outer so that the \def\bye in the \else clause below | |
82 % can be scanned without complaint. | |
83 \def\bye{\par\vfill\supereject\end} | |
84 | |
85 \newdimen\intercolumnskip | |
86 \newbox\columna | |
87 \newbox\columnb | |
88 | |
89 \def\ncolumns{\the\columnsperpage} | |
90 | |
91 \message{[\ncolumns\space | |
92 column\if 1\ncolumns\else s\fi\space per page]} | |
93 | |
94 \def\scaledmag#1{ scaled \magstep #1} | |
95 | |
96 % This multi-way format was designed by Stephen Gildea | |
97 % October 1986. | |
98 % Slightly modified by Masahiko Sato, September 1987. | |
99 \if 1\ncolumns | |
100 \hsize 4in | |
101 \vsize 10in | |
102 %\voffset -.7in | |
103 \voffset -.57in | |
104 \font\titlefont=\fontname\tenbf \scaledmag3 | |
105 \font\headingfont=\fontname\tenbf \scaledmag2 | |
106 \font\miniheadingfont=\fontname\tenbf \scaledmag1 % masahiko | |
107 \font\smallfont=\fontname\sevenrm | |
108 \font\smallsy=\fontname\sevensy | |
109 | |
110 \footline{\hss\folio} | |
111 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} | |
112 \else | |
113 %\hsize 3.2in | |
114 %\vsize 7.95in | |
115 \hsize 3.41in % masahiko | |
116 \vsize 8in % masahiko | |
117 \hoffset -.75in | |
118 \voffset -.745in | |
119 \font\titlefont=cmbx10 \scaledmag2 | |
120 \font\headingfont=cmbx10 \scaledmag1 | |
121 \font\miniheadingfont=cmbx10 % masahiko | |
122 \font\smallfont=cmr6 | |
123 \font\smallsy=cmsy6 | |
124 \font\eightrm=cmr8 | |
125 \font\eightbf=cmbx8 | |
126 \font\eightit=cmti8 | |
127 \font\eightsl=cmsl8 | |
128 \font\eighttt=cmtt8 | |
129 \font\eightsy=cmsy8 | |
130 \textfont0=\eightrm | |
131 \textfont2=\eightsy | |
132 \def\rm{\eightrm} | |
133 \def\bf{\eightbf} | |
134 \def\it{\eightit} | |
135 \def\sl{\eightsl} % masahiko | |
136 \def\tt{\eighttt} | |
137 \normalbaselineskip=.8\normalbaselineskip | |
138 \normallineskip=.8\normallineskip | |
139 \normallineskiplimit=.8\normallineskiplimit | |
140 \normalbaselines\rm %make definitions take effect | |
141 | |
142 \if 2\ncolumns | |
143 \let\maxcolumn=b | |
144 \footline{\hss\rm\folio\hss} | |
145 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}} | |
146 \else \if 3\ncolumns | |
147 \let\maxcolumn=c | |
148 \nopagenumbers | |
149 \else | |
150 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.} | |
151 \errmessage{Illegal number of columns per page} | |
152 \fi\fi | |
153 | |
154 %\intercolumnskip=.46in | |
155 \intercolumnskip=.19in % masahiko .19x4 + 3.41x3 = 10.99 | |
156 \def\abc{a} | |
157 \output={% | |
158 % This next line is useful when designing the layout. | |
159 %\immediate\write16{Column \folio\abc\space starts with \firstmark} | |
160 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a} | |
161 \else\if a\abc | |
162 \global\setbox\columna\columnbox \global\def\abc{b} | |
163 %% in case we never use \columnb (two-column mode) | |
164 \global\setbox\columnb\hbox to -\intercolumnskip{} | |
165 \else | |
166 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi} | |
167 \def\multicolumnformat{\shipout\vbox{\makeheadline | |
168 \hbox{\box\columna\hskip\intercolumnskip | |
169 \box\columnb\hskip\intercolumnskip\columnbox} | |
170 \makefootline}\advancepageno} | |
171 \def\columnbox{\leftline{\pagebody}} | |
172 | |
173 \def\bye{\par\vfill\supereject | |
174 \if a\abc \else\null\vfill\eject\fi | |
175 \if a\abc \else\null\vfill\eject\fi | |
176 \end} | |
177 \fi | |
178 | |
179 % we won't be using math mode much, so redefine some of the characters | |
180 % we might want to talk about | |
181 \catcode`\^=12 | |
182 \catcode`\_=12 | |
183 | |
184 \chardef\\=`\\ | |
185 \chardef\{=`\{ | |
186 \chardef\}=`\} | |
187 | |
188 \hyphenation{mini-buf-fer} | |
189 | |
190 \parindent 0pt | |
191 \parskip 1ex plus .5ex minus .5ex | |
192 | |
193 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip} | |
194 | |
195 \outer\def\newcolumn{\vfill\eject} | |
196 | |
197 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex} | |
198 | |
199 \outer\def\section#1{\par\filbreak | |
200 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}% | |
201 \vskip 2ex plus 1ex minus 1.5ex} | |
202 | |
203 % masahiko | |
204 \outer\def\subsection#1{\par\filbreak | |
205 \vskip 2ex plus 2ex minus 2ex {\miniheadingfont #1}\mark{#1}% | |
206 \vskip 1ex plus 1ex minus 1.5ex} | |
207 | |
208 \newdimen\keyindent | |
209 | |
210 \def\beginindentedkeys{\keyindent=1em} | |
211 \def\endindentedkeys{\keyindent=0em} | |
212 \endindentedkeys | |
213 | |
214 \def\paralign{\vskip\parskip\halign} | |
215 | |
216 \def\<#1>{$\langle${\rm #1}$\rangle$} | |
217 | |
218 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows | |
219 | |
220 \def\beginexample{\par\leavevmode\begingroup | |
221 \obeylines\obeyspaces\parskip0pt\tt} | |
222 {\obeyspaces\global\let =\ } | |
223 \def\endexample{\endgroup} | |
224 | |
225 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop | |
226 {\hsize=.75\hsize\rightskip=1em | |
227 \hskip\keyindent\relax#1}\kbd{#2}\hfil}} | |
228 | |
229 \newbox\metaxbox | |
230 \setbox\metaxbox\hbox{\kbd{M-x }} | |
231 \newdimen\metaxwidth | |
232 \metaxwidth=\wd\metaxbox | |
233 | |
234 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize | |
235 {\hskip\keyindent\relax#1\hfil}% | |
236 \hskip -\metaxwidth minus 1fil | |
237 \kbd{#2}\hfil}} | |
238 | |
239 \def\fivecol#1#2#3#4#5{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad | |
240 &\kbd{#3}\quad&\kbd{#4}\quad&\kbd{#5}\cr} | |
241 | |
242 \def\fourcol#1#2#3#4{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad | |
243 &\kbd{#3}\quad&\kbd{#4}\quad\cr} | |
244 | |
245 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad | |
246 &\kbd{#3}\quad\cr} | |
247 | |
248 \def\twocol#1#2{\hskip\keyindent\relax\kbd{#1}\hfil&\kbd{#2}\quad\cr} | |
249 | |
250 \def\twocolkey#1#2#3#4{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad&\relax#3\hfil&\kbd{#4}\quad\cr} | |
251 | |
252 %**end of header | |
253 | |
254 \beginindentedkeys | |
255 | |
256 \title{VM (View Mail) Reference Card} | |
257 | |
258 \centerline{(for version 4 under GNU Emacs version 18)} | |
259 | |
260 %\copyrightnotice | |
261 | |
262 \section{VM Major Mode} | |
263 | |
264 To invoke VM type {\bf M-x vm} | |
265 | |
266 \subsection{Selecting and Previewing Mail} | |
267 | |
268 \key{go to next message}{n} | |
269 \key{go to previous message}{p} | |
270 \key{like {\bf n} but ignore skip-variable setting}{N} | |
271 \key{like {\bf p} but ignore skip-variable setting}{P} | |
272 \key{go to next unread message}{M-n} | |
273 \key{go to previous unread message}{M-p} | |
274 \key{go to numbered message (uses prefix arg)}{RET} | |
275 \key{go to last message seen}{TAB} | |
276 \key{incremental search through folder}{M-s} | |
277 | |
278 \key{display hidden headers}{t} | |
279 \key{scroll forward a page (or display next msg)}{SPC} | |
280 \key{scroll back a page}{b {\rm or} DEL} | |
281 \key{go to start of current message}{<} | |
282 \key{go to end of current message}{>} | |
283 | |
284 \subsection{Deleting mail} | |
285 \key{delete current message (mark)}{d} | |
286 \key{undelete (mark)}{u} | |
287 \key{delete all msgs with same subj as current msg}{k} | |
288 | |
289 \subsection{Sending mail from within VM} | |
290 | |
291 \key{originate a piece of mail}{m} | |
292 \key{reply (only to sender of message)}{r} | |
293 \key{reply with included text from current msg}{R} | |
294 \key{followup (reply to all recipients of msg)}{f} | |
295 \key{followup with included text}{F} | |
296 \key{forward the current message}{z} | |
297 | |
298 \subsection{Folders} | |
299 | |
300 \key{digestify and mail folder contents}{@} | |
301 \key{burst a digest}{*} | |
302 | |
303 \key{group msgs according to criteria}{G} | |
304 | |
305 \key{get any new mail from system mailbox}{g} | |
306 \key{visit another mail folder}{v} | |
307 | |
308 \key{save current msg to folder (append if exist)}{s} | |
309 \key{write msg to file sans headers (append if exist)}{w} | |
310 \key{expunge and save mail folder}{S} | |
311 \key{expunge deleted msgs (don't save folder)}{\#} | |
312 \key{save unfiled msgs via vm-auto-folder-alist}{A} | |
313 \key{quit VM, expunge and save folder}{q} | |
314 \key{exit VM with no change to folder}{x} | |
315 | |
316 \shortcopyrightnotice | |
317 | |
318 \subsection {VM Miscellaneous Commands} | |
319 | |
320 \key{special undo for msg attributes only}{C-_} | |
321 \key{help}{?} | |
322 \key{run a shell command}{!} | |
323 \key{run a shell cmd with cur. msg as input}{|} | |
324 | |
325 \hskip 5ex | |
326 If the *mail* buffer was entered via the VM command {\bf m}, then the | |
327 following commands are valid within the *mail* buffer: | |
328 | |
329 \hskip 5ex | |
330 | |
331 \key{copy msg from folder to *mail*}{C-C C-y} | |
332 \key{execute VM cmd in *mail* buffer}{C-C C-v} | |
333 | |
334 \section{EMACS Mail Mode} | |
335 | |
336 \key{originate a piece of mail}{C-x m} | |
337 \key{same as C-x m but use other window}{C-x 4 m} | |
338 | |
339 \subsection{Sending Mail} | |
340 | |
341 \key{send message, leave *mail* selected}{C-c C-s} | |
342 \key{send message, select some other buffer}{C-c C-c} | |
343 | |
344 \subsection{Mail Mode Commands} | |
345 | |
346 \key{insert file \~/.signature at end of message}{C-c C-w} | |
347 \key{yank selected message from Rmail/VM}{C-c C-y} | |
348 \key{fill paragraphs of yanked messages}{C-c C-q} | |
349 | |
350 \subsection{Mail Header Fields} | |
351 | |
352 \hskip 5ex | |
353 Fields that have commands associated with them will move to the | |
354 appropriate field creating one if needed. | |
355 | |
356 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr | |
357 | |
358 \threecol{{\bf Field}}{{\bf Purpose}}{{\bf Command}} | |
359 \threecol{To:} {mail to address(es)}{C-c C-f C-t} | |
360 \threecol{Subject:} {topic of mail message}{C-c C-f C-s} | |
361 \threecol{CC:} {copy to(appears in header)}{C-c C-f C-c} | |
362 \threecol{BCC:} {copy to (not in header)}{C-c C-f C-b} | |
363 \threecol{FCC:} {save file to after send}{NA} | |
364 \threecol{From:} {who sent the mail}{NA} | |
365 \threecol{Reply-To:} {send replies to address}{NA} | |
366 \threecol{In-Reply-To}{subject of reply}{NA} | |
367 } | |
368 | |
369 \hskip 5ex | |
370 The `To', `CC', `BCC' and `FCC' fields can appear any number of times and | |
371 `To', `CC' and `BCC' fields can have continuation lines. | |
372 | |
373 \hskip 5ex | |
374 | |
375 \copyrightnotice | |
376 | |
377 \bye | |
378 | |
379 % Local variables: | |
380 % compile-command: "tex refcard" | |
381 % End: |