annotate etc/pt-br-refcard.tex @ 71727:84008c83cd50

(def-edebug-spec): Moved to subr.el.
author Richard M. Stallman <rms@gnu.org>
date Sun, 09 Jul 2006 02:00:46 +0000
parents abebc35fed97
children ce8275d968c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70786
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 % Reference Card for GNU Emacs version 22 on Unix systems
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2 %**start of header
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3 \newcount\columnsperpage
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4 \newcount\letterpaper
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 % This file can be printed with 1, 2, or 3 columns per page (see below).
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7 % Specify how many you want here.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 \columnsperpage=3
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 % Set letterpapaer to 0 for A4 paper, 1 for letter (US) paper. Useful
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 % only when columnsperpage is 2 or 3.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 \letterpaper=0
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 % Nothing else needs to be changed below this line.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17 % Copyright (C) 1987, 1993, 1996, 1997, 2002, 2003, 2004,
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 % 2006 Free Software Foundation, Inc.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 % This file is part of GNU Emacs.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 % GNU Emacs is free software; you can redistribute it and/or modify
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 % it under the terms of the GNU General Public License as published by
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24 % the Free Software Foundation; either version 2, or (at your option)
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 % any later version.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27 % GNU Emacs is distributed in the hope that it will be useful,
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28 % but WITHOUT ANY WARRANTY; without even the implied warranty of
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30 % GNU General Public License for more details.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 % You should have received a copy of the GNU General Public License
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
33 % along with GNU Emacs; see the file COPYING. If not, write to
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34 % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35 % Boston, MA 02110-1301, USA.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37 % This file is intended to be processed by plain TeX (TeX82).
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38 %
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39 % The final reference card has six columns, three on each side.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40 % This file can be used to produce it in any of three ways:
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41 % 1 column per page
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42 % produces six separate pages, each of which needs to be reduced to 80%.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43 % This gives the best resolution.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44 % 2 columns per page
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45 % produces three already-reduced pages.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46 % You will still need to cut and paste.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47 % 3 columns per page
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48 % produces two pages which must be printed sideways to make a
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
49 % ready-to-use 8.5 x 11 inch reference card.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
50 % For this you need a dvi device driver that can print sideways.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
51 % Which mode to use is controlled by setting \columnsperpage above.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
52 %
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
53 % To compile and print this document:
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
54 % tex refcard.tex
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
55 % dvips -t landscape refcard.dvi
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
56 %
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
57 % Author:
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
58 % Stephen Gildea
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
59 % Internet: gildea@stop.mail-abuse.org
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
60 %
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
61 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
62 % for their many good ideas.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
63
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
64 % If there were room, it would be nice to see a section on Dired.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
65
70864
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
66 % Translated from English to Portuguese by Rodrigo Real, send comments
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
67 % and suggestions to rreal@ucpel.tche.br. Thanks to Mario Goulart for
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
68 % the opinions.
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
69
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
70
70786
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
71 \def\versionnumber{2.3}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
72 \def\year{2006}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
73
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
74 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
75 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
76 Permissions on back. v\versionnumber}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
77
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
78 \def\copyrightnotice{
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
79 \vskip 1ex plus 2 fill\begingroup\small
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
80 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
81 \centerline{v\versionnumber{} for GNU Emacs version 22, \year}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
82 \centerline{designed by Stephen Gildea}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
83
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
84 Permission is granted to make and distribute copies of
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
85 this card provided the copyright notice and this permission notice
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
86 are preserved on all copies.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
87
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
88 For copies of the GNU Emacs manual, write to the Free Software
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
89 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
90
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
91 \endgroup}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
92
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
93 % make \bye not \outer so that the \def\bye in the \else clause below
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
94 % can be scanned without complaint.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
95 \def\bye{\par\vfill\supereject\end}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
96
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
97 \newdimen\intercolumnskip %horizontal space between columns
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
98 \newbox\columna %boxes to hold columns already built
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
99 \newbox\columnb
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
100
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
101 \def\ncolumns{\the\columnsperpage}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
102
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
103 \message{[\ncolumns\space
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
104 column\if 1\ncolumns\else s\fi\space per page]}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
105
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
106 \def\scaledmag#1{ scaled \magstep #1}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
107
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
108 % This multi-way format was designed by Stephen Gildea October 1986.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
109 % Note that the 1-column format is fontfamily-independent.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
110 \if 1\ncolumns %one-column format uses normal size
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
111 \hsize 4in
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
112 \vsize 10in
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
113 \voffset -.7in
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
114 \font\titlefont=\fontname\tenbf \scaledmag3
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
115 \font\headingfont=\fontname\tenbf \scaledmag2
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
116 \font\smallfont=\fontname\sevenrm
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
117 \font\smallsy=\fontname\sevensy
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
118
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
119 \footline{\hss\folio}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
120 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
121 \else %2 or 3 columns uses prereduced size
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
122 \hsize 3.2in
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
123 \if 1\the\letterpaper
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
124 \vsize 7.95in
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
125 \else
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
126 \vsize 7.65in
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
127 \fi
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
128 \hoffset -.75in
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
129 \voffset -.745in
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
130 \font\titlefont=cmbx10 \scaledmag2
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
131 \font\headingfont=cmbx10 \scaledmag1
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
132 \font\smallfont=cmr6
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
133 \font\smallsy=cmsy6
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
134 \font\eightrm=cmr8
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
135 \font\eightbf=cmbx8
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
136 \font\eightit=cmti8
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
137 \font\eighttt=cmtt8
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
138 \font\eightmi=cmmi8
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
139 \font\eightsy=cmsy8
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
140 \textfont0=\eightrm
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
141 \textfont1=\eightmi
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
142 \textfont2=\eightsy
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
143 \def\rm{\eightrm}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
144 \def\bf{\eightbf}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
145 \def\it{\eightit}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
146 \def\tt{\eighttt}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
147 \if 1\the\letterpaper
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
148 \normalbaselineskip=.8\normalbaselineskip
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
149 \else
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
150 \normalbaselineskip=.7\normalbaselineskip
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
151 \fi
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
152 \normallineskip=.8\normallineskip
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
153 \normallineskiplimit=.8\normallineskiplimit
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
154 \normalbaselines\rm %make definitions take effect
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
155
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
156 \if 2\ncolumns
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
157 \let\maxcolumn=b
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
158 \footline{\hss\rm\folio\hss}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
159 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
160 \else \if 3\ncolumns
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
161 \let\maxcolumn=c
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
162 \nopagenumbers
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
163 \else
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
164 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
165 \errmessage{Illegal number of columns per page}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
166 \fi\fi
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
167
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
168 %% \intercolumnskip=.46in
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
169 \intercolumnskip=.65in
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
170 \def\abc{a}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
171 \output={% %see The TeXbook page 257
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
172 % This next line is useful when designing the layout.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
173 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
174 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
175 \else\if a\abc
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
176 \global\setbox\columna\columnbox \global\def\abc{b}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
177 %% in case we never use \columnb (two-column mode)
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
178 \global\setbox\columnb\hbox to -\intercolumnskip{}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
179 \else
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
180 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
181 \def\multicolumnformat{\shipout\vbox{\makeheadline
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
182 \hbox{\box\columna\hskip\intercolumnskip
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
183 \box\columnb\hskip\intercolumnskip\columnbox}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
184 \makefootline}\advancepageno}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
185 \def\columnbox{\leftline{\pagebody}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
186
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
187 \def\bye{\par\vfill\supereject
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
188 \if a\abc \else\null\vfill\eject\fi
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
189 \if a\abc \else\null\vfill\eject\fi
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
190 \end}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
191 \fi
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
192
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
193 % we won't be using math mode much, so redefine some of the characters
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
194 % we might want to talk about
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
195 \catcode`\^=12
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
196 \catcode`\_=12
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
197
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
198 \chardef\\=`\\
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
199 \chardef\{=`\{
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
200 \chardef\}=`\}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
201
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
202 \hyphenation{mini-buf-fer}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
203
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
204 \parindent 0pt
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
205 \parskip 1ex plus .5ex minus .5ex
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
206
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
207 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
208
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
209 % newcolumn - force a new column. Use sparingly, probably only for
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
210 % the first column of a page, which should have a title anyway.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
211 \outer\def\newcolumn{\vfill\eject}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
212
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
213 % title - page title. Argument is title text.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
214 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
215
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
216 % section - new major section. Argument is section name.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
217 \outer\def\section#1{\par\filbreak
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
218 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
219 \vskip 2ex plus 1ex minus 1.5ex}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
220
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
221 \newdimen\keyindent
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
222
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
223 % beginindentedkeys...endindentedkeys - key definitions will be
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
224 % indented, but running text, typically used as headings to group
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
225 % definitions, will not.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
226 \def\beginindentedkeys{\keyindent=1em}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
227 \def\endindentedkeys{\keyindent=0em}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
228 \endindentedkeys
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
229
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
230 % paralign - begin paragraph containing an alignment.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
231 % If an \halign is entered while in vertical mode, a parskip is never
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
232 % inserted. Using \paralign instead of \halign solves this problem.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
233 \def\paralign{\vskip\parskip\halign}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
234
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
235 % \<...> - surrounds a variable name in a code example
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
236 \def\<#1>{{\it #1\/}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
237
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
238 % kbd - argument is characters typed literally. Like the Texinfo command.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
239 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
240
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
241 % beginexample...endexample - surrounds literal text, such a code example.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
242 % typeset in a typewriter font with line breaks preserved
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
243 \def\beginexample{\par\leavevmode\begingroup
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
244 \obeylines\obeyspaces\parskip0pt\tt}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
245 {\obeyspaces\global\let =\ }
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
246 \def\endexample{\endgroup}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
247
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
248 % key - definition of a key.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
249 % \key{description of key}{key-name}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
250 % prints the description left-justified, and the key-name in a \kbd
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
251 % form near the right margin.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
252 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
253 {\hsize=.75\hsize\rightskip=1em
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
254 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
255
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
256 \newbox\metaxbox
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
257 \setbox\metaxbox\hbox{\kbd{M-x }}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
258 \newdimen\metaxwidth
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
259 \metaxwidth=\wd\metaxbox
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
260
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
261 % metax - definition of a M-x command.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
262 % \metax{description of command}{M-x command-name}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
263 % Tries to justify the beginning of the command name at the same place
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
264 % as \key starts the key name. (The "M-x " sticks out to the left.)
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
265 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
266 {\hskip\keyindent\relax#1\hfil}%
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
267 \hskip -\metaxwidth minus 1fil
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
268 \kbd{#2}\hfil}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
269
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
270 % threecol - like "key" but with two key names.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
271 % for example, one for doing the action backward, and one for forward.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
272 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
273 &\kbd{#3}\hfil\quad\cr}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
274
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
275
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
276 %**end of header
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
277
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
278
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
279 \title{GNU Emacs: Cart\~ao de Refer\^encia}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
280 \centerline{(para vers\~ao 22)}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
281
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
282 \section{Iniciando o Emacs}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
283
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
284 Para entrar no GNU Emacs, digite: \kbd{emacs}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
285
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
286 \section{Saindo do Emacs}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
287
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
288 \key{suspende ou minimiza o Emacs}{C-z}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
289 \key{encerra o Emacs}{C-x C-c}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
290
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
291 \section{Arquivos}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
292
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
293 \key{{\bf abre} um arquivo}{C-x C-f}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
294 \key{{\bf salva} um arquivo em disco}{C-x C-s}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
295 \key{salva {\bf todos} arquivos abertos}{C-x s}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
296 \key{{\bf insere} outro arquivo neste buffer}{C-x i}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
297 \key{substitui este arquivo por outro}{C-x C-v}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
298 \key{salva o buffer em um arquivo especificado}{C-x C-w}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
299 \key{alterna o estado de somente leitura do buffer}{C-x C-q}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
300
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
301 \section{Ajuda (Help)}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
302
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
303 Tecle \kbd{C-h} (ou \kbd{F1}) e siga as instru{\c{c}}{\~o}es.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
304
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
305 \key{remove a janela de ajuda}{C-x 1}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
306 \key{rola a janela de ajuda}{C-M-v}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
307
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
308 \key{apropos: mostra comandos que casam com a string}{C-h a}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
309 \key{descreve fun{\c{c}}{\~a}o associada a teclas}{C-h k}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
310 \key{descreve uma fun{\c{c}}{\~a}o}{C-h f}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
311 \key{busca informa{\c{c}}{\~o}es espec{\'\i}ficas do modo}{C-h m}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
312
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
313 \section{Recuperando-se de Erros}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
314
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
315 \key{{\bf aborta} uma opera{\c{c}}{\~a}o}{C-g}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
316 \metax{{\bf recupera} arquivos ap{\'o}s crash}{M-x recover-session}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
317 \metax{desfaz uma altera{\c{c}}{\~a}o ({\bf undo})}{C-x u, C-_ {\rm or} C-/}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
318 \metax{restaura um buffer para o arquivo}{M-x revert-buffer}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
319 \key{redesenha a tela}{C-l}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
320
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
321 \section{Busca Incremental}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
322
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
323 \key{busca para frente}{C-s}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
324 \key{busca para tr{\'a}s}{C-r}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
325 \key{busca por express{\~a}o regular}{C-M-s}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
326 \key{busca por express{\~a}o regular para tr{\'a}s}{C-M-r}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
327
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
328 \key{seleciona a string de pesquisa anterior}{M-p}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
329 \key{seleciona a string seguinte de pesquisa}{M-n}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
330 \key{sai da busca incremental}{RET}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
331 \key{desfaz o efeito do {\'u}ltimo caracter}{DEL}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
332 \key{encerra a busca}{C-g}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
333
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
334 Use \kbd{C-s} ou \kbd{C-r} novamente para repetir a busca.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
335 \kbd{C-g} cancela apenas o que ainda n{\~a}o foi feito.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
336
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
337 \shortcopyrightnotice
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
338
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
339 \section{Movimenta{\c{c}}{\~a}o}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
340
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
341 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
342 \threecol{{\bf avan{\c{c}}ar}}{{\bf tr{\'a}s}}{{\bf frente}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
343 \threecol{um caracter}{C-b}{C-f}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
344 \threecol{uma palavra}{M-b}{M-f}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
345 \threecol{uma linha}{C-p}{C-n}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
346 \threecol{para in{\'\i}cio ou fim de linha}{C-a}{C-e}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
347 \threecol{senten{\c{c}}a}{M-a}{M-e}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
348 \threecol{par{\'a}grafo}{M-\{}{M-\}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
349 \threecol{p{\'a}gina}{C-x [}{C-x ]}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
350 \threecol{sexp}{C-M-b}{C-M-f}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
351 \threecol{fun{\c{c}}{\~a}o}{C-M-a}{C-M-e}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
352 \threecol{para in{\'\i}cio ou fim do buffer}{M-<}{M->}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
353 }
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
354
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
355 \key{rolar para pr{\'o}xima tela}{C-v}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
356 \key{rolar para tela anterior}{M-v}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
357 \key{rolar para esquerda}{C-x <}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
358 \key{rolar para direita}{C-x >}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
359 \key{rolar a linha corrente para o centro da tela}{C-u C-l}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
360
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
361 \section{Cortando e Apagando}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
362
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
363 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
364 \threecol{{\bf entidade a cortar}}{{\bf tr{\'a}s}}{{\bf frente}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
365 \threecol{caracter (apaga, n{\~a}o corta)}{DEL}{C-d}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
366 \threecol{palavra}{M-DEL}{M-d}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
367 \threecol{linha (at{\'e} o final)}{M-0 C-k}{C-k}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
368 \threecol{senten{\c{c}}a}{C-x DEL}{M-k}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
369 \threecol{sexp}{M-- C-M-k}{C-M-k}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
370 }
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
371
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
372 \key{corta {\bf regi{\~a}o}}{C-w}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
373 \key{copia a {\bf regi{\~a}o}}{M-w}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
374 \key{cortar at{\'e} a pr{\'o}xima ocorr{\^e}ncia de {\it char}}{M-z {\it char}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
375
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
376 \key{colar a {\'u}ltima coisa cortada}{C-y}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
377 \key{substitui a {\'u}lt. colagem pela c{\'o}pia anterior}{M-y}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
378
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
379 \section{Marcando}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
380
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
381 \key{posiciona a marca aqui}{C-@ {\rm or} C-SPC}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
382 \key{troca a marca pelo ponto e vice-versa}{C-x C-x}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
383
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
384 \key{coloca a marca {\it arg\/} {\bf palavras} adiante}{M-@}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
385 \key{marca o {\bf par{\'a}grafo}}{M-h}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
386 \key{marca a {\bf p{\'a}gina}}{C-x C-p}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
387 \key{marca a {\bf sexp}}{C-M-@}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
388 \key{marca uma {\bf fun{\c{c}}{\~a}o}}{C-M-h}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
389 \key{marca todo {\bf buffer}}{C-x h}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
390
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
391 \section{Busca e Substitui{\c{c}}{\~a}o}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
392
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
393 \key{Substitui interativamente uma string}{M-\%}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
394 % query-replace-regexp is bound to C-M-% but that can't be typed on
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
395 % consoles.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
396 \metax{usando express{\~a}o regular}{M-x query-replace-regexp}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
397
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
398 Respostas v{\'a}lidas no modo de busca e substitui{\c{c}}{\~a}o
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
399
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
400 \key{{\bf substitui} esta, e prossegue}{SPC}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
401 \key{substitui esta e entrada e n{\~a}o avan{\c{c}}a}{,}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
402 \key{{\bf pula} para a pr{\'o}xima sem substituir}{DEL}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
403 \key{substitui em todo o texto restante}{!}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
404 \key{{\bf volta} para a palavra anterior}{^}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
405 \key{{\bf encerra}}{RET}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
406 \key{entra na edi{\c{c}}{\~a}o recursiva (\kbd{C-M-c} para sair)}{C-r}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
407
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
408
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
409 \section{M{\'u}ltiplas Janelas}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
410
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
411 Quando forem mostrados 2 comandos, o segundo tem comportamento similar
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
412 para frame.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
413
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
414 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
415 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
416 \threecol{elimina todas outras janelas}{C-x 1\ \ \ \ }{C-x 5 1}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
417 \threecol{divide a janela, acima e abaixo}{C-x 2\ \ \ \ }{C-x 5 2}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
418 \threecol{elimina esta janela}{C-x 0\ \ \ \ }{C-x 5 0}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
419 }}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
420 \key{divide a janela, lado a lado}{C-x 3}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
421
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
422 \key{rola a outra janela}{C-M-v}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
423
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
424 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 2\wd0
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
425 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
426 \threecol{leva o cursor para outra janela}{C-x o}{C-x 5 o}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
427
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
428 \threecol{seleciona um buffer em outra janela}{C-x 4 b}{C-x 5 b}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
429 \threecol{mostra um buffer em outra janela}{C-x 4 C-o}{C-x 5 C-o}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
430 \threecol{busca um arquivo em outra janela}{C-x 4 f}{C-x 5 f}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
431 \threecol{busca arquivo (ro) em outra janela}{C-x 4 r}{C-x 5 r}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
432 \threecol{executa Dired em outra janela}{C-x 4 d}{C-x 5 d}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
433 \threecol{busca tag em outra janela}{C-x 4 .}{C-x 5 .}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
434 }}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
435
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
436 \key{aumenta a janela na vertical}{C-x ^}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
437 \key{estreita a janela}{C-x \{}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
438 \key{alarga a janela}{C-x \}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
439
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
440 \section{Formatando}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
441
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
442 \key{identa a {\bf linha} corrente (modo)}{TAB}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
443 \key{identa a {\bf regi{\~a}o} (modo)}{C-M-\\}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
444 \key{identa a {\bf sexp} (modo)}{C-M-q}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
445 \key{identa regi{\~a}o rigidamente {\it arg\/} colunas}{C-x TAB}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
446
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
447 \key{insere uma nova linha ap{\'o}s o ponto}{C-o}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
448 \key{move o restante da linha para baixo}{C-M-o}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
449 \key{apaga linhas em branco em torno do ponto}{C-x C-o}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
450 \key{junta a linha com a anterior}{M-^}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
451 \key{apaga todos brancos em torno do ponto}{M-\\}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
452 \key{insere um espa{\c{c}}o em branco}{M-SPC}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
453
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
454 \key{preenche o par{\'a}grafo}{M-q}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
455 \key{define a coluna limite de preenchimento}{C-x f}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
456 \key{define um prefixo para cada linha}{C-x .}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
457
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
458 \key{formata fonte}{M-o}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
459
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
460 \section{Mai{\'u}sculas e Min{\'u}sculas}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
461
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
462 \key{Palavra para mai{\'u}sculas}{M-u}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
463 \key{Palavra para min{\'u}sculas}{M-l}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
464 \key{Primeira letra mai{\'u}scula (capitalize)}{M-c}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
465
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
466 \key{Regi{\~a}o para mai{\'u}sculas}{C-x C-u}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
467 \key{Regi{\~a}o para min{\'u}sculas}{C-x C-l}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
468
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
469 \section{O Minibuffer}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
470
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
471 As teclas seguintes s{\~a}o definidas no minibuffer.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
472
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
473 \key{complete o m{\'a}ximo possi{\'\i}vel}{TAB}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
474 \key{complete at{\'e} uma palavra}{SPC}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
475 \key{complete e execute}{RET}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
476 \key{mostre as op{\c{c}}{\~o}es para completar}{?}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
477 \key{busca a entrada anterior no minibuffer}{M-p}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
478 \key{busca a pr{\'o}xima entrada no minibuffer ou o default}{M-n}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
479 \key{busca regexp no hist{\'o}rico para tr{\'a}s}{M-r}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
480 \key{busca regexp no hist{\'o}rico para frente}{M-s}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
481 \key{encerra o comando}{C-g}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
482
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
483 Tecle \kbd{C-x ESC ESC} para editar e repetir o {\'u}ltimo comando
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
484 utilizado. Tecle \kbd{F10} para ativar o menu.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
485
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
486 \newcolumn
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
487 \title{GNU Emacs: Cart\~ao de Refer\^encia}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
488 \centerline{(para vers\~ao 22)}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
489
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
490 \section{Buffers}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
491
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
492 \key{seleciona outro buffer}{C-x b}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
493 \key{lista todos buffers}{C-x C-b}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
494 \key{mata um buffer}{C-x k}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
495
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
496 \section{Transposi{\c{c}}{\~a}o}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
497
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
498 \key{transp{\~o}e {\bf caracteres}}{C-t}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
499 \key{transp{\~o}e {\bf palavras}}{M-t}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
500 \key{transp{\~o}e {\bf linhas}}{C-x C-t}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
501 \key{transp{\~o}e {\bf sexps}}{C-M-t}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
502
70864
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
503 \section{Verifica{\c{c}}{\~a}o Ortogr{\'a}fica}
70786
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
504
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
505 \key{verifica a palavra corrente}{M-\$}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
506 \metax{verifica todas palavras de uma regi{\~a}o}{M-x ispell-region}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
507 \metax{verifica todo o buffer}{M-x ispell-buffer}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
508
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
509 \section{Tags}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
510
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
511 \key{busca uma tag (uma defini{\c{c}}{\~a}o)}{M-.}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
512 \key{encontra a pr{\'o}xima ocorr{\^e}ncia da tag}{C-u M-.}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
513 \metax{especifica um novo arquivo de tags}{M-x visit-tags-table}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
514
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
515 \metax{busca por regexp em todos arquivos}{M-x tags-search}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
516 \metax{busca e subst. em todos arquivos}{M-x tags-query-replace}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
517 \key{continua a {\'u}ltima busca ou busca e substitui{\c{c}}{\~a}o}{M-,}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
518
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
519 \section{Shells}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
520
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
521 \key{executa um comando do shell}{M-!}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
522 \key{executa um comando do shell na regi{\~a}o}{M-|}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
523 \key{filtra uma regi{\~a}o por um comando do shell}{C-u M-|}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
524 \key{inicia um shell na janela \kbd{*shell*}}{M-x shell}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
525
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
526 \section{Ret{\^a}ngulos}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
527
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
528 \key{copia o ret{\^a}ngulo para o registrador}{C-x r r}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
529 \key{corta o ret{\^a}ngulo}{C-x r k}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
530 \key{cola o ret{\^a}ngulo}{C-x r y}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
531 \key{abre o ret{\^a}ngulo, move o texto para direita}{C-x r o}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
532 \key{troca por espa{\c{c}}os o conte{\'u}do do ret{\^a}ngulo}{C-x r c}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
533 \key{antep{\~o}e uma linha a string}{C-x r t}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
534
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
535 \section{Abreviaturas}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
536
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
537 \key{adiciona uma abreviatura global}{C-x a g}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
538 \key{adiciona abreviatura ao modo local}{C-x a l}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
539 \key{adiciona globalmente expans{\~a}o de abrev.}{C-x a i g}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
540 \key{adiciona localmente expans{\~a}o de abrev.}{C-x a i l}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
541 \key{explicitamente expande uma abrev}{C-x a e}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
542
70864
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
543 \key{completa com base em palavras anteriores}{M-/}
70786
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
544
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
545
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
546 \section{Express{\~o}es Regulares}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
547
70864
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
548 \key{qualquer caracter exceto nova linha}{. {\rm(dot)}}
70786
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
549 \key{zero ou mais repeti{\c{c}}{\~o}es}{*}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
550 \key{uma ou mais repeti{\c{c}}{\~o}es}{+}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
551 \key{zero ou uma repeti{\c{c}}{\~a}o}{?}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
552 \key{protege o caracter especial {\it c\/}}{\\{\it c}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
553 \key{(``or'')}{\\|}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
554 \key{agrupamento}{\\( {\rm$\ldots$} \\)}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
555 \key{mesmo texto que {\it n\/}-{\'e}simo grupo}{\\{\it n}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
556 \key{quebra de palavra}{\\b}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
557 \key{sem quebra de palavra}{\\B}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
558
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
559 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
560 \threecol{{\bf entidade}}{{\bf casa in{\'\i}cio}}{{\bf casa fim}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
561 \threecol{linha}{^}{\$}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
562 \threecol{palavra}{\\<}{\\>}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
563 \threecol{buffer}{\\`}{\\'}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
564
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
565 \threecol{{\bf classe de caracteres}}{{\bf casa esses}}{{\bf casa os outros}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
566 \threecol{conjunto expl{\'\i}cito}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
567 \threecol{caracter de sintaxe de palavra}{\\w}{\\W}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
568 \threecol{caracter de sintaxe de {\it c}}{\\s{\it c}}{\\S{\it c}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
569 }
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
570
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
571 \section{Conjuntos de Carac. Internacionais}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
572
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
573 \key{especifica uma l{\'\i}ngua principal}{C-x RET l}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
574 \metax{mostra todos m{\'e}todos de inser{\c{c}}{\~a}o}{M-x list-input-methods}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
575 \key{habilita/desabilita um m{\'e}todo de inser{\c{c}}{\~a}o}{C-\\}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
576 \key{determina o sistema de codifica{\c{c}}{\~a}o}{C-x RET c}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
577 \metax{mostra sistemas de codifica{\c{c}}{\~a}o}{M-x list-coding-systems}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
578 \metax{escolhe a codifica{\c{c}}{\~a}o preferida}{M-x prefer-coding-system}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
579
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
580 \section{Info}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
581
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
582 \key{entra no leitor de Info}{C-h i}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
583 \key{busca fun{\c{c}}{\~a}o ou arquivo no Info}{C-h S}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
584 \beginindentedkeys
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
585
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
586 Movimenta{\c{c}}{\~a}o em um nodo:
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
587
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
588 \key{rola para frente}{SPC}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
589 \key{rola para tr{\'a}s}{DEL}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
590 \key{in{\'\i}cio do nodo}{. {\rm (dot)}}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
591
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
592 Movimenta{\c{c}}{\~a}o entre nodos:
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
593
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
594 \key{{\bf pr{\'o}ximo} nodo}{n}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
595 \key{nodo {\bf anterior}}{p}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
596 \key{mover cima {\bf cima}}{u}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
597 \key{seleciona item do menu pelo nome}{m}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
598 \key{seleciona {\it n\/}-{\'e}simo item do menu}{{\it n}}
70864
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
599 \key{segue refer{\^e}ncia cruzada (retorna com \kbd{l})}{f}
70786
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
600 \key{retorna {\'u}ltimo nodo visitado}{l}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
601 \key{retorna ao diret{\'o}rio de nodos}{d}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
602 \key{ir para o topo do arquivo Info}{t}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
603 \key{ir para qualquer nodo por nome}{g}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
604
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
605 Outros:
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
606
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
607 \key{executar {\bf tutorial} do Info}{h}
70864
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
608 \key{busca pelo assunto no {\'\i}ndice}{i}
70860
46cec5e362d6 * refcard.tex (section{Info}): Add `i'. Use `s' instead of `M-s'.
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70819
diff changeset
609 \key{busca por express{\~a}o regular}{s}
70786
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
610 \key{{\bf sair} Info}{q}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
611
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
612 \endindentedkeys
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
613
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
614 \section{Registrador}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
615
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
616 \key{salva regi{\~a}o em um registrador}{C-x r s}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
617 \key{insere o conte{\'u}do do registrador no buffer}{C-x r i}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
618
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
619 \key{salva valor do ponto no registrador}{C-x r SPC}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
620 \key{salta para o ponto salvo no registrador}{C-x r j}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
621
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
622 \section{Macros de Teclado}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
623
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
624 \key{{\bf inicia} a defini{\c{c}}{\~a}o de uma macro}{C-x (}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
625 \key{{\bf encerra} a defini{\c{c}}{\~a}o de uma macro}{C-x )}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
626 \key{{\bf executa} a {\'u}ltima macro definida}{C-x e}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
627 \key{adiciona a {\'u}ltima macro definida}{C-u C-x (}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
628 \metax{nomeia a {\'u}ltima macro definida}{M-x name-last-kbd-macro}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
629 \metax{insere uma defini{\c{c}}{\~a}o em Lisp}{M-x insert-kbd-macro}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
630
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
631 \section{Lidando com Emacs Lisp}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
632
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
633 \key{avalia {\bf sexp} antes do ponto}{C-x C-e}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
634 \key{avalia a {\bf defun} corrente}{C-M-x}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
635 \metax{avalia a {\bf regi{\~a}o}}{M-x eval-region}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
636 \key{l{\^e} e avalia o minibuffer}{M-:}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
637 \metax{carrega do diret{\'o}rio padr{\~a}o do sistema}{M-x load-library}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
638
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
639 \section{Personaliza{\c{c}}{\~a}o Simples}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
640
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
641 \metax{personaliza vari{\'a}veis e fontes}{M-x customize}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
642
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
643 % The intended audience here is the person who wants to make simple
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
644 % customizations and knows Lisp syntax.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
645
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
646 Fazendo teclas de atalho globais em Emacs Lisp (exemplos):
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
647
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
648 \beginexample%
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
649 (global-set-key "\\C-cg" 'goto-line)
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
650 (global-set-key "\\M-\#" 'query-replace-regexp)
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
651 \endexample
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
652
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
653 \section{Escrevendo Comandos}
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
654
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
655 \beginexample%
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
656 (defun \<command-name> (\<args>)
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
657 "\<documentation>" (interactive "\<template>")
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
658 \<body>)
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
659 \endexample
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
660
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
661 Um exemplo:
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
662
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
663 \beginexample%
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
664 (defun this-line-to-top-of-window (line)
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
665 "Reposition line point is on to top of window.
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
666 With ARG, put point on line ARG."
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
667 (interactive "P")
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
668 (recenter (if (null line)
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
669 0
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
670 (prefix-numeric-value line))))
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
671 \endexample
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
672
70864
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
673 A especifica{\c{c}}{\~a}o \kbd{interactive} explica como ler
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
674 interativamente argumentos. Tecle \kbd{C-h f interactive} para mais
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
675 detalhes.
70786
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
676
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
677 \copyrightnotice
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
678
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
679 \bye
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
680
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
681 % Local variables:
70864
abebc35fed97 2006-05-20 Rodrigo Real <rreal@ucpel.tche.br>
Reiner Steib <Reiner.Steib@gmx.de>
parents: 70861
diff changeset
682 % compile-command: "tex pt-br-refcard"
70786
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
683 % coding: iso-latin-1
91428d34f26f New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
684 % End:
70819
dcceae2c0722 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 70818
diff changeset
685
dcceae2c0722 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 70818
diff changeset
686 % arch-tag: 56bf248c-a1f3-443d-93f7-02d7aea67d94