aboutsummaryrefslogtreecommitdiffstats
path: root/etc/PROBLEMS
diff options
context:
space:
mode:
Diffstat (limited to 'etc/PROBLEMS')
-rw-r--r--etc/PROBLEMS105
1 files changed, 82 insertions, 23 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 9ce3b8e9602..6c72bacae11 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -213,15 +213,15 @@ configuring your compiler to use the native linker instead of GNU ld.
213This happens because of bugs in Gtk+. Gtk+ 2.10 seems to be OK. See bug 213This happens because of bugs in Gtk+. Gtk+ 2.10 seems to be OK. See bug
214http://bugzilla.gnome.org/show_bug.cgi?id=85715. 214http://bugzilla.gnome.org/show_bug.cgi?id=85715.
215 215
216** Emacs compiled with Gtk+ crashes on startup on cygwin. 216** Emacs compiled with Gtk+ crashes on startup on Cygwin.
217 217
218A typical error message is 218A typical error message is
219 ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate 504 bytes 219 ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate 504 bytes
220 (alignment: 512): Function not implemented 220 (alignment: 512): Function not implemented
221 221
222Emacs supplies its own malloc, but glib (part of Gtk+) calls memalign and on 222Emacs supplies its own malloc, but glib (part of Gtk+) calls memalign and on
223cygwin that becomes the cygwin supplied memalign. As malloc is not the 223Cygwin, that becomes the Cygwin supplied memalign. As malloc is not the
224cygwin malloc, the cygwin memalign always returns ENOSYS. A fix for this 224Cygwin malloc, the Cygwin memalign always returns ENOSYS. A fix for this
225problem would be welcome. 225problem would be welcome.
226 226
227* General runtime problems 227* General runtime problems
@@ -1198,7 +1198,7 @@ The problems seem to depend on the version of LessTif and the Motif
1198emulation for which it is set up. 1198emulation for which it is set up.
1199 1199
1200Only the Motif 1.2 emulation seems to be stable enough in LessTif. 1200Only the Motif 1.2 emulation seems to be stable enough in LessTif.
1201Lesstif 0.92-17's Motif 1.2 emulation seems to work okay on FreeBSD. 1201LessTif 0.92-17's Motif 1.2 emulation seems to work okay on FreeBSD.
1202On GNU/Linux systems, lesstif-0.92.6 configured with "./configure 1202On GNU/Linux systems, lesstif-0.92.6 configured with "./configure
1203--enable-build-12 --enable-default-12" is reported to be the most 1203--enable-build-12 --enable-default-12" is reported to be the most
1204successful. The binary GNU/Linux package 1204successful. The binary GNU/Linux package
@@ -1295,7 +1295,7 @@ be carried out at the same time:
1295 improves performance dramatically, at the slight expense of correctness 1295 improves performance dramatically, at the slight expense of correctness
1296 of the X protocol. lbxproxy acheives the performance gain by grouping 1296 of the X protocol. lbxproxy acheives the performance gain by grouping
1297 several X requests in one TCP packet and sending them off together, 1297 several X requests in one TCP packet and sending them off together,
1298 instead of requiring a round-trip for each X request in a seperate 1298 instead of requiring a round-trip for each X request in a separate
1299 packet. The switches that seem to work best for emacs are: 1299 packet. The switches that seem to work best for emacs are:
1300 -noatomsfile -nowinattr -cheaterrors -cheatevents 1300 -noatomsfile -nowinattr -cheaterrors -cheatevents
1301 Note that the -nograbcmap option is known to cause problems. 1301 Note that the -nograbcmap option is known to cause problems.
@@ -1401,7 +1401,7 @@ The easy way to do this is to put
1401 1401
1402in your site-init.el file. 1402in your site-init.el file.
1403 1403
1404* Runtime problems on character termunals 1404* Runtime problems on character terminals
1405 1405
1406** Emacs spontaneously displays "I-search: " at the bottom of the screen. 1406** Emacs spontaneously displays "I-search: " at the bottom of the screen.
1407 1407
@@ -2102,6 +2102,18 @@ pop-up menu interaction.
2102Windows 95 and Windows NT up to version 4.0 do not support help text 2102Windows 95 and Windows NT up to version 4.0 do not support help text
2103for menus. Help text is only available in later versions of Windows. 2103for menus. Help text is only available in later versions of Windows.
2104 2104
2105When "ClearType" method is selected as the "method to smooth edges of
2106screen fonts" (in Display Properties, Appearance tab, under
2107"Effects"), there are various problems related to display of
2108characters: 2-pixel trace is left behind when moving overlays, bold
2109fonts can be hard to read, small portions of some characters could
2110appear chopped, etc. This happens because, under ClearType,
2111characters are drawn outside their advertised bounding box. Emacs 21
2112disabled the use of ClearType, whereas Emacs 22 allows it and has some
2113code to enlarge the width of the bounding box. Apparently, this
2114display feature needs more changes to get it 100% right. A workaround
2115is to disable ClearType.
2116
2105There are problems with display if mouse-tracking is enabled and the 2117There are problems with display if mouse-tracking is enabled and the
2106mouse is moved off a frame, over another frame then back over the first 2118mouse is moved off a frame, over another frame then back over the first
2107frame. A workaround is to click the left mouse button inside the frame 2119frame. A workaround is to click the left mouse button inside the frame
@@ -2113,16 +2125,32 @@ not as severely as in 21.1.
2113An inactive cursor remains in an active window after the Windows 2125An inactive cursor remains in an active window after the Windows
2114Manager driven switch of the focus, until a key is pressed. 2126Manager driven switch of the focus, until a key is pressed.
2115 2127
2116Windows input methods are not recognized by Emacs. Some 2128Windows input methods are not recognized by Emacs. However, some
2117of these input methods cause the keyboard to send characters encoded 2129of these input methods cause the keyboard to send characters encoded
2118in the appropriate coding system (e.g., ISO 8859-1 for Latin-1 2130in the appropriate coding system (e.g., ISO 8859-1 for Latin-1
2119characters, ISO 8859-8 for Hebrew characters, etc.). To make this 2131characters, ISO 8859-8 for Hebrew characters, etc.). To make these
2120work, set the keyboard coding system to the appropriate value after 2132input methods work with Emacs, set the keyboard coding system to the
2121you activate the Windows input method. For example, if you activate 2133appropriate value after you activate the Windows input method. For
2122the Hebrew input method, type "C-x RET k iso-8859-8 RET". (Emacs 2134example, if you activate the Hebrew input method, type this:
2123ought to recognize the Windows language-change event and set up the 2135
2124appropriate keyboard encoding automatically, but it doesn't do that 2136 C-x RET k hebrew-iso-8bit RET
2125yet.) 2137
2138(Emacs ought to recognize the Windows language-change event and set up
2139the appropriate keyboard encoding automatically, but it doesn't do
2140that yet.) In addition, to use these Windows input methods, you
2141should set your "Language for non-Unicode programs" (on Windows XP,
2142this is on the Advanced tab of Regional Settings) to the language of
2143the input method.
2144
2145To bind keys that produce non-ASCII characters with modifiers, you
2146must specify raw byte codes. For instance, if you want to bind
2147META-a-grave to a command, you need to specify this in your `~/.emacs':
2148
2149 (global-set-key [?\M-\340] ...)
2150
2151The above example is for the Latin-1 environment where the byte code
2152of the encoded a-grave is 340 octal. For other environments, use the
2153encoding appropriate to that environment.
2126 2154
2127The %b specifier for format-time-string does not produce abbreviated 2155The %b specifier for format-time-string does not produce abbreviated
2128month names with consistent widths for some locales on some versions 2156month names with consistent widths for some locales on some versions
@@ -2295,12 +2323,36 @@ the Emacs configure script, which should now find the jpeg library.
2295Alternatively, modify the generated src/Makefile to link the .a file 2323Alternatively, modify the generated src/Makefile to link the .a file
2296explicitly, and edit src/config.h to define HAVE_JPEG. 2324explicitly, and edit src/config.h to define HAVE_JPEG.
2297 2325
2326*** `configure' warns ``accepted by the compiler, rejected by the preprocessor''.
2327
2328This indicates a mismatch between the C compiler and preprocessor that
2329configure is using. For example, on Solaris 10 trying to use
2330CC=/opt/SUNWspro/bin/cc (the Sun Studio compiler) together with
2331CPP=/usr/ccs/lib/cpp can result in errors of this form (you may also
2332see the error ``"/usr/include/sys/isa_defs.h", line 500: undefined control'').
2333
2334The solution is to tell configure to use the correct C preprocessor
2335for your C compiler (CPP="/opt/SUNWspro/bin/cc -E" in the above
2336example).
2337
2338*** `configure' fails with ``"junk.c", line 660: invalid input token: 8.elc''
2339
2340The final stage of the Emacs configure process uses the C preprocessor
2341to generate the Makefiles. Errors of this form can occur if the C
2342preprocessor inserts extra whitespace into its output. The solution
2343is to find the switches that stop your preprocessor from inserting extra
2344whitespace, add them to CPPFLAGS, and re-run configure. For example,
2345this error can occur on Solaris 10 when using the Sun Studio compiler
2346``Sun C 5.8'' with its preprocessor CPP="/opt/SUNWspro/bin/cc -E".
2347The relevant switch in this case is "-Xs" (``compile assuming
2348(pre-ANSI) K & R C style code'').
2349
2298** Compilation 2350** Compilation
2299 2351
2300*** Building Emacs over NFS fails with ``Text file busy''. 2352*** Building Emacs over NFS fails with ``Text file busy''.
2301 2353
2302This was reported to happen when building Emacs on a GNU/Linux system 2354This was reported to happen when building Emacs on a GNU/Linux system
2303(RedHat Linux 6.2) using a build directory automounted from Solaris 2355(Red Hat Linux 6.2) using a build directory automounted from Solaris
2304(SunOS 5.6) file server, but it might not be limited to that 2356(SunOS 5.6) file server, but it might not be limited to that
2305configuration alone. Presumably, the NFS server doesn't commit the 2357configuration alone. Presumably, the NFS server doesn't commit the
2306files' data to disk quickly enough, and the Emacs executable file is 2358files' data to disk quickly enough, and the Emacs executable file is
@@ -2387,17 +2439,17 @@ files are installed. Then use:
2387 2439
2388(using the location of the 32-bit X libraries on your system). 2440(using the location of the 32-bit X libraries on your system).
2389 2441
2390*** Building the Cygwin port for MS-Windows can fail with some GCC version 2442*** Building the Cygwin port for MS-Windows can fail with some GCC versions
2391 2443
2392Building Emacs 22 with Cygwin builds of GCC 3.4.4-1 and 3.4.4-2 is 2444Building Emacs 22 with Cygwin builds of GCC 3.4.4-1 and 3.4.4-2 is
2393reported to either fail or cause Emacs to segfault at run time. In 2445reported to either fail or cause Emacs to segfault at run time. In
2394addition, the Cygwin GCC 3.4.4-2 has problems with generating debug 2446addition, the Cygwin GCC 3.4.4-2 has problems with generating debug
2395info. Cygwin users are advised not to use these versions of GCC for 2447info. Cygwin users are advised not to use these versions of GCC for
2396compiling Emacs. GCC versions 4.0.3, 4.1.1, and 4.1.2 reportedly 2448compiling Emacs. GCC versions 4.0.3, 4.0.4, 4.1.1, and 4.1.2
2397build a working Cygwin binary of Emacs, so we recommend these GCC 2449reportedly build a working Cygwin binary of Emacs, so we recommend
2398versions. Note that these three versions of GCC, 4.0.3, 4.1.1, and 2450these GCC versions. Note that these versions of GCC, 4.0.3, 4.0.4,
23994.1.2, are currently the _only_ versions known to succeed in building 24514.1.1, and 4.1.2, are currently the _only_ versions known to succeed
2400Emacs (as of v22.1). 2452in building Emacs (as of v22.1).
2401 2453
2402*** Building the native MS-Windows port with Cygwin GCC can fail. 2454*** Building the native MS-Windows port with Cygwin GCC can fail.
2403 2455
@@ -2548,7 +2600,7 @@ The fix is to install a newer version of ncurses, such as version 4.2.
2548 2600
2549*** Linux: Segfault during `make bootstrap' under certain recent versions of the Linux kernel. 2601*** Linux: Segfault during `make bootstrap' under certain recent versions of the Linux kernel.
2550 2602
2551With certain recent Linux kernels (like the one of Redhat Fedora Core 2603With certain recent Linux kernels (like the one of Red Hat Fedora Core
25521 and newer), the new "Exec-shield" functionality is enabled by default, which 26041 and newer), the new "Exec-shield" functionality is enabled by default, which
2553creates a different memory layout that breaks the emacs dumper. Emacs tries 2605creates a different memory layout that breaks the emacs dumper. Emacs tries
2554to handle this at build time, but if the workaround used fails, these 2606to handle this at build time, but if the workaround used fails, these
@@ -2718,6 +2770,13 @@ should now succeed.
2718You need to install a recent version of Texinfo; that package 2770You need to install a recent version of Texinfo; that package
2719supplies the `install-info' command. 2771supplies the `install-info' command.
2720 2772
2773*** Installing to a directory with spaces in the name fails.
2774
2775For example, if you call configure with a directory-related option
2776with spaces in the value, eg --enable-locallisppath='/path/with\ spaces'.
2777Using directory paths with spaces is not supported at this time: you
2778must re-configure without using spaces.
2779
2721** First execution 2780** First execution
2722 2781
2723*** Emacs binary is not in executable format, and cannot be run. 2782*** Emacs binary is not in executable format, and cannot be run.