annotate etc/TUTORIAL.es @ 75359:9848399916bc

Correct the handling of K&R stuff in c-where-wrt-brace-construct.
author Alan Mackenzie <acm@muc.de>
date Sun, 21 Jan 2007 19:29:51 +0000
parents 0259a1711394
children 1dd7437446ea 95d0cdf160ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61228
86f9d80d2dc1 Clean up line breaks.
Richard M. Stallman <rms@gnu.org>
parents: 61221
diff changeset
1 Tutorial de Emacs. Vea al final las condiciones de copiado.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
2
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
3 Generalmente los comandos de Emacs involucran la tecla CONTROL
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
4 (algunas veces llamada CTRL O CTL) o la tecla meta (algunas veces
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
5 llamada EDIT o ALT). En lugar de escribir completamente esto en cada
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
6 ocasión, usaremos las siguientes abreviaturas.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
7
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
8 C-<car> significa mantener presionada la tecla CONTROL mientras
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
9 teclea el carácter <car>. Por lo tanto C-f será: Mantenga
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
10 presionada la tecla CONTROL y teclee f.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
11 M-<car> significa mantener presionada la tecla META o EDIT o ALT
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
12 mientras teclea <car>. Si no hay teclas META, EDIT o ALT, en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
13 su lugar presione y libere la tecla ESC y luego teclee
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
14 <car>. Escribimos <ESC> para referirnos a la tecla ESC.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
15
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
16 Nota importante: para terminar la sesión de Emacs teclee C-x C-c (dos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
17 caracteres). Los caracteres ">>" en el margen izquierdo indican
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
18 instrucciones para que usted trate de usar un comando. Por ejemplo:
56662
42da817a2b25 Replace actual whitespace with the magic string
Eli Zaretskii <eliz@gnu.org>
parents: 52401
diff changeset
19 <<Blank lines inserted around following line by help-with-tutorial>>
42da817a2b25 Replace actual whitespace with the magic string
Eli Zaretskii <eliz@gnu.org>
parents: 52401
diff changeset
20 [Mitad de página en blanco para propósitos didácticos. El texto continúa abajo]
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
21 >> Ahora teclee C-v (ver la próxima pantalla) para desplazarse a la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
22 siguiente pantalla (hágalo manteniendo la tecla control
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
23 oprimida mientras teclea v). Desde ahora debería hacer esto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
24 cada vez que termine de leer la pantalla.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
25
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
26 Note que se superponen dos líneas cuando se mueve de pantalla en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
27 pantalla; esto provee una continuidad para que pueda seguir leyendo el
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
28 texto.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
29
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
30 Lo primero que necesita saber es como moverse de un lugar a otro en el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
31 texto. Ya sabe como avanzar una pantalla, con C-v. Para retroceder
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
32 una pantalla teclee M-v (mantenga oprimida la tecla META y teclee v, o
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
33 teclee <ESC>v si no tiene las teclas META, EDIT o ALT).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
34
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
35 >> Intente teclear M-v y luego C-v, varias veces.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
36
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
37
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
38 * RESUMEN
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
39 ---------
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
40
46563
d155b00f8345 Many cleanups, fixing of accents, punctuation, etc.
Richard M. Stallman <rms@gnu.org>
parents: 43965
diff changeset
41 Los siguientes comandos son útiles para ver pantallas completas:
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
42
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
43 C-v Avanzar una pantalla completa
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
44 M-v Retroceder una pantalla completa
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
45 C-l Limpiar la pantalla y mostrar todo el texto de nuevo,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
46 moviendo el texto alrededor del cursor al centro de la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
47 pantalla (Esto es CONTROL-L, no CONTROL-1.)
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
48
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
49 >> Encuentre el cursor, y fíjese qué texto hay cerca de éste.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
50 Luego teclee C-l.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
51 Encuentre el cursor otra vez y note que el mismo texto está cerca
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
52 del cursor ahora.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
53
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
54 Si su terminal las soporta, también puede usar las teclas AvPág o
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
55 RegPág para moverse por pantallas completas, pero puede editar más
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
56 eficientemente si usa C-v y M-v.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
57
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
58 * MOVIMIENTO BÁSICO DE CURSOR
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
59 -----------------------------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
60
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
61 Es útil moverse de una pantalla completa a otra pero, ¿cómo moverse a
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
62 un lugar específico dentro del texto en la pantalla?
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
63
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
64 Puede hacerlo de diversas formas. Puede usar las teclas de flechas,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
65 pero es mas eficiente mantener las manos en la posición estándar y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
66 usar los comandos C-p, C-b, C-f, y C-n. Estos caracteres son
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
67 equivalentes a las cuatro teclas de flechas, de esta manera:
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
68
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
69 Línea anterior, C-P
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70 :
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
71 :
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
72 Atrás, C-b.... Posición actual del cursor .... Adelante, C-f
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
73 :
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74 :
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
75 Línea siguiente, C-n
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
76
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
77 >> Mueva el cursor a la línea en la mitad del diagrama
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
78 usando C-n o C-p. Luego teclee C-l para ver el
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79 diagrama completo centrado en la pantalla.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
81 Le resultará fácil recordar estas letras por las palabras que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
82 representan: P de Previous (anterior), N de Next (siguiente), B de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
83 Backward (atrás) y F de Forward (adelante). Estará usando estos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
84 comandos de posicionamiento básico del cursor todo el tiempo.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
85
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
86 >> Teclee algunos C-n para traer el cursor a esta línea.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
87
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
88 >> Muévase a la línea con C-f y hacia arriba con algunos C-p. Observe
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
89 lo que hace C-p cuando el cursor está en medio de la línea.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
90
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
91 Cada línea de texto termina con un carácter de nueva línea (Newline),
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
92 que sirve para separarla de la línea siguiente. La última línea de su
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
93 archivo debe de tener un carácter de nueva línea al final (pero Emacs
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
94 no requiere que ésta lo tenga).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
95
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
96 >> Intente usar C-b al comienzo de una línea. Debería moverse al
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
97 final de la línea previa. Esto sucede porque retrocede a través
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
98 del carácter de nueva línea.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
99
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
100 C-f puede moverse a través de una nueva línea igual que C-b.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
101
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
102 >> Teclee algunos C-b más para que sienta por donde se encuentra el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
103 cursor.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
104 Luego teclee C-f para regresar al final de la línea.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
105 Luego teclee otro C-f más para moverse a la línea siguiente.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
106
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
107 Cuando pase el tope o el final de la pantalla, se mostrará el texto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
108 más allá del borde de la pantalla. Esto recibe el nombre de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
109 "desplazamiento". Esto le permite a Emacs mover el cursor al lugar
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
110 especificado en el texto sin moverlo fuera de la pantalla.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
111
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
112 >> Intente mover el cursor fuera del borde de la pantalla con C-n, y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
113 observe lo que sucede.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
114
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
115 Si moverse por caracteres es muy lento, puede moverse por palabras.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
116 M-f (META-f) mueve adelante una palabra y M-b mueva atrás una palabra.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
117
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
118 >> Teclee algunos M-f y M-b
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
119
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
120 Cuando está en la mitad de una palabra, M-f mueve al final de la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
121 palabra. Cuando está en un espacio entre dos palabras, M-f mueve al
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
122 final de la siguiente palabra. M-b trabaja de la misma forma en la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
123 dirección opuesta.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
124
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
125 >> Teclee algunos M-f y M-b, intercaladas con C-f y C-b de tal forma
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
126 que observe la acción de M-f y M-b desde varios sitios dentro y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
127 entre palabras.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
128
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
129 Note el paralelo entre C-f y C-b de un lado y M-f y M-b del otro. Muy
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
130 frecuentemente los caracteres Meta se usan para operaciones
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
131 relacionadas, con las unidades definidas por el lenguaje (palabras,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
132 oraciones y párrafos), mientras los caracteres Control operan sobre
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
133 unidades básicas que son independientes de lo que está editando
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
134 (caracteres, líneas, etc).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
135
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
136 Este paralelo se aplica entre líneas y oraciones: C-a y C-e para
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
137 moverse al comienzo o al final de la línea; y M-a y M-e para mover al
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
138 comienzo o al final de una oración.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
139
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
140 >> Intente algunos C-a, y después unos cuantos C-e.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
141 >> Intente algunos M-a, y después unos cuantos M-e.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
142
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
143 Vea cómo la repetición de C-a no hace nada, pero la repetición de M-a
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
144 sigue moviendo una oración más. Aunque no son muy análogas, cada una
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145 parece natural.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
146
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
147 La ubicación del cursor en el texto se llama también "punto". En
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
148 otras palabras, el cursor muestra sobre la pantalla donde está
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
149 situado el punto dentro del texto.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
150
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
151 Aquí hay un resumen de operaciones simples de movimiento del cursor,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
152 incluyendo los comandos de movimiento por palabra y oración:
46563
d155b00f8345 Many cleanups, fixing of accents, punctuation, etc.
Richard M. Stallman <rms@gnu.org>
parents: 43965
diff changeset
153
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
154 C-f Avanzar un carácter
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
155 C-d Retroceder un carácter
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
156
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
157 M-f Avanzar una palabra
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
158 M-b Retroceder una palabra
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
159
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
160 C-n Avanzar a la línea siguiente
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
161 C-p Retroceder a la línea anterior
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
162
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
163 C-a Retroceder al comienzo de la línea
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
164 C-e Avanzar al final de la línea
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
165
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
166 M-a Retroceder al comienzo de la oración
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
167 M-e Avanzar al final de la oración
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
168
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
169 >> Ahora pruebe todos estos comandos algunas veces para practicar.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
170 Estos comandos son los más frecuentemente usados.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
171
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
172 Otros dos comandos importantes de movimiento del cursor son M-< (META
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
173 Menor que), el cual se mueve al comienzo del texto entero, y M-> (META
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
174 Mayor que), el cual se mueve al final del texto entero.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
175
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
176 En la mayoría de las terminales, el "<" está sobre la coma, por lo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
177 tanto tiene que usar la tecla shift para teclearlo. En estas
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
178 terminales tendrá que usar la tecla shift también al teclear M-<; sin
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
179 la tecla shift, usted estaría escribiendo M-coma.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
180
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
181 >> Ahora pruebe M-<, para moverse al comienzo del tutorial.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
182 Después use C-v repetidamente para regresar aquí.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
183
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
184 >> Ahora pruebe M->, para moverse al final del tutorial.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
185 Después use M-v repetidamente para regresar aquí.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
186
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
187 También puede mover el cursor con las teclas de flecha si su terminal
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
188 dispone de ellas. Recomendamos aprender C-b, C-f, C-n y C-p por tres
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
189 razones. Primero, funcionan en todo tipo de terminales. Segundo, una
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
190 vez que gane práctica usando Emacs, encontrará que teclear estos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
191 caracteres Control es más rápido que usar teclas de flecha (porque no
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
192 tendrá que mover las manos de la posición para mecanografiar).
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
193 Tercero, una vez tenga el hábito de usar estos comandos Control,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
194 también puede aprender a usar otros comandos avanzados de movimiento
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
195 del cursor fácilmente.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
196
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
197 La mayoría de comandos de Emacs aceptan un argumento numérico; para la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
198 mayoría de comandos esto sirve como un factor de repetición. La
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
199 manera de pasarle un factor de repetición a un comando es tecleando
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
200 C-u y luego los dígitos antes de introducir los comandos. Si tiene
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
201 una tecla META (o EDIT o ALT), hay una manera alternativa para
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
202 ingresar un argumento numérico: teclear los dígitos mientras presiona
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
203 la tecla META. Recomendamos aprender el método C-u porque este
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
204 funciona en cualquier terminal. El argumento numérico es también
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
205 llamado un "argumento prefijo", porque usted teclea el argumento antes
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
206 del comando al que se aplica.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
207
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
208 Por ejemplo, C-u 8 C-f mueve hacia adelante ocho caracteres.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
209
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
210 >> Pruebe usar C-n o C-p con un argumento numérico, para mover el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
211 cursor a una línea cercana a ésta con un solo comando.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
212
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
213 La mayoría de comandos usan el argumento numérico como un factor de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
214 repetición, pero algunos comandos le dan otros usos. Varios comandos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
215 (pero ninguno de los que ha aprendido hasta ahora) lo usan como una
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
216 bandera: la presencia de un argumento prefijo, sin tener en cuenta su
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
217 valor, hace que el comando actúe de forma diferente.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
218
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
219 C-v y M-v son otro tipo de excepción. Cuando se les da un argumento,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
220 desplazan la pantalla arriba o abajo esa cantidad de líneas, en vez de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
221 una pantalla completa. Por ejemplo, C-u 8 C-v desplaza la pantalla 8
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
222 líneas.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
223
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
224 >> Pruebe tecleando C-u 8 C-v ahora.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
225
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
226 Esto debió haber desplazado la pantalla hacia arriba 8 líneas. Si
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
227 quisiera desplazarla hacia abajo de nuevo, puede dar un argumento a
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
228 M-v.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
229
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
230 Si está usando un sistema de ventanas, como X11 o MS-Windows, debe
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
231 haber una larga área rectangular llamada una barra de desplazamiento
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
232 en el lado izquierdo de la ventana de Emacs. Puede desplazar el texto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
233 al oprimir el botón del ratón en la barra de desplazamiento.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
234
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
235 >> Pruebe presionando el botón del medio en la parte superior del área
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
236 resaltada en la barra de desplazamiento. Éste debe desplazar el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
237 texto a una posición determinada según cuan alto o bajo oprima el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
238 botón.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
239
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
240 >> Intente mover el ratón arriba y abajo, mientras mantiene el botón
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
241 del medio presionado. Verá que el texto se desplaza arriba y abajo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
242 a medida que mueve el ratón.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
243
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
244
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
245
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
246 * CUANDO EMACS ESTÁ BLOQUEADO
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
247 -----------------------------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
248
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
249 Si Emacs dejara de responder a sus comandos, puede detenerlo con
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
250 seguridad al teclear C-g. Puede usar C-g para detener un comando que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
251 esté tomando mucho tiempo para ejecutarse.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
252
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
253 También puede usar C-g para descartar un argumento numérico o el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
254 comienzo de un comando que no quiere finalizar.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
255
46563
d155b00f8345 Many cleanups, fixing of accents, punctuation, etc.
Richard M. Stallman <rms@gnu.org>
parents: 43965
diff changeset
256 >> Escriba C-u 100 para hacer un argumento numérico de 100, entonces
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
257 pruebe C-g.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
258 Ahora pruebe C-f. Esto deberá mover sólo un carácter, ya que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
259 canceló el argumento con C-g.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
260
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
261 Si ha tecleado <ESC> por error, puede desecharlo con un C-g.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
262
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
263
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
264 * COMANDOS DESACTIVADOS
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
265 -----------------------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
266
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
267 Algunos comandos de Emacs están "desactivados" de manera que los
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
268 usuarios principiantes no puedan usarlos accidentalmente.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
269
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
270 Si teclea uno de los comandos desactivados, Emacs muestra un mensaje
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
271 informando acerca de qué comando era, y preguntándole si quiere
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
272 continuar y ejecutar el comando.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
273
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
274 Si realmente quiere intentar el comando, teclee Espacio como repuesta
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
275 a la pregunta. Normalmente, si no quiere ejecutar el comando
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
276 desactivado, conteste la pregunta con "n".
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
277
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
278 >> Escriba C-x C-l (que es un comando desactivado), a continuación
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
279 escriba n para responder la pregunta.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
280
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
281
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
282 * VENTANAS
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
283 ----------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
284
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
285 Emacs puede tener varias ventanas, cada una mostrando su propio texto.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
286 Explicaremos después como usar múltiples ventanas. Ahora mismo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
287 queremos explicar cómo deshacerse de ventanas adicionales y volver a
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
288 la edición básica en una ventana. Es sencillo:
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
289
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
290 C-x 1 Una ventana (p.ej., elimina todas las otras ventanas).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
291
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
292 Esto es CONTROL-x seguido por el dígito 1. C-x 1 expande la ventana que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
293 contiene el cursor, para ocupar toda la pantalla. Esto borra todas las
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
294 demás ventanas.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
295
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
296 >> Mueva el cursor a esta línea y escriba C-u 0 C-l.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
297 >> Escriba Control-h k Control-f.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
298 Vea como esta ventana se encoge, mientras una nueva aparece y
46563
d155b00f8345 Many cleanups, fixing of accents, punctuation, etc.
Richard M. Stallman <rms@gnu.org>
parents: 43965
diff changeset
299 muestra documentación sobre el comando Control-f.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
300
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
301 >> Escriba C-x 1 y vea que la ventana de listado de documentación
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
302 desaparece.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
303
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
304 Este comando es diferente a los otros que ha aprendido en que éste
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
305 consiste de dos caracteres. Comienza con el carácter CONTROL-x. Hay
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
306 toda una serie de comandos que comienzan con CONTROL-x; muchos de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
307 ellos tienen que ver con ventanas, archivos, buffers y cosas
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
308 relacionadas. Estos comandos son de una longitud de dos, tres o
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
309 cuatro caracteres.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
310
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
311
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
312 * INSERTAR Y BORRAR
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
313 -------------------
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
314
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
315 Si quiere insertar un texto, basta con que lo teclee. Emacs
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
316 interpreta los caracteres que usted puede ver, tales como A, 7, *,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
317 etc. como texto y los inserta inmediatamente. Teclee <Return> (la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
318 tecla Enter) para insertar un carácter de nueva línea.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
319
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
320 Puede borrar el último carácter que escribió oprimiendo <Delback>.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
321 <Delback> es una tecla en el teclado--la misma que normalmente usa
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
322 fuera de emacs para borrar el último carácter que escribió.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
323 Normalmente es una tecla una o dos filas arriba de la tecla <Return>,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
324 y que esta usualmente rotulada como "Backspace", "Del" o simplemente
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
325 con una flecha en dirección izquierda que no es parte de las teclas de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
326 flecha.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
327
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
328 Si la tecla larga esta rotulada "Backspace", entonces esa es la que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
329 debe de usar para <Delback>. Puede haber otra tecla llamada "Del" en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
330 otra parte, pero esa no es <Delback>.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
331
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
332 Generalmente, <Delback> borra el carácter inmediatamente anterior a la
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
333 posición actual del cursor.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
334
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
335 >> Haga esto ahora: teclee unos pocos caracteres, después bórrelos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
336 tecleando <Delback> varias veces. No se preocupe si este archivo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
337 cambia, no alterará el tutorial principal. Ésta es su copia
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
338 personal de él.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
339
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
340 Cuando una línea de texto se hace muy grande para una sola línea en la
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
341 pantalla, la línea de texto "continúa" en una segunda línea en la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
342 pantalla. Un backslash ("\") (o, si está usando un sistema de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
343 ventanas, una pequeña flecha curva) en el margen derecho indica que la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
344 línea "continúa".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
345
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
346 >> Inserte texto hasta que llegue al margen derecho, y siga
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
347 insertando. Verá aparecer una línea de continuación.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
348
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
349 >> Use <Delback> para borrar el texto hasta que la línea de nuevo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
350 quepa en la pantalla. La línea de continuación se pierde.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
351
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
352 Puede borrar un carácter de nueva línea como cualquier otro carácter.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
353 Al borrar el carácter de nueva línea entre dos líneas las junta en una
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
354 sola línea. Si el resultado de la combinación de líneas es demasiado
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
355 largo para caber en el ancho de la pantalla, se mostrará con una línea
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
356 de continuación.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
357
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
358 >> Mueva el cursor al comienzo de una línea y teclee <Delback>. Esto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
359 juntará esa línea con la línea anterior.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
360
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
361 >> Teclee <Return> para reinsertar la nueva línea que borró.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
362
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
363 Recuerde que a la mayoría de los comandos de Emacs se les puede dar un
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
364 factor de repetición; esto incluye los caracteres de texto. Repetir
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
365 un carácter de texto lo inserta varias veces.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
366
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
367 >> Inténtelo ahora: teclee C-u 8 * para insertar ********.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
368
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
369 Ya ha aprendido la manera más básica de teclear algo en Emacs y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
370 corregir errores. Puede borrar por palabras o por líneas. He aquí un
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
371 resumen de las operaciones de borrado:
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
372
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
373 <Delback> borra el carácter justo antes que el cursor
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
374 C-d borra el siguiente carácter después del cursor
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
375
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
376 M-<Delback> Elimina la palabra inmediatamente antes del
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
377 cursor
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
378 M-d Elimina la siguiente palabra después del cursor
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
379
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
380 C-k Elimina desde el cursor hasta el fin de la línea
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
381 M-k Elimina hasta el final de la oración actual
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
382
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
383 Note que <Delback> y C-d, comparados con M-<Delback> y M-d, extienden
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
384 el paralelismo iniciado por C-f y M-f (bien, <Delback> no es realmente
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
385 una tecla de control, pero no nos preocuparemos de eso ahora). C-k y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
386 M-k, en ciertas forma, son como C-e y M-e, en que las líneas son
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
387 oraciones opuestas.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
388
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
389 También puede eliminar cualquier parte del buffer con un método
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
390 uniforme. Muévase a un extremo de esa parte, y teclee C-@ o C-SPC
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
391 (cualquiera de los dos). (SPC es la barra espaciadora.) Muévase al
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
392 otro extremo de esa parte, y teclee C-w. Eso elimina todo el texto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
393 entre las dos posiciones.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
394
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
395 >> Mueva el cursor a la letra T del inicio del párrafo anterior.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
396 >> Teclee C-SPC. Emacs debe mostrar el mensaje "Mark set" en la parte
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
397 de abajo de la pantalla.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
398 >> Mueva el cursor a la x en "extremo", en la segunda línea del
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
399 párrafo.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
400 >> Teclee C-w. Esto eliminará el texto que comienza desde la T, y
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
401 termina justo antes de la x.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
402
40721
84fec8c148fa *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 35128
diff changeset
403 La diferencia entre "eliminar" y "borrar" es que el texto "eliminado"
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
404 puede ser reinsertado, mientras que las cosas "borradas" no pueden ser
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
405 reinsertadas. La reinserción de texto eliminado se llama "yanking" o
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
406 "pegar". Generalmente, los comandos que pueden quitar mucho texto lo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
407 eliminan, mientras que los comandos que quitan solo un carácter, o
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
408 solo lineas en blanco y espacios, borran (para que no pueda pegar ese
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
409 texto).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
410
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
411 >> Mueva el cursor al comienzo de una línea que no esté vacía.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
412 Luego teclee C-k para eliminar el texto de esa línea.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
413 >> Teclee C-k por segunda vez. Verá que elimina la nueva línea que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
414 sigue a esa línea.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
415
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
416 Note que al teclear C-k una sola vez elimina el contenido de la línea,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
417 y un segundo C-k elimina la línea misma, y hace que todas las otras
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
418 líneas se muevan hacia arriba. C-k trata un argumento numérico
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
419 especialmente: Elimina ese número de líneas y TAMBIÉN sus
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
420 contenidos. Esto no es una simple repetición. C-u 2 C-k elimina dos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
421 líneas y sus nuevas líneas, tecleando C-k dos veces no hace esto.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
422
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
423 Traer texto eliminado de regreso es llamado "yanking" o "pegar".
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
424 (Piense en ello como pegar de nuevo, o traer de vuelta, algún texto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
425 que le fue quitado.) Puede pegar el texto eliminado en, ya sea el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
426 lugar en que fue eliminado, o en otra parte del buffer, o hasta en un
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
427 archivo diferente. Puede pegar el texto varias veces, lo que hace
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
428 varias copias de él.
40721
84fec8c148fa *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 35128
diff changeset
429
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
430 El comando para pegar es C-y. Reinserta el último texto eliminado, en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
431 la posición actual del cursor.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
432
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
433 >> Inténtelo; teclee C-y para pegar de nuevo el texto.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
434
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
435 Si hace varios C-k seguidos, todo el texto eliminado se guarda junto,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
436 de manera que un C-y pegará todas las líneas al mismo tiempo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
437
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
438 >> Haga esto ahora, teclee C-k varias veces.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
439
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
440 Ahora para recuperar ese texto eliminado:
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
441
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
442 >> Teclee C-y. Luego baje el cursor unas pocas líneas y teclee C-y de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
443 nuevo. De esta forma puede copiar un texto.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
444
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
445 ¿Qué hacer si tiene algún texto que quiere pegar, y entonces elimina
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
446 otra cosa? C-y pegaría la eliminación más reciente. Pero el texto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
447 previo no está perdido. Puede regresar a éste usando el comando M-y.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
448 Después de haber tecleado C-y para conseguir la eliminación más
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
449 reciente, tecleando M-y reemplaza el texto pegado con la eliminación
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
450 previa. Tecleando M-y una y otra vez traerá las eliminaciones
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
451 anteriores. Cuando haya encontrado el texto que buscaba, no tiene que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
452 hacer nada para conservarlo. Sólo siga con su edición, dejando el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
453 texto pegado en donde está.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
454
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
455 Si teclea M-y suficientes veces, regresa al punto inicial (la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
456 eliminación más reciente).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
457
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
458 >> Elimine una línea, muévase un poco, elimine otra línea.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
459 Luego teclee C-y para recuperar la segunda línea eliminada.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
460 Luego teclee M-y y será reemplazado por la primera línea eliminada.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
461 Teclee más veces M-y y vea lo que obtiene. Siga haciéndolo hasta
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
462 que la segunda línea eliminada regrese, y entonces unas pocas
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
463 más. Si quiere, puede tratar de darle a M-y argumentos positivos y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
464 negativos.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
465
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
466
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
467 * DESHACER
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
468 ----------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
469
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
470 Si hace un cambio al texto, y luego decide que fue un error,
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
471 puede deshacer el cambio con el comando deshacer, C-x u.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
472
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
473 Normalmente, C-x u deshace los cambios hechos por un comando; si repite
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
474 varias veces seguidas C-x u, cada repetición deshará un comando
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
475 adicional.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
476
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
477 Pero hay dos excepciones: los comandos que no cambian el texto no
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
478 cuentan (esto incluye los comandos de movimiento del cursor y el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
479 comando de desplazamiento), y los caracteres de autoinserción se
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
480 manejan usualmente en grupos de hasta 20. (Esto es para reducir el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
481 numero de C-x u que tenga que teclear para deshacer una inserción en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
482 el texto.)
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
483
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
484 >> Elimine esta línea con C-k, después teclee C-x u y debería
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
485 reaparecer.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
486
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
487 C-_ es un comando alternativo para deshacer; funciona igual que C-x u,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
488 pero es más fácil de teclear varias veces seguidas. La desventaja de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
489 C-_ es que en algunos teclados no es obvio cómo se teclea. Por esto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
490 existe también C-x u. En algunas terminales, puede teclear C-_ al
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
491 teclear / mientras oprime CONTROL.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
492
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
493 Un argumento numérico para C-_ o C-x u actúa como un factor de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
494 repetición.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
495
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
496 Uuede deshacer un texto borrado justo como puede deshacer el texto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
497 eliminado. La distinción entre eliminar algo y borrar algo afecta en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
498 si puede pegarlo con C-y; no hay diferencia alguna para deshacer.
40721
84fec8c148fa *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 35128
diff changeset
499
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
500
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
501 * ARCHIVOS
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
502 ----------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
503
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
504 Para que pueda hacer permanente el texto que edite, lo debe colocar en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
505 un archivo. De otra manera, éste se perderá cuando cierre Emacs.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
506 Para poder poner su texto en un archivo, debe "encontrar" el archivo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
507 antes de ingresar el texto. (Esto se llama también "visitar" el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
508 archivo.)
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
509
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
510 Encontrar un archivo significa que puede ver su contenido dentro de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
511 Emacs. En cierta forma, es como si estuviera editando el archivo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
512 mismo. Sin embargo los cambios que haga mediante Emacs no serán
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
513 permanentes hasta que "guarde" el archivo. Esto es para evitar dejar
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
514 un archivo a medio cambiar en el sistema cuando no quiera. Incluso
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
515 cuando guarde, Emacs dejará el archivo original bajo un nombre
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
516 cambiado en caso de que luego decida que sus cambios fueron un error.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
517
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
518 Si mira cerca del final de la pantalla podrá ver una línea que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
519 comienza y termina con guiones, y comienza con "--:-- TUTORIAL.es" o
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
520 algo así. Esta parte de la pantalla normalmente muestra el nombre del
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
521 archivo que está visitando. En este momento está visitando un archivo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
522 llamado "TUTORIAL.es" que es su borrador personal del tutorial de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
523 Emacs. Cuando encuentre un archivo con Emacs, el nombre de ese
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
524 archivo aparecerá en ese mismo punto.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
525
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
526 Una cosa especial acerca del comando para encontrar un archivo, es que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
527 tendrá que decir que nombre de archivo desea. Decimos que el comando
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
528 "lee un argumento desde la terminal" (en este caso, el argumento es el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
529 nombre del archivo). Después de teclear el comando:
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
530
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
531 C-x C-f Encontrar un archivo
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
532
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
533 Emacs le pide que teclee el nombre del archivo. El nombre de archivo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
534 que teclee aparece en la línea final de la pantalla. A la línea final
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
535 de la pantalla se la denomina minibuffer cuando se utiliza para este
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
536 tipo de entradas. Puede usar comandos de edición ordinarios de Emacs
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
537 para editar el nombre del archivo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
538
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
539 Mientras está ingresando el nombre del archivo (o cualquier otra
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
540 entrada al minibuffer) puede cancelar el comando con C-g.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
541
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
542 >> Teclee C-x C-f, luego teclee C-g. Esto cancela el minibuffer, y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
543 también cancela el comando C-x C-f que estaba usando el minibuffer.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
544 Así que no encontrará archivo alguno.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
545
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
546 Cuando haya finalizado de ingresar el nombre del archivo, teclee
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
547 <Return> para terminarlo. Entonces el comando C-x C-f trabaja, y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
548 encuentra el archivo que escogió. El minibuffer desaparece cuando el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
549 comando C-x C-f termina.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
550
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
551 Poco tiempo después aparecerá el contenido del archivo en la pantalla,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
552 y puede editarlo. Cuando quiera que sus cambios sean permanentes,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
553 teclee el comando
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
554
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
555 C-x C-s Guardar el archivo
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
556
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
557 Esto copia el texto dentro de Emacs al archivo. La primera vez que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
558 haga esto, Emacs renombrará el archivo original con un nuevo nombre
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
559 para que este no se pierda. El nuevo nombre se hace agregando "~" al
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
560 final del nombre del archivo original.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
561
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
562 Cuando guardar haya terminado, Emacs mostrará el nombre del archivo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
563 escrito. Deberá guardar frecuentemente, para que no pierda mucho
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
564 trabajo si el sistema falla.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
565
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
566 >> Teclee C-x C-s, guardando la copia del tutorial.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
567 Esto debería mostrar "Wrote ...TUTORIAL.es" al final de la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
568 pantalla.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
569
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
570 NOTA: En algunos sistemas, teclear C-x C-s dejará inmóvil la pantalla
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
571 y no podrá ver más respuesta de Emacs. Esto indica que una
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
572 "característica" del sistema operativo llamada "control de flujo" está
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
573 interceptando el C-s y no permitiéndole llegar hasta Emacs. Para
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
574 descongelar la pantalla, teclee C-q. Luego consulte la sección
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
575 "Entrada Espontánea para Búsqueda Incremental" en el manual de Emacs
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
576 para consejos de cómo tratar con esta "característica".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
577
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
578 Puede encontrar un archivo existente, para verlo o editarlo. También
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
579 puede hacerlo con un archivo que no exista. Ésta es la forma de crear
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
580 un archivo en Emacs: encuentre el archivo, que comenzará vacío, luego
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
581 comience a insertar el texto para ese archivo. Cuando invoque
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
582 "guardar" el archivo, Emacs creará realmente el archivo con el texto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
583 que ha insertado. De ahí en adelante, puede considerarse estar
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
584 editando un archivo existente.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
585
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
586
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
587 * BUFFERS
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
588 ---------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
589
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
590 Si visita un segundo archivo con C-x C-f, el primer archivo permanece
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
591 dentro de Emacs. Puede volver a el encontrándolo de nuevo con C-x
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
592 C-f. De esta forma puede mantener un gran número de archivos dentro
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
593 de Emacs.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
594
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
595 >> Cree un archivo llamado "foo" tecleando C-x C-f foo <Return>.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
596 Luego inserte algún texto, edítelo, y guarde "foo" tecleando C-x
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
597 C-s.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
598 Finalmente teclee C-x C-f TUTORIAL.es <Return>
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
599 para regresar al tutorial.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
600
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
601 Emacs almacena cada texto del archivo dentro de un objeto llamado
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
602 "buffer". Al encontrar un archivo se crea un nuevo buffer dentro de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
603 Emacs. Para mirar la lista de los buffers que existen actualmente en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
604 su sesión de Emacs, teclee:
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
605
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
606 C-x C-b Lista de Buffers
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
607
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
608 >> Pruebe C-x C-b ahora.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
609
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
610 Vea como cada buffer tiene un nombre, y además puede tener un nombre
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
611 de archivo para el archivo que contiene. CUALQUIER texto que vea en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
612 una ventana de Emacs es siempre parte de algún Buffer.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
613
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
614 >> Teclee C-x 1 para deshacerse de la lista de buffers.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
615
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
616 Cuando tenga varios buffers, solo uno de ellos es "actual" en algún
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
617 momento. Ese buffer es el que actualmente edita. Si quiere editar
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
618 otro buffer, necesita "cambiar" a él. Si quiere cambiar a un buffer
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
619 que corresponde a un archivo, puede hacerlo visitando el archivo de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
620 nuevo con C-x C-f. Pero existe una manera más rápida: use el comando
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
621 C-x b. En ese comando, necesita teclear el nombre de buffer.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
622
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
623 >> Teclee C-x b foo <Return> para volver al buffer "foo" que contiene
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
624 el texto del archivo "foo". Después teclee C-x b TUTORIAL.es
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
625 <Return> para regresar a este tutorial.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
626
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
627 La mayoría del tiempo el nombre del buffer es el mismo que el nombre
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
628 del archivo (sin la parte del directorio del archivo). Sin embargo,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
629 esto no es así siempre. La lista de buffers que hace con C-x C-b
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
630 siempre muestra el nombre de todos los buffers.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
631
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
632 CUALQUIER texto que vea en una ventana de Emacs siempre es parte de un
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
633 buffer. Algunos buffers no corresponden a un archivo. Por ejemplo,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
634 el buffer llamado "*Buffer List*" no tiene ningún archivo. Es el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
635 buffer que contiene la lista de buffers que ha creado con C-x C-b. El
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
636 buffer llamado "*Messages*" tampoco tiene un archivo correspondiente;
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
637 contiene los mensajes que han aparecido en la línea de abajo durante
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
638 su sesión de Emacs.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
639
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
640 >> Teclee C-x b *Messages* <Return> para ver el buffer de mensajes.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
641 Luego teclee C-b TUTORIAL <Return> para regresar a este tutorial.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
642
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
643 Si hace cambios al texto de un archivo, y luego encuentra otro
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
644 archivo, esto no guarda el primer archivo. Sus cambios permanecerán
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
645 dentro de Emacs en ese buffer del archivo. La creación o edición del
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
646 segundo buffer de archivo no afecta al primero. Esto es muy útil,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
647 pero también significa que necesita una forma conveniente para guardar
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
648 el archivo del primer buffer. Sería una molestia tener que volver a
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
649 este con C-x C-f para guardarlo con C-x C-s. Así tenemos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
650
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
651 C-x s Guardar algunos buffers
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
652
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
653 C-x s le pregunta sobre cada buffer que contenga cambios que no haya
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
654 guardada. Le pregunta, por cada buffer, si quiere guardarlo o no.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
655
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
656 >> Inserte una línea de texto, luego teclee C-x s.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
657 Debería preguntarle si desea guardar el buffer llamado TUTORIAL.es.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
658 Conteste si a la pregunta tecleando "y".
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
659
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
660
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
661 * EXTENDER EL CONJUNTO DE COMANDOS
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
662 ----------------------------------
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
663
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
664 Hay muchísimos más comandos de Emacs que los que podrían asignarse a
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
665 todos los caracteres control y meta. Emacs puede darle la vuelta a
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
666 esto usando el comando X (eXtendido). Este viene de dos formas:
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
667
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
668 C-x Carácter eXtendido. Seguido por un carácter.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
669 M-x Comando eXtendido por nombre. Seguido por un nombre
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
670 largo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
671
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
672 Estos comandos son generalmente útiles pero menos usados que los
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
673 comandos que ha aprendido hasta ahora. Ya ha visto dos: los comandos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
674 de archivo C-x C-f para Encontrar y C-x C-s para Guardar. Otro
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
675 ejemplo es el comando para terminar la sesión de Emacs: se trata del
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
676 comando C-x C-c. (No se preocupe por perder los cambios que haya
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
677 hecho; C-x C-c ofrece guardar cada archivo alterado antes de finalizar
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
678 Emacs.)
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
679
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
680 C-z es el comando para salir de Emacs *temporalmente*: para que pueda
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
681 regresar a la misma sesión de Emacs después.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
682
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
683 En sistemas que lo permiten C-z "suspende" Emacs; esto es, se regresa
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
684 al intérprete de comandos pero no se destruye Emacs. En los
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
685 intérpretes de comandos más comunes, puede reanudar Emacs con el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
686 comando `fg' o con `%emacs'.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
687
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
688 En sistemas que no implementen el suspendido, C-z crea un
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
689 subintérprete que corre bajo Emacs para darle la opción de correr
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
690 otros programas y regresar a Emacs después; esto en realidad no "sale"
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
691 de Emacs. En este caso, el comando `exit' del intérprete es la vía
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
692 usual para regresar a Emacs desde éste.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
693
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
694 El momento para usar C-x C-c es cuando está listo para salir del
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
695 sistema. Es además el paso correcto para salir de un Emacs llamado
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
696 bajo programas de manejo de correo y diversas otras utilidades, puesto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
697 que ellos no saben cómo lidiar con la suspensión de Emacs. En
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
698 circunstancias normales, si no va a salir, es mejor suspender
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
699 Emacs con C-z en lugar de salir de él.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
700
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
701 Existen varios comandos C-x. Aquí hay una lista de los que ha
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
702 aprendido:
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
703
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
704 C-x C-f Encontrar archivo.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
705 C-x C-s Guardar archivo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
706 C-x C-b Lista de buffers.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
707 C-x C-c Salir de Emacs.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
708 C-x 1 Borrar todo menos una ventana.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
709 C-x u Deshacer.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
710
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
711 Los comandos eXtendidos por nombre son comandos que se utilizan aún
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
712 con menos frecuencia, o únicamente en ciertos modos. Un ejemplo es el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
713 comando replace-string, el cual globalmente substituye una cadena de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
714 caracteres por otra. Cuando teclea M-x, Emacs le pregunta al
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
715 final de la pantalla con M-x y debe escribir el nombre del
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
716 comando; en este caso "replace-string". Solo teclee "repl s<TAB>" y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
717 Emacs completará el nombre. Finalice el nombre del comando con
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
718 <Return>.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
719
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
720 El comando replace-string requiere dos argumentos: la cadena de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
721 caracteres a reemplazar, y la cadena de caracteres para reemplazarla.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
722 Debe terminar cada argumento con <Return>.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
723
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
724 >> Mueva el cursor hacia la línea en blanco dos líneas abajo de esta.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
725 A continuación escriba
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
726 M-x repl s<Return>cambiado<Return>alterado<Return>.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
727
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
728 Note cómo esta línea ha cambiado: ha substituido la palabra
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
729 c-a-m-b-i-a-d-o por "alterado" en cada ocurrencia, después de la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
730 posición inicial del cursor.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
731
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
732
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
733 * AUTO GUARDADO
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
734 ---------------
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
735
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
736 Si ha hecho cambios en un archivo, pero no los ha guardado, éstos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
737 podrían perderse si su computadora falla. Para protegerlo de esto,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
738 Emacs periódicamente escribe un archivo "auto guardado" para cada
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
739 archivo que está editando. El nombre del archivo auto guardado tiene
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
740 un # al principio y al final; por ejemplo, si su archivo se llama
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
741 "hola.c", su archivo auto guardado es "#hola.c#". Cuando guarda por
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
742 la vía normal, Emacs borra su archivo de auto guardado.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
743
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
744 Si la computadora falla, puede recuperar su edición de auto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
745 guardado encontrando el archivo normal (el archivo que estuvo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
746 editando, no el archivo de auto guardar) y entonces tecleando M-x
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
747 recover file<Return>. Cuando le pregunte por la confirmación, teclee
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
748 yes<Return> para ir y recuperar la información del auto guardado.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
749
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
750
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
751 * ÁREA DE ECO
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
752 -------------
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
753
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
754 Si Emacs ve que usted está tecleando comandos de multicaracteres
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
755 lentamente, se los muestra al final de la pantalla en un área llamada
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
756 "área de eco". El área de eco contiene la línea final de la pantalla.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
757
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
758
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
759 * LÍNEA DE MODO
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
760 ---------------
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
761
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
762 La línea inmediatamente encima del área de eco recibe el nombre de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
763 "línea de modo" o "mode line". La línea de modo dice algo así:
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
764
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
765 --:** TUTORIAL.es (Fundamental)--l765--65%---------
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
766
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
767 Esta línea da información útil acerca del estado de Emacs y del texto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
768 que está editando.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
769
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
770 Ya sabe qué significa el nombre del archivo: es el archivo que usted
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
771 ha encontrado. -NN%-- indica su posición actual en el texto; esto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
772 significa que NN por ciento del texto está encima de la parte superior
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
773 de la pantalla. Si el principio del archivo está en la pantalla, este
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
774 dirá --Top-- en vez de --00%--. Si el final del texto está en la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
775 pantalla, dirá --Bot--. Si está mirando un texto tan pequeño que cabe
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
776 en la pantalla, el modo de línea dirá --All--.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
777
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
778 La L y los dígitos indican la posición de otra forma: ellos dan el
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
779 número de línea actual del punto.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
780
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
781 Los asteriscos cerca del frente significan que usted ha hecho cambios
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
782 al texto. Inmediatamente después que visite o guarde un archivo, esa
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
783 parte de la línea de modo no muestra asteriscos, solo guiones.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
784
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
785 La parte de la línea de modo dentro de los paréntesis es para
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
786 indicarle en qué modo de edición está. El modo por omisión es
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
787 Fundamental, el cual está usando ahora. Este es un ejemplo de un
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
788 "modo mayor".
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
789
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
790 Emacs tiene diferentes modos mayores. Algunos están hechos para
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
791 editar diferentes lenguajes y/o clases de texto, tales como modo de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
792 Lisp, modo de Texto, etc. En cualquier momento uno y solo un modo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
793 mayor está activo, y su nombre siempre se puede encontrar en la línea
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
794 de modo, justo en donde "Fundamental" está ahora.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
795
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
796 Cada modo mayor hace que algunos comandos actúen diferente. Por
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
797 ejemplo, hay comandos para crear comentarios en un programa, y como
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
798 cada lenguaje de programación tiene una idea diferente de cómo debe
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
799 verse un comentario, cada modo mayor tiene que insertar comentarios de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
800 forma distinta. Cada modo mayor es el nombre de un comando extendido,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
801 que es como puede cambiar a ese modo. Por ejemplo, M-x
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
802 fundamental-mode es un comando para cambiar al modo fundamental.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
803
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
804 Si va a editar un texto de algún lenguaje humano, como este archivo,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
805 debería usar el modo de texto.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
806 >> Teclee M-x text mode<Return>.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
807
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
808 No se preocupe, ninguno de los comandos de Emacs que ha aprendido
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
809 cambia de manera significativa. Pero puede observar que M-f y M-b
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
810 tratan los apóstrofes como parte de las palabras. Previamente, en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
811 modo Fundamental, M-f y M-b trataban los apóstrofes como separadores
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
812 de palabras.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
813
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
814 Los modos mayores normalmente hacen cambios sutiles como el anterior:
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
815 la mayoría de comandos hacen "el mismo trabajo" en cada modo mayor,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
816 pero funcionan un poco diferente.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
817
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
818 Para ver documentación en el modo mayor actual, teclee C-h m.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
819
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
820 >> Use C-u C-v una o más veces para traer esta línea cerca de la
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
821 parte superior de la pantalla.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
822
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
823 >> Teclee C-h m, para ver como el modo de Texto difiere del modo
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
824 Fundamental.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
825
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
826 >> Teclee C-x 1 para eliminar la documentación de la pantalla.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
827
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
828 Los modos mayores son llamados así porque también hay modos menores.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
829 Los modos menores no son alternativas para los modos mayores, solo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
830 modificaciones menores de éstos. Cada modo menor puede ser activado o
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
831 desactivado por sí mismo, independiente de todos los otros modos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
832 menores, e independiente de su modo mayor. Por tanto, puede no usar
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
833 modos menores, o solamente uno, o cualquier combinación de varios
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
834 modos menores.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
835
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
836 Un modo menor que es muy útil, especialmente para editar textos en
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
837 español, es el modo Auto Fill. Cuando este modo está activado, Emacs
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
838 rompe la línea entre palabras automáticamente siempre que inserte
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
839 texto y la línea sea demasiado ancha.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
840
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
841 Puede activar el modo Auto Fill al hacer M-x auto fill mode<Return>.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
842 Cuando el modo esté activado, puede desactivarlo nuevamente usando M-x
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
843 auto fill mode<Return>. Si el modo está desactivado, este comando lo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
844 activa, y si el modo está activado, este comando lo desactiva.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
845 Decimos que el comando "cambia el modo".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
846
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
847 >> teclee M-x auto fill mode<Return> ahora. Luego inserte una línea
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
848 de "asdf " repetidas veces hasta que la vea dividida en dos líneas.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
849 Debe intercalar espacios porque Auto Fill sólo rompe líneas en los
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
850 espacios.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
851
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
852 El margen esta normalmente puesto en 70 caracteres, pero puede
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
853 cambiarlo con el comando C-x f. Debe indicar el margen deseado como
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
854 un argumento numérico.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
855
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
856 >> Teclee C-x f con un argumento de 20. (C-u 2 0 C-x f). Luego
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
857 teclee algún texto y vea como Emacs lo parte en líneas de 20
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
858 caracteres. A continuación ponga de nuevo el margen a 70 usando
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
859 otra vez C-x f.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
860
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
861 Si hace cambios en el medio de un párrafo, el modo Auto Fill no lo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
862 rellenará por usted.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
863 Para rellenar el párrafo, teclee M-q (META-q) con el cursor dentro de
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
864 ese párrafo.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
865
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
866 >> Mueva el cursor al párrafo anterior y teclee M-q.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
867
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
868
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
869 * BUSCAR
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
870 --------
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
871
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
872 Emacs puede hacer búsquedas de cadenas (grupos de caracteres o
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
873 palabras contiguos) hacia adelante a través del texto o hacia atrás en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
874 el mismo. La búsqueda de una cadena es un comando de movimiento de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
875 cursor; mueve el cursor al próximo lugar donde esa cadena aparece.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
876
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
877 El comando de búsqueda de Emacs es diferente a los comandos de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
878 búsqueda de los demás editores, en que es "incremental". Esto
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
879 significa que la búsqueda ocurre mientras teclea la cadena para
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
880 buscarla.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
881
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
882 El comando para iniciar una búsqueda es C-s para búsqueda hacia
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
883 adelante, y C-r para la búsqueda hacia atrás. ¡PERO ESPERE! No los
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
884 intente aún.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
885
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
886 Cuando teclee C-s verá que la cadena "I-search" aparece como una
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
887 petición en el área de eco. Esto le indica que Emacs está en lo que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
888 se conoce como búsqueda incremental, esperando que teclee lo que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
889 quiere buscar. <Return> termina una búsqueda.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
890
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
891 >> Ahora teclee C-s para comenzar la búsqueda. LENTAMENTE, una letra
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
892 a la vez, teclee la palabra 'cursor', haciendo pausa después de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
893 cada carácter para notar lo que pasa con el cursor.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
894 Ahora ha buscado "cursor", una vez.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
895 >> Teclee C-s de nuevo, para buscar la siguiente ocurrencia de
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
896 "cursor".
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
897 >> Ahora teclee <Delback> cuatro veces y vea como se mueve el cursor.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
898 >> Teclee <Return> para terminar la búsqueda.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
899
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
900 ¿Vió lo que ocurrió? Emacs, en una búsqueda incremental, trata de ir
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
901 a la ocurrencia de la cadena que ha tecleado hasta el momento. Para
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
902 ir a la próxima ocurrencia de 'cursor' solo teclee C-s de nuevo. Si
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
903 tal ocurrencia no existe, Emacs pita y le dice que la búsqueda actual
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
904 está fallando ("failing"). C-g también termina la búsqueda.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
905
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
906 NOTA: En algunos sistemas, teclear C-s dejará inmóvil la pantalla y no
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
907 podrá ver más respuesta de Emacs. Esto indica que una
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
908 "característica" del sistema operativo llamada "control de flujo" está
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
909 interceptando el C-s y no permitiéndole llegar hasta Emacs. Para
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
910 descongelar la pantalla, teclee C-q. Luego consulte la sección
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
911 "Entrada Espontánea para Búsqueda Incremental" en el manual de Emacs
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
912 para consejos de cómo tratar con esta "característica".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
913
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
914 Si se encuentra en medio de una búsqueda incremental y teclea
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
915 <Delback>, notará que el último carácter de la cadena buscada se borra
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
916 y la búsqueda vuelve al sitio anterior de la búsqueda. Por ejemplo,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
917 suponga que ha tecleado "c", para buscar la primera ocurrencia de "c".
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
918 Ahora, si teclea "u", el cursor se moverá a la primera ocurrencia de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
919 "cu". Ahora teclee <Delback>. Esto borra la "u" de la cadena
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
920 buscada, y el cursor vuelve a la primera ocurrencia de "c".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
921
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
922 Si está en medio de una búsqueda y teclea un carácter control o meta
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
923 (con algunas pocas excepciones: los caracteres que son especiales en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
924 una búsqueda, tales como C-s y C-r), la búsqueda termina.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
925
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
926 El C-s inicia una exploración que busca alguna ocurrencia de la cadena
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
927 buscada DESPUÉS de la posición actual del cursor. Si quiere buscar
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
928 algo anterior en el texto, teclee en cambio C-r. Todo lo que hemos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
929 dicho sobre C-s también se aplica a C-r, excepto que la dirección de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
930 la búsqueda se invierte.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
931
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
932
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
933 * MÚLTIPLES VENTANAS
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
934 --------------------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
935
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
936 Una de las características agradables de Emacs es que se puede mostrar
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
937 más de una ventana en la pantalla al mismo tiempo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
938
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
939 >> Mueva el cursor a esta línea y teclee C-u 0 C-l (eso es CONTROL-L,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
940 no CONTROL-1).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
941
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
942 >> Ahora teclee C-x 2 que divide la pantalla en dos ventanas. Ambas
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
943 ventanas muestran este tutorial. El cursor permanece en la ventana
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
944 superior.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
945
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
946 >> Teclee C-M-v para desplazar la ventana inferior.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
947 (Si no tiene una tecla META real, teclee ESC C-v.)
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
948
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
949 >> Teclee C-x o ("o" para "otro") para mover el cursor a la ventana
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
950 inferior.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
951 >> Use C-v y M-v en la ventana inferior para desplazarla.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
952 Siga leyendo estas direcciones en la ventana superior.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
953
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
954 >> Teclee C-x o de nuevo para mover el cursor de vuelta a la ventana
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
955 superior.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
956 El cursor en la ventana superior está justo donde estaba antes.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
957
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
958 Puede continuar usando C-x o para cambiar entre las ventanas. Cada
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
959 ventana tiene su propia posición del cursor, pero únicamente una
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
960 ventana actual muestra el cursor. Todos los comandos de edición
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
961 comunes se aplican a la ventana en que está el cursor. Llamaremos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
962 esto la "ventana seleccionada".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
963
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
964 El comando C-M-v es muy útil cuando está editando un texto en una
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
965 ventana y usando la otra ventana como referencia. Puede mantener el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
966 cursor siempre en la ventana donde está editando, y avanzar a la otra
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
967 ventana secuencialmente con C-M-v.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
968
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
969 C-M-v es un ejemplo de un carácter CONTROL-META. Si tiene una tecla
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
970 META real, puede teclear C-M-v pulsando a la vez CONTROL y META
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
971 mientras teclea v. No importa qué tecla "vaya primero", CONTROL o
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
972 META, porque las dos teclas actúan modificando los caracteres que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
973 teclea.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
974
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
975 Si no tiene una tecla META real, y en vez de eso usa ESC, el orden sí
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
976 importa: debe teclear ESC seguido de Control-v, porque Control-ESC v
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
977 no funcionará. Esto es porque ESC es un carácter que tiene valor por
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
978 sí mismo, no es una tecla modificadora.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
979
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
980 >> Teclee C-x 1 (en la ventana de arriba) para deshacerse de la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
981 ventana de abajo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
982
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
983 (Si hubiera tecleado C-x 1 en la ventana inferior, esto eliminaría la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
984 superior. Piense en este comando como "mantener sólo una
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
985 ventana--aquella en la cual estoy.")
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
986
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
987 No tiene por qué mostrarse el mismo buffer en ambas ventanas. Si usa
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
988 C-x C-f para encontrar un archivo en una ventana, la otra ventana no
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
989 cambia. Puede encontrar un archivo en cada ventana
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
990 independientemente.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
991
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
992 Aquí hay otra forma para usar dos ventanas para mostrar dos cosas
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
993 diferentes:
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
994
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
995 >> Teclee C-x 4 C-f seguido del nombre de uno de sus archivos.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
996 Finalice con <Return>. Vea que el archivo especificado aparece en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
997 la ventana inferior. El cursor vá allá también.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
998
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
999 >> Teclee C-x o para regresar a la ventana superior, y C-x 1 para
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1000 borrar la ventana inferior.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1001
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1002
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1003 * NIVELES RECURSIVOS DE EDICIÓN
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1004 --------------------------------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1005
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1006 Algunas veces entrará a lo que es llamado un "nivel recursivo de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1007 edición". Esto se indica en la línea de modo mediante corchetes en la
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1008 línea de modo, rodeando los paréntesis del nombre del modo mayor. Por
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1009 ejemplo, probablemente vea [(Fundamental)] en vez de (Fundamental).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1010
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1011 Para salir de los niveles recursivos de edición, teclee ESC ESC ESC.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1012 Éste es un comando de "salida" para todo propósito. También lo puede
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1013 usar para eliminar ventanas extras, y salir del minibuffer.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1014
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1015 >> Teclee M-x para entrar a un minibuffer; luego teclee ESC ESC ESC
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1016 para salir.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1017
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1018 No se puede usar C-g para salir de los "niveles recursivos de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1019 edición". Esto es porque C-g es usado para cancelar comandos y
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1020 argumentos DENTRO del nivel recursivo de edición.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1021
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1022
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1023 * CONSEGUIR MAS AYUDA
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1024 ---------------------
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1025
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1026 En este tutorial hemos tratado de ofrecer suficiente información para
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1027 que empiece a usar Emacs. Hay tanto disponible en Emacs que sería
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1028 imposible explicar todo aquí. Sin embargo, quizá desee aprender más
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1029 sobre Emacs, ya que tiene muchas otras características útiles. Emacs
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1030 provee comandos para leer documentación acerca de los comandos de
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1031 Emacs. Todos estos comandos de "ayuda" comienzan con el carácter
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1032 Control-h, que es llamado "el carácter de Ayuda (Help)".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1033
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1034 Para usar las funciones de ayuda, teclee el carácter C-h, y luego un
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1035 carácter decidiendo qué tipo de ayuda quiere. Si está REALMENTE
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1036 perdido teclee C-h ? y Emacs le dirá qué tipo de ayuda puede
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1037 ofrecerle. Si ha tecleado C-h y decide que no quiere ninguna ayuda,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1038 teclee C-g para cancelarlo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1039
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1040 (En algunas instalaciones cambian el significado del carácter C-h.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1041 Realmente no deberían hacer esto como una política para todos los
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1042 usuarios, así que tiene argumentos para quejarse al administrador del
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1043 sistema. Mientras tanto, si C-h no muestra un mensaje de ayuda en el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1044 final de la pantalla, intente teclear la tecla F1 o, en su lugar, M-x
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1045 help <Return>).
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1046
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1047 La función de AYUDA más básica es C-h c. Teclee C-h, el carácter c y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1048 un carácter de comando o secuencia de comando; Emacs le mostrará
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1049 una descripción muy breve del comando.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1050
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1051 >> Teclee C-h c C-p.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1052 El mensaje debe ser algo como
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1053
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1054 C-p runs the command previous-line
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1055
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1056 Esto le dice el "nombre de la función". Los nombres de función se
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1057 usan principalmente para adecuar y extender Emacs. Pero ya que los
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1058 nombres de las funciones se eligen para indicar lo que el comando
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1059 hace, también pueden servir como una breve documentación: suficiente
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1060 para recordarle los comandos que ha aprendido.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1061
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1062 Los comandos de múltiples caracteres tales como C-x C-s y (sí no tiene
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1063 las teclas META o EDIT o ALT) <ESC>v también están permitidos después
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1064 de C-h c.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1065
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1066 Para conseguir más información sobre un comando use C-h k en vez de
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1067 C-h c.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1068
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1069 >> Teclee C-h k C-p.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1070
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1071 Esto muestra la documentación de la función, al igual que el nombre,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1072 en una ventana de Emacs. Cuando haya terminado de leer el resultado,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1073 teclee C-x 1 para deshacerse del texto de ayuda. No tiene que hacer
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1074 esto ahora. Puede hacer algunas ediciones mientras se refiere
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1075 al texto de ayuda, y entonces teclear C-x 1.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1076
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1077 Aquí hay algunas otras opciones útiles de C-h:
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1078
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1079 C-h f Describe una función. Usted teclea el nombre de la
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1080 función.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1081
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1082 >> Intente teclear C-h f previous-line<Return>.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1083 Esto muestra toda la información que Emacs tiene sobre la función
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1084 que implementa el comando C-p
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1085
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1086 Un comando similar, C-h v, muestra la documentación de variables cuyos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1087 valores pueda poner para adecuar el comportamiento de Emacs. Necesita
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1088 teclear el nombre de la variable cuando Emacs pregunte por ella.
40721
84fec8c148fa *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 35128
diff changeset
1089
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1090 C-h a Comando Apropos. Teclee una palabra y Emacs hará una
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1091 lista de todos los comandos que contengan esa palabra.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1092 Todos estos comandos pueden ser invocados con META-x.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1093 Para algunos comandos, el Comando Apropos también
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1094 listará una secuencia de uno o dos caracteres la cual
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1095 ejecutará el mismo comando.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1096
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1097 >> Teclee C-h a file<Return>.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1098
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1099 Esto muestra en otra ventana una lista de todos los comandos M-x con
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1100 la palabra "file" en sus nombres. Verá comandos de caracteres como
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1101 C-x C-f listados además de los nombres de los comandos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1102 correspondientes tales como find-file.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1103
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1104 >> Teclee C-M-v para desplazar la ventana de ayuda. Haga esto unas
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1105 cuantas veces.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1106
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1107 >> Teclee C-x 1 para borrar la ventana de ayuda.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1108
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1109 C-h i Leer los Manuales En-Línea (alias Info). Este comando
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1110 lo pone en un buffer especial llamado `*info*' donde
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1111 puede leer manuales en línea de los paquetes
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1112 instalados en su sistema. Teclee m Emacs <Return>
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1113 para leer el manual de Emacs. Sí nunca ha usado Info
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1114 antes, teclee ? y Emacs lo llevará en una visita
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1115 guiada de los servicios del modo de Info. Una vez que
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1116 haya terminado este tutorial, debería considerar el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1117 manual Info de Emacs como su documentación primaria.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1118
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1119
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1120 * MÁS CARACTERÍSTICAS
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1121 ---------------------
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1122
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1123 Puede aprender más de Emacs leyendo su manual, ya sea como libro o en
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1124 línea en el Info (use el menú Ayuda--"Help"--o teclee F10 h r). Dos
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1125 características que pueden gustarle son la completación, que ahorra
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1126 teclear, y dired, que simplifica el manejo de archivos.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1127
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1128 La completación es una manera de ahorrar teclear innecesariamente.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1129 Por ejemplo, si quiere cambiarse al buffer "*Messages*", puede teclear
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1130 C-x b *M<Tab> y emacs encontrará el resto del nombre del buffer tan
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1131 lejos como pueda determinar de lo que ya haya tecleado. La
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1132 completación es descrita en el Info del manual de Emacs en el nodo
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1133 llamado "Completation".
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1134
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1135 Dired le permite listar los archivos en un directorio (y opcionalmente
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1136 sus subdirectorios), moverse alrededor de esa lista, visitar,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1137 renombrar, borrar y aparte de eso operar en los archivos. Dired esta
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1138 descrito en el Info en el manual de Emacs en el nodo llamado "Dired".
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1139
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1140 El manual también describe otras características de Emacs.
40721
84fec8c148fa *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 35128
diff changeset
1141
84fec8c148fa *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 35128
diff changeset
1142
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1143 * CONCLUSIÓN
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1144 ------------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1145
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1146 Recuerde, para salir permanentemente de Emacs use C-x C-c. Para salir
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1147 temporalmente a un intérprete de comandos, de forma que puede volver a
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1148 Emacs después, use C-z.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1149
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1150 Este tutorial intenta ser comprensible para todos los usuarios nuevos,
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1151 así que si encuentra algo que no esté claro, no se siente y se culpe a
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1152 sí mismo: ¡Quéjese!
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1153
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1154
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1155 * COPIA
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1156 -------
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1157
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1158 Este tutorial desciende de una larga línea de tutoriales de Emacs
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1159 comenzando con el escrito por Stuart Cracraft para el Emacs original.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1160
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1161 La versión en español fue originalmente traducida por estudiantes del
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1162 Gimnasio Fidel Cano (un colegio en Santafé de Bogotá, Colombia):
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1163
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1164 Carlos Alberto López Troncoso
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1165 Andrés Felipe Mancipe Galvis
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1166 Lina Fernanda Pinto García
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1167 Liliana Carolina Quitián Cedeño
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1168 Leonardo Ramírez Vargas <leonardoramirez@latinmail.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1169 Juan David Vargas Botero <cyberbob1164@hotmail.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1170 Juan Pablo Yela Gallón
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1171 Jorge Enrique Cárdenas Carrillo <platypus_life@hotmail.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1172
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1173 La versión en español ha sido revisada y corregida por:
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1174
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1175 Pablo Reyes <reyes_pablo@hotmail.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1176 Igor Támara <ikks@bigfoot.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1177 Melissa Giraldo de Támara <melagira@yahoo.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1178 Vladimir Támara <vtamara@gnu.org>
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1179 Rafael Sepúlveda <drs@gnulinux.org.mx>
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1180 Juanma Barranquero <lektu@terra.es>
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1181
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1182 La versión en español ha sido actualizada por:
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1183
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1184 Rafael Sepúlveda <drs@gnulinux.org.mx>
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1185
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1186 Por favor, en caso de duda, sólo es válido el original en inglés de la
46563
d155b00f8345 Many cleanups, fixing of accents, punctuation, etc.
Richard M. Stallman <rms@gnu.org>
parents: 43965
diff changeset
1187 siguiente nota de derechos de reproducción (que puede encontrar en el
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1188 archivo TUTORIAL).
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1189
65088
f05a048483cc Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 61228
diff changeset
1190 Copyright (C) 1985, 1996, 1998, 2001, 2002, 2003, 2004,
75343
0259a1711394 Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 68640
diff changeset
1191 2005, 2006, 2007 Free Software Foundation, Inc.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1192
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1193 Se permite a cualquiera hacer o distribuir copias literales de este
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1194 documento como se recibe, en cualquier medio, siempre que la nota
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1195 de derechos de reproducción y la nota de permiso se preserven, y
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1196 que el distribuidor permita que el que la recibe hacer distribución
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1197 posterior como lo permite esta nota.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1198
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1199 Se permite distribuir versiones modificadas de este documento, o
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1200 porciones de este, bajo las condiciones anteriores, siempre que
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1201 ellas tengan nota visible especificando quién fue el último en
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1202 alterarlas.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1203
46563
d155b00f8345 Many cleanups, fixing of accents, punctuation, etc.
Richard M. Stallman <rms@gnu.org>
parents: 43965
diff changeset
1204 Las condiciones para copiar Emacs mismo son más complejas, pero con el
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1205 mismo espíritu. Por favor lea el archivo COPYING y luego distribuya
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1206 copias de GNU Emacs a sus amigos. ¡Ayude a erradicar el
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1207 obstruccionismo del software ("propietariedad") usando, escribiendo, y
46563
d155b00f8345 Many cleanups, fixing of accents, punctuation, etc.
Richard M. Stallman <rms@gnu.org>
parents: 43965
diff changeset
1208 compartiendo software libre!
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1209
49777
9ada5a15a432 Add coding spec.
Dave Love <fx@gnu.org>
parents: 48502
diff changeset
1210 --- end of TUTORIAL.es ---
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1211
49777
9ada5a15a432 Add coding spec.
Dave Love <fx@gnu.org>
parents: 48502
diff changeset
1212 ;;; Local Variables:
9ada5a15a432 Add coding spec.
Dave Love <fx@gnu.org>
parents: 48502
diff changeset
1213 ;;; coding: latin-1
9ada5a15a432 Add coding spec.
Dave Love <fx@gnu.org>
parents: 48502
diff changeset
1214 ;;; End:
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49777
diff changeset
1215
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49777
diff changeset
1216 ;;; arch-tag: 66aae86e-6f86-4a3e-b82a-44a783f774fd