comparison etc/PROBLEMS @ 46677:86e8d59e2e49

*** empty log message ***
author Dave Love <fx@gnu.org>
date Wed, 24 Jul 2002 23:01:32 +0000
parents ab6078ae4045
children 5094a0226bac
comparison
equal deleted inserted replaced
46676:f0b8a25b0b7d 46677:86e8d59e2e49
1 This file describes various problems that have been encountered 1 This file describes various problems that have been encountered
2 in compiling, installing and running GNU Emacs. 2 in compiling, installing and running GNU Emacs.
3
4
5 * Mule-UCS loads very slowly.
6
7 Changes to Emacs internals interact badly with Mule-UCS's `un-define'
8 library, which is the usual interface to Mule-UCS. Apply the
9 following patch to Mule-UCS 0.84 and rebuild it. That will help,
10 though loading will still be slower than in Emacs 20. (Some
11 distributions, such as Debian, may already have applied such a patch.)
12
13 --- lisp/un-define.el 6 Mar 2001 22:41:38 -0000 1.30
14 +++ lisp/un-define.el 19 Apr 2002 18:34:26 -0000
15 @@ -610,13 +624,21 @@ by calling post-read-conversion and pre-
16
17 (mapcar
18 (lambda (x)
19 - (mapcar
20 - (lambda (y)
21 - (mucs-define-coding-system
22 - (nth 0 y) (nth 1 y) (nth 2 y)
23 - (nth 3 y) (nth 4 y) (nth 5 y) (nth 6 y))
24 - (coding-system-put (car y) 'alias-coding-systems (list (car x))))
25 - (cdr x)))
26 + (if (fboundp 'register-char-codings)
27 + ;; Mule 5, where we don't need the eol-type specified and
28 + ;; register-char-codings may be very slow for these coding
29 + ;; system definitions.
30 + (let ((y (cadr x)))
31 + (mucs-define-coding-system
32 + (car x) (nth 1 y) (nth 2 y)
33 + (nth 3 y) (nth 4 y) (nth 5 y)))
34 + (mapcar
35 + (lambda (y)
36 + (mucs-define-coding-system
37 + (nth 0 y) (nth 1 y) (nth 2 y)
38 + (nth 3 y) (nth 4 y) (nth 5 y) (nth 6 y))
39 + (coding-system-put (car y) 'alias-coding-systems (list (car x)))))
40 + (cdr x)))
41 `((utf-8
42 (utf-8-unix
43 ?u "UTF-8 coding system"
44
45 Note that Emacs has native support for Unicode, roughly equivalent to
46 Mule-UCS's, so you may not need it.
3 47
4 * Building Emacs with GCC 2.9x fails in the `src' directory. 48 * Building Emacs with GCC 2.9x fails in the `src' directory.
5 49
6 This may happen if you use a development version of GNU `cpp' from one 50 This may happen if you use a development version of GNU `cpp' from one
7 of the GCC snapshots between Oct 2000 and Feb 2001, or from a released 51 of the GCC snapshots between Oct 2000 and Feb 2001, or from a released
113 should now succeed. 157 should now succeed.
114 158
115 * JPEG images aren't displayed. 159 * JPEG images aren't displayed.
116 160
117 This has been reported when Emacs is built with jpeg-6a library. 161 This has been reported when Emacs is built with jpeg-6a library.
118 Upgrading to jpeg-6b solves the problem. 162 Upgrading to jpeg-6b solves the problem. Configure checks for the
163 correct version, but this problem could occur if a binary built
164 against a shared libjpeg is run on a system with an older version.
119 165
120 * Building `ctags' for MS-Windows with the MinGW port of GCC fails. 166 * Building `ctags' for MS-Windows with the MinGW port of GCC fails.
121 167
122 This might happen due to a bug in the MinGW header assert.h, which 168 This might happen due to a bug in the MinGW header assert.h, which
123 defines the `assert' macro with a trailing semi-colon. The following 169 defines the `assert' macro with a trailing semi-colon. The following
384 the Hebrew input method, type "C-x RET k iso-8859-8 RET". (Emacs 430 the Hebrew input method, type "C-x RET k iso-8859-8 RET". (Emacs
385 ought to recognize the Windows language-change event and set up the 431 ought to recognize the Windows language-change event and set up the
386 appropriate keyboard encoding automatically, but it doesn't do that 432 appropriate keyboard encoding automatically, but it doesn't do that
387 yet.) 433 yet.)
388 434
389 Multilingual text put into the Windows clipboard by other Windows 435 Windows uses UTF-16 encoding to deal with multilingual text (text not
390 applications cannot be safely pasted into Emacs (as of v21.2). This 436 encodable in the `system codepage') in the clipboard. To deal with
391 is because Windows uses Unicode to represent multilingual text, but 437 this, load the library `utf-16' and use `set-selection-coding-system'
392 Emacs does not yet support Unicode well enough to decode it. This 438 to set the clipboard coding system to `utf-16-le-dos'. This won't
393 means that Emacs can only interchange non-ASCII text with other 439 cope with Far Eastern (`CJK') text; if necessary, install the Mule-UCS
394 Windows programs if the characters are in the system codepage. 440 package (see etc/MORE.STUFF), whose `utf-16-le-dos' coding system does
395 Reportedly, a partial solution is to install the Mule-UCS package and 441 encode a lot of CJK characters.
396 set selection-coding-system to utf-16-le-dos.
397 442
398 The %b specifier for format-time-string does not produce abbreviated 443 The %b specifier for format-time-string does not produce abbreviated
399 month names with consistent widths for some locales on some versions 444 month names with consistent widths for some locales on some versions
400 of Windows. This is caused by a deficiency in the underlying system 445 of Windows. This is caused by a deficiency in the underlying system
401 library function. 446 library function.
490 * Large file support is disabled on HP-UX. See the comments in 535 * Large file support is disabled on HP-UX. See the comments in
491 src/s/hpux10.h. 536 src/s/hpux10.h.
492 537
493 * Crashes when displaying GIF images in Emacs built with version 538 * Crashes when displaying GIF images in Emacs built with version
494 libungif-4.1.0 are resolved by using version libungif-4.1.0b1. 539 libungif-4.1.0 are resolved by using version libungif-4.1.0b1.
495 540 Configure checks for the correct version, but this problem could occur
496 Beginning with version 21.3, Emacs refuses to link against libungif 541 if a binary built against a shared libungif is run on a system with an
497 whose version is 4.1.0 or older (the `configure' script behaves as if 542 older version.
498 libungif were not available at all).
499 543
500 * Font Lock displays portions of the buffer in incorrect faces. 544 * Font Lock displays portions of the buffer in incorrect faces.
501 545
502 By far the most frequent cause of this is a parenthesis `(' or a brace 546 By far the most frequent cause of this is a parenthesis `(' or a brace
503 `{' in column zero. Font Lock assumes that such a paren is outside of 547 `{' in column zero. Font Lock assumes that such a paren is outside of
594 If you want to stick with the Cygwin FTP client, you can work around 638 If you want to stick with the Cygwin FTP client, you can work around
595 this problem by putting this in your `.emacs' file: 639 this problem by putting this in your `.emacs' file:
596 640
597 (setq ange-ftp-ftp-program-args '("-i" "-n" "-g" "-v" "--prompt" "") 641 (setq ange-ftp-ftp-program-args '("-i" "-n" "-g" "-v" "--prompt" "")
598 642
599 * Some versions of the W3 package released before Emacs 21.1 don't run 643 * Versions of the W3 package released before Emacs 21.1 don't run
600 properly with Emacs 21. These problems are fixed in W3 version 644 under Emacs 21. This fixed in W3 version 4.0pre.47.
601 4.0pre.47.
602 645
603 * On AIX, if linking fails because libXbsd isn't found, check if you 646 * On AIX, if linking fails because libXbsd isn't found, check if you
604 are compiling with the system's `cc' and CFLAGS containing `-O5'. If 647 are compiling with the system's `cc' and CFLAGS containing `-O5'. If
605 so, you have hit a compiler bug. Please make sure to re-configure 648 so, you have hit a compiler bug. Please make sure to re-configure
606 Emacs so that it isn't compiled with `-O5'. 649 Emacs so that it isn't compiled with `-O5'.
630 673
631 It can fail to work with ldapsearch program from OpenLDAP version 1. 674 It can fail to work with ldapsearch program from OpenLDAP version 1.
632 Version 1 of OpenLDAP is now deprecated. If you are still using it, 675 Version 1 of OpenLDAP is now deprecated. If you are still using it,
633 please upgrade to version 2. As a temporary workaround, remove 676 please upgrade to version 2. As a temporary workaround, remove
634 argument "-x" from the variable `ldap-ldapsearch-args'. 677 argument "-x" from the variable `ldap-ldapsearch-args'.
635
636 * Unicode characters are not unified with other Mule charsets.
637
638 As of v21.1, Emacs charsets are still not unified. This means that
639 characters which belong to charsets such as Latin-2, Greek, Hebrew,
640 etc. and the same characters in the `mule-unicode-*' charsets are
641 different characters, as far as Emacs is concerned. For example, text
642 which includes Unicode characters from the Latin-2 locale cannot be
643 encoded by Emacs with ISO 8859-2 coding system; and if you yank Greek
644 text from a buffer whose buffer-file-coding-system is greek-iso-8bit
645 into a mule-unicode-0100-24ff buffer, Emacs won't be able to save that
646 buffer neither as ISO 8859-7 nor as UTF-8.
647
648 To work around this, install some add-on package such as Mule-UCS.
649
650 * Problems when using Emacs with UTF-8 locales
651
652 Some systems, including recent versions of GNU/Linux, have terminals
653 or X11 subsystems that can be configured to provide Unicode/UTF-8
654 input and display. Normally, such a system sets environment variables
655 such as LANG, LC_CTYPE, or LC_ALL to a string which ends with a
656 `.UTF-8'. For example, a system like this in a French locale might
657 use `fr_FR.UTF-8' as the value of LANG.
658
659 Since Unicode support in Emacs, as of v21.1, is not yet complete (see
660 the previous entry in this file), UTF-8 support is not enabled by
661 default, even in UTF-8 locales. Thus, some Emacs features, such as
662 non-ASCII keyboard input, might appear to be broken in these locales.
663 To solve these problems, you need to turn on some options in your
664 `.emacs' file. Specifically, the following customizations should make
665 Emacs work correctly with UTF-8 input and text:
666
667 (setq locale-coding-system 'utf-8)
668 (set-terminal-coding-system 'utf-8)
669 (set-keyboard-coding-system 'utf-8)
670 (set-selection-coding-system 'utf-8)
671 (prefer-coding-system 'utf-8)
672 678
673 * The `oc-unicode' package doesn't work with Emacs 21. 679 * The `oc-unicode' package doesn't work with Emacs 21.
674 680
675 This package tries to define more private charsets than there are free 681 This package tries to define more private charsets than there are free
676 slots now. If the built-in Unicode/UTF-8 support is insufficient, 682 slots now. If the built-in Unicode/UTF-8 support is insufficient,