Mercurial > emacs
comparison man/faq.texi @ 56817:99e9271dee93
Fix texinfo usage, esp. doublequotes.
(Difference between Emacs and XEmacs): Some clarification.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 28 Aug 2004 00:43:40 +0000 |
parents | f306b2e60578 |
children | 3e8b1ce2675a |
comparison
equal
deleted
inserted
replaced
56816:f3448e5d371d | 56817:99e9271dee93 |
---|---|
15 Copyright 1992,1993 Steven Byrnes@* | 15 Copyright 1992,1993 Steven Byrnes@* |
16 Copyright 1990,1991,1992 Joseph Brian Wells@* | 16 Copyright 1990,1991,1992 Joseph Brian Wells@* |
17 | 17 |
18 @quotation | 18 @quotation |
19 This list of frequently asked questions about GNU Emacs with answers | 19 This list of frequently asked questions about GNU Emacs with answers |
20 ("FAQ") may be translated into other languages, transformed into other | 20 (``FAQ'') may be translated into other languages, transformed into other |
21 formats (e.g. Texinfo, Info, WWW, WAIS), and updated with new information. | 21 formats (e.g. Texinfo, Info, WWW, WAIS), and updated with new information. |
22 | 22 |
23 The same conditions apply to any derivative of the FAQ as apply to the FAQ | 23 The same conditions apply to any derivative of the FAQ as apply to the FAQ |
24 itself. Every copy of the FAQ must include this notice or an approved | 24 itself. Every copy of the FAQ must include this notice or an approved |
25 translation, information on who is currently maintaining the FAQ and how to | 25 translation, information on who is currently maintaining the FAQ and how to |
904 | 904 |
905 @item COPYING | 905 @item COPYING |
906 Emacs General Public License | 906 Emacs General Public License |
907 | 907 |
908 @item DISTRIB | 908 @item DISTRIB |
909 Emacs Availability Information, including the popular "Free Software | 909 Emacs Availability Information, including the popular Free Software |
910 Foundation Order Form" | 910 Foundation Order Form |
911 | 911 |
912 @item FTP | 912 @item FTP |
913 How to get GNU Software by Internet FTP or by UUCP | 913 How to get GNU Software by Internet FTP or by UUCP |
914 | 914 |
915 @item GNU | 915 @item GNU |
933 | 933 |
934 @item SERVICE | 934 @item SERVICE |
935 GNU Service Directory | 935 GNU Service Directory |
936 | 936 |
937 @item SUN-SUPPORT | 937 @item SUN-SUPPORT |
938 including "Using Emacstool with GNU Emacs" | 938 including ``Using Emacstool with GNU Emacs'' |
939 | 939 |
940 @end table | 940 @end table |
941 | 941 |
942 Latest versions of the above files also available at | 942 Latest versions of the above files also available at |
943 | 943 |
1043 send usenet/news.answers/GNU-Emacs-FAQ/part4 | 1043 send usenet/news.answers/GNU-Emacs-FAQ/part4 |
1044 send usenet/news.answers/GNU-Emacs-FAQ/part5 | 1044 send usenet/news.answers/GNU-Emacs-FAQ/part5 |
1045 @end example | 1045 @end example |
1046 | 1046 |
1047 For more information, send email to @email{mail-server@@rtfm.mit.edu} | 1047 For more information, send email to @email{mail-server@@rtfm.mit.edu} |
1048 with "help" and "index" in the body on separate lines. | 1048 with @samp{help} and @samp{index} in the body on separate lines. |
1049 | 1049 |
1050 @item | 1050 @item |
1051 As the very last resort, you can e-mail a request to | 1051 As the very last resort, you can e-mail a request to |
1052 @email{emacs-faq@@lerner.co.il}. Don't do this unless you have made a | 1052 @email{emacs-faq@@lerner.co.il}. Don't do this unless you have made a |
1053 good-faith effort to obtain the FAQ list via one of the methods listed | 1053 good-faith effort to obtain the FAQ list via one of the methods listed |
1862 @item | 1862 @item |
1863 @code{hscroll-step-percent} controls how far to jump once we decide to do so. | 1863 @code{hscroll-step-percent} controls how far to jump once we decide to do so. |
1864 @end itemize | 1864 @end itemize |
1865 | 1865 |
1866 @node Overwrite mode, Turning off beeping, Horizontal scrolling, Common requests | 1866 @node Overwrite mode, Turning off beeping, Horizontal scrolling, Common requests |
1867 @section How do I make Emacs "typeover" or "overwrite" instead of inserting? | 1867 @section How do I make Emacs ``typeover'' or ``overwrite'' instead of inserting? |
1868 @cindex @key{Insert} | 1868 @cindex @key{Insert} |
1869 @cindex @code{overwrite-mode} | 1869 @cindex @code{overwrite-mode} |
1870 @cindex Overwriting existing text | 1870 @cindex Overwriting existing text |
1871 @cindex Toggling @code{overwrite-mode} | 1871 @cindex Toggling @code{overwrite-mode} |
1872 | 1872 |
2073 You can also use a resource editor, such as editres (for X11R5 and | 2073 You can also use a resource editor, such as editres (for X11R5 and |
2074 onwards), to look at the resource names for the menu bar, assuming Emacs | 2074 onwards), to look at the resource names for the menu bar, assuming Emacs |
2075 was compiled with the X toolkit. | 2075 was compiled with the X toolkit. |
2076 | 2076 |
2077 @node Evaluating Emacs Lisp code, Changing the length of a Tab, Valid X resources, Common requests | 2077 @node Evaluating Emacs Lisp code, Changing the length of a Tab, Valid X resources, Common requests |
2078 @section How do I execute ("evaluate") a piece of Emacs Lisp code? | 2078 @section How do I execute (``evaluate'') a piece of Emacs Lisp code? |
2079 @cindex Evaluating Lisp code | 2079 @cindex Evaluating Lisp code |
2080 @cindex Lisp forms, evaluating | 2080 @cindex Lisp forms, evaluating |
2081 | 2081 |
2082 There are a number of ways to execute (@dfn{evaluate}, in Lisp lingo) an | 2082 There are a number of ways to execute (@dfn{evaluate}, in Lisp lingo) an |
2083 Emacs Lisp @dfn{form}: | 2083 Emacs Lisp @dfn{form}: |
2160 citation for yanked mail and news messages; it is included in Emacs | 2160 citation for yanked mail and news messages; it is included in Emacs |
2161 since version 19.20. @xref{Changing the included text prefix}, for | 2161 since version 19.20. @xref{Changing the included text prefix}, for |
2162 additional information. | 2162 additional information. |
2163 | 2163 |
2164 @node Underlining paragraphs, Repeating a command as many times as possible, Inserting > at the beginning of each line, Common requests | 2164 @node Underlining paragraphs, Repeating a command as many times as possible, Inserting > at the beginning of each line, Common requests |
2165 @section How do I insert "_^H" before each character in a region to get an underlined paragraph? | 2165 @section How do I insert @samp{_^H} before each character in a region to get an underlined paragraph? |
2166 @cindex Underlining a region of text | 2166 @cindex Underlining a region of text |
2167 @cindex @code{underline-region} | 2167 @cindex @code{underline-region} |
2168 | 2168 |
2169 Mark the region and then type @kbd{M-x underline-region @key{RET}}. | 2169 Mark the region and then type @kbd{M-x underline-region @key{RET}}. |
2170 | 2170 |
2262 @cindex Disabling backups | 2262 @cindex Disabling backups |
2263 | 2263 |
2264 You probably don't want to do this, since backups are useful, especially | 2264 You probably don't want to do this, since backups are useful, especially |
2265 when something goes wrong. | 2265 when something goes wrong. |
2266 | 2266 |
2267 To avoid seeing backup files (and other "uninteresting" files) in Dired, | 2267 To avoid seeing backup files (and other ``uninteresting'' files) in Dired, |
2268 load @code{dired-x} by adding the following to your @file{.emacs} file: | 2268 load @code{dired-x} by adding the following to your @file{.emacs} file: |
2269 | 2269 |
2270 @lisp | 2270 @lisp |
2271 (add-hook 'dired-load-hook | 2271 (add-hook 'dired-load-hook |
2272 (lambda () | 2272 (lambda () |
2731 #define VALBITS 26 | 2731 #define VALBITS 26 |
2732 #define GCTYPEBITS 5 | 2732 #define GCTYPEBITS 5 |
2733 @end example | 2733 @end example |
2734 | 2734 |
2735 @noindent | 2735 @noindent |
2736 This method may result in "ILLEGAL DATATYPE" and other random errors on | 2736 This method may result in ``ILLEGAL DATATYPE'' and other random errors on |
2737 some machines. | 2737 some machines. |
2738 | 2738 |
2739 @email{daveg@@csvax.cs.caltech.edu, David Gillespie} explains how this | 2739 @email{daveg@@csvax.cs.caltech.edu, David Gillespie} explains how this |
2740 problems crops up; while his numbers are true only for pre-19.29 | 2740 problems crops up; while his numbers are true only for pre-19.29 |
2741 versions of Emacs, the theory remains the same with current versions. | 2741 versions of Emacs, the theory remains the same with current versions. |
2822 @example | 2822 @example |
2823 stty -icrnl -onlcr -echo susp ^Z | 2823 stty -icrnl -onlcr -echo susp ^Z |
2824 @end example | 2824 @end example |
2825 | 2825 |
2826 @node Shell process exits abnormally, Problems with Shell Mode on MS-Windows, ^M in the shell buffer, Bugs and problems | 2826 @node Shell process exits abnormally, Problems with Shell Mode on MS-Windows, ^M in the shell buffer, Bugs and problems |
2827 @section Why do I get "Process shell exited abnormally with code 1"? | 2827 @section Why do I get ``Process shell exited abnormally with code 1''? |
2828 @cindex Abnormal exits from @code{shell-mode} | 2828 @cindex Abnormal exits from @code{shell-mode} |
2829 @cindex @code{shell-mode} exits | 2829 @cindex @code{shell-mode} exits |
2830 @cindex Process shell exited | 2830 @cindex Process shell exited |
2831 | 2831 |
2832 The most likely reason for this message is that the @samp{env} program | 2832 The most likely reason for this message is that the @samp{env} program |
2879 Some people have trouble with Shell Mode because of intrusive | 2879 Some people have trouble with Shell Mode because of intrusive |
2880 antivirus software; disabling the resident antivirus program solves | 2880 antivirus software; disabling the resident antivirus program solves |
2881 the problems in those cases. | 2881 the problems in those cases. |
2882 | 2882 |
2883 @node Termcap/Terminfo entries for Emacs, Spontaneous entry into isearch-mode, Problems with Shell Mode on MS-Windows, Bugs and problems | 2883 @node Termcap/Terminfo entries for Emacs, Spontaneous entry into isearch-mode, Problems with Shell Mode on MS-Windows, Bugs and problems |
2884 @section Where is the termcap/terminfo entry for terminal type "emacs"? | 2884 @section Where is the termcap/terminfo entry for terminal type @samp{emacs}? |
2885 @cindex Termcap | 2885 @cindex Termcap |
2886 @cindex Terminfo | 2886 @cindex Terminfo |
2887 @cindex Emacs entries for termcap/terminfo | 2887 @cindex Emacs entries for termcap/terminfo |
2888 | 2888 |
2889 The termcap entry for terminal type @samp{emacs} is ordinarily put in | 2889 The termcap entry for terminal type @samp{emacs} is ordinarily put in |
2913 @example | 2913 @example |
2914 if ("$term" == emacs) set term=dumb | 2914 if ("$term" == emacs) set term=dumb |
2915 @end example | 2915 @end example |
2916 | 2916 |
2917 @node Spontaneous entry into isearch-mode, Problems talking to certain hosts, Termcap/Terminfo entries for Emacs, Bugs and problems | 2917 @node Spontaneous entry into isearch-mode, Problems talking to certain hosts, Termcap/Terminfo entries for Emacs, Bugs and problems |
2918 @section Why does Emacs spontaneously start displaying "I-search:" and beeping? | 2918 @section Why does Emacs spontaneously start displaying @samp{I-search:} and beeping? |
2919 @cindex Spontaneous entry into isearch-mode | 2919 @cindex Spontaneous entry into isearch-mode |
2920 @cindex isearch-mode, spontaneous entry into | 2920 @cindex isearch-mode, spontaneous entry into |
2921 @cindex Beeping without obvious reason | 2921 @cindex Beeping without obvious reason |
2922 | 2922 |
2923 Your terminal (or something between your terminal and the computer) is | 2923 Your terminal (or something between your terminal and the computer) is |
2970 properly told to do DNS lookups with the correct command line switch. | 2970 properly told to do DNS lookups with the correct command line switch. |
2971 | 2971 |
2972 @end itemize | 2972 @end itemize |
2973 | 2973 |
2974 @node Errors with init files, Emacs ignores X resources, Problems talking to certain hosts, Bugs and problems | 2974 @node Errors with init files, Emacs ignores X resources, Problems talking to certain hosts, Bugs and problems |
2975 @section Why does Emacs say "Error in init file"? | 2975 @section Why does Emacs say @samp{Error in init file}? |
2976 @cindex Error in @file{.emacs} | 2976 @cindex Error in @file{.emacs} |
2977 @cindex Error in init file | 2977 @cindex Error in init file |
2978 @cindex Init file, errors in | 2978 @cindex Init file, errors in |
2979 @cindex @file{.emacs} file, errors in | 2979 @cindex @file{.emacs} file, errors in |
2980 @cindex Debugging @file{.emacs} file | 2980 @cindex Debugging @file{.emacs} file |
3236 @end example | 3236 @end example |
3237 | 3237 |
3238 @end itemize | 3238 @end itemize |
3239 | 3239 |
3240 @node Dired claims that no file is on this line, , Security risks with Emacs, Bugs and problems | 3240 @node Dired claims that no file is on this line, , Security risks with Emacs, Bugs and problems |
3241 @section Dired says, "no file on this line" when I try to do something. | 3241 @section Dired says, @samp{no file on this line} when I try to do something. |
3242 @cindex Dired does not see a file | 3242 @cindex Dired does not see a file |
3243 | 3243 |
3244 @c FIXME: I think this is fixed in Emacs 21, but I didn't have time to | 3244 @c FIXME: I think this is fixed in Emacs 21, but I didn't have time to |
3245 @c check. | 3245 @c check. |
3246 Chances are you're using a localized version of Unix that doesn't use US | 3246 Chances are you're using a localized version of Unix that doesn't use US |
3439 | 3439 |
3440 Emacs needs to be linked with the static version of the X11 library, | 3440 Emacs needs to be linked with the static version of the X11 library, |
3441 @file{libX11.a}. This may be missing. | 3441 @file{libX11.a}. This may be missing. |
3442 | 3442 |
3443 On OpenWindows, you may need to use @code{add_services} to add the | 3443 On OpenWindows, you may need to use @code{add_services} to add the |
3444 "OpenWindows Programmers" optional software category from the CD-ROM. | 3444 ``OpenWindows Programmers'' optional software category from the CD-ROM. |
3445 | 3445 |
3446 On HP-UX 8.0, you may need to run @code{update} again to load the | 3446 On HP-UX 8.0, you may need to run @code{update} again to load the |
3447 X11-PRG ``fileset''. This may be missing even if you specified ``all | 3447 X11-PRG ``fileset''. This may be missing even if you specified ``all |
3448 filesets'' the first time. If @file{libcurses.a} is missing, you may | 3448 filesets'' the first time. If @file{libcurses.a} is missing, you may |
3449 need to load the ``Berkeley Development Option.'' | 3449 need to load the ``Berkeley Development Option.'' |
3578 A list of sites mirroring @samp{ftp.gnu.org} can be found at | 3578 A list of sites mirroring @samp{ftp.gnu.org} can be found at |
3579 | 3579 |
3580 @uref{http://www.gnu.org/order/ftp.html} | 3580 @uref{http://www.gnu.org/order/ftp.html} |
3581 | 3581 |
3582 @node Difference between Emacs and XEmacs, Emacs for MS-DOS, Current GNU distributions, Finding Emacs and related packages | 3582 @node Difference between Emacs and XEmacs, Emacs for MS-DOS, Current GNU distributions, Finding Emacs and related packages |
3583 @section What is the difference between Emacs and XEmacs (formerly "Lucid Emacs")? | 3583 @section What is the difference between Emacs and XEmacs (formerly Lucid Emacs)? |
3584 @cindex XEmacs | 3584 @cindex XEmacs |
3585 @cindex Difference Emacs and XEmacs | 3585 @cindex Difference Emacs and XEmacs |
3586 @cindex Lucid Emacs | 3586 @cindex Lucid Emacs |
3587 @cindex Epoch | 3587 @cindex Epoch |
3588 | 3588 |
3589 XEmacs is a branch version of Emacs. It was earlier called as Lucid | 3589 XEmacs is a branch version of Emacs. It was first called Lucid Emacs, |
3590 Emacs, and it was based on a prerelease version of Emacs 19. In this | 3590 and was initially derived from a prerelease version of Emacs 19. In |
3591 FAQ, we use the name ``Emacs'' only for the official version. | 3591 this FAQ, we use the name ``Emacs'' only for the official version. |
3592 | 3592 |
3593 Emacs and XEmacs each come with Lisp packages that are lacking in the | 3593 Emacs and XEmacs each come with Lisp packages that are lacking in the |
3594 other. The two versions have some significant differences at the Lisp | 3594 other. The two versions have some significant differences at the Lisp |
3595 programming level. Many XEmacs features have found their way into | 3595 programming level. Their current features are roughly comparable, |
3596 recent versions of Emacs, and more features can be expected in the | 3596 though the support for some operating systems, character sets and |
3597 future, but there are still many differences between the two. | 3597 specific packages might be quite different. |
3598 | 3598 |
3599 We have used some of the code in XEmacs, and would like to use other | 3599 Some XEmacs code has been contributed to Emacs, and we would like to |
3600 parts, but the earlier XEmacs maintainers did not always keep track of | 3600 use other parts, but the earlier XEmacs maintainers did not always |
3601 the authors of contributed code, which makes it impossible for the FSF | 3601 keep track of the authors of contributed code, which makes it |
3602 to get copyright papers signed for that code. (The FSF requires these | 3602 impossible for the FSF to get copyright papers signed for that code. |
3603 papers for all the code included in the Emacs release, aside from | 3603 (The FSF requires these papers for all the code included in the Emacs |
3604 generic C support packages that retain their separate identity and are | 3604 release, aside from generic C support packages that retain their |
3605 not integrated into the code of Emacs proper.) | 3605 separate identity and are not integrated into the code of Emacs |
3606 proper.) | |
3606 | 3607 |
3607 If you want to talk about these two versions and distinguish them, | 3608 If you want to talk about these two versions and distinguish them, |
3608 please call them ``Emacs'' and ``XEmacs.'' To contrast ``XEmacs'' | 3609 please call them ``Emacs'' and ``XEmacs.'' To contrast ``XEmacs'' |
3609 with ``GNU Emacs'' would be misleading, since XEmacs too has its | 3610 with ``GNU Emacs'' would be misleading, since XEmacs too has its |
3610 origin in the GNU Project. | 3611 origin in the work of the GNU Project. Terms such as ``Emacsen'' and |
3612 ``(X)Emacs'' are not wrong, but they are not very clear, so it | |
3613 is better to write ``Emacs and XEmacs.'' | |
3611 | 3614 |
3612 @node Emacs for MS-DOS, Emacs for Windows, Difference between Emacs and XEmacs, Finding Emacs and related packages | 3615 @node Emacs for MS-DOS, Emacs for Windows, Difference between Emacs and XEmacs, Finding Emacs and related packages |
3613 @section Where can I get Emacs for my PC running MS-DOS? | 3616 @section Where can I get Emacs for my PC running MS-DOS? |
3614 @cindex MS-DOS, Emacs for | 3617 @cindex MS-DOS, Emacs for |
3615 @cindex DOS, Emacs for | 3618 @cindex DOS, Emacs for |
3681 The files @file{INSTALL} (near its end) and @file{etc/PROBLEMS} in the | 3684 The files @file{INSTALL} (near its end) and @file{etc/PROBLEMS} in the |
3682 directory of the Emacs sources contains some additional information | 3685 directory of the Emacs sources contains some additional information |
3683 regarding Emacs under MS-DOS. | 3686 regarding Emacs under MS-DOS. |
3684 | 3687 |
3685 For a list of other MS-DOS implementations of Emacs (and Emacs | 3688 For a list of other MS-DOS implementations of Emacs (and Emacs |
3686 look-alikes), consult the list of "Emacs implementations and literature," | 3689 look-alikes), consult the list of ``Emacs implementations and literature,'' |
3687 available at | 3690 available at |
3688 | 3691 |
3689 @uref{ftp://rtfm.mit.edu/pub/usenet/comp.emacs/} | 3692 @uref{ftp://rtfm.mit.edu/pub/usenet/comp.emacs/} |
3690 | 3693 |
3691 Note that while many of these programs look similar to Emacs, they often | 3694 Note that while many of these programs look similar to Emacs, they often |
3766 @node Emacs for Apple computers, Emacs for VMS and DECwindows, Emacs for NeXTSTEP, Finding Emacs and related packages | 3769 @node Emacs for Apple computers, Emacs for VMS and DECwindows, Emacs for NeXTSTEP, Finding Emacs and related packages |
3767 @section Where can I get Emacs for my Apple computer? | 3770 @section Where can I get Emacs for my Apple computer? |
3768 @cindex Apple computers, Emacs for | 3771 @cindex Apple computers, Emacs for |
3769 @cindex Macintosh, Emacs for | 3772 @cindex Macintosh, Emacs for |
3770 | 3773 |
3771 An unofficial port of GNU Emacs 18.59 to the Macintosh is available at a | |
3772 number of ftp sites, the home being | |
3773 @uref{ftp://ftp.cs.cornell.edu/pub/parmet/Emacs-1.17.sit.bin}. | |
3774 | |
3775 A port of Emacs 20.4 is available at | |
3776 @uref{http://www.cs.hku.hk/~choi/emacs/index.html}. | |
3777 | |
3778 Beginning with version 21.1, the Macintosh is supported in the official | 3774 Beginning with version 21.1, the Macintosh is supported in the official |
3779 Emacs distribution; see the files @file{mac/README} and | 3775 Emacs distribution; see the files @file{mac/README} and |
3780 @file{mac/INSTALL} in the Emacs distribution for build instructions. | 3776 @file{mac/INSTALL} in the Emacs distribution for build instructions. |
3781 | 3777 |
3782 Apple's forthcoming "OS X" is based largely on NeXTSTEP and OpenStep. | 3778 Apple's ``OS X'' is based largely on NeXTSTEP and OpenStep. |
3783 @xref{Emacs for NeXTSTEP}, for more details about that version. | 3779 @xref{Emacs for NeXTSTEP}, for more details about that version. |
3784 | 3780 |
3785 @node Emacs for VMS and DECwindows, Modes for various languages, Emacs for Apple computers, Finding Emacs and related packages | 3781 @node Emacs for VMS and DECwindows, Modes for various languages, Emacs for Apple computers, Finding Emacs and related packages |
3786 @section Where do I get Emacs that runs on VMS under DECwindows? | 3782 @section Where do I get Emacs that runs on VMS under DECwindows? |
3787 @cindex DECwindows, Emacs for | 3783 @cindex DECwindows, Emacs for |
4172 @uref{http://sunsite.auc.dk/jde/} | 4168 @uref{http://sunsite.auc.dk/jde/} |
4173 | 4169 |
4174 @end table | 4170 @end table |
4175 | 4171 |
4176 @node Patch, , JDE, Major packages and programs | 4172 @node Patch, , JDE, Major packages and programs |
4177 @section Patch --- program to apply "diffs" for updating files | 4173 @section Patch --- program to apply ``diffs'' for updating files |
4178 @cindex Updating files with diffs | 4174 @cindex Updating files with diffs |
4179 @cindex Patching source files with diffs | 4175 @cindex Patching source files with diffs |
4180 @cindex Diffs and patching | 4176 @cindex Diffs and patching |
4181 @cindex @file{patch} | 4177 @cindex @file{patch} |
4182 | 4178 |
4245 (global-set-key (quote [f1]) (quote help-for-help)) | 4241 (global-set-key (quote [f1]) (quote help-for-help)) |
4246 @end lisp | 4242 @end lisp |
4247 | 4243 |
4248 @noindent | 4244 @noindent |
4249 can be placed directly into the @file{.emacs} file. If the key binding is | 4245 can be placed directly into the @file{.emacs} file. If the key binding is |
4250 local, the command is used in conjunction with the "add-hook" command. | 4246 local, the command is used in conjunction with the @samp{add-hook} function. |
4251 For example, in tex-mode, a local binding might be | 4247 For example, in TeX mode, a local binding might be |
4252 | 4248 |
4253 @lisp | 4249 @lisp |
4254 (add-hook 'tex-mode-hook | 4250 (add-hook 'tex-mode-hook |
4255 (lambda () | 4251 (lambda () |
4256 (local-set-key (quote [f1]) (quote help-for-help)))) | 4252 (local-set-key (quote [f1]) (quote help-for-help)))) |
4285 @end lisp | 4281 @end lisp |
4286 | 4282 |
4287 @end itemize | 4283 @end itemize |
4288 | 4284 |
4289 @node Invalid prefix characters, Terminal setup code works after Emacs has begun, Binding keys to commands, Key bindings | 4285 @node Invalid prefix characters, Terminal setup code works after Emacs has begun, Binding keys to commands, Key bindings |
4290 @section Why does Emacs say "Key sequence XXX uses invalid prefix characters"? | 4286 @section Why does Emacs say @samp{Key sequence XXX uses invalid prefix characters}? |
4291 @cindex Prefix characters, invalid | 4287 @cindex Prefix characters, invalid |
4292 @cindex Invalid prefix characters | 4288 @cindex Invalid prefix characters |
4293 @cindex Misspecified key sequences | 4289 @cindex Misspecified key sequences |
4294 | 4290 |
4295 Usually, one of two things has happened. In one case, the control | 4291 Usually, one of two things has happened. In one case, the control |
4680 @section How do I produce C-XXX with my keyboard? | 4676 @section How do I produce C-XXX with my keyboard? |
4681 @cindex Producing control characters | 4677 @cindex Producing control characters |
4682 @cindex Generating control characters | 4678 @cindex Generating control characters |
4683 @cindex Control characters, generating | 4679 @cindex Control characters, generating |
4684 | 4680 |
4685 On terminals (but not under X), some common "aliases" are: | 4681 On terminals (but not under X), some common ``aliases'' are: |
4686 | 4682 |
4687 @table @asis | 4683 @table @asis |
4688 | 4684 |
4689 @item @kbd{C-2} or @kbd{C-@key{SPC}} | 4685 @item @kbd{C-2} or @kbd{C-@key{SPC}} |
4690 @kbd{C-@@} | 4686 @kbd{C-@@} |