comparison man/xemacs-faq.texi @ 227:0e522484dd2a r20-5b12

Import from CVS: tag r20-5b12
author cvs
date Mon, 13 Aug 2007 10:12:37 +0200
parents d44af0c54775
children c5d627a313b1
comparison
equal deleted inserted replaced
226:eea38c7ad7b4 227:0e522484dd2a
6 @c %**end of header 6 @c %**end of header
7 7
8 @titlepage 8 @titlepage
9 @title XEmacs FAQ 9 @title XEmacs FAQ
10 @subtitle Frequently asked questions about XEmacs 10 @subtitle Frequently asked questions about XEmacs
11 @subtitle Last Modified: 1997-11-21 14:09:42 EET 11 @subtitle Last Modified: 1997-12-04 02:05:05 EET
12 @sp 1 12 @sp 1
13 @author Tony Rossini <arossini@@stat.sc.edu> 13 @author Tony Rossini <arossini@@stat.sc.edu>
14 @author Ben Wing <wing@@666.com> 14 @author Ben Wing <wing@@666.com>
15 @author Chuck Thompson <cthomp@@xemacs.org> 15 @author Chuck Thompson <cthomp@@xemacs.org>
16 @author Steve Baur <steve@@xemacs.org> 16 @author Steve Baur <steve@@xemacs.org>
413 @section What is XEmacs? 413 @section What is XEmacs?
414 414
415 An alternative to GNU Emacs, originally based on an early alpha version 415 An alternative to GNU Emacs, originally based on an early alpha version
416 of FSF's version 19, and has diverged quite a bit since then. XEmacs 416 of FSF's version 19, and has diverged quite a bit since then. XEmacs
417 was known as Lucid Emacs through version 19.10. Almost all features of 417 was known as Lucid Emacs through version 19.10. Almost all features of
418 GNU Emacs are supported in XEmacs The maintainers of XEmacs actively 418 GNU Emacs are supported in XEmacs. The maintainers of XEmacs actively
419 track changes to GNU Emacs while also working to add new features. 419 track changes to GNU Emacs while also working to add new features.
420 420
421 @node Q1.0.2, Q1.0.3, Q1.0.1, Introduction 421 @node Q1.0.2, Q1.0.3, Q1.0.1, Introduction
422 @section What is the current version of XEmacs? 422 @section What is the current version of XEmacs?
423 423
746 746
747 @itemize @bullet 747 @itemize @bullet
748 @item SL Baur <steve@@xemacs.org> 748 @item SL Baur <steve@@xemacs.org>
749 749
750 @item Hrvoje Niksic <hniksic@@srce.hr> 750 @item Hrvoje Niksic <hniksic@@srce.hr>
751
752 @item Aki Vehtari <Aki.Vehtari@@hut.fi>
751 753
752 @end itemize 754 @end itemize
753 755
754 @node Q1.2.3, Q1.3.1, Q1.2.2, Introduction 756 @node Q1.2.3, Q1.3.1, Q1.2.2, Introduction
755 @section Who contributed to the FAQ in the past? 757 @section Who contributed to the FAQ in the past?
1141 options directly to @file{.emacs} which should allow us to deal with 1143 options directly to @file{.emacs} which should allow us to deal with
1142 version incompatibilities better in the future. 1144 version incompatibilities better in the future.
1143 1145
1144 Options saved under XEmacs 19.13 are protected by code that specifically 1146 Options saved under XEmacs 19.13 are protected by code that specifically
1145 requires a version 19 XEmacs. This won't be a problem unless you're 1147 requires a version 19 XEmacs. This won't be a problem unless you're
1146 testing XEmacs v20. You should consider changing the code to read: 1148 using XEmacs v20. You should consider changing the code to read:
1147 1149
1148 @lisp 1150 @lisp
1149 (cond 1151 (cond
1150 ((and (string-match "XEmacs" emacs-version) 1152 ((and (string-match "XEmacs" emacs-version)
1151 (boundp 'emacs-major-version) 1153 (boundp 'emacs-major-version)
1399 directory, e.g., the termcap files, some O+NEWS, others that I don't 1401 directory, e.g., the termcap files, some O+NEWS, others that I don't
1400 remember as well. 1402 remember as well.
1401 @end quotation 1403 @end quotation
1402 1404
1403 @quotation 1405 @quotation
1404 XEmacs 20.3 will unbundle the lisp hierarchy and allow the installer 1406 XEmacs 20.5 will unbundle the lisp hierarchy and allow the installer
1405 to choose exactly how much support code gets installed. 1407 to choose exactly how much support code gets installed.
1406 @end quotation 1408 @end quotation
1407 1409
1408 @node Q2.0.3, Q2.0.4, Q2.0.2, Installation 1410 @node Q2.0.3, Q2.0.4, Q2.0.2, Installation
1409 @section Compiling XEmacs with Netaudio. 1411 @section Compiling XEmacs with Netaudio.
3069 @node Q3.4.2, Q3.5.1, Q3.4.1, Customization 3071 @node Q3.4.2, Q3.5.1, Q3.4.1, Customization
3070 @section Can I really connect to a running XEmacs after calling up over a modem? How? 3072 @section Can I really connect to a running XEmacs after calling up over a modem? How?
3071 3073
3072 If you're not running at least XEmacs 19.14, you can't. Otherwise check 3074 If you're not running at least XEmacs 19.14, you can't. Otherwise check
3073 out the @code{gnuattach} program supplied with XEmacs. Starting with 3075 out the @code{gnuattach} program supplied with XEmacs. Starting with
3074 XEmacs 20.3, @code{gnuattach} and @code{gnudoit} functionality will be 3076 XEmacs 20.3, @code{gnuattach} and @code{gnudoit} functionality is
3075 provided by @code{gnuclient}. 3077 provided by @code{gnuclient}.
3078
3079 Also @xref{Q5.0.12}.
3076 3080
3077 @node Q3.5.1, Q3.5.2, Q3.4.2, Customization 3081 @node Q3.5.1, Q3.5.2, Q3.4.2, Customization
3078 @section How can I bind complex functions (or macros) to keys? 3082 @section How can I bind complex functions (or macros) to keys?
3079 3083
3080 As an example, say you want the @kbd{paste} key on a Sun keyboard to 3084 As an example, say you want the @kbd{paste} key on a Sun keyboard to
3161 3165
3162 (global-set-key 'delete 'foo) 3166 (global-set-key 'delete 'foo)
3163 @end lisp 3167 @end lisp
3164 3168
3165 However, some modes explicitly bind @kbd{Delete}, so you would need to 3169 However, some modes explicitly bind @kbd{Delete}, so you would need to
3166 add a hook that does @code{local-set-key} for them. If what you want to 3170 add a hook that does @code{local-set-key} for them. If what you want to
3167 do is make the Backspace and Delete keys work more PC/Motif-like, then 3171 do is make the Backspace and Delete keys work more PC/Motif-like, then
3168 take a look at the @file{delbs.el} package. 3172 take a look at the @file{delbs.el} package.
3169 3173
3170 New in XEmacs 19.14 is a variable called @code{key-translation-map} 3174 New in XEmacs 19.14 is a variable called @code{key-translation-map}
3171 which makes it easier to bind @kbd{Delete}. @file{delbs.el} is a 3175 which makes it easier to bind @kbd{Delete}. @file{delbs.el} is a
3172 good example of how to do this correctly. 3176 good example of how to do this correctly.
3173 3177
3174 Also @xref{Q3.5.10}. 3178 Also @xref{Q3.5.10}.
3175 3179
3176 @node Q3.5.5, Q3.5.6, Q3.5.4, Customization 3180 @node Q3.5.5, Q3.5.6, Q3.5.4, Customization
3201 3205
3202 @lisp 3206 @lisp
3203 (setq scroll-step 1) 3207 (setq scroll-step 1)
3204 @end lisp 3208 @end lisp
3205 3209
3206 You can change this also with Customize. 3210 Starting with XEmacs-20.3 you can also change this with Customize.
3207 Select from the @code{Options} menu 3211 Select from the @code{Options} menu
3208 @code{Customize->Emacs->Environment->Windows->Scroll Step...} 3212 @code{Customize->Emacs->Environment->Windows->Scroll Step...} or type
3209 or type @kbd{M-x customize RET windows RET}. 3213 @kbd{M-x customize RET windows RET}.
3210 3214
3211 @node Q3.5.6, Q3.5.7, Q3.5.5, Customization 3215 @node Q3.5.6, Q3.5.7, Q3.5.5, Customization
3212 @section How to map @kbd{Help} key alone on Sun type4 keyboard? 3216 @section How to map @kbd{Help} key alone on Sun type4 keyboard?
3213 3217
3214 The following works in GNU Emacs 19: 3218 The following works in GNU Emacs 19:
3235 the null binding @code{OpenWindows.KeyboardCommand.Help:}. 3239 the null binding @code{OpenWindows.KeyboardCommand.Help:}.
3236 3240
3237 @node Q3.5.7, Q3.5.8, Q3.5.6, Customization 3241 @node Q3.5.7, Q3.5.8, Q3.5.6, Customization
3238 @section How can you type in special characters in XEmacs? 3242 @section How can you type in special characters in XEmacs?
3239 3243
3240 One way is to use the package @samp{x-compose}. Then you can use 3244 One way is to use the package @code{x-compose}. Then you can use
3241 sequences like @kbd{Compose " a} to get ä, etc. 3245 sequences like @kbd{Compose " a} to get ä, etc.
3242 3246
3243 Another way is to use the iso-ascii package, provided in XEmacs 19.15 3247 Another way is to use the @code{iso-insert} package, provided in XEmacs
3244 and later. 3248 19.15 and later. Then you can use sequences like @kbd{C-x 8 " a} to get
3249 ä, etc.
3245 3250
3246 @node Q3.5.8, Q3.5.9, Q3.5.7, Customization 3251 @node Q3.5.8, Q3.5.9, Q3.5.7, Customization
3247 @section Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? 3252 @section Why does @code{(global-set-key [delete-forward] 'delete-char)} complain?
3248 3253
3249 Why does @code{(define-key global-map [ delete-forward ] 'delete-char)} 3254 Why does @code{(define-key global-map [ delete-forward ] 'delete-char)}
3268 This bug has been fixed in 19.14. 3273 This bug has been fixed in 19.14.
3269 3274
3270 @node Q3.5.9, Q3.5.10, Q3.5.8, Customization 3275 @node Q3.5.9, Q3.5.10, Q3.5.8, Customization
3271 @section How do I make the Delete key delete forward? 3276 @section How do I make the Delete key delete forward?
3272 3277
3273 Use the @file{delbs} package: 3278 With XEmacs-20.2 use the @code{delbs} package:
3274 3279
3275 @lisp 3280 @lisp
3276 (require 'delbs) 3281 (require 'delbs)
3277 @end lisp 3282 @end lisp
3278 3283
3279 This will give you the functions @code{delbs-enable-delete-forward} to 3284 This will give you the functions @code{delbs-enable-delete-forward} to
3280 set things up, and @code{delbs-disable-delete-forward} to revert to 3285 set things up, and @code{delbs-disable-delete-forward} to revert to
3281 ``normal'' behavior. 3286 ``normal'' behavior. Note that @code{delbackspace} package is obsolete.
3282 3287
3283 You can change this also with Customize. 3288 Starting with XEmacs-20.3 better solution is to set variable
3284 Select from the @code{Options} menu 3289 @code{delete-key-deletes-forward} to t. You can also change this with
3285 @code{Customize->Emacs->Editing->Basics->Delete Key Deletes Forward} 3290 Customize. Select from the @code{Options} menu
3286 or type @kbd{M-x customize RET editing-basics RET}. 3291 @code{Customize->Emacs->Editing->Basics->Delete Key Deletes Forward} or
3292 type @kbd{M-x customize RET editing-basics RET}.
3287 3293
3288 Also @xref{Q3.5.4}. 3294 Also @xref{Q3.5.4}.
3289 3295
3290 @node Q3.5.10, Q3.6.1, Q3.5.9, Customization 3296 @node Q3.5.10, Q3.6.1, Q3.5.9, Customization
3291 @section Can I turn on @dfn{sticky} modifier keys? 3297 @section Can I turn on @dfn{sticky} modifier keys?
3318 3324
3319 @lisp 3325 @lisp
3320 (setq bar-cursor 'anything-else) 3326 (setq bar-cursor 'anything-else)
3321 @end lisp 3327 @end lisp
3322 3328
3323 You can also change these with Customize. 3329 Starting with XEmacs-20.3 you can also change these with Customize.
3324 Select from the @code{Options} menu 3330 Select from the @code{Options} menu
3325 @code{Customize->Emacs->Environment->Display->Bar Cursor...} 3331 @code{Customize->Emacs->Environment->Display->Bar Cursor...} or type
3326 or type @kbd{M-x customize RET display RET}. 3332 @kbd{M-x customize RET display RET}.
3327 3333
3328 You can use a color to make it stand out better: 3334 You can use a color to make it stand out better:
3329 3335
3330 @example 3336 @example
3331 Emacs*cursorColor: Red 3337 Emacs*cursorColor: Red
3336 3342
3337 @lisp 3343 @lisp
3338 (setq bar-cursor nil) 3344 (setq bar-cursor nil)
3339 @end lisp 3345 @end lisp
3340 3346
3341 You can also change this with Customize. 3347 Starting with XEmacs-20.3 you can also change this with Customize.
3342 Select from the @code{Options} menu 3348 Select from the @code{Options} menu
3343 @code{Customize->Emacs->Environment->Display->Bar Cursor...} 3349 @code{Customize->Emacs->Environment->Display->Bar Cursor...} or type
3344 or type @kbd{M-x customize RET display RET}. 3350 @kbd{M-x customize RET display RET}.
3345 3351
3346 @node Q3.6.3, Q3.7.1, Q3.6.2, Customization 3352 @node Q3.6.3, Q3.7.1, Q3.6.2, Customization
3347 @section Can I make the cursor blink? 3353 @section Can I make the cursor blink?
3348 3354
3349 If you are running a version of XEmacs older than 19.14, no. Otherwise 3355 If you are running a version of XEmacs older than 19.14, no. Otherwise
3353 (blink-cursor-mode) 3359 (blink-cursor-mode)
3354 @end lisp 3360 @end lisp
3355 3361
3356 This function toggles between a steady cursor and a blinking cursor. 3362 This function toggles between a steady cursor and a blinking cursor.
3357 You may also set this mode from the menu bar by selecting @samp{Options 3363 You may also set this mode from the menu bar by selecting @samp{Options
3358 => Frame Appearance => Blinking Cursor}. 3364 => Frame Appearance => Blinking Cursor}. Remember to save options.
3359 3365
3360 @node Q3.7.1, Q3.7.2, Q3.6.3, Customization 3366 @node Q3.7.1, Q3.7.2, Q3.6.3, Customization
3361 @section How can I turn off Mouse pasting? 3367 @section How can I turn off Mouse pasting?
3362 3368
3363 I keep hitting the middle mouse button by accident and getting stuff 3369 I keep hitting the middle mouse button by accident and getting stuff
3378 @end lisp 3384 @end lisp
3379 3385
3380 @node Q3.7.2, Q3.7.3, Q3.7.1, Customization 3386 @node Q3.7.2, Q3.7.3, Q3.7.1, Customization
3381 @section How do I set control/meta/etc modifiers on mouse buttons? 3387 @section How do I set control/meta/etc modifiers on mouse buttons?
3382 3388
3383 Use, for instance, @code{[(meta button1)]}. For example, here is a 3389 Use, for instance, @code{[(meta button1)]}. For example, here is a common
3384 common setting for Common Lisp programmers who use the bundled ilisp 3390 setting for Common Lisp programmers who use the bundled @code{ilisp}
3385 package, whereby meta-button1 on a function name will find the file 3391 package, whereby meta-button1 on a function name will find the file where
3386 where the function name was defined, and put you at that location in the 3392 the function name was defined, and put you at that location in the source
3387 source file. 3393 file.
3388 3394
3389 [Inside a function that gets called by the lisp-mode-hook and 3395 [Inside a function that gets called by the lisp-mode-hook and
3390 ilisp-mode-hook] 3396 ilisp-mode-hook]
3391 3397
3392 @lisp 3398 @lisp
3432 3438
3433 @lisp 3439 @lisp
3434 (setq mouse-yank-at-point t) 3440 (setq mouse-yank-at-point t)
3435 @end lisp 3441 @end lisp
3436 3442
3443 Starting with XEmacs-20.2 you can also change this with Customize.
3444 Select from the @code{Options} menu
3445 @code{Customize->Emacs->Editing->Mouse->Yank At Point...} or type
3446 @kbd{M-x customize RET mouse RET}.
3447
3437 @node Q3.7.7, Q3.7.8, Q3.7.6, Customization 3448 @node Q3.7.7, Q3.7.8, Q3.7.6, Customization
3438 @section How do I select a rectangular region? 3449 @section How do I select a rectangular region?
3439 3450
3440 Just select the region normally, then use the rectangle commands (e.g. 3451 Just select the region normally, then use the rectangle commands (e.g.
3441 @code{kill-rectangle} on it. The region does not highlight as a 3452 @code{kill-rectangle} on it. The region does not highlight as a
3442 rectangle, but the commands work just fine. 3453 rectangle, but the commands work just fine.
3443 3454
3444 To actually sweep out rectangular regions with the mouse do the 3455 To actually sweep out rectangular regions with the mouse you can use
3445 following: 3456 @code{mouse-track-do-rectangle} which is assigned to @kbd{M-button1}.
3457 Then use rectangle commands.
3458
3459 You can also do the following to change default behavior to sweep out
3460 rectangular regions:
3446 3461
3447 @lisp 3462 @lisp
3448 (setq mouse-track-rectangle-p t) 3463 (setq mouse-track-rectangle-p t)
3449 @end lisp 3464 @end lisp
3450 3465
3451 Aki Vehtari <Aki.Vehtari@@hut.fi> writes: 3466 Starting with XEmacs-20.2 you can also change this with Customize.
3452 3467 Select from the @code{Options} menu
3453 @quotation 3468 @code{Customize->Emacs->Editing->Mouse->Track Rectangle...} or type
3454 To actually sweep out rectangular regions with the mouse you can also 3469 @kbd{M-x customize RET mouse RET}.
3455 use @code{mouse-track-do-rectangle} which is assigned to 3470
3456 @kbd{M-button1}. Then use rectangle commands.
3457 3471
3458 @example 3472 @example
3459 mouse-track-do-rectangle: (event) 3473 mouse-track-do-rectangle: (event)
3460 -- an interactive compiled Lisp function. 3474 -- an interactive compiled Lisp function.
3461 Like `mouse-track' but selects rectangles instead of regions. 3475 Like `mouse-track' but selects rectangles instead of regions.
3462 @end example 3476 @end example
3463 @end quotation
3464 3477
3465 @node Q3.7.8, Q3.8.1, Q3.7.7, Customization 3478 @node Q3.7.8, Q3.8.1, Q3.7.7, Customization
3466 @section Why does @kbd{M-w} take so long? 3479 @section Why does @kbd{M-w} take so long?
3467 3480
3468 It actually doesn't. It leaves the region visible for a second so that 3481 It actually doesn't. It leaves the region visible for a second so that
3508 @lisp 3521 @lisp
3509 (setq buffers-menu-max-size 20) 3522 (setq buffers-menu-max-size 20)
3510 @end lisp 3523 @end lisp
3511 3524
3512 For no limit, use an argument of @samp{nil}. 3525 For no limit, use an argument of @samp{nil}.
3526
3527 Starting with XEmacs-20.3 you can also change this with Customize.
3528 Select from the @code{Options} menu
3529 @code{Customize->Emacs->Environment->Menu->Buffers Menu->Max Size...} or
3530 type @kbd{M-x customize RET buffers-menu RET}.
3513 3531
3514 @node Q3.8.4, Q3.8.5, Q3.8.3, Customization 3532 @node Q3.8.4, Q3.8.5, Q3.8.3, Customization
3515 @section Resources like @code{Emacs*menubar*font} are not working? 3533 @section Resources like @code{Emacs*menubar*font} are not working?
3516 3534
3517 I am trying to use a resource like @code{Emacs*menubar*font} to set the 3535 I am trying to use a resource like @code{Emacs*menubar*font} to set the
3569 3587
3570 @example 3588 @example
3571 Emacs.scrollBarWidth: 0 3589 Emacs.scrollBarWidth: 0
3572 @end example 3590 @end example
3573 3591
3592 Or select from the @code{Options} menu @code{Frame Appearance->Scrolbars}.
3593 Remember to save options.
3594
3574 To turn the scrollbar off on a per-frame basis, use the following 3595 To turn the scrollbar off on a per-frame basis, use the following
3575 function: 3596 function:
3576 3597
3577 @lisp 3598 @lisp
3578 (set-specifier scrollbar-width 0 (selected-frame)) 3599 (set-specifier scrollbar-width 0 (selected-frame))
3663 3684
3664 @lisp 3685 @lisp
3665 (setq zmacs-regions nil) 3686 (setq zmacs-regions nil)
3666 @end lisp 3687 @end lisp
3667 3688
3668 You can also change these with Customize. 3689 Starting with XEmacs-20.2 you can also change this with Customize. Select
3669 Select from the @code{Options} menu 3690 from the @code{Options} menu @code{Customize->Emacs->Editing->Basics->Zmacs
3670 @code{Customize->Emacs->->Editing->Basics->Zmacs Regions} 3691 Regions} or type @kbd{M-x customize RET editing-basics RET}.
3671 or type @kbd{M-x customize RET editing-basics RET}.
3672 3692
3673 To change the face for selection, look at @code{Options->Customize} on 3693 To change the face for selection, look at @code{Options->Customize} on
3674 the menubar. 3694 the menubar.
3675 3695
3676 @node Q3.10.2, Q3.10.3, Q3.10.1, Customization 3696 @node Q3.10.2, Q3.10.3, Q3.10.1, Customization
3702 3722
3703 @lisp 3723 @lisp
3704 (setq isearch-highlight nil) 3724 (setq isearch-highlight nil)
3705 @end lisp 3725 @end lisp
3706 3726
3707 You can also change these with Customize. 3727 Starting with XEmacs-20.2 you can also change this with Customize. Type
3708 Type @kbd{M-x customize-variable RET isearch-highlight RET}. 3728 @kbd{M-x customize-variable RET isearch-highlight RET}.
3709 3729
3710 Note also that isearch-highlight affects query-replace and ispell. 3730 Note also that isearch-highlight affects query-replace and ispell.
3711 Instead of disabling isearch-highlight you may find that a better 3731 Instead of disabling isearch-highlight you may find that a better
3712 solution consists of customizing the @code{isearch} face. 3732 solution consists of customizing the @code{isearch} face.
3713 3733
3725 Also @xref{Q3.10.1}. 3745 Also @xref{Q3.10.1}.
3726 3746
3727 @node Q3.10.5, , Q3.10.4, Customization 3747 @node Q3.10.5, , Q3.10.4, Customization
3728 @section The region disappears when I hit the end of buffer while scrolling. 3748 @section The region disappears when I hit the end of buffer while scrolling.
3729 3749
3730 How do I turn this feature (if it indeed is a feature) off? 3750 This has been fixed by default starting with XEmacs-20.3.
3731 3751
3732 Like this: 3752 With older versions you can turn this feature (if it indeed is a feature)
3753 off like this:
3733 3754
3734 @lisp 3755 @lisp
3735 (defadvice scroll-up (around scroll-up freeze) 3756 (defadvice scroll-up (around scroll-up freeze)
3736 (interactive "_P") 3757 (interactive "_P")
3737 (let ((zmacs-region-stays t)) 3758 (let ((zmacs-region-stays t))
4741 I'm using the Emacs @kbd{M-x shell} function, and I would like to invoke 4762 I'm using the Emacs @kbd{M-x shell} function, and I would like to invoke
4742 and use a telnet session within it. Everything works fine except that 4763 and use a telnet session within it. Everything works fine except that
4743 now all @samp{^M}'s are filtered out by Emacs. Fixes? 4764 now all @samp{^M}'s are filtered out by Emacs. Fixes?
4744 4765
4745 Use @kbd{M-x rsh} or @kbd{M-x telnet} to open remote sessions rather 4766 Use @kbd{M-x rsh} or @kbd{M-x telnet} to open remote sessions rather
4746 than doing rsh or telnet within the local shell buffer. 4767 than doing rsh or telnet within the local shell buffer. Starting with
4768 XEmacs-20.3 you can also use @kbd{M-x ssh} to open secure remote session
4769 if you have @code{ssh} installed.
4747 4770
4748 @node Q5.0.8, Q5.0.9, Q5.0.7, Miscellaneous 4771 @node Q5.0.8, Q5.0.9, Q5.0.7, Miscellaneous
4749 @section Why does edt emulation not work? 4772 @section Why does edt emulation not work?
4750 4773
4751 We don't know, but you can use tpu-edt emulation instead, which works 4774 We don't know, but you can use tpu-edt emulation instead, which works
4819 4842
4820 Starting in 19.15, there is an option to set the gnuserv target to 4843 Starting in 19.15, there is an option to set the gnuserv target to
4821 the current frame. See 4844 the current frame. See
4822 @code{Options->"Other Window" Location->Make current frame gnuserv target} 4845 @code{Options->"Other Window" Location->Make current frame gnuserv target}
4823 4846
4847 Starting with XEmacs-20.3 you can also change this with Customize.
4848 Select from the @code{Options} menu
4849 @code{Customize->Emacs->Environment->Gnuserv->Gnuserv Frame...} or type
4850 @kbd{M-x customize RET gnuserv RET}.
4851
4852
4824 @node Q5.0.13, Q5.0.14, Q5.0.12, Miscellaneous 4853 @node Q5.0.13, Q5.0.14, Q5.0.12, Miscellaneous
4825 @section How do I start gnuserv so that each subsequent XEmacs is a client? 4854 @section How do I start gnuserv so that each subsequent XEmacs is a client?
4826 4855
4827 Put the following in your @file{.emacs} file to start the server: 4856 Put the following in your @file{.emacs} file to start the server:
4828 4857
4838 4867
4839 from the command line to get your existing XEmacs process to open a new 4868 from the command line to get your existing XEmacs process to open a new
4840 frame and visit randomfilename in that window. When you're done editing 4869 frame and visit randomfilename in that window. When you're done editing
4841 randomfilename, hit @kbd{C-x #} to kill the buffer and get rid of the 4870 randomfilename, hit @kbd{C-x #} to kill the buffer and get rid of the
4842 frame. 4871 frame.
4872
4873 See also man page of gnuclient.
4843 4874
4844 @node Q5.0.14, Q5.0.15, Q5.0.13, Miscellaneous 4875 @node Q5.0.14, Q5.0.15, Q5.0.13, Miscellaneous
4845 @section Strange things are happening in Shell Mode. 4876 @section Strange things are happening in Shell Mode.
4846 4877
4847 Sometimes (i.e. it's not repeatable, and I can't work out why it 4878 Sometimes (i.e. it's not repeatable, and I can't work out why it
4885 @end lisp 4916 @end lisp
4886 4917
4887 @node Q5.0.17, Q5.0.18, Q5.0.16, Miscellaneous 4918 @node Q5.0.17, Q5.0.18, Q5.0.16, Miscellaneous
4888 @section How can I get two instances of info? 4919 @section How can I get two instances of info?
4889 4920
4890 You can't. The info package does not provide for multiple info buffers. 4921 You can't. The @code{info} package does not provide for multiple info buffers.
4891 4922
4892 @node Q5.0.18, Q5.0.19, Q5.0.17, Miscellaneous 4923 @node Q5.0.18, Q5.0.19, Q5.0.17, Miscellaneous
4893 @section I upgraded to XEmacs 19.14 and gnuserv stopped working. 4924 @section I upgraded to XEmacs 19.14 and gnuserv stopped working.
4894 4925
4895 Mark Daku <daku@@nortel.ca> writes: 4926 Mark Daku <daku@@nortel.ca> writes:
5285 @end lisp 5316 @end lisp
5286 5317
5287 That will make your XEmacs totally silent -- even the default ding sound 5318 That will make your XEmacs totally silent -- even the default ding sound
5288 (TTY beep on TTY-s) will be gone. 5319 (TTY beep on TTY-s) will be gone.
5289 5320
5321 Starting with XEmacs-20.2 you can also change these with Customize.
5322 Select from the @code{Options} menu
5323 @code{Customize->Emacs->Environment->Sound->Sound...} or type
5324 @kbd{M-x customize RET sound RET}.
5325
5326
5290 @node Q5.2.2, Q5.2.3, Q5.2.1, Miscellaneous 5327 @node Q5.2.2, Q5.2.3, Q5.2.1, Miscellaneous
5291 @section How do I get funky sounds instead of a boring beep? 5328 @section How do I get funky sounds instead of a boring beep?
5292 5329
5293 Make sure your XEmacs was compiled with sound support, and then put this 5330 Make sure your XEmacs was compiled with sound support, and then put this
5294 in your @file{.emacs}: 5331 in your @file{.emacs}:
5335 5372
5336 @lisp 5373 @lisp
5337 (put 'if 'lisp-indent-function nil) 5374 (put 'if 'lisp-indent-function nil)
5338 @end lisp 5375 @end lisp
5339 5376
5340 However, note that the package @file{cl-indent.el} that comes with 5377 However, note that the package @code{cl-indent} that comes with
5341 XEmacs sets up this kind of indentation by default. @code{cl-indent} 5378 XEmacs sets up this kind of indentation by default. @code{cl-indent}
5342 also knows about many other CL-specific forms. To use @code{cl-indent}, 5379 also knows about many other CL-specific forms. To use @code{cl-indent},
5343 one can do this: 5380 one can do this:
5344 5381
5345 @lisp 5382 @lisp
5384 @section How can I print WYSIWYG a font-locked buffer? 5421 @section How can I print WYSIWYG a font-locked buffer?
5385 5422
5386 Font-lock looks nice. How can I print (WYSIWYG) the highlighted 5423 Font-lock looks nice. How can I print (WYSIWYG) the highlighted
5387 document? 5424 document?
5388 5425
5389 The package @file{ps-print.el}, which is now included with XEmacs, 5426 The package @code{ps-print}, which is now included with XEmacs, provides
5390 provides the ability to do this. The source code contains complete 5427 the ability to do this. The source code contains complete instructions
5391 instructions on its use, in 5428 on its use, in @file{<xemacs_src_root>/lisp/packages/ps-print.el}.
5392 @file{<xemacs_src_root>/lisp/packages/ps-print.el}.
5393 5429
5394 @node Q5.3.4, Q5.3.5, Q5.3.3, Miscellaneous 5430 @node Q5.3.4, Q5.3.5, Q5.3.3, Miscellaneous
5395 @section Getting @kbd{M-x lpr} to work with postscript printer. 5431 @section Getting @kbd{M-x lpr} to work with postscript printer.
5396 5432
5397 My printer is a Postscript printer and @code{lpr} only works for 5433 My printer is a Postscript printer and @code{lpr} only works for
5516 If this sounds confusing to you, (re-)read the online documentation for 5552 If this sounds confusing to you, (re-)read the online documentation for
5517 abbrevs (@kbd{C-h i m XEmacs RET m Abbrevs RET}), and then come back and 5553 abbrevs (@kbd{C-h i m XEmacs RET m Abbrevs RET}), and then come back and
5518 read this question/answer again. 5554 read this question/answer again.
5519 @end quotation 5555 @end quotation
5520 5556
5521 Newsflash: this restriction has been lifted, starting with XEmacs 20.3, 5557 Starting with XEmacs 20.3 this restriction has been lifted.
5522 which is currently in beta. Hrvoje Niksic <hniksic@@srce.hr> will
5523 appreciate it if you download a beta, try out whether abbreviations work
5524 like you expect them to, and let him know.
5525 5558
5526 @node Q5.3.10, Q5.3.11, Q5.3.9, Miscellaneous 5559 @node Q5.3.10, Q5.3.11, Q5.3.9, Miscellaneous
5527 @section How can I get those oh-so-neat X-Face lines? 5560 @section How can I get those oh-so-neat X-Face lines?
5528 5561
5529 Firstly there is an ftp site which describes X-faces and has the 5562 Firstly there is an ftp site which describes X-faces and has the
5722 considered unstable. 5755 considered unstable.
5723 5756
5724 @node Q6.0.2, Q6.0.3, Q6.0.1, Current Events 5757 @node Q6.0.2, Q6.0.3, Q6.0.1, Current Events
5725 @section What is new in 20.3? 5758 @section What is new in 20.3?
5726 5759
5727 XEmacs 20.3 will be released in November 1997. It will contain many 5760 XEmacs 20.3 was released in November 1997. It contains many bugfixes,
5728 bugfixes, and a number of new features, including Autoconf 2 based 5761 and a number of new features, including Autoconf 2 based configuration,
5729 configuration, multiple TTY frames, further customizations, synches with 5762 additional support for Mule (Multi-language extensions to Emacs), many
5730 GNU Emacs 20, advanced Perl-like regexp features, and more. 5763 more customizations, multiple frames on TTY-s, support for multiple info
5731 5764 directories, an enhanced gnuclient, improvements to regexp matching,
5732 XEmacs 20.3 will be the first non-beta v20 release, and will be the 5765 increased MIME support, and many, many synches with GNU Emacs 20.
5766
5767 The XEmacs/Mule support has been only seriously tested in a Japanese
5768 locale, and no doubt many problems still remain. The support for
5769 ISO-Latin-1 and Japanese is fairly strong. MULE support comes at a
5770 price -- about a 30% slowdown from 19.16. We're making progress on
5771 improving performance and XEmacs 20.3 compiled without Mule (which is
5772 the default) is definitely faster than XEmacs 19.16.
5773
5774 XEmacs 20.3 is the first non-beta v20 release, and will be the
5733 basis for all further development. 5775 basis for all further development.
5734 5776
5735 @node Q6.0.3, , Q6.0.2, Current Events 5777 @node Q6.0.3, , Q6.0.2, Current Events
5736 @section Procedural changes in XEmacs development. 5778 @section Procedural changes in XEmacs development.
5737 5779