Mercurial > emacs
comparison doc/man/emacs.1 @ 106928:ab59a02f9f9a
Merge from mainline.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Mon, 11 Jan 2010 22:07:25 +0000 |
parents | aae47b0bcc8d |
children | 905212a81527 |
comparison
equal
deleted
inserted
replaced
106927:6d51d2e8c691 | 106928:ab59a02f9f9a |
---|---|
20 is a version of | 20 is a version of |
21 .IR Emacs , | 21 .IR Emacs , |
22 written by the author of the original (PDP-10) | 22 written by the author of the original (PDP-10) |
23 .IR Emacs , | 23 .IR Emacs , |
24 Richard Stallman. | 24 Richard Stallman. |
25 .br | 25 The user functionality of GNU Emacs encompasses everything other |
26 editors do, and it is easily extensible since its editing commands are | |
27 written in Lisp. | |
28 .PP | |
26 The primary documentation of GNU Emacs is in the GNU Emacs Manual, | 29 The primary documentation of GNU Emacs is in the GNU Emacs Manual, |
27 which you can read using Info, either from Emacs or as a standalone | 30 which you can read using Info, either from Emacs or as a standalone |
28 program. | 31 program. |
29 Please look there for complete and up-to-date documentation. | 32 Please look there for complete and up-to-date documentation. |
30 This man page is updated only when someone volunteers to do so; the | 33 This man page is updated only when someone volunteers to do so. |
31 Emacs maintainers' priority goal is to minimize the amount of time | |
32 this man page takes away from other more useful projects. | |
33 .br | |
34 The user functionality of GNU Emacs encompasses | |
35 everything other | |
36 .I Emacs | |
37 editors do, and it is easily extensible since its | |
38 editing commands are written in Lisp. | |
39 .PP | 34 .PP |
40 .I Emacs | 35 .I Emacs |
41 has an extensive interactive help facility, | 36 has an extensive interactive help facility, |
42 but the facility assumes that you know how to manipulate | 37 but the facility assumes that you know how to manipulate |
43 .I Emacs | 38 .I Emacs |
44 windows and buffers. | 39 windows and buffers. |
45 CTRL-h or F1 enters the Help facility. | 40 CTRL-h or F1 enters the Help facility. |
46 Help Tutorial (CTRL-h t) starts an interactive tutorial which can | 41 Help Tutorial (CTRL-h t) starts an interactive tutorial to quickly |
47 teach beginners the fundamentals of | 42 teach beginners the fundamentals of |
48 .I Emacs | 43 .I Emacs. |
49 in a few minutes. | 44 Help Apropos (CTRL-h a) helps you find a command given its |
50 Help Apropos (CTRL-h a) helps you | 45 functionality, Help Key (CTRL-h k) describes a given key sequence, and |
51 find a command given its functionality, Help Character (CTRL-h c) | 46 Help Function (CTRL-h f) describes a given Lisp function. |
52 describes a given character's effect, and Help Function (CTRL-h f) | |
53 describes a given Lisp function specified by name. | |
54 .PP | |
55 .IR Emacs 's | |
56 Undo can undo several steps of modification to your buffers, so it is | |
57 easy to recover from editing mistakes. | |
58 .PP | 47 .PP |
59 .IR "GNU Emacs" 's | 48 .IR "GNU Emacs" 's |
60 many special packages handle mail reading (RMail) and sending (Mail), | 49 many special packages handle mail reading (RMail) and sending (Mail), |
61 outline editing (Outline), compiling (Compile), running subshells | 50 outline editing (Outline), compiling (Compile), running subshells |
62 within | 51 within |
63 .I Emacs | 52 .I Emacs |
64 windows (Shell), running a Lisp read-eval-print loop | 53 windows (Shell), running a Lisp read-eval-print loop |
65 (Lisp-Interaction-Mode), automated psychotherapy (Doctor), and much more. | 54 (Lisp-Interaction-Mode), automated psychotherapy (Doctor), and much more. |
66 .PP | |
67 There is an extensive reference manual, but | |
68 users of other Emacses | |
69 should have little trouble adapting even | |
70 without a copy. | |
71 Users new to | |
72 .I Emacs | |
73 will be able | |
74 to use basic features fairly rapidly by studying the tutorial and | |
75 using the self-documentation features. | |
76 . | 55 . |
77 .SS Emacs Options | 56 .SS Emacs Options |
78 The following options are of general interest: | 57 The following options are of general interest: |
79 .RS | 58 .RS |
80 .TP 8 | 59 .TP 8 |
107 Do not load the site-wide startup file. | 86 Do not load the site-wide startup file. |
108 .TP | 87 .TP |
109 .B \-\-no\-desktop | 88 .B \-\-no\-desktop |
110 Do not load a saved desktop. | 89 Do not load a saved desktop. |
111 .TP | 90 .TP |
112 .BR \-nl ", " \-\-no\-shared\-memory | |
113 Do not use shared memory. | |
114 .TP | |
115 .BR \-Q ", " \-\-quick | 91 .BR \-Q ", " \-\-quick |
116 Equivalent to "\-q \-\-no\-site\-file \-\-no\-splash". | 92 Similar to "\-q \-\-no\-site\-file \-\-no\-splash". Also, avoid |
93 processing X resources. | |
117 .TP | 94 .TP |
118 .B \-\-no\-splash | 95 .B \-\-no\-splash |
119 Do not display a splash screen during start-up. | 96 Do not display a splash screen during start-up. |
120 .TP | 97 .TP |
121 .B \-\-debug\-init | 98 .B \-\-debug\-init |
134 Use specified | 111 Use specified |
135 .I file | 112 .I file |
136 as the terminal instead of using stdin/stdout. | 113 as the terminal instead of using stdin/stdout. |
137 This must be the first argument specified in the command line. | 114 This must be the first argument specified in the command line. |
138 .TP | 115 .TP |
139 .BR \-\-multibyte ", " \-\-no-unibyte | 116 .B \-\-daemon |
140 Enable multibyte mode (enabled by default). | 117 Start Emacs as a daemon, enabling the Emacs server and disconnecting |
141 .TP | 118 from the terminal. You can then use the emacsclient command to |
142 .BR \-\-unibyte ", " \-\-no-multibyte | 119 connect to the server (see |
143 Enable unibyte mode. | 120 .BR emacsclient (1)). |
144 .TP | 121 .TP |
145 .B \-\-version | 122 .B \-\-version |
146 Display | 123 Display |
147 .I Emacs | 124 .I Emacs |
148 version information and exit. | 125 version information and exit. |
149 .TP | 126 .TP |
150 .B \-\-help | 127 .B \-\-help |
151 Display this help and exit. | 128 Display this help and exit. |
152 .RE | 129 .RE |
153 .PP | 130 .PP |
154 The following options are lisp-oriented | 131 The following options are Lisp-oriented |
155 (these options are processed in the order encountered): | 132 (these options are processed in the order encountered): |
156 .RS | 133 .RS |
157 .TP 8 | 134 .TP 8 |
158 .BI \-f " function\fR,\fP " \-\-funcall " function" | 135 .BI \-f " function\fR,\fP " \-\-funcall " function" |
159 Execute the lisp function | 136 Execute the lisp function |
174 .RS | 151 .RS |
175 .TP 8 | 152 .TP 8 |
176 .B \-\-batch | 153 .B \-\-batch |
177 Edit in batch mode. | 154 Edit in batch mode. |
178 The editor will send messages to stderr. | 155 The editor will send messages to stderr. |
179 This option must be the first in the argument list. | |
180 You must use \-l and \-f options to specify files to execute | 156 You must use \-l and \-f options to specify files to execute |
181 and functions to call. | 157 and functions to call. |
182 .TP | 158 .TP |
183 .BI \-\-script " file" | 159 .BI \-\-script " file" |
184 Run | 160 Run |
307 Make the first frame fullscreen. | 283 Make the first frame fullscreen. |
308 .TP | 284 .TP |
309 .BR \-fw ", " \-\-fullwidth | 285 .BR \-fw ", " \-\-fullwidth |
310 Make the first frame as wide as the screen. | 286 Make the first frame as wide as the screen. |
311 .TP | 287 .TP |
288 .BR \-mm ", " \-\-maximized | |
289 Maximize the first frame, like "\-fw \-fh". | |
290 .TP | |
312 .BI \-fg " color\fR,\fP " \-\-foreground\-color " color" | 291 .BI \-fg " color\fR,\fP " \-\-foreground\-color " color" |
313 On color displays, set the color of the text. | 292 On color displays, set the color of the text. |
314 | 293 |
315 Use the command | 294 Use the command |
316 .I M\-x list\-colors\-display | 295 .I M\-x list\-colors\-display |
347 Disable blinking cursor. | 326 Disable blinking cursor. |
348 .TP | 327 .TP |
349 .BR \-nw ", " \-\-no\-window\-system | 328 .BR \-nw ", " \-\-no\-window\-system |
350 Tell | 329 Tell |
351 .I Emacs | 330 .I Emacs |
352 not to use its special interface to X. | 331 not to create a graphical frame. |
353 If you use this switch when invoking | 332 If you use this switch when invoking |
354 .I Emacs | 333 .I Emacs |
355 from an | 334 from an |
356 .BR xterm (1) | 335 .BR xterm (1) |
357 window, display is done in that window. | 336 window, display is done in that window. |
545 .BI \- depth\fR,\fP | 524 .BI \- depth\fR,\fP |
546 where | 525 where |
547 .I depth | 526 .I depth |
548 is the number of color planes. | 527 is the number of color planes. |
549 .RE | 528 .RE |
550 .PP | |
551 If you try to set color values while using a black and white display, | |
552 the window's characteristics will default as follows: | |
553 the foreground color will be set to black, | |
554 the background color will be set to white, | |
555 the border color will be set to grey, | |
556 and the text and mouse cursors will be set to black. | |
557 . | |
558 .SS Using the Mouse | |
559 .PP | |
560 The following lists some of the mouse button bindings for the | |
561 .I Emacs | |
562 window under X11. | |
563 . | |
564 .RS | |
565 .TS | |
566 l l | |
567 - - | |
568 l l. | |
569 MOUSE BUTTON FUNCTION | |
570 left Set point. | |
571 middle Paste text. | |
572 right Cut text into X cut buffer. | |
573 SHIFT-middle Cut text into X cut buffer. | |
574 SHIFT-right Paste text. | |
575 CTRL-middle Cut text into X cut buffer and kill it. | |
576 CTRL-right T{ | |
577 Select this window, then split it into two windows. | |
578 Same as typing CTRL\-x 2. | |
579 T} | |
580 .\" START DELETING HERE IF YOU'RE NOT USING X MENUS | |
581 CTRL-SHIFT-left T{ | |
582 X buffer menu \(em hold the buttons and keys | |
583 down, wait for menu to appear, select buffer, and release. | |
584 Move mouse out of menu and release to cancel. | |
585 T} | |
586 CTRL-SHIFT-middle T{ | |
587 X help menu \(em pop up index card menu for Emacs help. | |
588 T} | |
589 .\" STOP DELETING HERE IF YOU'RE NOT USING X MENUS | |
590 CTRL-SHIFT-right T{ | |
591 Select window with mouse, and delete all other windows. | |
592 Same as typing CTRL\-x 1. | |
593 T} | |
594 .\" STOP DELETING HERE IF YOU'RE NOT USING X | |
595 .TE | |
596 .RE | |
597 . | |
598 . | 529 . |
599 .SH MANUALS | 530 .SH MANUALS |
600 You can order printed copies of the GNU Emacs Manual from the Free | 531 You can order printed copies of the GNU Emacs Manual from the Free |
601 Software Foundation, which develops GNU software. | 532 Software Foundation, which develops GNU software. |
602 See the file ORDERS for ordering information. | 533 See the file ORDERS for ordering information. |
703 . | 634 . |
704 . | 635 . |
705 .SH AUTHORS | 636 .SH AUTHORS |
706 .I Emacs | 637 .I Emacs |
707 was written by Richard Stallman and the Free Software Foundation. | 638 was written by Richard Stallman and the Free Software Foundation. |
708 Joachim Martillo and Robert Krawitz added the X features. | 639 For detailed credits and acknowledgements, see the GNU Emacs manual. |
640 . | |
709 . | 641 . |
710 . | 642 . |
711 .SH COPYING | 643 .SH COPYING |
712 Copyright | 644 Copyright |
713 .if t \(co | 645 .if t \(co |
714 .if n (C) | 646 .if n (C) |
715 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, | 647 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
716 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 648 2009, 2010 |
649 Free Software Foundation, Inc. | |
717 .PP | 650 .PP |
718 Permission is granted to make and distribute verbatim copies of this | 651 Permission is granted to make and distribute verbatim copies of this |
719 document provided the copyright notice and this permission notice are | 652 document provided the copyright notice and this permission notice are |
720 preserved on all copies. | 653 preserved on all copies. |
721 .PP | 654 .PP |