comparison man/xemacs-faq.texi @ 5118:e0db3c197671 ben-lisp-object

merge up to latest default branch, doesn't compile yet
author Ben Wing <ben@xemacs.org>
date Sat, 26 Dec 2009 21:18:49 -0600
parents aa5ed11f473b
children 755ae5b97edb
comparison
equal deleted inserted replaced
5117:3742ea8250b5 5118:e0db3c197671
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: 2005/10/24 20:39:47 $ 10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2006/05/16 15:36:16 $
11 @sp 1 11 @sp 1
12 @author Ben Wing <ben@@xemacs.org> 12 @author Ben Wing <ben@@xemacs.org>
13 @author Tony Rossini <rossini@@u.washington.edu> 13 @author Tony Rossini <rossini@@u.washington.edu>
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>
291 * Q2.1.7:: EFS fails with "500 AUTH not understood" 291 * Q2.1.7:: EFS fails with "500 AUTH not understood"
292 292
293 2.2: Unix/Mac OS X Installation (Also Relevant to Cygwin, MinGW) 293 2.2: Unix/Mac OS X Installation (Also Relevant to Cygwin, MinGW)
294 * Q2.2.1:: Libraries in non-standard locations 294 * Q2.2.1:: Libraries in non-standard locations
295 * Q2.2.2:: Why can't I strip XEmacs? 295 * Q2.2.2:: Why can't I strip XEmacs?
296 * Q2.2.3:: X11/bitmaps/gray (or other X11-related file) not found.
296 297
297 2.3: Windows Installation (Windows, Cygwin, MinGW) 298 2.3: Windows Installation (Windows, Cygwin, MinGW)
298 * Q2.3.1:: What exactly are all the different ways to build XEmacs under Windows? 299 * Q2.3.1:: What exactly are all the different ways to build XEmacs under Windows?
299 * Q2.3.2:: What compiler/libraries do I need to compile XEmacs? 300 * Q2.3.2:: What compiler/libraries do I need to compile XEmacs?
300 * Q2.3.3:: How do I compile the native port? 301 * Q2.3.3:: How do I compile the native port?
319 * Q2.4.12:: After upgrading, XEmacs won't do `foo' any more! 320 * Q2.4.12:: After upgrading, XEmacs won't do `foo' any more!
320 321
321 2.5: Startup-Related Problems 322 2.5: Startup-Related Problems
322 * Q2.5.1:: XEmacs cannot connect to my X Terminal! 323 * Q2.5.1:: XEmacs cannot connect to my X Terminal!
323 * Q2.5.2:: Startup problems related to paths or package locations. 324 * Q2.5.2:: Startup problems related to paths or package locations.
324 * Q2.5.3:: XEmacs won't start without network. 325 * Q2.5.3:: XEmacs won't start without network, or starts slowly.
325 * Q2.5.4:: Startup warnings about deducing proper fonts? 326 * Q2.5.4:: Startup warnings about deducing proper fonts?
326 * Q2.5.5:: Warnings from incorrect key modifiers. 327 * Q2.5.5:: Warnings from incorrect key modifiers.
327 * Q2.5.6:: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup. Has that been fixed? 328 * Q2.5.6:: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup. Has that been fixed?
328 329
329 3 Editing Functions 330 3 Editing Functions
338 * Q3.0.7:: Can I turn on @dfn{sticky} modifier keys? 339 * Q3.0.7:: Can I turn on @dfn{sticky} modifier keys?
339 * Q3.0.8:: How do I map the arrow keys? 340 * Q3.0.8:: How do I map the arrow keys?
340 * Q3.0.9:: HP Alt key as Meta. 341 * Q3.0.9:: HP Alt key as Meta.
341 * Q3.0.10:: Why does edt emulation not work? 342 * Q3.0.10:: Why does edt emulation not work?
342 * Q3.0.11:: How can I emulate VI and use it as my default mode? 343 * Q3.0.11:: How can I emulate VI and use it as my default mode?
344 * Q3.0.12:: Mac Alt/Option key as Meta.
343 345
344 3.1: The Mouse 346 3.1: The Mouse
345 * Q3.1.1:: How can I turn off Mouse pasting? 347 * Q3.1.1:: How can I turn off Mouse pasting?
346 * Q3.1.2:: How do I set control/meta/etc modifiers on mouse buttons? 348 * Q3.1.2:: How do I set control/meta/etc modifiers on mouse buttons?
347 * Q3.1.3:: Clicking the left button does not do anything in buffer list. 349 * Q3.1.3:: Clicking the left button does not do anything in buffer list.
430 * Q5.0.2:: How can I detect a color display? 432 * Q5.0.2:: How can I detect a color display?
431 * Q5.0.3:: How can I get the icon to just say @samp{XEmacs}? 433 * Q5.0.3:: How can I get the icon to just say @samp{XEmacs}?
432 * Q5.0.4:: How can I have the window title area display the full path? 434 * Q5.0.4:: How can I have the window title area display the full path?
433 * Q5.0.5:: @samp{xemacs -name junk} doesn't work? 435 * Q5.0.5:: @samp{xemacs -name junk} doesn't work?
434 * Q5.0.6:: @samp{-iconic} doesn't work. 436 * Q5.0.6:: @samp{-iconic} doesn't work.
437 * Q5.0.7:: How can I use antialiased fonts under X11?
435 438
436 5.1: Microsoft Windows 439 5.1: Microsoft Windows
437 * Q5.1.1:: Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}? 440 * Q5.1.1:: Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}?
438 * Q5.1.2:: How do I get Windows Explorer to associate a file type with XEmacs? 441 * Q5.1.2:: How do I get Windows Explorer to associate a file type with XEmacs?
439 442
712 and was also the last version without international language support. 715 and was also the last version without international language support.
713 716
714 @node Q1.0.3, Q1.0.4, Q1.0.2, Introduction 717 @node Q1.0.3, Q1.0.4, Q1.0.2, Introduction
715 @unnumberedsubsec Q1.0.3: How do you pronounce XEmacs? 718 @unnumberedsubsec Q1.0.3: How do you pronounce XEmacs?
716 719
717 The most common pronounciation is @samp{Eks eemax}. 720 The most common pronounciation is @samp{Eks eemax}, @samp{Eks'im&ks} in
721 Kirshenbaum IPA. (See
722 @uref{http://www.kirshenbaum.net/IPA/ascii-ipa.pdf} if you know the IPA
723 already and want to know how to map from Kirshenbaum to it.)
718 724
719 @node Q1.0.4, Q1.0.5, Q1.0.3, Introduction 725 @node Q1.0.4, Q1.0.5, Q1.0.3, Introduction
720 @unnumberedsubsec Q1.0.4: What does XEmacs look like? 726 @unnumberedsubsec Q1.0.4: What does XEmacs look like?
721 727
722 Screen snapshots are available at 728 Screen snapshots are available at
820 @end itemize 826 @end itemize
821 827
822 @item Device subsystems 828 @item Device subsystems
823 @itemize @minus 829 @itemize @minus
824 @item 830 @item
825 X Windows: Jamie Zawinksi, Ben Wing, others 831 X Windows: Jamie Zawinski, Ben Wing, others
826 @item 832 @item
827 GTK: William Perry, Malcolm Purvis 833 GTK: William Perry, Malcolm Purvis
828 @item 834 @item
829 MS Windows: initial implementation, Jonathan Harris; some more work, Andy Piper, Ben Wing 835 MS Windows: initial implementation, Jonathan Harris; some more work, Andy Piper, Ben Wing
830 @item 836 @item
884 and has attempted to be the "face" of XEmacs on the newsgroups and 890 and has attempted to be the "face" of XEmacs on the newsgroups and
885 mailing lists. 891 mailing lists.
886 @item 892 @item
887 Steve Youngs currently produces the beta releases (???). 893 Steve Youngs currently produces the beta releases (???).
888 @item 894 @item
889 Steve Youngs, Ville Skytta, and now Norbert Koch have taken turns 895 Steve Youngs, Ville Skyttä, and now Norbert Koch have taken turns
890 maintaining the packages. 896 maintaining the packages.
891 @item 897 @item
892 Vin Shelton maintains the stable releases. 898 Vin Shelton maintains the stable releases.
893 @item 899 @item
894 Testing - #### Norbert, Adrian, ??? 900 Testing - #### Norbert, Adrian, ???
1061 full color support on a color-capable character terminal. 1067 full color support on a color-capable character terminal.
1062 1068
1063 @node Q1.2.2, Q1.2.3, Q1.2.1, Introduction 1069 @node Q1.2.2, Q1.2.3, Q1.2.1, Introduction
1064 @unnumberedsubsec Q1.2.2: What versions of Unix does XEmacs run on? 1070 @unnumberedsubsec Q1.2.2: What versions of Unix does XEmacs run on?
1065 1071
1066 XEmacs is regularly tested on Linux, Solaris, SunOS, HP/UX, FreeBSD, 1072 XEmacs is regularly tested on Linux, Solaris and OpenSolaris, HP/UX,
1067 OpenBSD, BSD/OS aka BSDI, Tru64 aka DEC/OSF, SCO5, and probably 1073 FreeBSD, OpenBSD, Cygwin, Mac OS X, and probably others. It should work
1068 others. It should work on all versions of Unix created in the last 10 1074 on all versions of Unix created in the last 10 years or so, perhaps with
1069 years or so, perhaps with a bit of work on more obscure platforms to 1075 a bit of work on more obscure platforms to correct bit-rot. It uses a
1070 correct bit-rot. It uses a sophisticated configuration system to 1076 sophisticated configuration system to auto-detect zillions of features
1071 auto-detect zillions of features that are implemented differently in 1077 that are implemented differently in different versions of Unix, so it
1072 different versions of Unix, so it will probably work on your vendor's 1078 will probably work on your vendor's version, possibly with a bit of
1073 version, possibly with a bit of tweaking, even if we've never heard of 1079 tweaking, even if we've never heard of it.
1074 it.
1075 1080
1076 For problems with particular machines and versions of Unix, see the 1081 For problems with particular machines and versions of Unix, see the
1077 @file{PROBLEMS} file. 1082 @file{PROBLEMS} file.
1078 1083
1079 Much effort has gone into making XEmacs work on as many different 1084 Much effort has gone into making XEmacs work on as many different
3087 * Q2.1.7:: EFS fails with "500 AUTH not understood" 3092 * Q2.1.7:: EFS fails with "500 AUTH not understood"
3088 3093
3089 2.2: Unix/Mac OS X Installation (Also Relevant to Cygwin, MinGW) 3094 2.2: Unix/Mac OS X Installation (Also Relevant to Cygwin, MinGW)
3090 * Q2.2.1:: Libraries in non-standard locations 3095 * Q2.2.1:: Libraries in non-standard locations
3091 * Q2.2.2:: Why can't I strip XEmacs? 3096 * Q2.2.2:: Why can't I strip XEmacs?
3097 * Q2.2.3:: X11/bitmaps/gray (or other X11-related file) not found.
3092 3098
3093 2.3: Windows Installation (Windows, Cygwin, MinGW) 3099 2.3: Windows Installation (Windows, Cygwin, MinGW)
3094 * Q2.3.1:: What exactly are all the different ways to build XEmacs under Windows? 3100 * Q2.3.1:: What exactly are all the different ways to build XEmacs under Windows?
3095 * Q2.3.2:: What compiler/libraries do I need to compile XEmacs? 3101 * Q2.3.2:: What compiler/libraries do I need to compile XEmacs?
3096 * Q2.3.3:: How do I compile the native port? 3102 * Q2.3.3:: How do I compile the native port?
3115 * Q2.4.12:: After upgrading, XEmacs won't do `foo' any more! 3121 * Q2.4.12:: After upgrading, XEmacs won't do `foo' any more!
3116 3122
3117 2.5: Startup-Related Problems 3123 2.5: Startup-Related Problems
3118 * Q2.5.1:: XEmacs cannot connect to my X Terminal! 3124 * Q2.5.1:: XEmacs cannot connect to my X Terminal!
3119 * Q2.5.2:: Startup problems related to paths or package locations. 3125 * Q2.5.2:: Startup problems related to paths or package locations.
3120 * Q2.5.3:: XEmacs won't start without network. 3126 * Q2.5.3:: XEmacs won't start without network, or starts slowly.
3121 * Q2.5.4:: Startup warnings about deducing proper fonts? 3127 * Q2.5.4:: Startup warnings about deducing proper fonts?
3122 * Q2.5.5:: Warnings from incorrect key modifiers. 3128 * Q2.5.5:: Warnings from incorrect key modifiers.
3123 * Q2.5.6:: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup. Has that been fixed? 3129 * Q2.5.6:: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup. Has that been fixed?
3124 @end menu 3130 @end menu
3125 3131
3266 3272
3267 If you have the packages somewhere nonstandard and don't want to bother 3273 If you have the packages somewhere nonstandard and don't want to bother
3268 with @samp{$prefix} (for example, you're a developer and are compiling 3274 with @samp{$prefix} (for example, you're a developer and are compiling
3269 the packages yourself, and want your own private copy of everything), 3275 the packages yourself, and want your own private copy of everything),
3270 you can also directly specify this using @file{configure}. To do this 3276 you can also directly specify this using @file{configure}. To do this
3271 with 21.5 and above use the @samp{--with-package-prefix} parameter to 3277 with 21.5 and above use the @samp{--with-late-packages} parameter to
3272 specify the directory under which you untarred the above tarballs. 3278 specify the directory under which you untarred the above tarballs.
3273 Under 21.4 and previous you need to use @samp{--package-path}. Using 3279 Under 21.4 and previous you need to use @samp{--package-path}. Using
3274 these options looks something like this: 3280 these options looks something like this:
3275 3281
3276 @example 3282 @example
3286 the packages somewhere else, just change @samp{PACKAGE_PREFIX}. 3292 the packages somewhere else, just change @samp{PACKAGE_PREFIX}.
3287 3293
3288 Note that XEmacs finds the packages automatically anywhere underneath 3294 Note that XEmacs finds the packages automatically anywhere underneath
3289 the directory tree where it expects to find the packages. All you 3295 the directory tree where it expects to find the packages. All you
3290 need to do is put stuff there; you don't need to run any program to 3296 need to do is put stuff there; you don't need to run any program to
3291 tell XEmacs to find the packges, or do anything of that sort. 3297 tell XEmacs to find the packages, or do anything of that sort.
3292 3298
3293 However, XEmacs will only notice newly installed packages when it 3299 However, XEmacs will only notice newly installed packages when it
3294 starts up, so you will have to restart if you are already running 3300 starts up, so you will have to restart if you are already running
3295 XEmacs. 3301 XEmacs.
3296 3302
3437 @node Q2.1.4, Q2.1.5, Q2.1.3, Installation 3443 @node Q2.1.4, Q2.1.5, Q2.1.3, Installation
3438 @unnumberedsubsec Q2.1.4: Can I upgrade or remove packages? 3444 @unnumberedsubsec Q2.1.4: Can I upgrade or remove packages?
3439 3445
3440 As the exact files and their locations contained in a package may 3446 As the exact files and their locations contained in a package may
3441 change it is recommended to remove a package first before installing a 3447 change it is recommended to remove a package first before installing a
3442 new version. In order to facilitate removal each package contains an 3448 new version. In order to facilitate removal each package contains a
3443 pgkinfo/MANIFEST.pkgname file which list all the files belong to the 3449 pkginfo/MANIFEST.pkgname file which lists all the files belonging to
3444 package. M-x package-admin-delete-binary-package RET can be used to 3450 the package. M-x package-admin-delete-binary-package RET can be used
3445 remove a package using this file. 3451 to remove a package using this file.
3446 3452
3447 Note that the interactive package tools included with XEmacs already do 3453 Note that the interactive package tools included with XEmacs already do
3448 this for you. 3454 this for you.
3449 3455
3450 @node Q2.1.5, Q2.1.6, Q2.1.4, Installation 3456 @node Q2.1.5, Q2.1.6, Q2.1.4, Installation
3504 installed by default in @file{/usr/local/bin}; this explains why 3510 installed by default in @file{/usr/local/bin}; this explains why
3505 XEmacs in its default installation will find packages that you put 3511 XEmacs in its default installation will find packages that you put
3506 under @file{/usr/local/lib/xemacs}. 3512 under @file{/usr/local/lib/xemacs}.
3507 3513
3508 You can specify where exactly XEmacs looks for packages by using the 3514 You can specify where exactly XEmacs looks for packages by using the
3509 @samp{--with-package-prefix} or @samp{--with-package-path} parameters to 3515 @samp{--with-user-packages} (an alias for @samp{--with-early-packages})
3510 @file{configure} (or the equivalent settings in @file{config.inc}, under 3516 or @samp{--with-system-packages} (an alias for
3511 Windows), or setting the @samp{EMACSPACKAGEPATH} environment variable 3517 @samp{--with-late-packages}) or @samp{--with-legacy-packages}
3512 (which has the same format as @samp{--with-package-path}). @xref{Q2.1.1}. 3518 (an alias for @samp{--with-last-packages})
3519 parameters to @file{configure} (or the equivalent settings in
3520 @file{config.inc}, under Windows), or setting the
3521 @samp{EMACSEARLYPACKAGES}, @samp{EMACSLATEPACKAGES}, and
3522 @samp{EMACSLASTPACKAGES} environment variables (which have the same
3523 format as the configure options). @xref{Q2.1.1}.
3513 3524
3514 See @file{configure.usage} for more info about the format of these 3525 See @file{configure.usage} for more info about the format of these
3515 @file{configure} parameters. 3526 @file{configure} parameters.
3516 3527
3517 In addition to the system wide packages, each user can have his own 3528 In addition to the system wide packages, each user can have his own
3527 @node Q2.1.7, Q2.2.1, Q2.1.6, Installation 3538 @node Q2.1.7, Q2.2.1, Q2.1.6, Installation
3528 @unnumberedsubsec Q2.1.7: EFS fails with "500 AUTH not understood" (NEW) 3539 @unnumberedsubsec Q2.1.7: EFS fails with "500 AUTH not understood" (NEW)
3529 3540
3530 A typical error: FTP Error: USER request failed; 500 AUTH not understood. 3541 A typical error: FTP Error: USER request failed; 500 AUTH not understood.
3531 3542
3532 Thanks to giacomo boffi @email{giacomo.boffi@@polimi.it} who recommends 3543 Thanks to Giacomo Boffi @email{giacomo.boffi@@polimi.it} who recommends
3533 on comp.emacs.xemacs: 3544 on comp.emacs.xemacs:
3534 3545
3535 tell your ftp client to not attempt AUTH authentication (or do not 3546 tell your ftp client to not attempt AUTH authentication (or do not
3536 use FTP servers that don't understand AUTH) 3547 use FTP servers that don't understand AUTH)
3537 3548
3577 3588
3578 @example 3589 @example
3579 --with-site-prefixes=WHATEVER 3590 --with-site-prefixes=WHATEVER
3580 @end example 3591 @end example
3581 3592
3582 @node Q2.2.2, Q2.3.1, Q2.2.1, Installation 3593 @node Q2.2.2, Q2.2.3, Q2.2.1, Installation
3583 @unnumberedsubsec Q2.2.2: Why can't I strip XEmacs? 3594 @unnumberedsubsec Q2.2.2: Why can't I strip XEmacs?
3584 3595
3585 @email{cognot@@fronsac.ensg.u-nancy.fr, Richard Cognot} writes: 3596 @email{cognot@@fronsac.ensg.u-nancy.fr, Richard Cognot} writes:
3586 3597
3587 @quotation 3598 @quotation
3632 @end iftex 3643 @end iftex
3633 /usr/local/lib/xemacs-19.16/i586-unknown-linuxaout 3644 /usr/local/lib/xemacs-19.16/i586-unknown-linuxaout
3634 @end enumerate 3645 @end enumerate
3635 @end quotation 3646 @end quotation
3636 3647
3648 @node Q2.2.3, Q2.3.1, Q2.2.2, Installation
3649 @unnumberedsubsec Q2.2.3: X11/bitmaps/gray (or other X11-related file) not found.
3650
3651 The X11R6 distribution was monolithic, but the X11R7 distribution is
3652 much more modular. Many OS distributions omit these bitmaps (assuming
3653 nobody uses them, evidently). Your OS distribution should have a
3654 developer's package containing these files, probably with a name
3655 containing the string "bitmap". Known package names (you may need to
3656 add an extension such as .deb or .rpm) include x11/xbitmaps (Ubuntu)
3657 and xorg-x11-xbitmaps (Fedora Core 5).
3658
3637 @unnumberedsec 2.3: Windows Installation (Windows, Cygwin, MinGW) 3659 @unnumberedsec 2.3: Windows Installation (Windows, Cygwin, MinGW)
3638 3660
3639 @node Q2.3.1, Q2.3.2, Q2.2.2, Installation 3661 @node Q2.3.1, Q2.3.2, Q2.2.3, Installation
3640 @unnumberedsubsec Q2.3.1: What exactly are all the different ways to build XEmacs under Windows? 3662 @unnumberedsubsec Q2.3.1: What exactly are all the different ways to build XEmacs under Windows?
3641 3663
3642 XEmacs can be built in several ways in the MS Windows environment. 3664 XEmacs can be built in several ways in the MS Windows environment.
3643 3665
3644 The standard way is what we call the "native" port. It uses the Win32 3666 The standard way is what we call the "native" port. It uses the Win32
4446 into XEmacs using the @samp{--package-prefix} or @samp{--package-path} 4468 into XEmacs using the @samp{--package-prefix} or @samp{--package-path}
4447 parameter (@pxref{Q2.1.1}). If this has the value of @samp{nil}, 4469 parameter (@pxref{Q2.1.1}). If this has the value of @samp{nil},
4448 this means that no value was compiled into XEmacs using these parameters. 4470 this means that no value was compiled into XEmacs using these parameters.
4449 4471
4450 @node Q2.5.3, Q2.5.4, Q2.5.2, Installation 4472 @node Q2.5.3, Q2.5.4, Q2.5.2, Installation
4451 @unnumberedsubsec Q2.5.3: XEmacs won't start without network. 4473 @unnumberedsubsec Q2.5.3: XEmacs won't start without network, or starts slowly.
4452 4474
4453 If XEmacs starts when you're on the network, but fails when you're not 4475 If XEmacs starts when you're on the network, but fails when you're not
4454 on the network, you may be missing a "localhost" entry in your 4476 on the network, you may be missing a "localhost" entry in your
4455 @file{/etc/hosts} file. The file should contain an entry like: 4477 @file{/etc/hosts} file. The file should contain an entry like:
4456 4478
4457 @example 4479 @example
4458 127.0.0.1 localhost 4480 127.0.0.1 localhost
4459 @end example 4481 @end example
4460 4482
4461 Add that line, and XEmacs will be happy. 4483 Add that line, and XEmacs will be happy. If your network is unreliable,
4484 such as a Wifi network, you may experience delays but eventually XEmacs
4485 starts up. This may be due to having the lookup order give precedence
4486 to DNS over the hosts file (often lookup order is defined in one of the
4487 files @file{/etc/host.conf}, @file{/etc/nsswitch.conf}, or
4488 @file{/etc/resolv.conf}, depending on OS). See your system
4489 documentation for this configuration. Note that changing the lookup
4490 order is a workaround; there are good reasons to have DNS come earlier
4491 by default. Make sure those reasons are less important to you than a
4492 quick XEmacs startup.
4462 4493
4463 @node Q2.5.4, Q2.5.5, Q2.5.3, Installation 4494 @node Q2.5.4, Q2.5.5, Q2.5.3, Installation
4464 @unnumberedsubsec Q2.5.4: Startup warnings about deducing proper fonts? 4495 @unnumberedsubsec Q2.5.4: Startup warnings about deducing proper fonts?
4465 4496
4466 How can I avoid the startup warnings about deducing proper fonts? 4497 How can I avoid the startup warnings about deducing proper fonts?
4583 * Q3.0.7:: Can I turn on @dfn{sticky} modifier keys? 4614 * Q3.0.7:: Can I turn on @dfn{sticky} modifier keys?
4584 * Q3.0.8:: How do I map the arrow keys? 4615 * Q3.0.8:: How do I map the arrow keys?
4585 * Q3.0.9:: HP Alt key as Meta. 4616 * Q3.0.9:: HP Alt key as Meta.
4586 * Q3.0.10:: Why does edt emulation not work? 4617 * Q3.0.10:: Why does edt emulation not work?
4587 * Q3.0.11:: How can I emulate VI and use it as my default mode? 4618 * Q3.0.11:: How can I emulate VI and use it as my default mode?
4619 * Q3.0.12:: Mac Alt/Option key as Meta.
4588 4620
4589 3.1: The Mouse 4621 3.1: The Mouse
4590 * Q3.1.1:: How can I turn off Mouse pasting? 4622 * Q3.1.1:: How can I turn off Mouse pasting?
4591 * Q3.1.2:: How do I set control/meta/etc modifiers on mouse buttons? 4623 * Q3.1.2:: How do I set control/meta/etc modifiers on mouse buttons?
4592 * Q3.1.3:: Clicking the left button does not do anything in buffer list. 4624 * Q3.1.3:: Clicking the left button does not do anything in buffer list.
4852 4884
4853 @lisp 4885 @lisp
4854 (global-set-key [(control h)] 'help-for-help) 4886 (global-set-key [(control h)] 'help-for-help)
4855 @end lisp 4887 @end lisp
4856 4888
4857 @node Q3.0.11, Q3.1.1, Q3.0.10, Editing 4889 @node Q3.0.11, Q3.0.12, Q3.0.10, Editing
4858 @unnumberedsubsec Q3.0.11: How can I emulate VI and use it as my default mode? 4890 @unnumberedsubsec Q3.0.11: How can I emulate VI and use it as my default mode?
4859 4891
4860 Our recommended VI emulator is viper. To make viper-mode the default, 4892 Our recommended VI emulator is viper. To make viper-mode the default,
4861 add this to your @file{init.el}: 4893 add this to your @file{init.el}:
4862 4894
4869 @quotation 4901 @quotation
4870 This should be added as close to the top of @file{init.el} as you can get 4902 This should be added as close to the top of @file{init.el} as you can get
4871 it, otherwise some minor modes may not get viper-ized. 4903 it, otherwise some minor modes may not get viper-ized.
4872 @end quotation 4904 @end quotation
4873 4905
4906 @node Q3.0.12, Q3.1.1, Q3.0.11, Editing
4907 @unnumberedsubsec Q3.0.12: Mac Alt/Option key as Meta.
4908
4909 Due to the Apple Command key being Meta, I can't use XEmacs on OS X.
4910
4911 Didier Verna suggests:
4912
4913 I use an X version of XEmacs on a Mac every day. You have to tweak the
4914 keyboard configuration a bit but that's all.
4915
4916 Here's my Xmodmap file on Darwin:
4917
4918 @example
4919 clear mod1
4920 clear mod2
4921 keycode 66 = Meta_L
4922 keycode 63 = Mode_switch
4923 add mod1 = Meta_L
4924 @end example
4925
4926 This leaves the command key alone and uses alt/option for Meta.
4927
4928
4874 @unnumberedsec 3.1: The Mouse 4929 @unnumberedsec 3.1: The Mouse
4875 4930
4876 @node Q3.1.1, Q3.1.2, Q3.0.11, Editing 4931 @node Q3.1.1, Q3.1.2, Q3.0.12, Editing
4877 @unnumberedsubsec Q3.1.1: How can I turn off Mouse pasting? 4932 @unnumberedsubsec Q3.1.1: How can I turn off Mouse pasting?
4878 4933
4879 I keep hitting the middle mouse button by accident and getting stuff 4934 I keep hitting the middle mouse button by accident and getting stuff
4880 pasted into my buffer so how can I turn this off? 4935 pasted into my buffer so how can I turn this off?
4881 4936
6093 * Q5.0.2:: How can I detect a color display? 6148 * Q5.0.2:: How can I detect a color display?
6094 * Q5.0.3:: How can I get the icon to just say @samp{XEmacs}? 6149 * Q5.0.3:: How can I get the icon to just say @samp{XEmacs}?
6095 * Q5.0.4:: How can I have the window title area display the full path? 6150 * Q5.0.4:: How can I have the window title area display the full path?
6096 * Q5.0.5:: @samp{xemacs -name junk} doesn't work? 6151 * Q5.0.5:: @samp{xemacs -name junk} doesn't work?
6097 * Q5.0.6:: @samp{-iconic} doesn't work. 6152 * Q5.0.6:: @samp{-iconic} doesn't work.
6153 * Q5.0.7:: How can I use antialiased fonts under X11?
6098 6154
6099 5.1: Microsoft Windows 6155 5.1: Microsoft Windows
6100 * Q5.1.1:: Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}? 6156 * Q5.1.1:: Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}?
6101 * Q5.1.2:: How do I get Windows Explorer to associate a file type with XEmacs? 6157 * Q5.1.2:: How do I get Windows Explorer to associate a file type with XEmacs?
6102 6158
6241 6297
6242 @lisp 6298 @lisp
6243 (make-frame '((name . "the-name"))) 6299 (make-frame '((name . "the-name")))
6244 @end lisp 6300 @end lisp
6245 6301
6246 @node Q5.0.6, Q5.1.1, Q5.0.5, External Subsystems 6302 @node Q5.0.6, Q5.0.7, Q5.0.5, External Subsystems
6247 @unnumberedsubsec Q5.0.6: @samp{-iconic} doesn't work. 6303 @unnumberedsubsec Q5.0.6: @samp{-iconic} doesn't work.
6248 6304
6249 When I start up XEmacs using @samp{-iconic} it doesn't work right. 6305 When I start up XEmacs using @samp{-iconic} it doesn't work right.
6250 Using @samp{-unmapped} on the command line, and setting the 6306 Using @samp{-unmapped} on the command line, and setting the
6251 @code{initiallyUnmapped} X Resource don't seem to help much either... 6307 @code{initiallyUnmapped} X Resource don't seem to help much either...
6256 Ugh, this stuff is such an incredible mess that I've about given up 6312 Ugh, this stuff is such an incredible mess that I've about given up
6257 getting it to work. The principal problem is numerous window-manager 6313 getting it to work. The principal problem is numerous window-manager
6258 bugs... 6314 bugs...
6259 @end quotation 6315 @end quotation
6260 6316
6317 @node Q5.0.7, Q5.1.1, Q5.0.6, External Subsystems
6318 @unnumberedsubsec Q5.0.7: How can I use antialiased fonts under X11?
6319
6320 The X11 version of XEmacs can use antialiased fonts via the Xft,
6321 fontconfig, and freetype libraries. To configure this you need a recent
6322 beta version (at least 21.5.24); the more recent, the better. This is
6323 beta software, the usual caveats apply. Rebuild xemacs using the
6324 following configure options, plus any others you normally use:
6325
6326 @samp{--enable-mule --with-xft=emacs,menubars}
6327
6328 Xft @emph{may} work without Mule but the developers working on the Xft
6329 code invariably build with Mule. The tab control also supports Xft, and
6330 at some date the progress gauge will as well. If they are configured in
6331 to XEmacs, you may add @samp{tabs} and @samp{gauges} to the value of the
6332 @samp{--with-xft} option (with a comma separating each value from the
6333 previous ones). For further details on the XEmacs widgets that support
6334 XFT, see the output of @code{./configure --help}. If you use a package
6335 manager from your OS distribution, you may need to install development
6336 packages for @file{fontconfig} and @file{Xft}, and possibly for their
6337 prequisites.
6338
6339 To specify a particular antialiased font, put something like the
6340 following lines in your @file{~/.Xdefaults} or @file{~/.Xresources}:
6341
6342 @example
6343 XEmacs.default.attributeFont: monospace-12
6344 XEmacs.bold.attributeFont: monospace-12:style=Bold
6345 XEmacs.italic.attributeFont: monospace-12:style=Oblique
6346 XEmacs.bold-italic.attributeFont: monospace-12:style=Bold Oblique
6347 XEmacs.modeline.attributeFont: sans-serif-11
6348 XEmacs.menubar.xftFont: sans-serif-11
6349 XEmacs*XftFont: sans-serif-11
6350 @end example
6351
6352 @strong{Warning}: These resource naming conventions are just hacks to
6353 get the code running; you should expect them to change. (Sorry about
6354 that, but this @emph{is} beta software!)
6355
6356 Then run @code{xrdb -merge} before starting the new, XFT-enabled
6357 xemacs. You can choose the available fonts from the list given by
6358 @code{fc-list}; try @code{xfd -fa FONTNAME-SIZE} to preview a given
6359 font. Note that ``monospace'' and ``sans-serif'' are generic aliases
6360 defined by fontconfig which may correspond to any of many real fonts
6361 based on local configuration and availability of the aliased fonts,
6362 and so are likely to give good results in a well-set-up system.
6363
6364 Although Customize does not yet handle fontconfig fontspecs, you can
6365 pass them as strings directly to @samp{set-face-font} to set fonts from
6366 Lisp.
6367
6261 @unnumberedsec 5.1: Microsoft Windows 6368 @unnumberedsec 5.1: Microsoft Windows
6262 6369
6263 @node Q5.1.1, Q5.1.2, Q5.0.6, External Subsystems 6370 @node Q5.1.1, Q5.1.2, Q5.0.7, External Subsystems
6264 @unnumberedsubsec Q5.1.1: Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}? 6371 @unnumberedsubsec Q5.1.1: Does XEmacs rename all the @samp{win32-*} symbols to @samp{w32-*}?
6265 6372
6266 In his flavor of Emacs 20, Richard Stallman has renamed all the @samp{win32-*} 6373 In his flavor of Emacs 20, Richard Stallman has renamed all the @samp{win32-*}
6267 symbols to @samp{w32-*}. Does XEmacs do the same? 6374 symbols to @samp{w32-*}. Does XEmacs do the same?
6268 6375
7139 @end quotation 7246 @end quotation
7140 7247
7141 @node Q6.1.6, Q6.2.1, Q6.1.5, Internet 7248 @node Q6.1.6, Q6.2.1, Q6.1.5, Internet
7142 @unnumberedsubsec Q6.1.6: Customization of VM not covered in the manual, or here. 7249 @unnumberedsubsec Q6.1.6: Customization of VM not covered in the manual, or here.
7143 7250
7144 @email{boffi@@hp735.stru.polimi.it, giacomo boffi} writes: 7251 @email{boffi@@hp735.stru.polimi.it, Giacomo Boffi} writes:
7145 7252
7146 @quotation 7253 @quotation
7147 The meta-answer is to look into the file @file{vm-vars.el}, in the vm 7254 The meta-answer is to look into the file @file{vm-vars.el}, in the vm
7148 directory of the lisp library. 7255 directory of the lisp library.
7149 7256
7330 7437
7331 ;;; Add things at the end, unconditionally 7438 ;;; Add things at the end, unconditionally
7332 (setq load-path (nconc load-path '("foo" "bar"))) 7439 (setq load-path (nconc load-path '("foo" "bar")))
7333 @end lisp 7440 @end lisp
7334 7441
7335 @email{keithh@@nortel.ca, keith (k.p.) hanlan} writes: 7442 @email{keithh@@nortel.ca, Keith (k.p.) Hanlan} writes:
7336 7443
7337 @quotation 7444 @quotation
7338 To add directories using Unix shell metacharacters use 7445 To add directories using Unix shell metacharacters use
7339 @file{expand-file-name} like this: 7446 @file{expand-file-name} like this:
7340 7447
8269 releases at all. In essence, XEmacs is now following the "alternating" 8376 releases at all. In essence, XEmacs is now following the "alternating"
8270 scheme of Linux, where at any point there are at least two different 8377 scheme of Linux, where at any point there are at least two different
8271 development branches, one "stable" and one "experimental". Periodic 8378 development branches, one "stable" and one "experimental". Periodic
8272 releases happen in both branches, but those in the experimental branch 8379 releases happen in both branches, but those in the experimental branch
8273 are not tested as well, and there's no guarantee they will work at all. 8380 are not tested as well, and there's no guarantee they will work at all.
8274 The experiemental branch is open to any and all code that's acceptable 8381 The experimental branch is open to any and all code that's acceptable
8275 to the developers; the stable branch, however, is in general limited 8382 to the developers; the stable branch, however, is in general limited
8276 only to bug fixes, and all contributions are carefully reviewed to make 8383 only to bug fixes, and all contributions are carefully reviewed to make
8277 sure they will increase and not decrease stability. 8384 sure they will increase and not decrease stability.
8278 8385
8279 21.3 never existed at all; it was decided to follow the Linux scheme 8386 21.3 never existed at all; it was decided to follow the Linux scheme