annotate etc/TUTORIAL.es @ 59119:803b2fab7ec1

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