comparison etc/refcard.tex @ 64127:88b841a92534

Update `versionnumber' and `year'. Update Emacs's version to 22. (Starting Emacs): Delete sentence to fix formatting problems. (Multiple Windows): Clarify first sentence. Mention C-x 5 1. (Formatting): Update the binding of set face. (International Character Sets): set-language-environment is bound to C-x RET l
author Lute Kamstra <lute@gnu.org>
date Thu, 07 Jul 2005 08:06:42 +0000
parents 6fb026ad601f
children 0ee94ce27f45
comparison
equal deleted inserted replaced
64126:14582985815a 64127:88b841a92534
1 % Reference Card for GNU Emacs version 21 on Unix systems 1 % Reference Card for GNU Emacs version 22 on Unix systems
2 %**start of header 2 %**start of header
3 \newcount\columnsperpage 3 \newcount\columnsperpage
4 \newcount\letterpaper 4 \newcount\letterpaper
5 5
6 % This file can be printed with 1, 2, or 3 columns per page (see below). 6 % This file can be printed with 1, 2, or 3 columns per page (see below).
12 % only when columnsperpage is 2 or 3. 12 % only when columnsperpage is 2 or 3.
13 13
14 \letterpaper=1 14 \letterpaper=1
15 15
16 % Nothing else needs to be changed below this line. 16 % Nothing else needs to be changed below this line.
17 % Copyright (c) 1987, 1993, 1996, 1997 Free Software Foundation, Inc. 17 % Copyright (c) 1987, 1993, 1996, 1997, 2005 Free Software Foundation, Inc.
18 18
19 % This file is part of GNU Emacs. 19 % This file is part of GNU Emacs.
20 20
21 % GNU Emacs is free software; you can redistribute it and/or modify 21 % GNU Emacs is free software; you can redistribute it and/or modify
22 % it under the terms of the GNU General Public License as published by 22 % it under the terms of the GNU General Public License as published by
60 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik 60 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
61 % for their many good ideas. 61 % for their many good ideas.
62 62
63 % If there were room, it would be nice to see a section on Dired. 63 % If there were room, it would be nice to see a section on Dired.
64 64
65 \def\versionnumber{2.2} 65 \def\versionnumber{2.3}
66 \def\year{1997} 66 \def\year{2005}
67 67
68 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill 68 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
69 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. 69 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
70 Permissions on back. v\versionnumber}} 70 Permissions on back. v\versionnumber}}
71 71
72 \def\copyrightnotice{ 72 \def\copyrightnotice{
73 \vskip 1ex plus 2 fill\begingroup\small 73 \vskip 1ex plus 2 fill\begingroup\small
74 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.} 74 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
75 \centerline{v\versionnumber{} for GNU Emacs version 21, \year} 75 \centerline{v\versionnumber{} for GNU Emacs version 22, \year}
76 \centerline{designed by Stephen Gildea} 76 \centerline{designed by Stephen Gildea}
77 77
78 Permission is granted to make and distribute copies of 78 Permission is granted to make and distribute copies of
79 this card provided the copyright notice and this permission notice 79 this card provided the copyright notice and this permission notice
80 are preserved on all copies. 80 are preserved on all copies.
268 %**end of header 268 %**end of header
269 269
270 270
271 \title{GNU Emacs Reference Card} 271 \title{GNU Emacs Reference Card}
272 272
273 \centerline{(for version 21)} 273 \centerline{(for version 22)}
274 274
275 \section{Starting Emacs} 275 \section{Starting Emacs}
276 276
277 To enter GNU Emacs 21, just type its name: \kbd{emacs} 277 To enter GNU Emacs 22, just type its name: \kbd{emacs}
278
279 To read in a file to edit, see Files, below.
280 278
281 \section{Leaving Emacs} 279 \section{Leaving Emacs}
282 280
283 \key{suspend Emacs (or iconify it under X)}{C-z} 281 \key{suspend Emacs (or iconify it under X)}{C-z}
284 \key{exit Emacs permanently}{C-x C-c} 282 \key{exit Emacs permanently}{C-x C-c}
386 \key{mark entire {\bf buffer}}{C-x h} 384 \key{mark entire {\bf buffer}}{C-x h}
387 385
388 \section{Query Replace} 386 \section{Query Replace}
389 387
390 \key{interactively replace a text string}{M-\%} 388 \key{interactively replace a text string}{M-\%}
389 % query-replace-regexp is bound to C-M-% but that can't be typed on
390 % consoles.
391 \metax{using regular expressions}{M-x query-replace-regexp} 391 \metax{using regular expressions}{M-x query-replace-regexp}
392 392
393 Valid responses in query-replace mode are 393 Valid responses in query-replace mode are
394 394
395 \key{{\bf replace} this one, go on to next}{SPC} 395 \key{{\bf replace} this one, go on to next}{SPC}
400 \key{{\bf exit} query-replace}{RET} 400 \key{{\bf exit} query-replace}{RET}
401 \key{enter recursive edit (\kbd{C-M-c} to exit)}{C-r} 401 \key{enter recursive edit (\kbd{C-M-c} to exit)}{C-r}
402 402
403 \section{Multiple Windows} 403 \section{Multiple Windows}
404 404
405 When two commands are shown, the second is for ``other frame.'' 405 When two commands are shown, the second is a similar command for a
406 406 frame instead of a window.
407 \key{delete all other windows}{C-x 1}
408 407
409 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0 408 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0
410 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr 409 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
410 \threecol{delete all other windows}{C-x 1\ \ \ \ }{C-x 5 1}
411 \threecol{split window, above and below}{C-x 2\ \ \ \ }{C-x 5 2} 411 \threecol{split window, above and below}{C-x 2\ \ \ \ }{C-x 5 2}
412 \threecol{delete this window}{C-x 0\ \ \ \ }{C-x 5 0} 412 \threecol{delete this window}{C-x 0\ \ \ \ }{C-x 5 0}
413 }} 413 }}
414 \key{split window, side by side}{C-x 3} 414 \key{split window, side by side}{C-x 3}
415 415
447 447
448 \key{fill paragraph}{M-q} 448 \key{fill paragraph}{M-q}
449 \key{set fill column}{C-x f} 449 \key{set fill column}{C-x f}
450 \key{set prefix each line starts with}{C-x .} 450 \key{set prefix each line starts with}{C-x .}
451 451
452 \key{set face}{M-g} 452 \key{set face}{M-o}
453 453
454 \section{Case Change} 454 \section{Case Change}
455 455
456 \key{uppercase word}{M-u} 456 \key{uppercase word}{M-u}
457 \key{lowercase word}{M-l} 457 \key{lowercase word}{M-l}
560 \threecol{character with syntax {\it c}}{\\s{\it c}}{\\S{\it c}} 560 \threecol{character with syntax {\it c}}{\\s{\it c}}{\\S{\it c}}
561 } 561 }
562 562
563 \section{International Character Sets} 563 \section{International Character Sets}
564 564
565 \metax{specify principal language}{M-x set-language-environment} 565 \key{specify principal language}{C-x RET l}
566 \metax{show all input methods}{M-x list-input-methods} 566 \metax{show all input methods}{M-x list-input-methods}
567 \key{enable or disable input method}{C-\\} 567 \key{enable or disable input method}{C-\\}
568 \key{set coding system for next command}{C-x RET c} 568 \key{set coding system for next command}{C-x RET c}
569 \metax{show all coding systems}{M-x list-coding-systems} 569 \metax{show all coding systems}{M-x list-coding-systems}
570 \metax{choose preferred coding system}{M-x prefer-coding-system} 570 \metax{choose preferred coding system}{M-x prefer-coding-system}