Mercurial > emacs
comparison etc/PROBLEMS @ 39231:a3c2d52350d6
Document problems with ange-ftp in the Windows port and the Cygwin FTP client.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 10 Sep 2001 15:26:33 +0000 |
parents | a0e12b5f35d1 |
children | 311556cdc15a |
comparison
equal
deleted
inserted
replaced
39230:5c1f4703543c | 39231:a3c2d52350d6 |
---|---|
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 * Improving performance with slow X connections | |
5 | |
6 If you don't need X Input Methods (XIM) for entering text in some | |
7 language you use, you can improve performance on WAN links by | |
8 configuring Emacs with option `--without-xim'. Configuring Emacs | |
9 without XIM does not affect the use of Emacs' own input methods, which | |
10 are part of the Leim package. | |
11 | |
12 If the connection is very slow, you might also want to consider | |
13 switching off scroll bars, menu bar, and tool bar. | |
14 | |
15 * Getting a Meta key on the FreeBSD console | |
16 | |
17 By default, neither Alt nor any other key acts as a Meta key on | |
18 FreeBSD, but this can be changed using kbdcontrol(1). Dump the | |
19 current keymap to a file with the command | |
20 | |
21 $ kbdcontrol -d >emacs.kbd | |
22 | |
23 Edit emacs.kbd, and give the key you want to be the Meta key the | |
24 definition `meta'. For instance, if your keyboard has a ``Windows'' | |
25 key with scan code 105, change the line for scan code 105 in emacs.kbd | |
26 to look like this | |
27 | |
28 105 meta meta meta meta meta meta meta meta O | |
29 | |
30 to make the Windows key the Meta key. Load the new keymap with | |
31 | |
32 $ kbdcontrol -l emacs.kbd | |
33 | |
34 * Emacs' xterm-mouse-mode doesn't work on the Gnome terminal. | |
35 | |
36 A symptom of this bug is that double-clicks insert a control sequence | |
37 into the buffer. The reason this happens is an apparent | |
38 incompatibility of the Gnome terminal with Xterm, which also affects | |
39 other programs using the Xterm mouse interface. A problem report has | |
40 been filed. | |
41 | |
42 * Emacs pauses for several seconds when changing the default font | |
43 | |
44 This has been reported for fvwm 2.2.5 and the window manager of KDE | |
45 2.1. The reason for the pause is Xt waiting for a ConfigureNotify | |
46 event from the window manager, which the window manager doesn't send. | |
47 Xt stops waiting after a default timeout of usually 5 seconds. | |
48 | |
49 A workaround for this is to add something like | |
50 | |
51 emacs.waitForWM: false | |
52 | |
53 to your X resources. Alternatively, add `(wait-for-wm . nil)' to a | |
54 frame's parameter list, like this: | |
55 | |
56 (modify-frame-parameters nil '((wait-for-wm . nil))) | |
57 | |
58 (this should go into your `.emacs' file). | |
59 | |
60 * Underlines appear at the wrong position. | |
61 | |
62 This is caused by fonts having a wrong UNDERLINE_POSITION property. | |
63 An example is the font 7x13 on XFree prior to version 4.1. To | |
64 circumvent this problem, set x-use-underline-position-properties to | |
65 nil in your .emacs. | |
66 | 3 |
67 * Building Emacs with GCC 2.9x fails in the `src' directory. | 4 * Building Emacs with GCC 2.9x fails in the `src' directory. |
68 | 5 |
69 This may happen if you use a development version of GNU `cpp' from one | 6 This may happen if you use a development version of GNU `cpp' from one |
70 of the GCC snapshots between Oct 2000 and Feb 2001, or from a released | 7 of the GCC snapshots between Oct 2000 and Feb 2001, or from a released |
139 ! #define assert(x) ((void)0) | 76 ! #define assert(x) ((void)0) |
140 | 77 |
141 #else /* debugging enabled */ | 78 #else /* debugging enabled */ |
142 | 79 |
143 | 80 |
81 | |
82 * Improving performance with slow X connections | |
83 | |
84 If you don't need X Input Methods (XIM) for entering text in some | |
85 language you use, you can improve performance on WAN links by | |
86 configuring Emacs with option `--without-xim'. Configuring Emacs | |
87 without XIM does not affect the use of Emacs' own input methods, which | |
88 are part of the Leim package. | |
89 | |
90 If the connection is very slow, you might also want to consider | |
91 switching off scroll bars, menu bar, and tool bar. | |
92 | |
93 * Getting a Meta key on the FreeBSD console | |
94 | |
95 By default, neither Alt nor any other key acts as a Meta key on | |
96 FreeBSD, but this can be changed using kbdcontrol(1). Dump the | |
97 current keymap to a file with the command | |
98 | |
99 $ kbdcontrol -d >emacs.kbd | |
100 | |
101 Edit emacs.kbd, and give the key you want to be the Meta key the | |
102 definition `meta'. For instance, if your keyboard has a ``Windows'' | |
103 key with scan code 105, change the line for scan code 105 in emacs.kbd | |
104 to look like this | |
105 | |
106 105 meta meta meta meta meta meta meta meta O | |
107 | |
108 to make the Windows key the Meta key. Load the new keymap with | |
109 | |
110 $ kbdcontrol -l emacs.kbd | |
111 | |
112 * Emacs' xterm-mouse-mode doesn't work on the Gnome terminal. | |
113 | |
114 A symptom of this bug is that double-clicks insert a control sequence | |
115 into the buffer. The reason this happens is an apparent | |
116 incompatibility of the Gnome terminal with Xterm, which also affects | |
117 other programs using the Xterm mouse interface. A problem report has | |
118 been filed. | |
119 | |
120 * Emacs pauses for several seconds when changing the default font | |
121 | |
122 This has been reported for fvwm 2.2.5 and the window manager of KDE | |
123 2.1. The reason for the pause is Xt waiting for a ConfigureNotify | |
124 event from the window manager, which the window manager doesn't send. | |
125 Xt stops waiting after a default timeout of usually 5 seconds. | |
126 | |
127 A workaround for this is to add something like | |
128 | |
129 emacs.waitForWM: false | |
130 | |
131 to your X resources. Alternatively, add `(wait-for-wm . nil)' to a | |
132 frame's parameter list, like this: | |
133 | |
134 (modify-frame-parameters nil '((wait-for-wm . nil))) | |
135 | |
136 (this should go into your `.emacs' file). | |
137 | |
138 * Underlines appear at the wrong position. | |
139 | |
140 This is caused by fonts having a wrong UNDERLINE_POSITION property. | |
141 An example is the font 7x13 on XFree prior to version 4.1. To | |
142 circumvent this problem, set x-use-underline-position-properties to | |
143 nil in your .emacs. | |
144 | |
144 * When using Xaw3d scroll bars without arrows, the very first mouse | 145 * When using Xaw3d scroll bars without arrows, the very first mouse |
145 click in a scroll bar might be ignored by the scroll bar widget. This | 146 click in a scroll bar might be ignored by the scroll bar widget. This |
146 is probably a bug in Xaw3d; when Xaw3d is compiled with arrows, the | 147 is probably a bug in Xaw3d; when Xaw3d is compiled with arrows, the |
147 problem disappears. | 148 problem disappears. |
148 | 149 |
349 Cygwin 1.x builds of the ported Bash cannot be interrupted from the | 350 Cygwin 1.x builds of the ported Bash cannot be interrupted from the |
350 MS-Windows version of Emacs. This is due to some change in the Bash | 351 MS-Windows version of Emacs. This is due to some change in the Bash |
351 port or in the Cygwin library which apparently make Bash ignore the | 352 port or in the Cygwin library which apparently make Bash ignore the |
352 keyboard interrupt event sent by Emacs to Bash. (Older Cygwin ports | 353 keyboard interrupt event sent by Emacs to Bash. (Older Cygwin ports |
353 of Bash, up to b20.1, did receive SIGINT from Emacs.) | 354 of Bash, up to b20.1, did receive SIGINT from Emacs.) |
355 | |
356 * Accessing remote files with ange-ftp hangs the MS-Windows version of Emacs. | |
357 | |
358 If the FTP client is the Cygwin port of GNU `ftp', this appears to be | |
359 due to some bug in the Cygwin DLL or some incompatibility between it | |
360 and the implementation of asynchronous subprocesses in the Windows | |
361 port of Emacs. Specifically, some parts of the FTP server responses | |
362 are not flushed out, apparently due to buffering issues, which | |
363 confuses ange-ftp. | |
364 | |
365 The solution is to downgrade to an older version of the Cygwin DLL | |
366 (version 1.3.2 was reported to solve the problem), or use the stock | |
367 Windows FTP client, usually found in the `C:\WINDOWS' directory. To | |
368 force ange-ftp use the stock Windows client, set the variable | |
369 `ange-ftp-ftp-program-name' to the absolute file name of the client's | |
370 executable. For example: | |
371 | |
372 (setq ange-ftp-ftp-program-name "c:/windows/ftp.exe") | |
373 | |
374 If you want to stick with the Cygwin FTP client, you can work around | |
375 this problem by putting this in your `.emacs' file: | |
376 | |
377 (setq ange-ftp-ftp-program-args '("-i" "-n" "-g" "-v" "--prompt" "") | |
378 | |
354 | 379 |
355 * The latest released version of the W3 package doesn't run properly | 380 * The latest released version of the W3 package doesn't run properly |
356 with Emacs 21 and needs work. However, these problems are already | 381 with Emacs 21 and needs work. However, these problems are already |
357 fixed in W3's CVS. The patch below is reported to make w3-4.0pre.46 | 382 fixed in W3's CVS. The patch below is reported to make w3-4.0pre.46 |
358 work. | 383 work. |