annotate etc/TUTORIAL.es @ 64798:b61d2aa00716

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