Mercurial > hg > xemacs-beta
comparison PROBLEMS @ 120:cca96a509cfe r20-1b12
Import from CVS: tag r20-1b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:25:29 +0200 |
parents | 9f59509498e1 |
children | 9b50b4588a93 |
comparison
equal
deleted
inserted
replaced
119:d101af7320b8 | 120:cca96a509cfe |
---|---|
1 -*- mode:outline; minor-mode:outl-mouse -*- | 1 -*- mode:outline; minor-mode:outl-mouse -*- |
2 This file describes various problems that have been encountered | 2 This file describes various problems that have been encountered |
3 in compiling, installing and running XEmacs. | 3 in compiling, installing and running XEmacs. |
4 | 4 |
5 (synched up with: 19.30) | 5 (synched up with: 19.30) |
6 (updated for 20.0) | 6 (updated for 20.1) |
7 | |
8 * Watch out for .emacs file | |
9 | |
10 ~/.emacs is your Emacs init file. If you observe strange problems, | |
11 invoke XEmacs with the `-q' option and see if you can repeat the | |
12 problem. | |
13 | |
14 * "Symbol's value as variable is void: unread-command-char". | |
15 * "Wrong type argument: arrayp, #<keymap 143 entries>" | |
16 * "Wrong type argument: stringp, [#<keypress-event return>]" | |
17 | |
18 There are a few incompatible changes in XEmacs, and these are the | |
19 symptoms. Some of the emacs-lisp code you are running needs to be | |
20 updated to be compatible with XEmacs. | |
21 | |
22 The code should not treat keymaps as arrays (use `define-key', etc.), | |
23 should not use obsolete variables like `unread-command-char' (use | |
24 `unread-command-event'). Many (most) of the new ways of doing things | |
25 are compatible in GNU Emacs and XEmacs. | |
26 | |
27 Modern Emacs packages (Gnus, VM, etc) are written cleanly, as to | |
28 support GNU Emacs and XEmacs. We have provided modified versions of | |
29 several popular emacs packages (dired, etc) which are compatible with | |
30 this version of emacs. Check to make sure you have not set your | |
31 load-path so that your private copies of these packages are being | |
32 found before the versions in the lisp directory. | |
33 | |
34 Make sure that your load-path and your $EMACSLOADPATH environment | |
35 variable are not pointing at an Emacs18 lisp directory. This will | |
36 cripple emacs. | |
7 | 37 |
8 * On Irix, I don't see the toolbar icons and I'm getting lots of | 38 * On Irix, I don't see the toolbar icons and I'm getting lots of |
9 entries in the warnings buffer. | 39 entries in the warnings buffer. |
10 | 40 |
11 SGI ships a really old Xpm library in /usr/lib which does not work at | 41 SGI ships a really old Xpm library in /usr/lib which does not work at |
118 In etc/ there are two files of note. emacskeys.sco and emacsstrs.sco. | 148 In etc/ there are two files of note. emacskeys.sco and emacsstrs.sco. |
119 The comments at the top of emacskeys.sco describe its function, and | 149 The comments at the top of emacskeys.sco describe its function, and |
120 the emacstrs.sco is a suitable candidate for /usr/lib/keyboard/strings | 150 the emacstrs.sco is a suitable candidate for /usr/lib/keyboard/strings |
121 to take advantage of the keyboard map in emacskeys.sco. | 151 to take advantage of the keyboard map in emacskeys.sco. |
122 | 152 |
123 * Don't use -O2 with gcc under Linux without also using | 153 * Don't use -O2 with gcc 2.7.2 under Linux without also using |
124 -fno-strength-reduce. gcc will generate incorrect code otherwise. | 154 -fno-strength-reduce. |
125 This bug is present in at least 2.6.x and 2.7.[0-2]. A patched | 155 |
126 binary for 2.7.2 is available in | 156 gcc will generate incorrect code otherwise. This bug is present in at |
127 | 157 least 2.6.x and 2.7.[0-2]. This bug has been fixed in GCC 2.7.2.1 and |
128 ftp://tsx-11.mit.edu/pub/linux/packages/GCC/gcc272-no-sr-bug.lbin.tgz | 158 later. |
129 | |
130 Or use GCC 2.7.2.1. | |
131 | 159 |
132 * Under some versions of OSF XEmacs runs fine if built without | 160 * Under some versions of OSF XEmacs runs fine if built without |
133 optimization but will crash randomly if built with optimization. | 161 optimization but will crash randomly if built with optimization. |
134 Using 'cc -g' is not sufficient to eliminate all optimization. Try | 162 Using 'cc -g' is not sufficient to eliminate all optimization. Try |
135 'cc -g -O0' instead. | 163 'cc -g -O0' instead. |
137 * On HP/UX configure selects gcc even though it isn't actually present. | 165 * On HP/UX configure selects gcc even though it isn't actually present. |
138 | 166 |
139 Some versions of SoftBench have an executable called 'gcc' that is not | 167 Some versions of SoftBench have an executable called 'gcc' that is not |
140 actually the GNU C compiler. Use the --with-gcc=no flag when running | 168 actually the GNU C compiler. Use the --with-gcc=no flag when running |
141 configure. | 169 configure. |
142 | |
143 | 170 |
144 * When Emacs tries to ring the bell, you get an error like | 171 * When Emacs tries to ring the bell, you get an error like |
145 | 172 |
146 audio: sst_open: SETQSIZE" Invalid argument | 173 audio: sst_open: SETQSIZE" Invalid argument |
147 audio: sst_close: SETREG MMR2, Invalid argument | 174 audio: sst_close: SETREG MMR2, Invalid argument |
260 | 287 |
261 This only occurs if you have LANG != C. This is a known bug with | 288 This only occurs if you have LANG != C. This is a known bug with |
262 /bin/sh fixed by installing Patch-ID# 101613-01. | 289 /bin/sh fixed by installing Patch-ID# 101613-01. |
263 | 290 |
264 * "Cannot find callback list" messages from dialog boxes on HPUX, in | 291 * "Cannot find callback list" messages from dialog boxes on HPUX, in |
265 Emacs built with Motif. | 292 Emacs built with Motif. |
266 | 293 |
267 This problem resulted from a bug in GCC 2.4.5. Newer GCC versions | 294 This problem resulted from a bug in GCC 2.4.5. Newer GCC versions |
268 such as 2.7.0 fix the problem. | 295 such as 2.7.0 fix the problem. |
269 | 296 |
270 * On Irix 6.0, make tries (and fails) to build a program named unexelfsgi | 297 * On Irix 6.0, make tries (and fails) to build a program named unexelfsgi |
274 find that string, and take out the spaces. | 301 find that string, and take out the spaces. |
275 | 302 |
276 Compiler fixes in Irix 6.0.1 should eliminate this problem. | 303 Compiler fixes in Irix 6.0.1 should eliminate this problem. |
277 | 304 |
278 * With certain fonts, when the cursor appears on a character, the | 305 * With certain fonts, when the cursor appears on a character, the |
279 character doesn't appear--you get a solid box instead. | 306 character doesn't appear--you get a solid box instead. |
280 | 307 |
281 One user on a Linux system reported that this problem went away with | 308 One user on a Linux system reported that this problem went away with |
282 installation of a new X server. The failing server was XFree86 3.1.1. | 309 installation of a new X server. The failing server was XFree86 3.1.1. |
283 XFree86 3.1.2 works. | 310 XFree86 3.1.2 works. |
284 | 311 |
288 on a system that is version 4.1.3. You must specify the precise | 315 on a system that is version 4.1.3. You must specify the precise |
289 version number (or let configure figure out the configuration, which | 316 version number (or let configure figure out the configuration, which |
290 it can do perfectly well for SunOS). | 317 it can do perfectly well for SunOS). |
291 | 318 |
292 * On SunOS 4, Emacs processes keep going after you kill the X server | 319 * On SunOS 4, Emacs processes keep going after you kill the X server |
293 (or log out, if you logged in using X). | 320 (or log out, if you logged in using X). |
294 | 321 |
295 Someone reported that recompiling with GCC 2.7.0 fixed this problem. | 322 Someone reported that recompiling with GCC 2.7.0 fixed this problem. |
296 | 323 |
297 * On AIX 4, some programs fail when run in a Shell buffer | 324 * On AIX 4, some programs fail when run in a Shell buffer |
298 with an error message like No terminfo entry for "unknown". | 325 with an error message like No terminfo entry for "unknown". |
299 | 326 |
300 On AIX, many terminal type definitions are not installed by default. | 327 On AIX, many terminal type definitions are not installed by default. |
301 `unknown' is one of them. Install the "Special Generic Terminal | 328 `unknown' is one of them. Install the "Special Generic Terminal |
302 Definitions" to make them defined. | 329 Definitions" to make them defined. |
303 | 330 |
322 ranlib libIM.a | 349 ranlib libIM.a |
323 | 350 |
324 Then change -lIM to ./libIM.a in the command to link temacs (in | 351 Then change -lIM to ./libIM.a in the command to link temacs (in |
325 Makefile). | 352 Makefile). |
326 | 353 |
327 * Unpredictable segmentation faults on Solaris 2.3 and 2.4. | |
328 | |
329 A user reported that this happened in 19.29 when it was compiled with | |
330 the Sun compiler, but not when he recompiled with GCC 2.7.0. | |
331 | |
332 We do not know whether something in Emacs is partly to blame for this. | |
333 | |
334 * Emacs exits with "X protocol error" when run with an X server for | 354 * Emacs exits with "X protocol error" when run with an X server for |
335 Windows. | 355 Windows. |
336 | 356 |
337 A certain X server for Windows had a bug which caused this. | 357 A certain X server for Windows had a bug which caused this. |
338 Supposedly the newer 32-bit version of this server doesn't have the | 358 Supposedly the newer 32-bit version of this server doesn't have the |
339 problem. | 359 problem. |
340 | 360 |
364 script links many test programs with the system libraries; you must | 384 script links many test programs with the system libraries; you must |
365 make sure that the libraries available to configure are the same | 385 make sure that the libraries available to configure are the same |
366 ones available when you build Emacs. | 386 ones available when you build Emacs. |
367 | 387 |
368 * The right Alt key works wrong on German HP keyboards (and perhaps | 388 * The right Alt key works wrong on German HP keyboards (and perhaps |
369 other non-English HP keyboards too). | 389 other non-English HP keyboards too). |
370 | 390 |
371 This is because HPUX defines the modifiers wrong in X. Here is a | 391 This is because HPUX defines the modifiers wrong in X. Here is a |
372 shell script to fix the problem; be sure that it is run after VUE | 392 shell script to fix the problem; be sure that it is run after VUE |
373 configures the X server. | 393 configures the X server. |
374 | 394 |
452 simpler solution: create an empty `/etc/host.conf' file. The command | 472 simpler solution: create an empty `/etc/host.conf' file. The command |
453 `touch /etc/host.conf' suffices to create the file. The `/etc/hosts' | 473 `touch /etc/host.conf' suffices to create the file. The `/etc/hosts' |
454 file is not necessary with this approach. | 474 file is not necessary with this approach. |
455 | 475 |
456 * On Solaris 2.4, Dired hangs and C-g does not work. Or Emacs hangs | 476 * On Solaris 2.4, Dired hangs and C-g does not work. Or Emacs hangs |
457 forever waiting for termination of a subprocess that is a zombie. | 477 forever waiting for termination of a subprocess that is a zombie. |
458 | 478 |
459 casper@fwi.uva.nl says the problem is in X11R6. Rebuild libX11.so | 479 casper@fwi.uva.nl says the problem is in X11R6. Rebuild libX11.so |
460 after changing the file xc/config/cf/sunLib.tmpl. Change the lines | 480 after changing the file xc/config/cf/sunLib.tmpl. Change the lines |
461 | 481 |
462 #if ThreadedX | 482 #if ThreadedX |
493 #define ThreadedX NO | 513 #define ThreadedX NO |
494 in sun.cf and did `make World' to rebuild X11R6. Removing all | 514 in sun.cf and did `make World' to rebuild X11R6. Removing all |
495 `-DXTHREAD*' flags and `-lthread' entries from lib/X11/Makefile and | 515 `-DXTHREAD*' flags and `-lthread' entries from lib/X11/Makefile and |
496 typing 'make install' in that directory also seemed to work. | 516 typing 'make install' in that directory also seemed to work. |
497 | 517 |
498 * With M-x enable-flow-control, you need to type C-\ twice | 518 * With M-x enable-flow-control, you need to type C-\ twice to do |
499 to do incremental search--a single C-\ gets no response. | 519 incremental search--a single C-\ gets no response. |
500 | 520 |
501 This has been traced to communicating with your machine via kermit, | 521 This has been traced to communicating with your machine via kermit, |
502 with C-\ as the kermit escape character. One solution is to use | 522 with C-\ as the kermit escape character. One solution is to use |
503 another escape character in kermit. One user did | 523 another escape character in kermit. One user did |
504 | 524 |
857 | 877 |
858 You are probably using a shell that doesn't support job control, even | 878 You are probably using a shell that doesn't support job control, even |
859 though the system itself is capable of it. Either use a different shell, | 879 though the system itself is capable of it. Either use a different shell, |
860 or set the variable `cannot-suspend' to a non-nil value. | 880 or set the variable `cannot-suspend' to a non-nil value. |
861 | 881 |
862 * Watch out for .emacs files and EMACSLOADPATH environment vars | |
863 | |
864 These control the actions of Emacs. | |
865 ~/.emacs is your Emacs init file. | |
866 EMACSLOADPATH overrides which directories the function | |
867 "load" will search. | |
868 | |
869 If you observe strange problems, check for these and get rid | |
870 of them, then try again. | |
871 | |
872 * After running emacs once, subsequent invocations crash. | 882 * After running emacs once, subsequent invocations crash. |
873 | 883 |
874 Some versions of SVR4 have a serious bug in the implementation of the | 884 Some versions of SVR4 have a serious bug in the implementation of the |
875 mmap () system call in the kernel; this causes emacs to run correctly | 885 mmap () system call in the kernel; this causes emacs to run correctly |
876 the first time, and then crash when run a second time. | 886 the first time, and then crash when run a second time. |
947 sure to say exactly what type of machine and system you are using. | 957 sure to say exactly what type of machine and system you are using. |
948 | 958 |
949 * Emacs fails to understand most Internet host names, even though | 959 * Emacs fails to understand most Internet host names, even though |
950 the names work properly with other programs on the same system. | 960 the names work properly with other programs on the same system. |
951 * Emacs won't work with X-windows if the value of DISPLAY is HOSTNAME:0. | 961 * Emacs won't work with X-windows if the value of DISPLAY is HOSTNAME:0. |
952 * GNUs can't make contact with the specified host for nntp. | 962 * Gnus can't make contact with the specified host for nntp. |
953 | 963 |
954 This typically happens on Suns and other systems that use shared | 964 This typically happens on Suns and other systems that use shared |
955 libraries. The cause is that the site has installed a version of the | 965 libraries. The cause is that the site has installed a version of the |
956 shared library which uses a name server--but has not installed a | 966 shared library which uses a name server--but has not installed a |
957 similar version of the unshared library which Emacs uses. | 967 similar version of the unshared library which Emacs uses. |
1090 XSendEvent. Allowing emacs to react to synthetic events is a security hole, | 1100 XSendEvent. Allowing emacs to react to synthetic events is a security hole, |
1091 so this is turned off by default. You can enable it by setting the variable | 1101 so this is turned off by default. You can enable it by setting the variable |
1092 x-allow-sendevents to t. You can also cause fix this by telling OLWM to not | 1102 x-allow-sendevents to t. You can also cause fix this by telling OLWM to not |
1093 grab the help key, with the null binding "OpenWindows.KeyboardCommand.Help:". | 1103 grab the help key, with the null binding "OpenWindows.KeyboardCommand.Help:". |
1094 | 1104 |
1095 * Something awful happens when I type M-ESC, instead of `eval-expression'. | 1105 * Using X11, control-shift-leftbutton makes Emacs hang. |
1096 | |
1097 MWM intercepts this and several other keys. Turn this off by adding this to | |
1098 your resources: "mwm*keyBindings: NoKeyBindings". | |
1099 | |
1100 * Using X Windows, control-shift-leftbutton makes Emacs hang. | |
1101 | 1106 |
1102 Use the shell command `xset bc' to make the old X Menu package work. | 1107 Use the shell command `xset bc' to make the old X Menu package work. |
1103 | 1108 |
1104 * Emacs running under X Windows does not handle mouse clicks. | 1109 * Emacs running under X11 does not handle mouse clicks. |
1105 * `emacs -geometry 80x20' finds a file named `80x20'. | 1110 * `emacs -geometry 80x20' finds a file named `80x20'. |
1106 | 1111 |
1107 One cause of such problems is having (setq term-file-prefix nil) in | 1112 One cause of such problems is having (setq term-file-prefix nil) in |
1108 your .emacs file. Another cause is a bad value of EMACSLOADPATH in | 1113 your .emacs file. Another cause is a bad value of EMACSLOADPATH in |
1109 the environment. | 1114 the environment. |
1278 then emacs won't be able to guess the names of the "bold" and "italic" | 1283 then emacs won't be able to guess the names of the "bold" and "italic" |
1279 versions. All X fonts can be referred to via XLFD-style names, so you | 1284 versions. All X fonts can be referred to via XLFD-style names, so you |
1280 should use those forms. See the man pages for X(1), xlsfonts(1), and | 1285 should use those forms. See the man pages for X(1), xlsfonts(1), and |
1281 xfontsel(1). | 1286 xfontsel(1). |
1282 | 1287 |
1283 * The dumped Emacs (xemacs) crashes when run, trying to write pure data. | 1288 * The dumped Emacs (XEmacs) crashes when run, trying to write pure data. |
1284 | 1289 |
1285 Two causes have been seen for such problems. | 1290 Two causes have been seen for such problems. |
1286 | 1291 |
1287 1) On a system where getpagesize is not a system call, it is defined | 1292 1) On a system where getpagesize is not a system call, it is defined |
1288 as a macro. If the definition (in both unexec.c and malloc.c) is wrong, | 1293 as a macro. If the definition (in both unexec.c and malloc.c) is wrong, |
1305 * Compilation errors on VMS. | 1310 * Compilation errors on VMS. |
1306 | 1311 |
1307 Sorry, XEmacs does not work under VMS. You might consider working on | 1312 Sorry, XEmacs does not work under VMS. You might consider working on |
1308 the port if you really want to have XEmacs work under VMS. | 1313 the port if you really want to have XEmacs work under VMS. |
1309 | 1314 |
1310 * "Symbol's value as variable is void: unread-command-char". | 1315 * Mail agents (VM, Gnus, rmail) cannot get new mail |
1311 * "Wrong type argument: arrayp, #<keymap 143 entries>" | |
1312 * "Wrong type argument: stringp, [#<keypress-event return>]" | |
1313 | |
1314 There are a few incompatible changes in XEmacs, and these are the | |
1315 symptoms. Some of the emacs-lisp code you are running needs to be | |
1316 updated to be compatible with XEmacs. | |
1317 | |
1318 We have provided modified versions of several popular emacs packages (GNUS, | |
1319 VM, etc) which are compatible with this version of emacs. Check to make | |
1320 sure you have not set your load-path so that your private copies of these | |
1321 packages are being found before the versions in the lisp directory. | |
1322 | |
1323 Make sure that your load-path and your $EMACSLOADPATH environment variable | |
1324 are not pointing at an Emacs18 lisp directory. This will cripple emacs. | |
1325 | |
1326 * rmail or VM gets error getting new mail | |
1327 | 1316 |
1328 rmail and VM get new mail from /usr/spool/mail/$USER using a program | 1317 rmail and VM get new mail from /usr/spool/mail/$USER using a program |
1329 called `movemail'. This program interlocks with /bin/mail using | 1318 called `movemail'. This program interlocks with /bin/mail using the |
1330 the protocol defined by /bin/mail. | 1319 protocol defined by /bin/mail. |
1331 | 1320 |
1332 There are two different protocols in general use. One of them uses | 1321 There are two different protocols in general use. One of them uses |
1333 the `flock' system call. The other involves creating a lock file; | 1322 the `flock' system call. The other involves creating a lock file; |
1334 `movemail' must be able to write in /usr/spool/mail in order to do | 1323 `movemail' must be able to write in /usr/spool/mail in order to do |
1335 this. You control which one is used by defining, or not defining, | 1324 this. You control which one is used by defining, or not defining, the |
1336 the macro MAIL_USE_FLOCK in config.h or the m- or s- file it includes. | 1325 macro MAIL_USE_FLOCK in config.h or the m- or s- file it includes. IF |
1337 IF YOU DON'T USE THE FORM OF INTERLOCKING THAT IS NORMAL ON YOUR | 1326 YOU DON'T USE THE FORM OF INTERLOCKING THAT IS NORMAL ON YOUR SYSTEM, |
1338 SYSTEM, YOU CAN LOSE MAIL! | 1327 YOU CAN LOSE MAIL! |
1339 | 1328 |
1340 If your system uses the lock file protocol, and fascist restrictions | 1329 If your system uses the lock file protocol, and fascist restrictions |
1341 prevent ordinary users from writing the lock files in /usr/spool/mail, | 1330 prevent ordinary users from writing the lock files in /usr/spool/mail, |
1342 you may need to make `movemail' setgid to a suitable group such as | 1331 you may need to make `movemail' setgid to a suitable group such as |
1343 `mail'. You can use these commands (as root): | 1332 `mail'. You can use these commands (as root): |
1346 chmod 2755 movemail | 1335 chmod 2755 movemail |
1347 | 1336 |
1348 If your system uses the lock file protocol, and fascist restrictions | 1337 If your system uses the lock file protocol, and fascist restrictions |
1349 prevent ordinary users from writing the lock files in /usr/spool/mail, | 1338 prevent ordinary users from writing the lock files in /usr/spool/mail, |
1350 you may need to make `movemail' setgid to a suitable group such as | 1339 you may need to make `movemail' setgid to a suitable group such as |
1351 `mail'. To do this, use the following commands (as root) after doing the | 1340 `mail'. To do this, use the following commands (as root) after doing |
1352 make install. | 1341 the make install. |
1353 | 1342 |
1354 chgrp mail movemail | 1343 chgrp mail movemail |
1355 chmod 2755 movemail | 1344 chmod 2755 movemail |
1356 | 1345 |
1357 Installation normally copies movemail from the build directory to an | 1346 Installation normally copies movemail from the build directory to an |
1458 | 1447 |
1459 If that line of approach is not successful, map some other characters | 1448 If that line of approach is not successful, map some other characters |
1460 into C-s and C-q using keyboard-translate-table. The example above | 1449 into C-s and C-q using keyboard-translate-table. The example above |
1461 shows how to do this with C-^ and C-\. | 1450 shows how to do this with C-^ and C-\. |
1462 | 1451 |
1463 * Control-S and Control-Q commands are ignored completely on a net connection. | 1452 * Control-S and Control-Q commands are ignored completely on a net |
1453 connection. | |
1464 | 1454 |
1465 Some versions of rlogin (and possibly telnet) do not pass flow | 1455 Some versions of rlogin (and possibly telnet) do not pass flow |
1466 control characters to the remote system to which they connect. | 1456 control characters to the remote system to which they connect. |
1467 On such systems, emacs on the remote system cannot disable flow | 1457 On such systems, emacs on the remote system cannot disable flow |
1468 control on the local system. | 1458 control on the local system. |
1469 | 1459 |
1470 One way to cure this is to disable flow control on the local host | 1460 One way to cure this is to disable flow control on the local host |
1471 (the one running rlogin, not the one running rlogind) using the | 1461 (the one running rlogin, not the one running rlogind) using the |
1472 stty command, before starting the rlogin process. On many systems, | 1462 stty command, before starting the rlogin process. On many systems, |
1473 "stty start u stop u" will do this. | 1463 `stty start u stop u' will do this. |
1474 | 1464 |
1475 Some versions of tcsh will prevent even this from working. One way | 1465 Some versions of tcsh will prevent even this from working. One way |
1476 around this is to start another shell before starting rlogin, and | 1466 around this is to start another shell before starting rlogin, and |
1477 issue the stty command to disable flow control from that shell. | 1467 issue the stty command to disable flow control from that shell. |
1478 | 1468 |
1479 If none of these methods work, the best solution is to type | 1469 If none of these methods work, the best solution is to type |
1480 M-x enable-flow-control at the beginning of your emacs session, or | 1470 `M-x enable-flow-control' at the beginning of your emacs session, or |
1481 if you expect the problem to continue, add a line such as the | 1471 if you expect the problem to continue, add a line such as the |
1482 following to your .emacs (on the host running rlogind): | 1472 following to your .emacs (on the host running rlogind): |
1483 | 1473 |
1484 (enable-flow-control-on "vt200" "vt300" "vt101" "vt131") | 1474 (enable-flow-control-on "vt200" "vt300" "vt101" "vt131") |
1485 | 1475 |
1486 See the entry about spontaneous display of I-search (above) for more | 1476 See the entry about spontaneous display of I-search (above) for more |
1487 info. | 1477 info. |
1488 | 1478 |
1489 * Screen is updated wrong, but only on one kind of terminal. | 1479 * Screen is updated wrong, but only on one kind of terminal. |
1490 | 1480 |
1491 This could mean that the termcap entry you are using for that | 1481 This could mean that the termcap entry you are using for that terminal |
1492 terminal is wrong, or it could mean that Emacs has a bug handing | 1482 is wrong, or it could mean that Emacs has a bug handing the |
1493 the combination of features specified for that terminal. | 1483 combination of features specified for that terminal. |
1494 | 1484 |
1495 The first step in tracking this down is to record what characters | 1485 The first step in tracking this down is to record what characters |
1496 Emacs is sending to the terminal. Execute the Lisp expression | 1486 Emacs is sending to the terminal. Execute the Lisp expression |
1497 (open-termscript "./emacs-script") to make Emacs write all | 1487 (open-termscript "./emacs-script") to make Emacs write all terminal |
1498 terminal output into the file ~/emacs-script as well; then do | 1488 output into the file ~/emacs-script as well; then do what makes the |
1499 what makes the screen update wrong, and look at the file | 1489 screen update wrong, and look at the file and decode the characters |
1500 and decode the characters using the manual for the terminal. | 1490 using the manual for the terminal. There are several possibilities: |
1501 There are several possibilities: | |
1502 | 1491 |
1503 1) The characters sent are correct, according to the terminal manual. | 1492 1) The characters sent are correct, according to the terminal manual. |
1504 | 1493 |
1505 In this case, there is no obvious bug in Emacs, and most likely you | 1494 In this case, there is no obvious bug in Emacs, and most likely you |
1506 need more padding, or possibly the terminal manual is wrong. | 1495 need more padding, or possibly the terminal manual is wrong. |
1507 | 1496 |
1508 2) The characters sent are incorrect, due to an obscure aspect | 1497 2) The characters sent are incorrect, due to an obscure aspect of the |
1509 of the terminal behavior not described in an obvious way | 1498 terminal behavior not described in an obvious way by termcap. |
1510 by termcap. | 1499 |
1511 | 1500 This case is hard. It will be necessary to think of a way for Emacs |
1512 This case is hard. It will be necessary to think of a way for | 1501 to distinguish between terminals with this kind of behavior and other |
1513 Emacs to distinguish between terminals with this kind of behavior | 1502 terminals that behave subtly differently but are classified the same |
1514 and other terminals that behave subtly differently but are | 1503 by termcap; or else find an algorithm for Emacs to use that avoids the |
1515 classified the same by termcap; or else find an algorithm for | 1504 difference. Such changes must be tested on many kinds of terminals. |
1516 Emacs to use that avoids the difference. Such changes must be | |
1517 tested on many kinds of terminals. | |
1518 | 1505 |
1519 3) The termcap entry is wrong. | 1506 3) The termcap entry is wrong. |
1520 | 1507 |
1521 See the file etc/TERMS for information on changes | 1508 See the file etc/TERMS for information on changes that are known to be |
1522 that are known to be needed in commonly used termcap entries | 1509 needed in commonly used termcap entries for certain terminals. |
1523 for certain terminals. | 1510 |
1524 | 1511 4) The characters sent are incorrect, and clearly cannot be right for |
1525 4) The characters sent are incorrect, and clearly cannot be | 1512 any terminal with the termcap entry you were using. |
1526 right for any terminal with the termcap entry you were using. | 1513 |
1527 | 1514 This is unambiguously an Emacs bug, and can probably be fixed in |
1528 This is unambiguously an Emacs bug, and can probably be fixed | 1515 termcap.c, tparam.c, term.c, scroll.c, cm.c or dispnew.c. |
1529 in termcap.c, tparam.c, term.c, scroll.c, cm.c or dispnew.c. | |
1530 | 1516 |
1531 * Output from Control-V is slow. | 1517 * Output from Control-V is slow. |
1532 | 1518 |
1533 On many bit-map terminals, scrolling operations are fairly slow. | 1519 On many bit-map terminals, scrolling operations are fairly slow. |
1534 Often the termcap entry for the type of terminal in use fails | 1520 Often the termcap entry for the type of terminal in use fails |
1580 | 1566 |
1581 This makes your Backspace key send DEL (ASCII 127). | 1567 This makes your Backspace key send DEL (ASCII 127). |
1582 | 1568 |
1583 * You type Control-H (Backspace) expecting to delete characters. | 1569 * You type Control-H (Backspace) expecting to delete characters. |
1584 | 1570 |
1585 Emacs has traditionally used Control-H for help; unfortunately | 1571 Emacs has traditionally used Control-H for help; unfortunately this |
1586 this interferes with its use as Backspace on TTY's. This has not | 1572 interferes with its use as Backspace on TTY's. One way to solve this |
1587 been fixed due to an incredible arrogance on RMS's part. One way | 1573 problem is to put this in your .emacs: |
1588 to solve this problem is to put this in your .emacs: | 1574 |
1589 | 1575 (keyboard-translate ?\C-h ?\C-?) |
1590 (global-set-key "\b" 'delete-backward-char) | 1576 (global-set-key "\M-?" 'help-command) |
1591 (global-set-key "\M-h" 'help-command) | |
1592 | 1577 |
1593 This makes Control-H (Backspace) work sensibly, and moves help to | 1578 This makes Control-H (Backspace) work sensibly, and moves help to |
1594 Meta-H (ESC H). | 1579 Meta-? (ESC ?). |
1595 | 1580 |
1596 Note that you can probably also access help using F1. | 1581 Note that you can probably also access help using F1. |
1597 | 1582 |
1598 * Editing files through RFS gives spurious "file has changed" warnings. | 1583 * Editing files through RFS gives spurious "file has changed" warnings. |
1599 It is possible that a change in Emacs 18.37 gets around this problem, | 1584 It is possible that a change in Emacs 18.37 gets around this problem, |
1716 | 1701 |
1717 I hear that some C compilers cannot handle returning a union type. | 1702 I hear that some C compilers cannot handle returning a union type. |
1718 Most of the functions in GNU Emacs return type Lisp_Object, which is | 1703 Most of the functions in GNU Emacs return type Lisp_Object, which is |
1719 defined as a union on some rare architectures. | 1704 defined as a union on some rare architectures. |
1720 | 1705 |
1721 This problem will not happen if the m-...h file for your type | 1706 This problem will not happen if the m-...h file for your type of |
1722 of machine defines NO_UNION_TYPE. That is the recommended setting now. | 1707 machine defines NO_UNION_TYPE. That is the recommended setting now. |
1723 | 1708 |
1724 * `Error: No ExtNode to pop!' on Linux systems with Lesstif. | 1709 * `Error: No ExtNode to pop!' on Linux systems with Lesstif. |
1725 | 1710 |
1726 This error message has been observed with lesstif-0.75a. It does not | 1711 This error message has been observed with lesstif-0.75a. It does not |
1727 appear to cause any harm. | 1712 appear to cause any harm. |
1737 instead of /usr/include. The fix is to use | 1722 instead of /usr/include. The fix is to use |
1738 --site-includes=/usr/include/db with configure. | 1723 --site-includes=/usr/include/db with configure. |
1739 | 1724 |
1740 * Signaling: (error "Byte code stack underflow (byte compiler bug), pc 38") | 1725 * Signaling: (error "Byte code stack underflow (byte compiler bug), pc 38") |
1741 | 1726 |
1742 This error is given when XEmacs v20 is compiled without MULE support | 1727 This error is given when XEmacs 20 is compiled without MULE support |
1743 but is attempting to load a .elc which requires MULE support. The fix | 1728 but is attempting to load a .elc which requires MULE support. The fix |
1744 is to rebytecompile the offending file. | 1729 is to rebytecompile the offending file. |
1745 | 1730 |
1746 * alloc.c will not compile without -P on HP-UX 9.05 | 1731 * alloc.c will not compile without -P on HP-UX 9.05 |
1747 | 1732 |
1748 Pekka Marjola <pema@iki.fi> writes: | 1733 Pekka Marjola <pema@iki.fi> writes: |
1749 Gcc (2.7.2, with cpplib IIRC) required something (-P worked :) to get | 1734 Gcc (2.7.2, with cpplib IIRC) required something (-P worked :) to |
1750 it to compile. Otherwise it failed on those DEFUN macros with comments | 1735 get it to compile. Otherwise it failed on those DEFUN macros with |
1751 inside parameter lists (like buffer.c, line 296). | 1736 comments inside parameter lists (like buffer.c, line 296). |
1752 | 1737 |
1753 * Excessive optimization with Gcc-2.7.2 and pgcc can break XEmacs | 1738 * Excessive optimization with pgcc can break XEmacs |
1754 | 1739 |
1755 It has been reported on some systems that compiling with -O6 can lead | 1740 It has been reported on some systems that compiling with -O6 can lead |
1756 to XEmacs failures. The workaround is to use a lower optimization | 1741 to XEmacs failures. The workaround is to use a lower optimization |
1757 level. -O2 and -O4 have been tested extensively. | 1742 level. -O2 and -O4 have been tested extensively. |
1758 | 1743 |
1759 * -O2 optimization on Irix 5.3 can cause compiler complaint. | 1744 * -O2 optimization on Irix 5.3 can cause compiler complaint. |
1760 | 1745 |
1761 Nick J. Crabtree <nickc@scopic.com> writes: | 1746 Nick J. Crabtree <nickc@scopic.com> writes: |
1762 Comes up OK on a tty (all I have available over this slow link). Ill | 1747 Comes up OK on a tty (all I have available over this slow link). Ill |
1763 give it a hammering tomorrow. The -O2 optimisation complained about | 1748 give it a hammering tomorrow. The -O2 optimisation complained about |
1764 sizes exceeding thresholds; I haven't bothered to use the -Olimit | 1749 sizes exceeding thresholds; I haven't bothered to use the -Olimit |
1765 option it recommends. | 1750 option it recommends. |
1766 | 1751 |
1767 * Excessive optimization on AIX 4.2 can lead to compiler failure. | 1752 * Excessive optimization on AIX 4.2 can lead to compiler failure. |
1768 | 1753 |
1769 Valdis.Kletnieks@vt.edu writes: | 1754 Valdis.Kletnieks@vt.edu writes: |
1770 At least at the b34 level, and the latest-and-greatest IBM xlc | 1755 At least at the b34 level, and the latest-and-greatest IBM xlc |
1771 (3.1.4.4), there are problems with -O3. I haven't investigated | 1756 (3.1.4.4), there are problems with -O3. I haven't investigated |
1772 further. | 1757 further. |
1773 | 1758 |
1774 * Sed problems on Solaris 2.5 | 1759 * Sed problems on Solaris 2.5 |
1775 | 1760 |
1776 There have been reports of Sun sed truncating very lines in the | 1761 There have been reports of Sun sed truncating very lines in the |
1777 Makefile during configuration. The workaround is to use GNU sed. | 1762 Makefile during configuration. The workaround is to use GNU sed or, |
1763 even better, think of a better way to generate Makefile, and send us a | |
1764 patch. :-) | |
1778 | 1765 |
1779 * CDE is not autodetected on HP. | 1766 * CDE is not autodetected on HP. |
1780 | 1767 |
1781 Richard Cognot <cognot@ensg.u-nancy.fr> writes: | 1768 Richard Cognot <cognot@ensg.u-nancy.fr> writes: |
1782 I have to force /usr/dt/{lib,include} into the site include/lib | 1769 I have to force /usr/dt/{lib,include} into the site include/lib |
1783 command line options. I could add these in hpux10.h, but then I would | 1770 command line options. I could add these in hpux10.h, but then I |
1784 think these should be pretty standard (to my knowledge, that's also | 1771 would think these should be pretty standard (to my knowledge, that's |
1785 where Sun puts its CDE stuff), so that wouldn't fix the problem on | 1772 also where Sun puts its CDE stuff), so that wouldn't fix the problem |
1786 other architectures. AAMOF, when these path are given, CDE is | 1773 on other architectures. AAMOF, when these path are given, CDE is |
1787 detected, and DragAndDrop works (more or less, see next issue). | 1774 detected, and DragAndDrop works (more or less, see next issue). |
1788 | 1775 |
1789 * Signalling: (wrong-type-argument ...) when loading mail-abbrevs | 1776 * Signalling: (wrong-type-argument ...) when loading mail-abbrevs |
1790 | 1777 |
1791 The is seen when installing the Big Brother Data Base (bbdb) which | 1778 The is seen when installing the Big Brother Data Base (bbdb) which |
1792 includes an outdated copy of mail-abbrevs.el. Remove the copy that | 1779 includes an outdated copy of mail-abbrevs.el. Remove the copy that |
1814 or configure will fail. | 1801 or configure will fail. |
1815 | 1802 |
1816 * On Irix 5.x and 6.x, the dumped XEmacs (xemacs) core dumps when executed | 1803 * On Irix 5.x and 6.x, the dumped XEmacs (xemacs) core dumps when executed |
1817 on another machine, or after newer SGI IRIX patches have been installed. | 1804 on another machine, or after newer SGI IRIX patches have been installed. |
1818 | 1805 |
1819 The xemacs binary must be executed with the same "libc.so" file which was used | 1806 The xemacs binary must be executed with the same "libc.so" file which |
1820 when the xemacs binary was dumped. Some SGI IRIX patches update this file. | 1807 was used when the xemacs binary was dumped. Some SGI IRIX patches |
1821 Make sure that all machines using the xemacs binary are using the same | 1808 update this file. Make sure that all machines using the xemacs binary |
1822 set of IRIX patches. If xemacs core dumps after a patch upgrade then you | 1809 are using the same set of IRIX patches. If xemacs core dumps after a |
1823 will have to redump it from temacs. | 1810 patch upgrade then you will have to redump it from temacs. |
1824 | 1811 |
1825 * xemacs: can't resolve symbol '__malloc_hook' | 1812 * xemacs: can't resolve symbol '__malloc_hook' |
1826 | 1813 |
1827 This is a Linux problem where you've compiled the XEmacs binary on a libc | 1814 This is a Linux problem where you've compiled the XEmacs binary on a libc |
1828 5.4 with version higher than 5.4.19 and attempted to run the binary against | 1815 5.4 with version higher than 5.4.19 and attempted to run the binary against |
1829 an earlier version. The solution is to upgrade your old library. | 1816 an earlier version. The solution is to upgrade your old library. |
1830 | 1817 |
1831 * VM appears to hang in large folders | 1818 * VM appears to hang in large folders |
1832 | 1819 |
1833 This is normal (trust us) when upgrading to VM-6.22 from earlier versions. | 1820 This is normal (trust us) when upgrading to VM-6.22 from earlier |
1834 Let VM finish what it is doing and all will be well. | 1821 versions. Let VM finish what it is doing and all will be well. |