comparison man/xemacs-faq.texi @ 1138:05ed51332340

[xemacs-hg @ 2002-12-03 11:01:40 by didierv] Fixes in two texi files
author didierv
date Tue, 03 Dec 2002 11:01:44 +0000
parents 9eddcb9548e2
children 820f727b1801
comparison
equal deleted inserted replaced
1137:c6facab13185 1138:05ed51332340
5 @setchapternewpage off 5 @setchapternewpage off
6 @c %**end of header 6 @c %**end of header
7 @finalout 7 @finalout
8 @titlepage 8 @titlepage
9 @title XEmacs FAQ 9 @title XEmacs FAQ
10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2002/12/02 17:56:58 $ 10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2002/12/03 11:01:40 $
11 @sp 1 11 @sp 1
12 @author Tony Rossini <rossini@@biostat.washington.edu> 12 @author Tony Rossini <rossini@@biostat.washington.edu>
13 @author Ben Wing <ben@@xemacs.org> 13 @author Ben Wing <ben@@xemacs.org>
14 @author Chuck Thompson <cthomp@@xemacs.org> 14 @author Chuck Thompson <cthomp@@xemacs.org>
15 @author Steve Baur <steve@@xemacs.org> 15 @author Steve Baur <steve@@xemacs.org>
1406 reduced dramatically if desired. Gzip all the .el files. Remove all 1406 reduced dramatically if desired. Gzip all the .el files. Remove all
1407 the packages you'll never want to use. Remove the TexInfo manuals. 1407 the packages you'll never want to use. Remove the TexInfo manuals.
1408 Remove the Info (and use just hardcopy versions of the manual). Remove 1408 Remove the Info (and use just hardcopy versions of the manual). Remove
1409 most of the stuff in etc. Remove or gzip all the source code. Gzip or 1409 most of the stuff in etc. Remove or gzip all the source code. Gzip or
1410 remove the C source code. Configure it so that copies are not made of 1410 remove the C source code. Configure it so that copies are not made of
1411 the support lisp. 1411 the support lisp.
1412 1412
1413 These are all Emacs Lisp source code and bytecompiled object code. You 1413 These are all Emacs Lisp source code and bytecompiled object code. You
1414 may safely gzip everything named *.el here. You may remove any package 1414 may safely gzip everything named *.el here. You may remove any package
1415 you don't use. @emph{Nothing bad will happen if you delete a package 1415 you don't use. @emph{Nothing bad will happen if you delete a package
1416 that you do not use}. You must be sure you do not use it though, so be 1416 that you do not use}. You must be sure you do not use it though, so be
2555 * Q3.2.2:: How do I set the text, menu and modeline fonts? 2555 * Q3.2.2:: How do I set the text, menu and modeline fonts?
2556 * Q3.2.3:: How can I set the colors when highlighting a region? 2556 * Q3.2.3:: How can I set the colors when highlighting a region?
2557 * Q3.2.4:: How can I limit color map usage? 2557 * Q3.2.4:: How can I limit color map usage?
2558 * Q3.2.5:: My tty supports color, but XEmacs doesn't use them. 2558 * Q3.2.5:: My tty supports color, but XEmacs doesn't use them.
2559 * Q3.2.6:: Can I have pixmap backgrounds in XEmacs? 2559 * Q3.2.6:: Can I have pixmap backgrounds in XEmacs?
2560 * Q3.2.7:: How do I display non-ASCII characters?
2560 2561
2561 The Modeline: 2562 The Modeline:
2562 * Q3.3.1:: How can I make the modeline go away? 2563 * Q3.3.1:: How can I make the modeline go away?
2563 * Q3.3.2:: How do you have XEmacs display the line number in the modeline? 2564 * Q3.3.2:: How do you have XEmacs display the line number in the modeline?
2564 * Q3.3.3:: How do I get XEmacs to put the time of day on the modeline? 2565 * Q3.3.3:: How do I get XEmacs to put the time of day on the modeline?
3061 3062
3062 If your XEmacs is not Mule-enabled, and for some reason getting a 3063 If your XEmacs is not Mule-enabled, and for some reason getting a
3063 Mule-enabled XEmacs seems like the wrong thing to do, all is not lost. 3064 Mule-enabled XEmacs seems like the wrong thing to do, all is not lost.
3064 You can arrange it by brute force. In @file{event-Xt.c} (suppress the 3065 You can arrange it by brute force. In @file{event-Xt.c} (suppress the
3065 urge to look in this file---play Doom instead, because you'll survive 3066 urge to look in this file---play Doom instead, because you'll survive
3066 longer), it is written: 3067 longer), it is written:
3067 3068
3068 @quotation 3069 @quotation
3069 In a non-Mule world, a user can still have a multi-lingual editor, by 3070 In a non-Mule world, a user can still have a multi-lingual editor, by
3070 doing @code{(set-face-font "-*-iso8859-2" (current-buffer))} for all 3071 doing @code{(set-face-font "-*-iso8859-2" (current-buffer))} for all
3071 their Latin-2 buffers, etc. 3072 their Latin-2 buffers, etc.
3083 @end lisp 3084 @end lisp
3084 3085
3085 @c Starting with XEmacs 19.14 the modeline responds to mouse clicks, so if 3086 @c Starting with XEmacs 19.14 the modeline responds to mouse clicks, so if
3086 @c you haven't liked or used the modeline in the past, you might want to 3087 @c you haven't liked or used the modeline in the past, you might want to
3087 @c try the new version out. 3088 @c try the new version out.
3088 @c 3089 @c
3089 @node Q3.3.2, Q3.3.3, Q3.3.1, Customization 3090 @node Q3.3.2, Q3.3.3, Q3.3.1, Customization
3090 @unnumberedsubsec Q3.3.2: How do you have XEmacs display the line number in the modeline? 3091 @unnumberedsubsec Q3.3.2: How do you have XEmacs display the line number in the modeline?
3091 3092
3092 Add the following line to your @file{init.el}/@file{.emacs} file to 3093 Add the following line to your @file{init.el}/@file{.emacs} file to
3093 display the line number: 3094 display the line number:
3134 etc. are given in the modeline. How can I turn this off? 3135 etc. are given in the modeline. How can I turn this off?
3135 3136
3136 It's not AUC TeX, it comes from @code{func-menu} in @file{func-menu.el}. 3137 It's not AUC TeX, it comes from @code{func-menu} in @file{func-menu.el}.
3137 3138
3138 @c Add this code to your @file{init.el}/@file{.emacs} to turn it off: 3139 @c Add this code to your @file{init.el}/@file{.emacs} to turn it off:
3139 @c 3140 @c
3140 @c @lisp 3141 @c @lisp
3141 @c (setq fume-display-in-modeline-p nil) 3142 @c (setq fume-display-in-modeline-p nil)
3142 @c @end lisp 3143 @c @end lisp
3143 @c 3144 @c
3144 @c Or just add a hook to @code{TeX-mode-hook} to turn it off only for TeX 3145 @c Or just add a hook to @code{TeX-mode-hook} to turn it off only for TeX
3145 @c mode: 3146 @c mode:
3146 @c 3147 @c
3147 @c @lisp 3148 @c @lisp
3148 @c (add-hook 'TeX-mode-hook 3149 @c (add-hook 'TeX-mode-hook
3149 @c '(lambda () (setq fume-display-in-modeline-p nil))) 3150 @c '(lambda () (setq fume-display-in-modeline-p nil)))
3150 @c @end lisp 3151 @c @end lisp
3151 @c 3152 @c
3152 @email{dhughes@@origin-at.co.uk, David Hughes} writes: 3153 @email{dhughes@@origin-at.co.uk, David Hughes} writes:
3153 3154
3154 @quotation 3155 @quotation
3155 Try this; you'll still get the function name displayed in the modeline, 3156 Try this; you'll still get the function name displayed in the modeline,
3156 but it won't attempt to keep track when you modify the file. To refresh 3157 but it won't attempt to keep track when you modify the file. To refresh
3683 @unnumberedsec 3.8: The Menubar and Toolbar 3684 @unnumberedsec 3.8: The Menubar and Toolbar
3684 @unnumberedsubsec Q3.8.1: How do I get rid of the menu (or menubar)? 3685 @unnumberedsubsec Q3.8.1: How do I get rid of the menu (or menubar)?
3685 3686
3686 @c If you are running XEmacs 19.13 or earlier, add this command to your 3687 @c If you are running XEmacs 19.13 or earlier, add this command to your
3687 @c @file{init.el}/@file{.emacs}. 3688 @c @file{init.el}/@file{.emacs}.
3688 @c 3689 @c
3689 @c @lisp 3690 @c @lisp
3690 @c (set-menubar nil) 3691 @c (set-menubar nil)
3691 @c @end lisp 3692 @c @end lisp
3692 @c 3693 @c
3693 @c Starting with XEmacs 19.14 the preferred method is: 3694 @c Starting with XEmacs 19.14 the preferred method is:
3694 @c 3695 @c
3695 @lisp 3696 @lisp
3696 (set-specifier menubar-visible-p nil) 3697 (set-specifier menubar-visible-p nil)
3697 @end lisp 3698 @end lisp
3698 3699
3699 @node Q3.8.2, Q3.8.3, Q3.8.1, Customization 3700 @node Q3.8.2, Q3.8.3, Q3.8.1, Customization
3802 turn the scrollbars off only in a single buffer: 3803 turn the scrollbars off only in a single buffer:
3803 3804
3804 @lisp 3805 @lisp
3805 (set-specifier scrollbar-width 0 (current-buffer)) 3806 (set-specifier scrollbar-width 0 (current-buffer))
3806 @end lisp 3807 @end lisp
3807 @c 3808 @c
3808 @c In XEmacs versions prior to 19.14, you had to use the hairier construct: 3809 @c In XEmacs versions prior to 19.14, you had to use the hairier construct:
3809 @c 3810 @c
3810 @c @lisp 3811 @c @lisp
3811 @c (set-specifier scrollbar-width (cons (selected-frame) 0)) 3812 @c (set-specifier scrollbar-width (cons (selected-frame) 0))
3812 @c @end lisp 3813 @c @end lisp
3813 3814
3814 @node Q3.9.2, Q3.9.3, Q3.9.1, Customization 3815 @node Q3.9.2, Q3.9.3, Q3.9.1, Customization
3901 (turn-on-pending-delete)) 3902 (turn-on-pending-delete))
3902 ((fboundp 'pending-delete-on) 3903 ((fboundp 'pending-delete-on)
3903 (pending-delete-on t))) 3904 (pending-delete-on t)))
3904 @end lisp 3905 @end lisp
3905 3906
3906 Note that this will work with both Backspace and Delete. This code is a 3907 Note that this will work with both Backspace and Delete. This code is a
3907 tad more complicated than it has to be for XEmacs in order to make it 3908 tad more complicated than it has to be for XEmacs in order to make it
3908 more portable. 3909 more portable.
3909 3910
3910 @node Q3.10.3, Q3.10.4, Q3.10.2, Customization 3911 @node Q3.10.3, Q3.10.4, Q3.10.2, Customization
3911 @unnumberedsubsec Q3.10.3: Can I turn off the highlight during isearch? 3912 @unnumberedsubsec Q3.10.3: Can I turn off the highlight during isearch?
5037 (setq-default font-lock-maximum-decoration t) 5038 (setq-default font-lock-maximum-decoration t)
5038 @end lisp 5039 @end lisp
5039 5040
5040 @c In versions of XEmacs prior to 19.14, you had to use a kludgy solution 5041 @c In versions of XEmacs prior to 19.14, you had to use a kludgy solution
5041 @c like this: 5042 @c like this:
5042 @c 5043 @c
5043 @c @lisp 5044 @c @lisp
5044 @c (setq c-font-lock-keywords c-font-lock-keywords-2 5045 @c (setq c-font-lock-keywords c-font-lock-keywords-2
5045 @c c++-font-lock-keywords c++-font-lock-keywords-2 5046 @c c++-font-lock-keywords c++-font-lock-keywords-2
5046 @c lisp-font-lock-keywords lisp-font-lock-keywords-2) 5047 @c lisp-font-lock-keywords lisp-font-lock-keywords-2)
5047 @c @end lisp 5048 @c @end lisp
5048 @c 5049 @c
5049 @c It will work for C, C++ and Lisp. 5050 @c It will work for C, C++ and Lisp.
5050 @c 5051 @c
5051 See also @code{Syntax Highlighting} from the @code{Options} menu. 5052 See also @code{Syntax Highlighting} from the @code{Options} menu.
5052 Remember to save options. 5053 Remember to save options.
5053 5054
5054 @node Q5.0.4, Q5.0.5, Q5.0.3, Miscellaneous 5055 @node Q5.0.4, Q5.0.5, Q5.0.3, Miscellaneous
5055 @unnumberedsubsec Q5.0.4: How can I enable auto-indent and/or Filladapt? 5056 @unnumberedsubsec Q5.0.4: How can I enable auto-indent and/or Filladapt?
5757 (load-default-sounds) 5758 (load-default-sounds)
5758 @end lisp 5759 @end lisp
5759 5760
5760 @c The sound support in XEmacs 19.14 was greatly improved over previous 5761 @c The sound support in XEmacs 19.14 was greatly improved over previous
5761 @c versions. 5762 @c versions.
5762 @c 5763 @c
5763 @node Q5.2.3, Q5.2.4, Q5.2.2, Miscellaneous 5764 @node Q5.2.3, Q5.2.4, Q5.2.2, Miscellaneous
5764 @unnumberedsubsec Q5.2.3: What's NAS, how do I get it? 5765 @unnumberedsubsec Q5.2.3: What's NAS, how do I get it?
5765 5766
5766 @xref{Q2.0.3}, for an explanation of the @dfn{Network Audio System}. 5767 @xref{Q2.0.3}, for an explanation of the @dfn{Network Audio System}.
5767 5768
7044 @code{echo-keystrokes} can now be a floating-point number; @kbd{M-.} 7045 @code{echo-keystrokes} can now be a floating-point number; @kbd{M-.}
7045 searches exact tag matches before inexact ones; function 7046 searches exact tag matches before inexact ones; function
7046 @code{user-full-name} with no arguments returns the var 7047 @code{user-full-name} with no arguments returns the var
7047 @code{user-full-name}; a prefix arg to @kbd{M-:} and @kbd{C-h c} inserts 7048 @code{user-full-name}; a prefix arg to @kbd{M-:} and @kbd{C-h c} inserts
7048 the result in the current buffer. 7049 the result in the current buffer.
7049 7050
7050 @item 7051 @item
7051 @strong{Other changes}: Under X, new application class @samp{XEmacs}; 7052 @strong{Other changes}: Under X, new application class @samp{XEmacs};
7052 byte-compilation of user-specs now works. 7053 byte-compilation of user-specs now works.
7053 7054
7054 @item 7055 @item