9 |
@c This is used in many places |
@c This is used in many places |
10 |
@set VER 21.3 |
@set VER 21.3 |
11 |
|
|
12 |
@c The @ifinfo stuff only appears in the Info version |
@copying |
|
@ifinfo |
|
|
@dircategory Emacs |
|
|
@direntry |
|
|
* Emacs FAQ: (efaq). Frequently Asked Questions about Emacs. |
|
|
@end direntry |
|
|
|
|
13 |
Copyright 2001, 2002 Free Software Foundation, Inc. |
Copyright 2001, 2002 Free Software Foundation, Inc. |
14 |
Copyright 1994,1995,1996,1997,1998,1999,2000 Reuven M. Lerner@* |
Copyright 1994,1995,1996,1997,1998,1999,2000 Reuven M. Lerner@* |
15 |
Copyright 1992,1993 Steven Byrnes@* |
Copyright 1992,1993 Steven Byrnes@* |
16 |
Copyright 1990,1991,1992 Joseph Brian Wells@* |
Copyright 1990,1991,1992 Joseph Brian Wells@* |
17 |
|
|
18 |
|
@quotation |
19 |
This list of frequently asked questions about GNU Emacs with answers |
This list of frequently asked questions about GNU Emacs with answers |
20 |
("FAQ") may be translated into other languages, transformed into other |
("FAQ") may be translated into other languages, transformed into other |
21 |
formats (e.g. Texinfo, Info, WWW, WAIS), and updated with new information. |
formats (e.g. Texinfo, Info, WWW, WAIS), and updated with new information. |
32 |
|
|
33 |
[This version has been somewhat edited from the last-posted version |
[This version has been somewhat edited from the last-posted version |
34 |
(as of August 1999) for inclusion in the Emacs distribution.] |
(as of August 1999) for inclusion in the Emacs distribution.] |
35 |
|
@end quotation |
36 |
|
@end copying |
37 |
|
|
38 |
@end ifinfo |
@dircategory Emacs |
39 |
|
@direntry |
40 |
|
* Emacs FAQ: (efaq). Frequently Asked Questions about Emacs. |
41 |
|
@end direntry |
42 |
|
|
43 |
@c The @titlepage stuff only appears in the printed version |
@c The @titlepage stuff only appears in the printed version |
44 |
@titlepage |
@titlepage |
48 |
@c The following two commands start the copyright page. |
@c The following two commands start the copyright page. |
49 |
@page |
@page |
50 |
@vskip 0pt plus 1filll |
@vskip 0pt plus 1filll |
51 |
Copyright @copyright{} 2001,2002 Free Software Foundation, inc.@* |
@insertcopying |
|
Copyright @copyright{} 1994,1995,1996,1997,1998,1999,2000 Reuven M. Lerner@* |
|
|
Copyright @copyright{} 1992,1993 Steven Byrnes@* |
|
|
Copyright @copyright{} 1990,1991,1992 Joseph Brian Wells@* |
|
|
|
|
|
This list of frequently asked questions about GNU Emacs with answers |
|
|
("FAQ") may be translated into other languages, transformed into other |
|
|
formats (e.g. Texinfo, Info, WWW, WAIS), and updated with new information. |
|
|
|
|
|
The same conditions apply to any derivative of the FAQ as apply to the FAQ |
|
|
itself. Every copy of the FAQ must include this notice or an approved |
|
|
translation, information on who is currently maintaining the FAQ and how to |
|
|
contact them (including their e-mail address), and information on where the |
|
|
latest version of the FAQ is archived (including FTP information). |
|
|
|
|
|
The FAQ may be copied and redistributed under these conditions, except that |
|
|
the FAQ may not be embedded in a larger literary work unless that work |
|
|
itself allows free copying and redistribution. |
|
|
|
|
|
[This version has been somewhat edited from the last-posted version |
|
|
(as of August 1999) for inclusion in the Emacs distribution.] |
|
52 |
@end titlepage |
@end titlepage |
53 |
|
|
54 |
@node Top, FAQ notation, (dir), (dir) |
@node Top, FAQ notation, (dir), (dir) |
62 |
@email{emacs-faq@@lerner.co.il, the FAQ maintainers}. |
@email{emacs-faq@@lerner.co.il, the FAQ maintainers}. |
63 |
|
|
64 |
@menu |
@menu |
65 |
* FAQ notation:: |
* FAQ notation:: |
66 |
* General questions:: |
* General questions:: |
67 |
* Getting help:: |
* Getting help:: |
68 |
* Status of Emacs:: |
* Status of Emacs:: |
69 |
* Common requests:: |
* Common requests:: |
70 |
* Bugs and problems:: |
* Bugs and problems:: |
71 |
* Compiling and installing Emacs:: |
* Compiling and installing Emacs:: |
72 |
* Finding Emacs and related packages:: |
* Finding Emacs and related packages:: |
73 |
* Major packages and programs:: |
* Major packages and programs:: |
74 |
* Key bindings:: |
* Key bindings:: |
75 |
* Alternate character sets:: |
* Alternate character sets:: |
76 |
* Mail and news:: |
* Mail and news:: |
77 |
* Concept index:: |
* Concept index:: |
78 |
@end menu |
@end menu |
79 |
|
|
80 |
@c ------------------------------------------------------------ |
@c ------------------------------------------------------------ |
88 |
used in the FAQ. |
used in the FAQ. |
89 |
|
|
90 |
@menu |
@menu |
91 |
* Basic keys:: |
* Basic keys:: |
92 |
* Extended commands:: |
* Extended commands:: |
93 |
* On-line manual:: |
* On-line manual:: |
94 |
* File-name conventions:: |
* File-name conventions:: |
95 |
* Common acronyms:: |
* Common acronyms:: |
96 |
@end menu |
@end menu |
97 |
|
|
98 |
@node Basic keys, Extended commands, FAQ notation, FAQ notation |
@node Basic keys, Extended commands, FAQ notation, FAQ notation |
323 |
Free Software Foundation, and related organizations. |
Free Software Foundation, and related organizations. |
324 |
|
|
325 |
@menu |
@menu |
326 |
* The LPF:: |
* The LPF:: |
327 |
* Real meaning of copyleft:: |
* Real meaning of copyleft:: |
328 |
* Guidelines for newsgroup postings:: |
* Guidelines for newsgroup postings:: |
329 |
* Newsgroup archives:: |
* Newsgroup archives:: |
330 |
* Reporting bugs:: |
* Reporting bugs:: |
331 |
* Unsubscribing from Emacs lists:: |
* Unsubscribing from Emacs lists:: |
332 |
* Contacting the FSF:: |
* Contacting the FSF:: |
333 |
@end menu |
@end menu |
334 |
|
|
335 |
@node The LPF, Real meaning of copyleft, General questions, General questions |
@node The LPF, Real meaning of copyleft, General questions, General questions |
535 |
This chapter tells you how to get help with Emacs |
This chapter tells you how to get help with Emacs |
536 |
|
|
537 |
@menu |
@menu |
538 |
* Basic editing:: |
* Basic editing:: |
539 |
* Learning how to do something:: |
* Learning how to do something:: |
540 |
* Getting a printed manual:: |
* Getting a printed manual:: |
541 |
* Emacs Lisp documentation:: |
* Emacs Lisp documentation:: |
542 |
* Installing Texinfo documentation:: |
* Installing Texinfo documentation:: |
543 |
* Printing a Texinfo file:: |
* Printing a Texinfo file:: |
544 |
* Viewing Info files outside of Emacs:: |
* Viewing Info files outside of Emacs:: |
545 |
* Informational files for Emacs:: |
* Informational files for Emacs:: |
546 |
* Help installing Emacs:: |
* Help installing Emacs:: |
547 |
* Obtaining the FAQ:: |
* Obtaining the FAQ:: |
548 |
@end menu |
@end menu |
549 |
|
|
550 |
@node Basic editing, Learning how to do something, Getting help, Getting help |
@node Basic editing, Learning how to do something, Getting help, Getting help |
766 |
* Topic: (relative-pathname). Short description of topic. |
* Topic: (relative-pathname). Short description of topic. |
767 |
@end example |
@end example |
768 |
|
|
769 |
@end enumerate |
@end enumerate |
770 |
|
|
771 |
If you want to install Info files and you don't have the necessary |
If you want to install Info files and you don't have the necessary |
772 |
privileges, you have several options: |
privileges, you have several options: |
1065 |
latest version status. |
latest version status. |
1066 |
|
|
1067 |
@menu |
@menu |
1068 |
* Origin of the term Emacs:: |
* Origin of the term Emacs:: |
1069 |
* Latest version of Emacs:: |
* Latest version of Emacs:: |
1070 |
* New in Emacs 20:: |
* New in Emacs 20:: |
1071 |
* New in Emacs 21:: |
* New in Emacs 21:: |
1072 |
@end menu |
@end menu |
1073 |
|
|
1074 |
@node Origin of the term Emacs, Latest version of Emacs, Status of Emacs, Status of Emacs |
@node Origin of the term Emacs, Latest version of Emacs, Status of Emacs, Status of Emacs |
1142 |
@cindex Toolbar support |
@cindex Toolbar support |
1143 |
Emacs 21 features a thorough rewrite of the display engine. The new |
Emacs 21 features a thorough rewrite of the display engine. The new |
1144 |
display engine supports variable-size fonts, images, and can play sounds |
display engine supports variable-size fonts, images, and can play sounds |
1145 |
on platforms which support that. As a result, the visual appearence of |
on platforms which support that. As a result, the visual appearance of |
1146 |
Emacs, when it runs on a windowed display, is much more reminiscent of |
Emacs, when it runs on a windowed display, is much more reminiscent of |
1147 |
modern GUI programs, and includes 3D widgets (used for the mode line and |
modern GUI programs, and includes 3D widgets (used for the mode line and |
1148 |
the scroll bars), a configurable and extensible toolbar, tooltips |
the scroll bars), a configurable and extensible toolbar, tooltips |
1160 |
@cindex Common requests |
@cindex Common requests |
1161 |
|
|
1162 |
@menu |
@menu |
1163 |
* Setting up a customization file:: |
* Setting up a customization file:: |
1164 |
* Debugging a customization file:: |
* Debugging a customization file:: |
1165 |
* Colors on a TTY:: |
* Colors on a TTY:: |
1166 |
* Displaying the current line or column:: |
* Displaying the current line or column:: |
1167 |
* Displaying the current file name in the titlebar:: |
* Displaying the current file name in the titlebar:: |
1168 |
* Turning on abbrevs by default:: |
* Turning on abbrevs by default:: |
1169 |
* Turning on auto-fill by default:: |
* Turning on auto-fill by default:: |
1170 |
* Associating modes with files:: |
* Associating modes with files:: |
1171 |
* Working with unprintable characters:: |
* Working with unprintable characters:: |
1172 |
* Highlighting a region:: |
* Highlighting a region:: |
1173 |
* Controlling case sensitivity:: |
* Controlling case sensitivity:: |
1174 |
* Wrapping words automatically:: |
* Wrapping words automatically:: |
1175 |
* Spell-checkers:: |
* Spell-checkers:: |
1176 |
* Checking TeX and *roff documents:: |
* Checking TeX and *roff documents:: |
1177 |
* Changing load-path:: |
* Changing load-path:: |
1178 |
* Using an already running Emacs process:: |
* Using an already running Emacs process:: |
1179 |
* Compiler error messages:: |
* Compiler error messages:: |
1180 |
* Indenting switch statements:: |
* Indenting switch statements:: |
1181 |
* Customizing C and C++ indentation:: |
* Customizing C and C++ indentation:: |
1182 |
* Horizontal scrolling:: |
* Horizontal scrolling:: |
1183 |
* Overwrite mode:: |
* Overwrite mode:: |
1184 |
* Turning off beeping:: |
* Turning off beeping:: |
1185 |
* Turning the volume down:: |
* Turning the volume down:: |
1186 |
* Automatic indentation:: |
* Automatic indentation:: |
1187 |
* Matching parentheses:: |
* Matching parentheses:: |
1188 |
* Hiding #ifdef lines:: |
* Hiding #ifdef lines:: |
1189 |
* Repeating commands:: |
* Repeating commands:: |
1190 |
* Valid X resources:: |
* Valid X resources:: |
1191 |
* Evaluating Emacs Lisp code:: |
* Evaluating Emacs Lisp code:: |
1192 |
* Changing the length of a Tab:: |
* Changing the length of a Tab:: |
1193 |
* Inserting > at the beginning of each line:: |
* Inserting > at the beginning of each line:: |
1194 |
* Underlining paragraphs:: |
* Underlining paragraphs:: |
1195 |
* Repeating a command as many times as possible:: |
* Repeating a command as many times as possible:: |
1196 |
* Forcing the cursor to remain in the same column:: |
* Forcing the cursor to remain in the same column:: |
1197 |
* Forcing Emacs to iconify itself:: |
* Forcing Emacs to iconify itself:: |
1198 |
* Using regular expressions:: |
* Using regular expressions:: |
1199 |
* Replacing text across multiple files:: |
* Replacing text across multiple files:: |
1200 |
* Documentation for etags:: |
* Documentation for etags:: |
1201 |
* Disabling backups:: |
* Disabling backups:: |
1202 |
* Disabling auto-save-mode:: |
* Disabling auto-save-mode:: |
1203 |
* Going to a line by number:: |
* Going to a line by number:: |
1204 |
* Modifying pull-down menus:: |
* Modifying pull-down menus:: |
1205 |
* Deleting menus and menu options:: |
* Deleting menus and menu options:: |
1206 |
* Turning on syntax highlighting:: |
* Turning on syntax highlighting:: |
1207 |
* Scrolling only one line:: |
* Scrolling only one line:: |
1208 |
* Replacing highlighted text:: |
* Replacing highlighted text:: |
1209 |
* Editing MS-DOS files:: |
* Editing MS-DOS files:: |
1210 |
* Filling paragraphs with a single space:: |
* Filling paragraphs with a single space:: |
1211 |
* Escape sequences in shell output:: |
* Escape sequences in shell output:: |
1212 |
@end menu |
@end menu |
1213 |
|
|
1214 |
@node Setting up a customization file, Colors on a TTY, Common requests, Common requests |
@node Setting up a customization file, Colors on a TTY, Common requests, Common requests |
1307 |
@kbd{M-x column-number-mode}, or by putting the form |
@kbd{M-x column-number-mode}, or by putting the form |
1308 |
|
|
1309 |
@lisp |
@lisp |
1310 |
(setq column-number-mode t) |
(setq column-number-mode t) |
1311 |
@end lisp |
@end lisp |
1312 |
|
|
1313 |
@noindent |
@noindent |
1609 |
(if (@var{some conditions are met}) (server-start)) |
(if (@var{some conditions are met}) (server-start)) |
1610 |
@end lisp |
@end lisp |
1611 |
|
|
1612 |
When this is done, Emacs starts a subprocess running a program called |
When this is done, Emacs creates a Unix domain socket. |
|
@samp{emacsserver}. @samp{emacsserver} creates a Unix domain socket. |
|
1613 |
The socket is either named @file{.emacs_server}, in the user's home directory, |
The socket is either named @file{.emacs_server}, in the user's home directory, |
1614 |
or @file{esrv-@var{userid}-@var{systemname}}, in the @file{/tmp} |
or @file{esrv-@var{userid}-@var{systemname}}, in the @file{/tmp} |
1615 |
directory, depending on how @samp{emacsserver} was compiled. |
directory, depending on your system. See @code{server-socket-name}. |
1616 |
|
|
1617 |
To get your news reader, mail reader, etc., to invoke |
To get your news reader, mail reader, etc., to invoke |
1618 |
@samp{emacsclient}, try setting the environment variable @code{EDITOR} |
@samp{emacsclient}, try setting the environment variable @code{EDITOR} |
1625 |
setenv EDITOR emacsclient |
setenv EDITOR emacsclient |
1626 |
|
|
1627 |
# using full pathname |
# using full pathname |
1628 |
setenv EDITOR /usr/local/emacs/etc/emacsclient |
setenv EDITOR /usr/local/emacs/etc/emacsclient |
1629 |
|
|
1630 |
# sh command: |
# sh command: |
1631 |
EDITOR=emacsclient ; export EDITOR |
EDITOR=emacsclient ; export EDITOR |
1830 |
the documentation, available by typing @kbd{C-h f hscroll-mode @key{RET}}: |
the documentation, available by typing @kbd{C-h f hscroll-mode @key{RET}}: |
1831 |
|
|
1832 |
Automatically scroll horizontally when the point moves off the |
Automatically scroll horizontally when the point moves off the |
1833 |
left or right edge of the window. |
left or right edge of the window. |
1834 |
|
|
1835 |
@itemize @minus |
@itemize @minus |
1836 |
@item |
@item |
1848 |
|
|
1849 |
@item |
@item |
1850 |
@code{hscroll-margin} controls how close the cursor can get to the |
@code{hscroll-margin} controls how close the cursor can get to the |
1851 |
edge of the window. |
edge of the window. |
1852 |
|
|
1853 |
@item |
@item |
1854 |
@code{hscroll-step-percent} controls how far to jump once we decide to do so. |
@code{hscroll-step-percent} controls how far to jump once we decide to do so. |
1882 |
(assuming you have one): |
(assuming you have one): |
1883 |
|
|
1884 |
@example |
@example |
1885 |
... :vb=: ... |
... :vb=: ... |
1886 |
@end example |
@end example |
1887 |
|
|
1888 |
And evaluate the following Lisp form: |
And evaluate the following Lisp form: |
2115 |
@section How do I change Emacs's idea of the @key{TAB} character's length? |
@section How do I change Emacs's idea of the @key{TAB} character's length? |
2116 |
@cindex Tab length |
@cindex Tab length |
2117 |
@cindex Length of tab character |
@cindex Length of tab character |
2118 |
@cindex @code{default-tab-width} |
@cindex @code{default-tab-width} |
2119 |
|
|
2120 |
Set the variable @code{default-tab-width}. For example, to set |
Set the variable @code{default-tab-width}. For example, to set |
2121 |
@key{TAB} stops every 10 characters, insert the following in your |
@key{TAB} stops every 10 characters, insert the following in your |
2368 |
item to the @samp{Edit} menu thus requires the following Lisp code: |
item to the @samp{Edit} menu thus requires the following Lisp code: |
2369 |
|
|
2370 |
@lisp |
@lisp |
2371 |
(define-key global-map |
(define-key global-map |
2372 |
[menu-bar edit forward] |
[menu-bar edit forward] |
2373 |
'("Forward word" . forward-word)) |
'("Forward word" . forward-word)) |
2374 |
@end lisp |
@end lisp |
2375 |
|
|
2574 |
@node Scrolling only one line, Replacing highlighted text, Turning on syntax highlighting, Common requests |
@node Scrolling only one line, Replacing highlighted text, Turning on syntax highlighting, Common requests |
2575 |
@section How can I force Emacs to scroll only one line when I move past the bottom of the screen? |
@section How can I force Emacs to scroll only one line when I move past the bottom of the screen? |
2576 |
@cindex Scrolling only one line |
@cindex Scrolling only one line |
2577 |
@cindex Reducing the increment when scrollng |
@cindex Reducing the increment when scrolling |
2578 |
|
|
2579 |
Place the following Lisp form in your @file{.emacs} file: |
Place the following Lisp form in your @file{.emacs} file: |
2580 |
|
|
2588 |
@section How can I replace highlighted text with what I type? |
@section How can I replace highlighted text with what I type? |
2589 |
@cindex @code{delete-selection-mode} |
@cindex @code{delete-selection-mode} |
2590 |
@cindex Replacing highlighted text |
@cindex Replacing highlighted text |
2591 |
@cindex Highlighing and replacing text |
@cindex Highlighting and replacing text |
2592 |
|
|
2593 |
Use @code{delete-selection-mode}, which you can start automatically by |
Use @code{delete-selection-mode}, which you can start automatically by |
2594 |
placing the following Lisp form in your @file{.emacs} file: |
placing the following Lisp form in your @file{.emacs} file: |
2648 |
@end lisp |
@end lisp |
2649 |
|
|
2650 |
@node Escape sequences in shell output, , Filling paragraphs with a single space, Common requests |
@node Escape sequences in shell output, , Filling paragraphs with a single space, Common requests |
2651 |
@section Why do I get these strange escape sequences when I run |
@section Why these strange escape sequences from @code{ls} from the Shell mode? |
|
@code{ls} from the Shell mode? |
|
2652 |
@cindex Escape sequences in @code{ls} output |
@cindex Escape sequences in @code{ls} output |
2653 |
@cindex @code{ls} in Shell mode |
@cindex @code{ls} in Shell mode |
2654 |
|
|
2685 |
type @kbd{C-h P} to read it. |
type @kbd{C-h P} to read it. |
2686 |
|
|
2687 |
@menu |
@menu |
2688 |
* Problems with very large files:: |
* Problems with very large files:: |
2689 |
* ^M in the shell buffer:: |
* ^M in the shell buffer:: |
2690 |
* Shell process exits abnormally:: |
* Shell process exits abnormally:: |
2691 |
* Problems with Shell Mode on MS-Windows:: |
* Problems with Shell Mode on MS-Windows:: |
2692 |
* Termcap/Terminfo entries for Emacs:: |
* Termcap/Terminfo entries for Emacs:: |
2693 |
* Spontaneous entry into isearch-mode:: |
* Spontaneous entry into isearch-mode:: |
2694 |
* Problems talking to certain hosts:: |
* Problems talking to certain hosts:: |
2695 |
* Errors with init files:: |
* Errors with init files:: |
2696 |
* Emacs ignores X resources:: |
* Emacs ignores X resources:: |
2697 |
* Emacs ignores frame parameters:: |
* Emacs ignores frame parameters:: |
2698 |
* Emacs takes a long time to visit files:: |
* Emacs takes a long time to visit files:: |
2699 |
* Editing files with $ in the name:: |
* Editing files with $ in the name:: |
2700 |
* Shell mode loses the current directory:: |
* Shell mode loses the current directory:: |
2701 |
* Security risks with Emacs:: |
* Security risks with Emacs:: |
2702 |
* Dired claims that no file is on this line:: |
* Dired claims that no file is on this line:: |
2703 |
@end menu |
@end menu |
2704 |
|
|
2705 |
@node Problems with very large files, ^M in the shell buffer, Bugs and problems, Bugs and problems |
@node Problems with very large files, ^M in the shell buffer, Bugs and problems, Bugs and problems |
3000 |
|
|
3001 |
@item @code{XFILESEARCHPATH} |
@item @code{XFILESEARCHPATH} |
3002 |
@item @code{XUSERFILESEARCHPATH} |
@item @code{XUSERFILESEARCHPATH} |
3003 |
@item @code{XAPPLRESDIR} |
@item @code{XAPPLRESDIR} |
3004 |
|
|
3005 |
@end itemize |
@end itemize |
3006 |
|
|
3021 |
@item |
@item |
3022 |
then in the value of the @samp{XENVIRONMENT} environment variable, |
then in the value of the @samp{XENVIRONMENT} environment variable, |
3023 |
|
|
3024 |
@itemize @minus |
@itemize @minus |
3025 |
|
|
3026 |
@item |
@item |
3027 |
or if that is unset, in the file named |
or if that is unset, in the file named |
3050 |
@item |
@item |
3051 |
or in files named @file{@var{lang}/Emacs} in directories listed in |
or in files named @file{@var{lang}/Emacs} in directories listed in |
3052 |
@samp{XAPPLRESDIR} (where @var{lang} is the value of the @code{LANG} |
@samp{XAPPLRESDIR} (where @var{lang} is the value of the @code{LANG} |
3053 |
environment variable), if the @samp{LANG} environment variable is set, |
environment variable), if the @samp{LANG} environment variable is set, |
3054 |
@item |
@item |
3055 |
or in files named Emacs in the directories listed in @samp{XAPPLRESDIR} |
or in files named Emacs in the directories listed in @samp{XAPPLRESDIR} |
3056 |
@item |
@item |
3057 |
or in @file{~/@var{lang}/Emacs} (if the @code{LANG} environment variable |
or in @file{~/@var{lang}/Emacs} (if the @code{LANG} environment variable |
3058 |
is set), |
is set), |
3059 |
@item |
@item |
3060 |
or in @file{~/Emacs}, |
or in @file{~/Emacs}, |
3061 |
|
|
3062 |
@end itemize |
@end itemize |
3261 |
@cindex Compiling and installing Emacs |
@cindex Compiling and installing Emacs |
3262 |
|
|
3263 |
@menu |
@menu |
3264 |
* Installing Emacs:: |
* Installing Emacs:: |
3265 |
* Updating Emacs:: |
* Updating Emacs:: |
3266 |
* Problems building Emacs:: |
* Problems building Emacs:: |
3267 |
* Linking with -lX11 fails:: |
* Linking with -lX11 fails:: |
3268 |
@end menu |
@end menu |
3269 |
|
|
3270 |
@node Installing Emacs, Updating Emacs, Compiling and installing Emacs, Compiling and installing Emacs |
@node Installing Emacs, Updating Emacs, Compiling and installing Emacs, Compiling and installing Emacs |
3320 |
@code{gunzip} has finished doing its job, a file by the name of |
@code{gunzip} has finished doing its job, a file by the name of |
3321 |
@file{emacs-@value{VER}.tar} should be in your build directory. |
@file{emacs-@value{VER}.tar} should be in your build directory. |
3322 |
|
|
3323 |
@item |
@item |
3324 |
@code{tar}, the @dfn{tape archiving} program, which moves multiple files |
@code{tar}, the @dfn{tape archiving} program, which moves multiple files |
3325 |
into and out of archive files, or @dfn{tarfiles}. All of the files |
into and out of archive files, or @dfn{tarfiles}. All of the files |
3326 |
comprising the Emacs source come in a single tarfile, and must be |
comprising the Emacs source come in a single tarfile, and must be |
3358 |
|
|
3359 |
@example |
@example |
3360 |
cd emacs-@value{VER} # change directory to emacs-@value{VER} |
cd emacs-@value{VER} # change directory to emacs-@value{VER} |
3361 |
./configure # configure Emacs for your particular system |
./configure # configure Emacs for your particular system |
3362 |
make # use Makefile to build components, then Emacs |
make # use Makefile to build components, then Emacs |
3363 |
@end example |
@end example |
3364 |
|
|
3365 |
If the @code{make} completes successfully, the odds are fairly good that |
If the @code{make} completes successfully, the odds are fairly good that |
3467 |
@cindex Finding Emacs and related packages |
@cindex Finding Emacs and related packages |
3468 |
|
|
3469 |
@menu |
@menu |
3470 |
* Finding Emacs on the Internet:: |
* Finding Emacs on the Internet:: |
3471 |
* Finding a package with particular functionality:: |
* Finding a package with particular functionality:: |
3472 |
* Packages that do not come with Emacs:: |
* Packages that do not come with Emacs:: |
3473 |
* Submitting to the Emacs Lisp Archive:: |
* Submitting to the Emacs Lisp Archive:: |
3474 |
* Current GNU distributions:: |
* Current GNU distributions:: |
3475 |
* Difference between Emacs and XEmacs:: |
* Difference between Emacs and XEmacs:: |
3476 |
* Emacs for MS-DOS:: |
* Emacs for MS-DOS:: |
3477 |
* Emacs for Windows:: |
* Emacs for Windows:: |
3478 |
* Emacs for OS/2:: |
* Emacs for OS/2:: |
3479 |
* Emacs for Atari ST:: |
* Emacs for Atari ST:: |
3480 |
* Emacs for the Amiga :: |
* Emacs for the Amiga :: |
3481 |
* Emacs for NeXTSTEP:: |
* Emacs for NeXTSTEP:: |
3482 |
* Emacs for Apple computers:: |
* Emacs for Apple computers:: |
3483 |
* Emacs for VMS and DECwindows:: |
* Emacs for VMS and DECwindows:: |
3484 |
* Modes for various languages:: |
* Modes for various languages:: |
3485 |
* Translating names to IP addresses:: |
* Translating names to IP addresses:: |
3486 |
@end menu |
@end menu |
3487 |
|
|
3488 |
@node Finding Emacs on the Internet, Finding a package with particular functionality, Finding Emacs and related packages, Finding Emacs and related packages |
@node Finding Emacs on the Internet, Finding a package with particular functionality, Finding Emacs and related packages, Finding Emacs and related packages |
3490 |
@cindex Finding Emacs on the Internet |
@cindex Finding Emacs on the Internet |
3491 |
@cindex Snail mail, ordering Emacs via |
@cindex Snail mail, ordering Emacs via |
3492 |
@cindex Postal service, ordering Emacs via |
@cindex Postal service, ordering Emacs via |
3493 |
@cindex Distribution, retrieving Emacs |
@cindex Distribution, retrieving Emacs |
3494 |
@cindex Internet, retreiving from |
@cindex Internet, retrieving from |
3495 |
|
|
3496 |
Look in the files @file{etc/DISTRIB} and @file{etc/FTP} for information |
Look in the files @file{etc/DISTRIB} and @file{etc/FTP} for information |
3497 |
on nearby archive sites and @file{etc/ORDERS} for mail orders. If you |
on nearby archive sites and @file{etc/ORDERS} for mail orders. If you |
3506 |
@section How do I find a Emacs Lisp package that does XXX? |
@section How do I find a Emacs Lisp package that does XXX? |
3507 |
@cindex Package, finding |
@cindex Package, finding |
3508 |
@cindex Finding an Emacs Lisp package |
@cindex Finding an Emacs Lisp package |
3509 |
@cindex Functionality, finding a particular package |
@cindex Functionality, finding a particular package |
3510 |
|
|
3511 |
First of all, you should check to make sure that the package isn't |
First of all, you should check to make sure that the package isn't |
3512 |
already available. For example, typing @kbd{M-x apropos @key{RET} |
already available. For example, typing @kbd{M-x apropos @key{RET} |
3704 |
Windows 9X, Windows ME, and Windows 2000. More information is available |
Windows 9X, Windows ME, and Windows 2000. More information is available |
3705 |
from |
from |
3706 |
|
|
3707 |
@uref{http://www.simtel.net/pub/gnu/djgpp/v2gnu/emacs.README} |
@uref{http://www.simtel.net/pub/djgpp/v2gnu/emacs.README} |
3708 |
|
|
3709 |
The binary itself is available in the files @file{em*.zip} in the |
The binary itself is available in the files @file{em*.zip} in the |
3710 |
directory |
directory |
3711 |
|
|
3712 |
@uref{http://www.simtel.net/pub/gnu/djgpp/v2gnu/} |
@uref{http://www.simtel.net/pub/djgpp/v2gnu/} |
3713 |
|
|
3714 |
If you prefer to compile Emacs for yourself, you can do so with the |
If you prefer to compile Emacs for yourself, you can do so with the |
3715 |
current distribution directly. You will need a 386 (or |
current distribution directly. You will need a 386 (or |
3751 |
|
|
3752 |
16-bit utilities can be found in GNUish, at |
16-bit utilities can be found in GNUish, at |
3753 |
|
|
3754 |
@uref{http://www.simtel.net/pub/gnu/gnuish} |
@uref{http://www.simtel.net/pub/gnuish/} |
3755 |
|
|
3756 |
@noindent |
@noindent |
3757 |
(@code{mv} and @code{rm} are in the Fileutils package, @code{sed} and |
(@code{mv} and @code{rm} are in the Fileutils package, @code{sed} and |
3923 |
|
|
3924 |
@example |
@example |
3925 |
To: dns@@[134.214.84.25] (to grasp.insa-lyon.fr) |
To: dns@@[134.214.84.25] (to grasp.insa-lyon.fr) |
3926 |
Body: ip XXX.YYY.ZZZ (or "help" for more information |
Body: ip XXX.YYY.ZZZ (or "help" for more information |
3927 |
and options - no quotes) |
and options - no quotes) |
3928 |
@end example |
@end example |
3929 |
|
|
3930 |
@noindent |
@noindent |
3941 |
@cindex Major packages and programs |
@cindex Major packages and programs |
3942 |
|
|
3943 |
@menu |
@menu |
3944 |
* VM:: |
* VM:: |
3945 |
* Supercite:: |
* Supercite:: |
3946 |
* Calc:: |
* Calc:: |
3947 |
* VIPER:: |
* VIPER:: |
3948 |
* AUC-TeX:: |
* AUC-TeX:: |
3949 |
* BBDB:: |
* BBDB:: |
3950 |
* Ispell:: |
* Ispell:: |
3951 |
* w3-mode:: |
* w3-mode:: |
3952 |
* EDB:: |
* EDB:: |
3953 |
* Mailcrypt:: |
* Mailcrypt:: |
3954 |
* JDE:: |
* JDE:: |
3955 |
* Patch:: |
* Patch:: |
3956 |
@end menu |
@end menu |
3957 |
|
|
3958 |
@node VM, Supercite, Major packages and programs, Major packages and programs |
@node VM, Supercite, Major packages and programs, Major packages and programs |
4067 |
4.3 |
4.3 |
4068 |
|
|
4069 |
@item Distribution |
@item Distribution |
4070 |
@uref{ftp://archive.cis.ohio-state.edu/pub/emacs-lisp/modes/vip-mode.tar.Z} |
@uref{ftp://archive.cis.ohio-state.edu/pub/emacs-lisp/old-archive/modes/vip-mode.tar.Z} |
4071 |
|
|
4072 |
@end table |
@end table |
4073 |
|
|
4118 |
2.00 |
2.00 |
4119 |
|
|
4120 |
@item Distribution |
@item Distribution |
4121 |
@uref{http://www.netcom.com/~simmonmt/bbdb/index.html} |
@uref{http://bbdb.sf.net/} |
4122 |
|
|
4123 |
@item Mailing lists |
@item Mailing lists |
4124 |
Subscription requests to @email{info-bbdb-request@@xemacs.org}@* |
Subscription requests to @email{info-bbdb-request@@xemacs.org}@* |
4281 |
@cindex Key bindings |
@cindex Key bindings |
4282 |
|
|
4283 |
@menu |
@menu |
4284 |
* Binding keys to commands:: |
* Binding keys to commands:: |
4285 |
* Invalid prefix characters:: |
* Invalid prefix characters:: |
4286 |
* Terminal setup code works after Emacs has begun:: |
* Terminal setup code works after Emacs has begun:: |
4287 |
* Using function keys under X:: |
* Using function keys under X:: |
4288 |
* Working with function and arrow keys:: |
* Working with function and arrow keys:: |
4289 |
* X key translations for Emacs:: |
* X key translations for Emacs:: |
4290 |
* Handling C-s and C-q with flow control:: |
* Handling C-s and C-q with flow control:: |
4291 |
* Binding C-s and C-q:: |
* Binding C-s and C-q:: |
4292 |
* Backspace invokes help:: |
* Backspace invokes help:: |
4293 |
* stty and Backspace key:: |
* stty and Backspace key:: |
4294 |
* Swapping keys:: |
* Swapping keys:: |
4295 |
* Producing C-XXX with the keyboard:: |
* Producing C-XXX with the keyboard:: |
4296 |
* No Meta key:: |
* No Meta key:: |
4297 |
* No Escape key:: |
* No Escape key:: |
4298 |
* Compose Character:: |
* Compose Character:: |
4299 |
* Binding combinations of modifiers and function keys:: |
* Binding combinations of modifiers and function keys:: |
4300 |
* Meta key does not work in xterm:: |
* Meta key does not work in xterm:: |
4301 |
* ExtendChar key does not work as Meta:: |
* ExtendChar key does not work as Meta:: |
4302 |
@end menu |
@end menu |
4303 |
|
|
4304 |
@node Binding keys to commands, Invalid prefix characters, Key bindings, Key bindings |
@node Binding keys to commands, Invalid prefix characters, Key bindings, Key bindings |
4690 |
(global-set-key "\C-h" 'delete-backward-char) |
(global-set-key "\C-h" 'delete-backward-char) |
4691 |
|
|
4692 |
;;; overrides mark-whole-buffer |
;;; overrides mark-whole-buffer |
4693 |
(global-set-key "\C-xh" 'help-command) |
(global-set-key "\C-xh" 'help-command) |
4694 |
@end lisp |
@end lisp |
4695 |
|
|
4696 |
@noindent |
@noindent |
4819 |
|
|
4820 |
@lisp |
@lisp |
4821 |
;;; F11 is the documented ESC replacement on DEC terminals. |
;;; F11 is the documented ESC replacement on DEC terminals. |
4822 |
(define-key function-key-map [f11] [?\e]) |
(define-key function-key-map [f11] [?\e]) |
4823 |
@end lisp |
@end lisp |
4824 |
|
|
4825 |
@node Compose Character, Binding combinations of modifiers and function keys, No Escape key, Key bindings |
@node Compose Character, Binding combinations of modifiers and function keys, No Escape key, Key bindings |
4971 |
@cindex Alternate character sets |
@cindex Alternate character sets |
4972 |
|
|
4973 |
@menu |
@menu |
4974 |
* Emacs does not display 8-bit characters:: |
* Emacs does not display 8-bit characters:: |
4975 |
* Inputting eight-bit characters:: |
* Inputting eight-bit characters:: |
4976 |
* Kanji and Chinese characters:: |
* Kanji and Chinese characters:: |
4977 |
* Right-to-left alphabets:: |
* Right-to-left alphabets:: |
4978 |
@end menu |
@end menu |
4979 |
|
|
4980 |
@node Emacs does not display 8-bit characters, Inputting eight-bit characters, Alternate character sets, Alternate character sets |
@node Emacs does not display 8-bit characters, Inputting eight-bit characters, Alternate character sets, Alternate character sets |
5043 |
@cindex Mail and news |
@cindex Mail and news |
5044 |
|
|
5045 |
@menu |
@menu |
5046 |
* Changing the included text prefix:: |
* Changing the included text prefix:: |
5047 |
* Saving a copy of outgoing mail:: |
* Saving a copy of outgoing mail:: |
5048 |
* Expanding aliases when sending mail:: |
* Expanding aliases when sending mail:: |
5049 |
* Rmail thinks all messages are one big one:: |
* Rmail thinks all messages are one big one:: |
5050 |
* Sorting the messages in an Rmail folder:: |
* Sorting the messages in an Rmail folder:: |
5051 |
* Rmail writes to /usr/spool/mail:: |
* Rmail writes to /usr/spool/mail:: |
5052 |
* Recovering mail files when Rmail munges them:: |
* Recovering mail files when Rmail munges them:: |
5053 |
* Replying to the sender of a message:: |
* Replying to the sender of a message:: |
5054 |
* MIME with Emacs mail packages:: |
* MIME with Emacs mail packages:: |
5055 |
* Automatically starting a mail or news reader:: |
* Automatically starting a mail or news reader:: |
5056 |
* Reading news with Emacs:: |
* Reading news with Emacs:: |
5057 |
* Gnus does not work with NNTP:: |
* Gnus does not work with NNTP:: |
5058 |
* Viewing articles with embedded underlining:: |
* Viewing articles with embedded underlining:: |
5059 |
* Saving a multi-part Gnus posting:: |
* Saving a multi-part Gnus posting:: |
5060 |
* Starting Gnus faster:: |
* Starting Gnus faster:: |
5061 |
* Catching up in all newsgroups:: |
* Catching up in all newsgroups:: |
5062 |
* Killing based on nonstandard headers:: |
* Killing based on nonstandard headers:: |
5063 |
* Removing flashing messages:: |
* Removing flashing messages:: |
5064 |
* Catch-up is slow in Gnus:: |
* Catch-up is slow in Gnus:: |
5065 |
* Gnus hangs for a long time:: |
* Gnus hangs for a long time:: |
5066 |
* Learning more about Gnus:: |
* Learning more about Gnus:: |
5067 |
@end menu |
@end menu |
5068 |
|
|
5069 |
@node Changing the included text prefix, Saving a copy of outgoing mail, Mail and news, Mail and news |
@node Changing the included text prefix, Saving a copy of outgoing mail, Mail and news, Mail and news |
5262 |
@end lisp |
@end lisp |
5263 |
|
|
5264 |
@node MIME with Emacs mail packages, Automatically starting a mail or news reader, Replying to the sender of a message, Mail and news |
@node MIME with Emacs mail packages, Automatically starting a mail or news reader, Replying to the sender of a message, Mail and news |
5265 |
@section How can I get my favorite Emacs mail package to support MIME? |
@section How can I get my favorite Emacs mail package to support MIME? |
5266 |
@cindex MIME and Emacs mail packages |
@cindex MIME and Emacs mail packages |
5267 |
@cindex Mail packages and MIME |
@cindex Mail packages and MIME |
5268 |
@cindex FAQ for MIME and Emacs |
@cindex FAQ for MIME and Emacs |