Show
Ignore:
Timestamp:
2003年12月28日 22時47分28秒 (5 years ago)
Author:
miyoshi
Message:

Sync up with Emacs-21.2.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/etc/PROBLEMS

    r2524 r3207  
    2020run the script like this: 
    2121 
    22   CPP='gcc -E -traditional" ./configure ... 
     22  CPP='gcc -E -traditional' ./configure ... 
    2323 
    2424(replace the ellipsis "..." with any additional arguments you pass to 
     
    2727Note that this problem does not pertain to the MS-Windows port of 
    2828Emacs, since it doesn't use the preprocessor to generate Makefiles. 
     29 
     30* Building Emacs with a system compiler fails to link because of an 
     31  undefined symbol such as __eprintf which does not appear in Emacs. 
     32 
     33This can happen if some of the libraries linked into Emacs were built 
     34with GCC, but Emacs itself is being linked with a compiler other than 
     35GCC.  Object files compiled with GCC might need some helper functions 
     36from libgcc.a, the library which comes with GCC, but the system 
     37compiler does not instruct the linker to search libgcc.a during the 
     38link stage. 
     39 
     40A solution is to link with GCC, like this: 
     41 
     42        make CC=gcc 
     43 
     44Since the .o object files already exist, this will not recompile Emacs 
     45with GCC, but just start by trying again to link temacs. 
    2946 
    3047* Building the MS-Windows port with Cygwin GCC can fail. 
     
    4158The error message might be something like this: 
    4259 
    43  Converting d:/emacs-21.1/leim/CXTERM-DIC/4Corner.tit to quail-package... 
     60 Converting d:/emacs-21.2/leim/CXTERM-DIC/4Corner.tit to quail-package... 
    4461 Invalid ENCODE: value in TIT dictionary 
    4562 NMAKE : fatal error U1077: '"../src/obj-spd/i386/emacs.exe"' : return code 
     
    201218problem disappears. 
    202219 
     220* There are known binary incompatibilities between Xaw, Xaw3d, neXtaw, 
     221XawM and the few other derivatives of Xaw.  So when you compile with 
     222one of these, it may not work to dynamically link with another one. 
     223For example, strange problems, such as Emacs exiting when you type 
     224"C-x 1", were reported when Emacs compiled with Xaw3d and libXaw was 
     225used with neXtaw at run time. 
     226 
     227The solution is to rebuild Emacs with the toolkit version you actually 
     228want to use, or set LD_PRELOAD to preload the same toolkit version you 
     229built Emacs with. 
     230 
    203231* Clicking C-mouse-2 in the scroll bar doesn't split the window. 
    204232 
     
    206234a good way of implementing it with widgets).  If Emacs is configured 
    207235--without-toolkit-scroll-bars, C-mouse-2 on the scroll bar does work. 
     236 
     237* Emacs aborts inside the function `tparam1'. 
     238 
     239This can happen if Emacs was built without terminfo support, but the 
     240terminal's capabilities use format that is only supported by terminfo. 
     241If your system has ncurses installed, this might happen if your 
     242version of ncurses is broken; upgrading to a newer version of ncurses 
     243and reconfiguring and rebuilding Emacs should solve this. 
     244 
     245All modern systems support terminfo, so even if ncurses is not the 
     246problem, you should look for a way to configure Emacs so that it uses 
     247terminfo when built. 
     248 
     249* Error messages about undefined colors on X. 
     250 
     251The messages might say something like this: 
     252 
     253   Unable to load color "grey95" 
     254 
     255(typically, in the `*Messages*' buffer), or something like this: 
     256 
     257  Error while displaying tooltip: (error Undefined color lightyellow) 
     258 
     259These problems could happen if some other X program has used up too 
     260many colors of the X palette, leaving Emacs with insufficient system 
     261resources to load all the colors it needs. 
     262 
     263A solution is to exit the offending X programs before starting Emacs. 
    208264 
    209265* Colors are not available on a tty or in xterm. 
     
    245301`global-font-lock-mode'. 
    246302 
     303* Emacs on a tty switches the cursor to large blinking block. 
     304 
     305This was reported to happen on some GNU/Linux systems which use 
     306ncurses version 5.0, but could be relevant for other versions as well. 
     307These versions of ncurses come with a `linux' terminfo entry, where 
     308the "cvvis" capability (termcap "vs") is defined as "\E[?25h\E[?8c" 
     309(show cursor, change size).  This escape sequence switches on a 
     310blinking hardware text-mode cursor whose size is a full character 
     311cell.  This blinking cannot be stopped, since a hardware cursor 
     312always blinks. 
     313 
     314A work-around is to redefine the "cvvis" capability so that it 
     315enables a *software* cursor.  The software cursor works by inverting 
     316the colors of the character at point, so what you see is a block 
     317cursor that doesn't blink.  For this to work, you need to redefine 
     318the "cnorm" capability as well, so that it operates on the software 
     319cursor instead of the hardware cursor. 
     320 
     321To this end, run "infocmp linux > linux-term", edit the file 
     322`linux-term' to make both the "cnorm" and "cvvis" capabilities send 
     323the sequence "\E[?25h\E[?17;0;64c", and then run "tic linux-term" to 
     324produce a modified terminfo entry. 
     325 
    247326* Problems in Emacs built with LessTif. 
    248327 
     
    263342developers. 
    264343 
    265 * Known problems with the MS-Windows port of Emacs 21.1
    266  
    267 Emacs 21.1 built for MS-Windows doesn't support images, the tool bar, 
     344* Known problems with the MS-Windows port of Emacs 21.2
     345 
     346Emacs 21.2 built for MS-Windows doesn't support images, the tool bar, 
    268347and tooltips.  Support for these will be added in future versions. 
    269348 
    270349Help text that is displayed in a tooltip on other window systems, on 
    271350Windows is printed in the echo area, since tooltips are not yet 
    272 available.  Help text for menu items is not displayed at all. 
    273  
    274 There are problems with display if the variable `redisplay-dont-pause' 
    275 is set to nil (w32-win.el sets it to t by default, to avoid these 
    276 problems).  The problems include: 
    277  
    278   . No redisplay as long as help echo is displayed in the echo area, 
    279     e.g. if the mouse is on a mouse-sensitive part of the mode line. 
    280  
    281   . When the mode line is dragged with the mouse, multiple copies of the 
    282     mode line are left behind, until the mouse button is released and 
    283     the next input event occurs. 
    284  
    285   . Window contents are not updated when text is selected by dragging 
    286     the mouse, and the mouse is dragged below the bottom line of the 
    287     window.  When the mouse button is released, the window display is 
    288     correctly updated. 
    289  
    290 Again, these problems only occur if `redisplay-dont-pause' is nil. 
     351available. 
     352 
     353Frames are not refreshed while the File or Font dialog or a pop-up menu 
     354is displayed. This also means help text for pop-up menu items is not 
     355displayed at all.  This is because message handling under Windows is 
     356synchronous, so we cannot handle repaint (or any other) messages while 
     357waiting for a system function to return the result of the dialog or 
     358pop-up menu interaction. 
     359 
     360There are problems with display if mouse-tracking is enabled and the 
     361mouse is moved off a frame, over another frame then back over the first 
     362frame.  A workaround is to click the left mouse button inside the frame 
     363after moving back into it. 
     364 
     365Some minor flickering still persists during mouse-tracking, although 
     366not as severely as in 21.1. 
    291367 
    292368Emacs can sometimes abort when non-ASCII text, possibly with null 
     
    296372Manager driven switch of the focus, until a key is pressed. 
    297373 
    298 Windows 2000 input methods are not recognized by Emacs (as of v21.1). 
    299 These input methods cause the keyboard to send characters encoded in 
    300 the appropriate coding system (e.g., ISO 8859-1 for Latin-1 
     374Windows input methods are not recognized by Emacs (as of v21.2).  Some 
     375of these input methods cause the keyboard to send characters encoded 
     376in the appropriate coding system (e.g., ISO 8859-1 for Latin-1 
    301377characters, ISO 8859-8 for Hebrew characters, etc.).  To make this 
    302378work, set the keyboard coding system to the appropriate value after 
     
    307383yet.) 
    308384 
    309 Multilingual text put into the Windows 2000 clipboard by Windows 
    310 applications cannot be safely pasted into Emacs (as of v21.1).  This 
    311 is because Windows 2000 uses Unicode to represent multilingual text, 
    312 but Emacs does not yet support Unicode well enough to decode it.  This 
     385Multilingual text put into the Windows clipboard by other Windows 
     386applications cannot be safely pasted into Emacs (as of v21.2).  This 
     387is because Windows uses Unicode to represent multilingual text, but 
     388Emacs does not yet support Unicode well enough to decode it.  This 
    313389means that Emacs can only interchange non-ASCII text with other 
    314 Windows 2000 programs if the characters are in the system codepage. 
     390Windows programs if the characters are in the system codepage. 
    315391Reportedly, a partial solution is to install the Mule-UCS package and 
    316392set selection-coding-system to utf-16-le-dos. 
     393 
     394The %h format specifier for format-time-string does not work on Windows. 
     395The %b format specifier does not produce abbreviated month names with 
     396consistent widths for some locales on some versions of Windows. This is 
     397caused by a deficiency in the underlying system library function. 
    317398 
    318399* The `configure' script doesn't find the jpeg library. 
     
    373454The solution is to remove this line from `etc/fstab'. 
    374455 
     456* Emacs binary is not in executable format, and cannot be run. 
     457 
     458This was reported to happen when Emacs is built in a directory mounted 
     459via NFS.  Usually, the file `emacs' produced in these cases is full of 
     460binary null characters, and the `file' utility says: 
     461 
     462    emacs: ASCII text, with no line terminators 
     463 
     464We don't know what exactly causes this failure.  A work-around is to 
     465build Emacs in a directory on a local disk. 
     466 
    375467* Accented ISO-8859-1 characters are displayed as | or _. 
    376468 
     
    396488src/s/hpux10.h. 
    397489 
    398 * Crashes when displaying uncompressed GIFs with version 
     490* Crashes when displaying GIF images in Emacs built with version 
    399491libungif-4.1.0 are resolved by using version libungif-4.1.0b1. 
    400492 
     
    421513in a Lisp string you could precede the paren with a backslash. 
    422514 
     515* When running on KDE, colors or fonts are not as specified for Emacs, 
     516or messed up. 
     517 
     518For examlpe, you could see background you set for Emacs only in the 
     519empty portions of the Emacs display, while characters have some other 
     520background. 
     521 
     522This happens because KDE's defaults apply its color and font 
     523definitions even to applications that weren't compiled for KDE.  The 
     524solution is to uncheck the "Apply fonts and colors to non-KDE apps" 
     525option in Preferences->Look&Feel->Style. 
     526 
     527Alternatively, if you do want the KDE defaults to apply to other 
     528applications, but not to Emacs, you could modify the file `Emacs.ad' 
     529(should be in the `/usr/share/apps/kdisplay/app-defaults/' directory) 
     530so that it doesn't set the default background and foreground only for 
     531Emacs.  For example, make sure the following resources are either not 
     532present or commented out: 
     533 
     534   Emacs.default.attributeForeground 
     535   Emacs.default.attributeBackground 
     536   Emacs*Foreground 
     537   Emacs*Background 
     538 
    423539* Interrupting Cygwin port of Bash from Emacs doesn't work. 
    424540 
     
    428544keyboard interrupt event sent by Emacs to Bash.  (Older Cygwin ports 
    429545of Bash, up to b20.1, did receive SIGINT from Emacs.) 
     546 
     547* Dired is very slow. 
     548 
     549This could happen if invocation of the `df' program takes a long 
     550time.  Possible reasons for this include: 
     551 
     552  - ClearCase mounted filesystems (VOBs) that sometimes make `df' 
     553    response time extremely slow (dozens of seconds); 
     554 
     555  - slow automounters on some old versions of Unix; 
     556 
     557  - slow operation of some versions of `df'. 
     558 
     559To work around the problem, you could either (a) set the variable 
     560`directory-free-space-program' to nil, and thus prevent Emacs from 
     561invoking `df'; (b) use `df' from the GNU Fileutils package; or 
     562(c) use CVS, which is Free Software, instead of ClearCase. 
    430563 
    431564* Accessing remote files with ange-ftp hangs the MS-Windows version of Emacs. 
     
    440573The solution is to downgrade to an older version of the Cygwin DLL 
    441574(version 1.3.2 was reported to solve the problem), or use the stock 
    442 Windows FTP client, usually found in the `C:\WINDOWS' directory.  To 
    443 force ange-ftp use the stock Windows client, set the variabl
    444 `ange-ftp-ftp-program-name' to the absolute file name of the client's 
    445 executable.  For example: 
     575Windows FTP client, usually found in the `C:\WINDOWS' or 'C:\WINNT' 
     576directory.  To force ange-ftp use the stock Windows client, set th
     577variable `ange-ftp-ftp-program-name' to the absolute file name of the 
     578client's executable.  For example: 
    446579 
    447580 (setq ange-ftp-ftp-program-name "c:/windows/ftp.exe") 
     
    453586 
    454587 
    455 * The latest released version of the W3 package doesn't run properly 
    456 with Emacs 21 and needs work.  However, these problems are already 
    457 fixed in W3's CVS.  The patch below is reported to make w3-4.0pre.46 
    458 work. 
    459  
    460 Some users report they are unable to byte-compile W3 with Emacs 21. 
    461 If the patches below don't help to resolve your problems, install the 
    462 CVS version of W3, which should be compatible with Emacs 21. 
    463  
    464 diff -aur --new-file w3-4.0pre.46-orig/lisp/w3-display.el w3-4.0pre.46-new/lisp/w3-display.el 
    465 --- w3-4.0pre.46-orig/lisp/w3-display.el        Sun Nov 14 22:00:12 1999 
    466 +++ w3-4.0pre.46-new/lisp/w3-display.el Thu Dec 14 14:59:15 2000 
    467 @@ -181,7 +181,8 @@ 
    468                 (dispatch-event (next-command-event))) 
    469             (error nil)))) 
    470       (t 
    471 -      (if (and (not (sit-for 0)) (input-pending-p)) 
    472 +      ;; modified for GNU Emacs 21 by bob@rattlesnake.com on 2000 Dec 14 
    473 +      (if  (and (not (sit-for 0)) nil) 
    474           (condition-case () 
    475               (progn 
    476                 (setq w3-pause-keystroke 
    477 diff -aur --new-file w3-4.0pre.46-orig/lisp/w3-e21.el w3-4.0pre.46-new/lisp/w3-e21.el 
    478 --- w3-4.0pre.46-orig/lisp/w3-e21.el    Thu Jan  1 00:00:00 1970 
    479 +++ w3-4.0pre.46-new/lisp/w3-e21.el     Thu Dec 14 14:54:58 2000 
    480 @@ -0,0 +1,5 @@ 
    481 +;;; w3-e21.el ---   ** required for GNU Emacs 21 ** 
    482 +;; Added by bob@rattlesnake.com on 2000 Dec 14 
    483 
    484 +(require 'w3-e19) 
    485 +(provide 'w3-e21) 
     588* Some versions of the W3 package released before Emacs 21.1 don't run 
     589properly with Emacs 21.  These problems are fixed in W3 version 
     5904.0pre.47. 
    486591 
    487592* On AIX, if linking fails because libXbsd isn't found, check if you 
     
    490595Emacs so that it isn't compiled with `-O5'. 
    491596 
    492 * The PSGML package uses the obsolete variables 
     597* Compiling on AIX 4.3.x or 4.4 fails. 
     598 
     599This could happen if you use /bin/c89 as your compiler, instead of 
     600the default `cc'.  /bin/c89 treats certain warnings, such as benign 
     601redefinitions of macros, as errors, and fails the build.  A solution 
     602is to use the default compiler `cc'. 
     603 
     604* Old versions of the PSGML package use the obsolete variables 
    493605`before-change-function' and `after-change-function', which are no 
    494 longer used by Emacs.  These changes to PSGML 1.2.2 fix that. 
    495  
    496 --- psgml-edit.el       2001/03/03 00:23:31     1.1 
    497 +++ psgml-edit.el       2001/03/03 00:24:22 
    498 @@ -264,4 +264,4 @@ 
    499                                         ; inhibit-read-only 
    500 -       (before-change-function nil) 
    501 -       (after-change-function nil)) 
    502 +       (before-change-functions nil) 
    503 +       (after-change-functions nil)) 
    504      (setq selective-display t) 
    505 @@ -1544,3 +1544,3 @@ 
    506         (buffer-read-only nil) 
    507 -       (before-change-function nil) 
    508 +       (before-change-functions nil) 
    509         (markup-index                   ; match-data index in tag regexp 
    510 @@ -1596,3 +1596,3 @@ 
    511  (defun sgml-expand-shortref-to-text (name) 
    512 -  (let (before-change-function 
    513 +  (let (before-change-functions 
    514         (entity (sgml-lookup-entity name (sgml-dtd-entities sgml-dtd-info)))) 
    515 @@ -1613,3 +1613,3 @@ 
    516         (re-found nil) 
    517 -       before-change-function) 
    518 +       before-change-functions) 
    519      (goto-char sgml-markup-start) 
    520 @@ -1646,3 +1646,3 @@ 
    521      (goto-char (sgml-element-end element))  
    522 -    (let ((before-change-function nil)) 
    523 +    (let ((before-change-functions nil)) 
    524        (sgml-normalize-content element only-one))) 
    525 --- psgml-other.el      2001/03/03 00:23:42     1.1 
    526 +++ psgml-other.el      2001/03/03 00:30:05 
    527 @@ -32,2 +32,3 @@ 
    528  (require 'easymenu) 
    529 +(eval-when-compile (require 'cl)) 
    530   
    531 @@ -61,4 +62,9 @@ 
    532                    (let ((submenu 
    533 -                         (subseq entries 0 (min (length entries) 
    534 -                                                sgml-max-menu-size)))) 
    535 +;;;                      (subseq entries 0 (min (length entries) 
    536 +;;;                                             sgml-max-menu-size)) 
    537 +                         (let ((new (copy-sequence entries))) 
    538 +                           (setcdr (nthcdr (1- (min (length entries) 
    539 +                                                    sgml-max-menu-size)) 
    540 +                                           new) nil) 
    541 +                           new))) 
    542                      (setq entries (nthcdr sgml-max-menu-size entries)) 
    543 @@ -113,9 +119,10 @@ 
    544        (let ((inhibit-read-only t) 
    545 -           (after-change-function nil) ; obsolete variable 
    546 -           (before-change-function nil) ; obsolete variable 
    547             (after-change-functions nil) 
    548 -           (before-change-functions nil)) 
    549 +           (before-change-functions nil) 
    550 +           (modified (buffer-modified-p)) 
    551 +           (buffer-undo-list t) 
    552 +           deactivate-mark) 
    553         (put-text-property start end 'face face) 
    554 -        (when (< start end) 
    555 -          (put-text-property (1- end) end 'rear-nonsticky '(face))))) 
    556 +       (when (and (not modified) (buffer-modified-p)) 
    557 +         (set-buffer-modified-p nil)))) 
    558       (t 
    559 --- psgml-parse.el      2001/03/03 00:23:57     1.1 
    560 +++ psgml-parse.el      2001/03/03 00:29:56 
    561 @@ -40,2 +40,4 @@ 
    562   
    563 +(eval-when-compile (require 'cl)) 
    564 
    565    
    566 @@ -2493,8 +2495,8 @@ 
    567        (setq sgml-scratch-buffer nil)) 
    568 -    (when after-change-function                ;*** 
    569 -      (message "OOPS: after-change-function not NIL in scratch buffer %s: %s" 
    570 +    (when after-change-functions               ;*** 
    571 +      (message "OOPS: after-change-functions not NIL in scratch buffer %s: %S" 
    572                (current-buffer) 
    573 -              after-change-function) 
    574 -      (setq before-change-function nil 
    575 -           after-change-function nil)) 
    576 +              after-change-functions) 
    577 +      (setq before-change-functions nil 
    578 +           after-change-functions nil)) 
    579      (setq sgml-last-entity-buffer (current-buffer)) 
    580 @@ -2878,6 +2880,5 @@ 
    581    "Set initial state of parsing" 
    582 -  (make-local-variable 'before-change-function) 
    583 -  (setq before-change-function 'sgml-note-change-at) 
    584 -  (make-local-variable 'after-change-function) 
    585 -  (setq after-change-function 'sgml-set-face-after-change) 
    586 +  (set (make-local-variable 'before-change-functions) '(sgml-note-change-at)) 
    587 +  (set (make-local-variable 'after-change-functions) 
    588 +       '(sgml-set-face-after-change)) 
    589    (sgml-set-active-dtd-indicator (sgml-dtd-doctype dtd)) 
    590 @@ -3925,7 +3926,7 @@ 
    591    (sgml-need-dtd) 
    592 -  (unless before-change-function 
    593 -    (message "WARN: before-change-function has been lost, restoring (%s)" 
    594 +  (unless before-change-functions 
    595 +    (message "WARN: before-change-functions has been lost, restoring (%s)" 
    596              (current-buffer)) 
    597 -    (setq before-change-function 'sgml-note-change-at) 
    598 -    (setq after-change-function 'sgml-set-face-after-change)) 
    599 +    (setq before-change-functions '(sgml-note-change-at)) 
    600 +    (setq after-change-functions '(sgml-set-face-after-change))) 
    601    (sgml-with-parser-syntax-ro 
     606longer used by Emacs.  Please use PSGML 1.2.3 or later. 
    602607 
    603608* The Calc package fails to build and signals errors with Emacs 21. 
     
    663668   (save-excursion 
    664669 
     670Index: Makefile 
    665671--- Makefile.~1~        Sun Dec 15 23:50:45 1996 
    666672+++ Makefile    Thu Nov 30 15:09:45 2000 
     
    687693 tags: TAGS 
    688694 
     695Index: calc-aent.el 
    689696--- calc-aent.el.~1~    Sun Dec 15 23:50:36 1996 
    690697+++ calc-aent.el        Tue Nov 21 18:34:33 2000 
     
    732739 ) 
    733740  
     741Index: calc.el 
    734742--- calc.el.~1~ Sun Dec 15 23:50:47 1996 
    735743+++ calc.el     Wed Nov 22 13:08:49 2000 
     
    860868* Unicode characters are not unified with other Mule charsets. 
    861869 
    862 As of v21.1, Emacs charsets are still not unified.  This means that 
     870As of v21.2, Emacs charsets are still not unified.  This means that 
    863871characters which belong to charsets such as Latin-2, Greek, Hebrew, 
    864872etc. and the same characters in the `mule-unicode-*' charsets are 
     
    872880To work around this, install some add-on package such as Mule-UCS. 
    873881 
     882* Problems when using Emacs with UTF-8 locales 
     883 
     884Some systems, including recent versions of GNU/Linux, have terminals 
     885or X11 subsystems that can be configured to provide Unicode/UTF-8 
     886input and display.  Normally, such a system sets environment variables 
     887such as LANG, LC_CTYPE, or LC_ALL to a string which ends with a 
     888`.UTF-8'.  For example, a system like this in a French locale might 
     889use `fr_FR.UTF-8' as the value of LANG. 
     890 
     891Since Unicode support in Emacs, as of v21.2, is not yet complete (see 
     892the previous entry in this file), UTF-8 support is not enabled by 
     893default, even in UTF-8 locales.  Thus, some Emacs features, such as 
     894non-ASCII keyboard input, might appear to be broken in these locales. 
     895To solve these problems, you need to turn on some options in your 
     896`.emacs' file.  Specifically, the following customizations should make 
     897Emacs work correctly with UTF-8 input and text: 
     898 
     899    (setq locale-coding-system 'utf-8) 
     900    (set-terminal-coding-system 'utf-8) 
     901    (set-keyboard-coding-system 'utf-8) 
     902    (set-selection-coding-system 'utf-8) 
     903    (prefer-coding-system 'utf-8) 
     904 
    874905* The `oc-unicode' package doesn't work with Emacs 21. 
    875906 
     
    880911correctly by Emacs 21. 
    881912 
     913* ps-print commands fail to find prologue files ps-prin*.ps. 
     914 
     915This can happen if you use an old version of X-Symbol package: it 
     916defines compatibility functions which trick ps-print into thinking it 
     917runs in XEmacs, and look for the prologue files in a wrong directory. 
     918 
     919The solution is to upgrade X-Symbol to a later version. 
     920 
    882921* Using epop3.el package causes Emacs to signal an error. 
    883922 
     
    890929for epop3 that fixes this, but perhaps a newer version of epop3 
    891930corrects that. 
     931 
     932* The arrow indicating the current execution line in GUD is invisible. 
     933 
     934This was reported to happen when Emacs 21 is run on an xterm, and the 
     935python-mode package was loaded.  It appears that python-mode is 
     936incompatible with Emacs 21; newer versions of python-mode are likely 
     937to fix that. 
    892938 
    893939* On systems with shared libraries you might encounter run-time errors 
     
    897943library is not in the default search path of the dynamic linker. 
    898944 
     945Similar problems could prevent Emacs from building, since the build 
     946process invokes Emacs several times. 
     947 
    899948On many systems, it is possible to set LD_LIBRARY_PATH in your 
    900949environment to specify additional directories where shared libraries 
     
    904953Emacs is linked.  With LD_RUN_PATH set, the linker will include a 
    905954specified run-time search path in the executable. 
     955 
     956On some systems, Emacs could crash due to problems with dynamic 
     957linking.  Specifically, on SGI Irix 6.5, crashes were reported with 
     958backtraces like this: 
     959 
     960  (dbx) where 
     961   0 strcmp(0xf49239d, 0x4031184, 0x40302b4, 0x12, 0xf0000000, 0xf4923aa, 0x0, 0x492ddb2) ["/xlv22/ficus-jan23/work/irix/lib/libc/libc_n32_M3_ns/strings/strcmp.s":35, 0xfb7e480] 
     962   1 general_find_symbol(0xf49239d, 0x0, 0x0, 0x0, 0xf0000000, 0xf4923aa, 0x0, 0x492ddb2) 
     963 ["/comp2/mtibuild/v73/workarea/v7.3/rld/rld.c":2140, 0xfb65a98] 
     964   2 resolve_symbol(0xf49239d, 0x4031184, 0x0, 0xfbdd438, 0x0, 0xf4923aa, 0x0, 0x492ddb2) 
     965 ["/comp2/mtibuild/v73/workarea/v7.3/rld/rld.c":1947, 0xfb657e4] 
     966   3 lazy_text_resolve(0xd18, 0x1a3, 0x40302b4, 0x12, 0xf0000000, 0xf4923aa, 0x0, 0x492ddb2) 
     967 ["/comp2/mtibuild/v73/workarea/v7.3/rld/rld.c":997, 0xfb64d44] 
     968   4 _rld_text_resolve(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) 
     969 ["/comp2/mtibuild/v73/workarea/v7.3/rld/rld_bridge.s":175, 0xfb6032c] 
     970 
     971(`rld' is the dynamic linker.)  We don't know yet why this 
     972happens, but setting the environment variable LD_BIND_NOW to 1 (which 
     973forces the dynamic linker to bind all shared objects early on) seems 
     974to work around the problem. 
    906975 
    907976Please refer to the documentation of your dynamic linker for details. 
     
    9731042file. 
    9741043 
     1044Another possible reason for such failures is stale *.elc files 
     1045lurking somewhere on your load-path.  The following command will 
     1046print any duplicate Lisp files that are present in load-path: 
     1047 
     1048    emacs -q -batch -f list-load-path-shadows 
     1049 
     1050If this command prints any file names, some of these files are stale, 
     1051and should be deleted or their directories removed from your 
     1052load-path. 
     1053 
     1054* Emacs prints an error at startup after upgrading from an earlier version. 
     1055 
     1056An example of such an error is: 
     1057 
     1058  x-complement-fontset-spec: "Wrong type argument: stringp, nil"  
     1059 
     1060This can be another symptom of stale *.elc files in your classpath. 
     1061The following command will print any duplicate Lisp files that are 
     1062present in load-path: 
     1063 
     1064    emacs -q -batch -f list-load-path-shadows 
     1065 
     1066If this command prints any file names, some of these files are stale, 
     1067and should be deleted or their directories removed from your 
     1068load-path. 
     1069 
    9751070* Attempting to visit remote files via ange-ftp fails. 
    9761071 
     
    9861081and then choose /usr/bin/netkit-ftp. 
    9871082 
     1083* Emacs built on Windows 9x/ME crashes at startup on Windows XP, 
     1084or Emacs built on XP crashes at startup on Windows 9x/ME. 
     1085 
     1086There appear to be general problems running programs compiled on 
     1087Windows 9x/ME on Windows XP and vice-versa, at least when compilation 
     1088is done with MSVC 6.0.  This affects other programs as well as Emacs. 
     1089The compatibility options in the program properties on Windows XP may 
     1090help in some cases. 
     1091 
    9881092* Antivirus software interacts badly with the MS-Windows version of Emacs. 
    9891093 
     
    10031107cleanly before exiting Emacs. For more details, see the FAQ at 
    10041108ftp://ftp.gnu.org/gnu/windows/emacs/doc/index.html 
     1109 
     1110* Windows 95/98/ME crashes when Emacs invokes non-existent programs. 
     1111 
     1112When a program you are trying to run is not found on the PATH, 
     1113Windows might respond by crashing or locking up your system.  In 
     1114particular, this has been reported when trying to compile a Java 
     1115program in JDEE when javac.exe is installed, but not on the system 
     1116PATH. 
    10051117 
    10061118* Mail sent through Microsoft Exchange in some encodings appears to be 
     
    12551367these problems. 
    12561368 
     1369* No colors in AUC TeX with Emacs 21. 
     1370 
     1371Upgrade to AUC TeX version 10 or later, and make sure it is 
     1372byte-compiled with Emacs 21. 
     1373 
    12571374* Running TeX from AUC TeX package with Emacs 20.3 gives a Lisp error 
    12581375about a read-only tex output buffer. 
     
    14131530distinguish AltGr from an explicit Right-Alt and Left-Ctrl 
    14141531combination, whenever it sees Right-Alt and Left-Ctrl it assumes that 
    1415 AltGr has been pressed. 
     1532AltGr has been pressed.  The variable `w32-recognize-altgr' can be set 
     1533to nil to tell Emacs that AltGr is really Ctrl and Alt. 
    14161534 
    14171535* Under some Windows X-servers, Emacs' display is incorrect  
     
    14221540to be completely redisplayed and the "extra" characters will disappear. 
    14231541 
    1424 This is known to occur under Exceed 6, and possibly earlier versions as 
    1425 well.  The problem lies in the X-server settings. 
     1542This is known to occur under Exceed 6, and possibly earlier versions 
     1543as well; it is reportedly solved in version 6.2.0.16 and later.  The 
     1544problem lies in the X-server settings. 
    14261545 
    14271546There are reports that you can solve the problem with Exceed by 
     
    14651584if you link with the MIT X11 libraries instead of the Solaris X11 
    14661585libraries. 
     1586 
     1587* Frames may cover dialogs they created when using CDE. 
     1588 
     1589This can happen if you have "Allow Primary Windows On Top" enabled which 
     1590seems to be the default in the Common Desktop Environment. 
     1591To change, go in to "Desktop Controls" -> "Window Style Manager" 
     1592and uncheck "Allow Primary Windows On Top". 
    14671593 
    14681594* Emacs does not know your host's fully-qualified domain name. 
     
    17081834      else { 
    17091835 
    1710 * Problems running DOS programs on Windows NT versions earlier than 3.51. 
    1711  
    1712 Some DOS programs, such as pkzip/pkunzip will not work at all, while 
    1713 others will only work if their stdin is redirected from a file or NUL. 
    1714  
    1715 When a DOS program does not work, a new process is actually created, but 
    1716 hangs.  It cannot be interrupted from Emacs, and might need to be killed 
    1717 by an external program if Emacs is hung waiting for the process to 
    1718 finish.  If Emacs is not waiting for it, you should be able to kill the 
    1719 instance of ntvdm that is running the hung process from Emacs, if you 
    1720 can find out the process id. 
    1721  
    1722 It is safe to run most DOS programs using call-process (eg. M-! and 
    1723 M-|) since stdin is then redirected from a file, but not with 
    1724 start-process since that redirects stdin to a pipe.  Also, running DOS 
    1725 programs in a shell buffer prompt without redirecting stdin does not 
    1726 work. 
    1727  
    17281836* Problems on MS-DOG if DJGPP v2.0 is used to compile Emacs: 
    17291837 
     
    18021910You can enter M-f6 by typing ESC f6. 
    18031911 
    1804 * Typing Alt-Shift has strange effects on Windows 95
     1912* Typing Alt-Shift has strange effects on Windows
    18051913 
    18061914This combination of keys is a command to change keyboard layout.  If 
    18071915you proceed to type another non-modifier key before you let go of Alt 
    1808 and Shift, the Alt and Shift act as modifiers in the usual way. 
     1916and Shift, the Alt and Shift act as modifiers in the usual way.  A 
     1917more permanent work around is to change it to another key combination, 
     1918or disable it in the keyboard control panel. 
    18091919 
    18101920* `tparam' reported as a multiply-defined symbol when linking with ncurses.