annotate etc/pt-br-refcard.tex @ 75992:035ff8761729

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