annotate etc/TUTORIAL.es @ 61154:81b738b4c729

shell-quote-argument, not comint-quote-filename
author Karl Berry <karl@gnu.org>
date Thu, 31 Mar 2005 00:24:57 +0000
parents fe937402466e
children 7647346fa1e1 4da4a09e8b1b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61143
fe937402466e Add title line.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 56662
diff changeset
1 tutorial de Emacs
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
2 Usted esta viendo el tutorial de Emacs. Vea al final las condiciones
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
3 de copiado. Copyright (c) 1985, 1996, 1998, 2001, 2002 Free Software
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
4 Foundation.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
5
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
6 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
7 (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
8 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
9 ocasión, usaremos las siguientes abreviaturas.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
10
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
11 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
12 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
13 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
14 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
15 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
16 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
17 <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
18
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
19 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
20 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
21 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
22 <<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
23 [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
24 >> 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
25 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
26 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
27 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
28
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
29 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
30 pantalla; esto provee una continuidad para que pueda seguir leyendo el
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
31 texto.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
32
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
33 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
34 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
35 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
36 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
37
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
38 >> 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
39
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
40
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
41 * RESUMEN
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
42 ---------
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
43
46563
d155b00f8345 Many cleanups, fixing of accents, punctuation, etc.
Richard M. Stallman <rms@gnu.org>
parents: 43965
diff changeset
44 Los siguientes comandos son útiles para ver pantallas completas:
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
45
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
46 C-v Avanzar una pantalla completa
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
47 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
48 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
49 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
50 pantalla (Esto es CONTROL-L, no CONTROL-1.)
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
51
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
52 >> 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
53 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
54 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
55 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
56
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
57 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
58 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
59 eficientemente si usa C-v y M-v.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
60
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
61 * MOVIMIENTO BÁSICO DE CURSOR
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
62 -----------------------------
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 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
65 un lugar específico dentro del texto en la pantalla?
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
66
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
67 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
68 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
69 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
70 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
71
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
72 Línea anterior, C-P
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 :
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
75 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
76 :
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
77 :
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
78 Línea siguiente, C-n
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
80 >> 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
81 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
82 diagrama completo centrado en la pantalla.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
83
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
84 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
85 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
86 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
87 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
88
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
89 >> 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
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 >> 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
92 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
93
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
94 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
95 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
96 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
97 no requiere que ésta lo tenga).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
98
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
99 >> 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
100 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
101 del carácter de nueva línea.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
102
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
103 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
104
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
105 >> 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
106 cursor.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
107 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
108 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
109
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
110 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
111 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
112 "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
113 especificado en el texto sin moverlo fuera de la pantalla.
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 >> 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
116 observe lo que sucede.
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 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
119 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
120
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
121 >> Teclee algunos M-f y M-b
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
122
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
123 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
124 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
125 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
126 dirección opuesta.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
127
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
128 >> 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
129 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
130 entre palabras.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
131
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
132 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
133 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
134 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
135 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
136 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
137 (caracteres, líneas, etc).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
138
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
139 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
140 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
141 comienzo o al final de una oración.
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 >> 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
144 >> Intente algunos M-a, y después unos cuantos M-e.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
146 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
147 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
148 parece natural.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
149
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
150 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
151 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
152 situado el punto dentro del texto.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
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 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
155 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
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 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
158 C-d Retroceder un carácter
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 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
161 M-b Retroceder una palabra
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-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
164 C-p Retroceder a la línea anterior
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 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
167 C-e Avanzar al final de la línea
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 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
170 M-e Avanzar al final de la oración
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 >> 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
173 Estos comandos son los más frecuentemente usados.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
174
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
175 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
176 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
177 Mayor que), el cual se mueve al final del texto entero.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
178
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
179 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
180 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
181 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
182 la tecla shift, usted estaría escribiendo M-coma.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
183
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
184 >> 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
185 Después use C-v repetidamente para regresar aquí.
35127
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 >> Ahora pruebe M->, para moverse al final del tutorial.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
188 Después use M-v repetidamente para regresar aquí.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
189
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
190 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
191 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
192 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
193 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
194 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
195 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
196 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
197 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
198 del cursor fácilmente.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
199
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
200 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
201 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
202 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
203 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
204 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
205 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
206 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
207 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
208 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
209 del comando al que se aplica.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
210
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
211 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
212
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
213 >> 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
214 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
215
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
216 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
217 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
218 (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
219 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
220 valor, hace que el comando actúe de forma diferente.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
221
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
222 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
223 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
224 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
225 líneas.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
226
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
227 >> Pruebe tecleando C-u 8 C-v ahora.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
228
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
229 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
230 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
231 M-v.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
232
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
233 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
234 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
235 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
236 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
237
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
238 >> 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
239 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
240 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
241 botón.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
242
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
243 >> 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
244 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
245 a medida que mueve el ratón.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
246
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
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
249 * CUANDO EMACS ESTÁ BLOQUEADO
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
250 -----------------------------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
251
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
252 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
253 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
254 esté tomando mucho tiempo para ejecutarse.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
255
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
256 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
257 comienzo de un comando que no quiere finalizar.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
258
46563
d155b00f8345 Many cleanups, fixing of accents, punctuation, etc.
Richard M. Stallman <rms@gnu.org>
parents: 43965
diff changeset
259 >> 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
260 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
261 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
262 canceló el argumento con C-g.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
263
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
264 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
265
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
266
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
267 * COMANDOS DESACTIVADOS
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
268 -----------------------
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 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
271 usuarios principiantes no puedan usarlos accidentalmente.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
272
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
273 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
274 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
275 continuar y ejecutar el comando.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
276
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
277 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
278 a la pregunta. Normalmente, si no quiere ejecutar el comando
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
279 desactivado, conteste la pregunta con "n".
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
280
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
281 >> 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
282 escriba n para responder la pregunta.
35127
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
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
285 * VENTANAS
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
286 ----------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
287
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
288 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
289 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
290 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
291 la edición básica en una ventana. Es sencillo:
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
292
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
293 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
294
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
295 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
296 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
297 demás ventanas.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
298
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
299 >> 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
300 >> 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
301 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
302 muestra documentación sobre el comando Control-f.
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 >> 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
305 desaparece.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
306
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
307 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
308 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
309 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
310 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
311 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
312 cuatro caracteres.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
313
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
314
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
315 * 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
316 -------------------
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
317
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
318 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
319 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
320 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
321 tecla Enter) para insertar un carácter de nueva línea.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
322
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
323 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
324 <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
325 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
326 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
327 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
328 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
329 flecha.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
330
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
331 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
332 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
333 otra parte, pero esa no es <Delback>.
35127
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 Generalmente, <Delback> borra el carácter inmediatamente anterior a la
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
336 posición actual del cursor.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
337
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
338 >> 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
339 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
340 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
341 personal de él.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
342
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
343 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
344 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
345 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
346 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
347 línea "continúa".
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 >> 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
350 insertando. Verá aparecer una línea de continuación.
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 >> 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
353 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
354
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
355 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
356 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
357 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
358 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
359 de continuación.
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 >> 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
362 juntará esa línea con la línea anterior.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
363
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
364 >> Teclee <Return> para reinsertar la nueva línea que borró.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
365
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
366 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
367 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
368 un carácter de texto lo inserta varias veces.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
369
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
370 >> Inténtelo ahora: teclee C-u 8 * para insertar ********.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
371
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
372 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
373 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
374 resumen de las operaciones de borrado:
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 <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
377 C-d borra el siguiente carácter después del cursor
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
378
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
379 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
380 cursor
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
381 M-d Elimina la siguiente palabra después del cursor
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 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
384 M-k Elimina hasta el final de la oración actual
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
385
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
386 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
387 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
388 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
389 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
390 oraciones opuestas.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
391
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
392 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
393 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
394 (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
395 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
396 entre las dos posiciones.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
397
48502
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 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
399 >> 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
400 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
401 >> 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
402 párrafo.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
403 >> 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
404 termina justo antes de la x.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
405
40721
84fec8c148fa *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 35128
diff changeset
406 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
407 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
408 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
409 "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
410 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
411 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
412 texto).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
413
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
414 >> 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
415 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
416 >> 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
417 sigue a esa línea.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
418
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
419 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
420 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
421 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
422 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
423 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
424 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
425
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
426 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
427 (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
428 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
429 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
430 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
431 varias copias de él.
40721
84fec8c148fa *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 35128
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 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
434 la posición actual del cursor.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
435
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
436 >> Inténtelo; teclee C-y para pegar de nuevo el texto.
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 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
439 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
440
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
441 >> Haga esto ahora, teclee C-k varias veces.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
442
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
443 Ahora para recuperar ese texto eliminado:
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 >> 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
446 nuevo. De esta forma puede copiar un texto.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
447
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
448 ¿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
449 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
450 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
451 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
452 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
453 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
454 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
455 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
456 texto pegado en donde está.
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 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
459 eliminación más reciente).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
460
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
461 >> 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
462 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
463 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
464 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
465 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
466 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
467 negativos.
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
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
470 * DESHACER
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
471 ----------
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 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
474 puede deshacer el cambio con el comando deshacer, C-x u.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
475
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
476 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
477 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
478 adicional.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
479
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
480 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
481 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
482 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
483 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
484 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
485 el texto.)
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
486
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
487 >> 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
488 reaparecer.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
489
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
490 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
491 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
492 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
493 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
494 teclear / mientras oprime CONTROL.
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 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
497 repetición.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
498
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
499 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
500 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
501 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
502
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
503
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
504 * ARCHIVOS
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
505 ----------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
506
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
507 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
508 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
509 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
510 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
511 archivo.)
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
512
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
513 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
514 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
515 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
516 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
517 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
518 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
519 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
520
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
521 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
522 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
523 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
524 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
525 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
526 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
527 archivo aparecerá en ese mismo punto.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
528
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
529 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
530 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
531 "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
532 nombre del archivo). Después de teclear el comando:
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
533
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
534 C-x C-f Encontrar un archivo
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
535
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
536 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
537 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
538 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
539 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
540 para editar el nombre del archivo.
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 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
543 entrada al minibuffer) puede cancelar el comando con C-g.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
544
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
545 >> 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
546 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
547 Así que no encontrará archivo alguno.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
548
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
549 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
550 <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
551 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
552 comando C-x C-f termina.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
553
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
554 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
555 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
556 teclee el comando
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
557
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
558 C-x C-s Guardar el archivo
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
559
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
560 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
561 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
562 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
563 final del nombre del archivo original.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
564
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
565 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
566 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
567 trabajo si el sistema falla.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
568
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
569 >> 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
570 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
571 pantalla.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
572
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
573 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
574 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
575 "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
576 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
577 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
578 "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
579 para consejos de cómo tratar con esta "característica".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
580
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
581 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
582 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
583 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
584 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
585 "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
586 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
587 editando un archivo existente.
35127
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
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
590 * BUFFERS
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
591 ---------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
592
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
593 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
594 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
595 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
596 de Emacs.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
597
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
598 >> 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
599 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
600 C-s.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
601 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
602 para regresar al tutorial.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
603
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
604 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
605 "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
606 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
607 su sesión de Emacs, teclee:
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
608
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
609 C-x C-b Lista de Buffers
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
610
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
611 >> 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
612
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
613 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
614 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
615 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
616
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
617 >> Teclee C-x 1 para deshacerse de la lista de buffers.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
618
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
619 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
620 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
621 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
622 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
623 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
624 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
625
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
626 >> 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
627 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
628 <Return> para regresar a este tutorial.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
629
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
630 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
631 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
632 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
633 siempre muestra el nombre de todos los buffers.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
634
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
635 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
636 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
637 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
638 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
639 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
640 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
641 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
642
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
643 >> 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
644 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
645
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
646 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
647 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
648 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
649 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
650 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
651 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
652 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
653
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
654 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
655
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
656 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
657 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
658
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
659 >> 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
660 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
661 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
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 * 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
665 ----------------------------------
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
666
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
667 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
668 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
669 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
670
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
671 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
672 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
673 largo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
674
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
675 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
676 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
677 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
678 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
679 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
680 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
681 Emacs.)
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 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
684 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
685
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
686 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
687 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
688 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
689 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
690
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
691 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
692 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
693 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
694 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
695 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
696
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
697 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
698 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
699 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
700 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
701 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
702 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
703
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
704 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
705 aprendido:
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
706
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
707 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
708 C-x C-s Guardar archivo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
709 C-x C-b Lista de buffers.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
710 C-x C-c Salir de Emacs.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
711 C-x 1 Borrar todo menos una ventana.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
712 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
713
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
714 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
715 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
716 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
717 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
718 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
719 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
720 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
721 <Return>.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
722
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
723 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
724 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
725 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
726
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
727 >> 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
728 A continuación escriba
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
729 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
730
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
731 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
732 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
733 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
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 * AUTO GUARDADO
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
737 ---------------
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
738
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
739 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
740 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
741 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
742 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
743 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
744 "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
745 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
746
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
747 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
748 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
749 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
750 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
751 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
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 * Á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
755 -------------
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
756
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
757 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
758 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
759 "á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
760
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
761
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
762 * LÍNEA DE MODO
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
763 ---------------
48502
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 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
766 "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
767
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
768 --:** 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
769
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
770 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
771 que está editando.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
772
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
773 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
774 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
775 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
776 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
777 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
778 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
779 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
780
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
781 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
782 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
783
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
784 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
785 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
786 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
787
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
788 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
789 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
790 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
791 "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
792
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
793 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
794 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
795 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
796 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
797 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
798
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
799 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
800 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
801 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
802 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
803 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
804 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
805 fundamental-mode es un comando para cambiar al modo fundamental.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
806
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
807 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
808 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
809 >> Teclee M-x text mode<Return>.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
810
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
811 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
812 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
813 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
814 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
815 de palabras.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
816
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
817 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
818 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
819 pero funcionan un poco diferente.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
820
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
821 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
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 >> 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
824 parte superior de la pantalla.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
825
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
826 >> 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
827 Fundamental.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
828
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
829 >> Teclee C-x 1 para eliminar la documentación de la pantalla.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
830
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
831 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
832 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
833 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
834 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
835 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
836 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
837 modos menores.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
838
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
839 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
840 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
841 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
842 texto y la línea sea demasiado ancha.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
843
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
844 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
845 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
846 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
847 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
848 Decimos que el comando "cambia el modo".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
849
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
850 >> 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
851 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
852 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
853 espacios.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
854
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
855 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
856 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
857 un argumento numérico.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
858
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
859 >> 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
860 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
861 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
862 otra vez C-x f.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
863
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
864 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
865 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
866 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
867 ese párrafo.
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 >> 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
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 * BUSCAR
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
873 --------
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
874
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
875 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
876 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
877 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
878 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
879
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
880 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
881 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
882 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
883 buscarla.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
884
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
885 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
886 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
887 intente aún.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
888
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
889 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
890 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
891 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
892 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
893
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
894 >> 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
895 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
896 cada carácter para notar lo que pasa con el cursor.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
897 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
898 >> Teclee C-s de nuevo, para buscar la siguiente ocurrencia de
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
899 "cursor".
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
900 >> 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
901 >> Teclee <Return> para terminar la búsqueda.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
902
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
903 ¿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
904 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
905 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
906 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
907 está fallando ("failing"). C-g también termina la búsqueda.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
908
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
909 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
910 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
911 "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
912 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
913 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
914 "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
915 para consejos de cómo tratar con esta "característica".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
916
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
917 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
918 <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
919 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
920 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
921 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
922 "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
923 buscada, y el cursor vuelve a la primera ocurrencia de "c".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
924
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
925 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
926 (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
927 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
928
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
929 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
930 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
931 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
932 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
933 la búsqueda se invierte.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
934
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
935
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
936 * MÚLTIPLES VENTANAS
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
937 --------------------
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 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
940 más de una ventana en la pantalla al mismo tiempo.
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 >> 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
943 no CONTROL-1).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
944
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
945 >> 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
946 ventanas muestran este tutorial. El cursor permanece en la ventana
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
947 superior.
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-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
950 (Si no tiene una tecla META real, teclee ESC C-v.)
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
951
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
952 >> 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
953 inferior.
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
954 >> 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
955 Siga leyendo estas direcciones en la ventana superior.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
956
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
957 >> 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
958 superior.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
959 El cursor en la ventana superior está justo donde estaba antes.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
960
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
961 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
962 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
963 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
964 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
965 esto la "ventana seleccionada".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
966
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
967 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
968 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
969 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
970 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
971
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
972 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
973 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
974 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
975 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
976 teclea.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
977
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
978 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
979 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
980 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
981 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
982
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
983 >> 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
984 ventana de abajo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
985
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
986 (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
987 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
988 ventana--aquella en la cual estoy.")
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
989
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
990 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
991 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
992 cambia. Puede encontrar un archivo en cada ventana
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
993 independientemente.
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 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
996 diferentes:
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
997
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
998 >> 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
999 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
1000 la ventana inferior. El cursor vá allá también.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1001
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1002 >> 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
1003 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
1004
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1005
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1006 * NIVELES RECURSIVOS DE EDICIÓN
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1007 --------------------------------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1008
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1009 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
1010 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
1011 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
1012 ejemplo, probablemente vea [(Fundamental)] en vez de (Fundamental).
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1013
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1014 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
1015 É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
1016 usar para eliminar ventanas extras, y salir del minibuffer.
35127
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 >> 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
1019 para salir.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1020
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1021 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
1022 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
1023 argumentos DENTRO del nivel recursivo de edición.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1024
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1025
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1026 * 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
1027 ---------------------
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1028
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1029 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
1030 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
1031 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
1032 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
1033 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
1034 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
1035 Control-h, que es llamado "el carácter de Ayuda (Help)".
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1036
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1037 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
1038 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
1039 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
1040 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
1041 teclee C-g para cancelarlo.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1042
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1043 (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
1044 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
1045 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
1046 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
1047 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
1048 help <Return>).
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1049
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1050 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
1051 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
1052 una descripción muy breve del comando.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1053
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1054 >> 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
1055 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
1056
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1057 C-p runs the command previous-line
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1058
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1059 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
1060 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
1061 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
1062 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
1063 para recordarle los comandos que ha aprendido.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1064
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1065 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
1066 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
1067 de C-h c.
35127
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 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
1070 C-h c.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1071
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1072 >> Teclee C-h k C-p.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1073
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1074 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
1075 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
1076 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
1077 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
1078 al texto de ayuda, y entonces teclear C-x 1.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1079
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1080 Aquí hay algunas otras opciones útiles de C-h:
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 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
1083 función.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1084
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1085 >> 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
1086 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
1087 que implementa el comando C-p
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1088
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1089 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
1090 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
1091 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
1092
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1093 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
1094 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
1095 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
1096 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
1097 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
1098 ejecutará el mismo comando.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1099
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1100 >> Teclee C-h a file<Return>.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1101
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1102 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
1103 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
1104 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
1105 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
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-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
1108 cuantas veces.
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1109
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1110 >> Teclee C-x 1 para borrar la ventana de ayuda.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1111
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1112 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
1113 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
1114 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
1115 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
1116 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
1117 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
1118 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
1119 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
1120 manual Info de Emacs como su documentación primaria.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1121
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1122
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1123 * 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
1124 ---------------------
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1125
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1126 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
1127 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
1128 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
1129 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
1130
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1131 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
1132 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
1133 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
1134 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
1135 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
1136 llamado "Completation".
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1137
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1138 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
1139 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
1140 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
1141 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
1142
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1143 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
1144
84fec8c148fa *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 35128
diff changeset
1145
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1146 * CONCLUSIÓN
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1147 ------------
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1148
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1149 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
1150 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
1151 Emacs después, use C-z.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1152
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1153 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
1154 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
1155 sí mismo: ¡Quéjese!
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1156
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1157
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1158 * COPIA
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1159 -------
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1160
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1161 Este tutorial desciende de una larga línea de tutoriales de Emacs
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1162 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
1163
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1164 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
1165 Gimnasio Fidel Cano (un colegio en Santafé de Bogotá, Colombia):
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1166
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1167 Carlos Alberto López Troncoso
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1168 Andrés Felipe Mancipe Galvis
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1169 Lina Fernanda Pinto García
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1170 Liliana Carolina Quitián Cedeño
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1171 Leonardo Ramírez Vargas <leonardoramirez@latinmail.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1172 Juan David Vargas Botero <cyberbob1164@hotmail.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1173 Juan Pablo Yela Gallón
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1174 Jorge Enrique Cárdenas Carrillo <platypus_life@hotmail.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1175
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1176 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
1177
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1178 Pablo Reyes <reyes_pablo@hotmail.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1179 Igor Támara <ikks@bigfoot.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1180 Melissa Giraldo de Támara <melagira@yahoo.com>
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1181 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
1182 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
1183 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
1184
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1185 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
1186
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1187 Rafael Sepúlveda <drs@gnulinux.org.mx>
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1188
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1189 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
1190 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
1191 archivo TUTORIAL).
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1192
48502
c1e17d99ee25 Extensively changed and updated by Rafael Sep?a <drs@gnulinux.org.mx>.
Juanma Barranquero <lekktu@gmail.com>
parents: 46563
diff changeset
1193 Copyright (c) 1985, 1996, 1998, 2001, 2002 Free Software Foundation
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1194
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1195 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
1196 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
1197 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
1198 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
1199 posterior como lo permite esta nota.
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1200
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1201 Se permite distribuir versiones modificadas de este documento, o
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1202 porciones de este, bajo las condiciones anteriores, siempre que
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1203 ellas tengan nota visible especificando quién fue el último en
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1204 alterarlas.
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1205
46563
d155b00f8345 Many cleanups, fixing of accents, punctuation, etc.
Richard M. Stallman <rms@gnu.org>
parents: 43965
diff changeset
1206 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
1207 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
1208 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
1209 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
1210 compartiendo software libre!
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 --- end of TUTORIAL.es ---
35127
501e704b34bc *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1213
49777
9ada5a15a432 Add coding spec.
Dave Love <fx@gnu.org>
parents: 48502
diff changeset
1214 ;;; Local Variables:
9ada5a15a432 Add coding spec.
Dave Love <fx@gnu.org>
parents: 48502
diff changeset
1215 ;;; coding: latin-1
9ada5a15a432 Add coding spec.
Dave Love <fx@gnu.org>
parents: 48502
diff changeset
1216 ;;; End:
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49777
diff changeset
1217
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49777
diff changeset
1218 ;;; arch-tag: 66aae86e-6f86-4a3e-b82a-44a783f774fd