⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 problems

📁 windows版本的emacs
💻
📖 第 1 页 / 共 5 页
字号:
   Unable to load color "grey95"(typically, in the `*Messages*' buffer), or something like this:  Error while displaying tooltip: (error Undefined color lightyellow)These problems could happen if some other X program has used up toomany colors of the X palette, leaving Emacs with insufficient systemresources to load all the colors it needs.A solution is to exit the offending X programs before starting Emacs.* Colors are not available on a tty or in xterm.Emacs 21 supports colors on character terminals and terminalemulators, but this support relies on the terminfo or termcap databaseentry to specify that the display supports color.  Emacs looks at the"Co" capability for the terminal to find out how many colors aresupported; it should be non-zero to activate the color support withinEmacs.  (Most color terminals support 8 or 16 colors.)  If your systemuses terminfo, the name of the capability equivalent to "Co" is"colors".In addition to the "Co" capability, Emacs needs the "op" (for``original pair'') capability, which tells how to switch the terminalback to the default foreground and background colors.  Emacs will notuse colors if this capability is not defined.  If your terminal entrydoesn't provide such a capability, try using the ANSI standard escapesequence \E[00m (that is, define a new termcap/terminfo entry and makeit use your current terminal's entry plus \E[00m for the "op"capability).Finally, the "NC" capability (terminfo name: "ncv") tells Emacs whichattributes cannot be used with colors.  Setting this capabilityincorrectly might have the effect of disabling colors; try settingthis capability to `0' (zero) and see if that helps.Emacs uses the database entry for the terminal whose name is the valueof the environment variable TERM.  With `xterm', a common terminalentry that supports color is `xterm-color', so setting TERM's value to`xterm-color' might activate the color support on an xterm-compatibleemulator.Some modes do not use colors unless you turn on the Font-lock mode.Some people have long ago set their `~/.emacs' files to turn onFont-lock on X only, so they won't see colors on a tty.  Therecommended way of turning on Font-lock is by typing "M-xglobal-font-lock-mode RET" or by customizing the variable`global-font-lock-mode'.* Emacs on a tty switches the cursor to large blinking block.This was reported to happen on some GNU/Linux systems which usencurses version 5.0, but could be relevant for other versions as well.These versions of ncurses come with a `linux' terminfo entry, wherethe "cvvis" capability (termcap "vs") is defined as "\E[?25h\E[?8c"(show cursor, change size).  This escape sequence switches on ablinking hardware text-mode cursor whose size is a full charactercell.  This blinking cannot be stopped, since a hardware cursoralways blinks.A work-around is to redefine the "cvvis" capability so that itenables a *software* cursor.  The software cursor works by invertingthe colors of the character at point, so what you see is a blockcursor that doesn't blink.  For this to work, you need to redefinethe "cnorm" capability as well, so that it operates on the softwarecursor instead of the hardware cursor.To this end, run "infocmp linux > linux-term", edit the file`linux-term' to make both the "cnorm" and "cvvis" capabilities sendthe sequence "\E[?25h\E[?17;0;64c", and then run "tic linux-term" toproduce a modified terminfo entry.* Problems in Emacs built with LessTif.The problems seem to depend on the version of LessTif and the Motifemulation for which it is set up.Only the Motif 1.2 emulation seems to be stable enough in LessTif.Lesstif 0.92-17's Motif 1.2 emulation seems to work okay on FreeBSD.On GNU/Linux systems, lesstif-0.92.6 configured with "./configure--enable-build-12 --enable-default-12" is reported to be the mostsuccessful.  The binary GNU/Linux packagelesstif-devel-0.92.0-1.i386.rpm was reported to have problems withmenu placement.On some systems, even with Motif 1.2 emulation, Emacs occasionallylocks up, grabbing all mouse and keyboard events.  We still don't knowwhat causes these problems; they are not reproducible by Emacsdevelopers.* Known problems with the MS-Windows port of Emacs 21.2.Emacs 21.2 built for MS-Windows doesn't support images, the tool bar,and tooltips.  Support for these will be added in future versions.Help text that is displayed in a tooltip on other window systems, onWindows is printed in the echo area, since tooltips are not yetavailable.Frames are not refreshed while the File or Font dialog or a pop-up menuis displayed. This also means help text for pop-up menu items is notdisplayed at all.  This is because message handling under Windows issynchronous, so we cannot handle repaint (or any other) messages whilewaiting for a system function to return the result of the dialog orpop-up menu interaction.There are problems with display if mouse-tracking is enabled and themouse is moved off a frame, over another frame then back over the firstframe.  A workaround is to click the left mouse button inside the frameafter moving back into it.Some minor flickering still persists during mouse-tracking, althoughnot as severely as in 21.1.Emacs can sometimes abort when non-ASCII text, possibly with nullcharacters, is copied and pasted into a buffer.An inactive cursor remains in an active window after the WindowsManager driven switch of the focus, until a key is pressed.Windows input methods are not recognized by Emacs (as of v21.2).  Someof these input methods cause the keyboard to send characters encodedin the appropriate coding system (e.g., ISO 8859-1 for Latin-1characters, ISO 8859-8 for Hebrew characters, etc.).  To make thiswork, set the keyboard coding system to the appropriate value afteryou activate the Windows input method.  For example, if you activatethe Hebrew input method, type "C-x RET k iso-8859-8 RET".  (Emacsought to recognize the Windows language-change event and set up theappropriate keyboard encoding automatically, but it doesn't do thatyet.)Windows uses UTF-16 encoding to deal with multilingual text (text notencodable in the `system codepage') in the clipboard.  To deal withthis, load the library `utf-16' and use `set-selection-coding-system'to set the clipboard coding system to `utf-16-le-dos'.  This won'tcope with Far Eastern (`CJK') text; if necessary, install the Mule-UCSpackage (see etc/MORE.STUFF), whose `utf-16-le-dos' coding system doesencode a lot of CJK characters.The %h format specifier for format-time-string does not work on Windows.The %b format specifier does not produce abbreviated month names withconsistent widths for some locales on some versions of Windows. This iscaused by a deficiency in the underlying system library function.* The `configure' script doesn't find the jpeg library.This can happen because the linker by default only looks for sharedlibraries, but jpeg distribution by default doesn't build and doesn'tinstall a shared version of the library, `libjpeg.so'.  One systemwhere this is known to happen is Compaq OSF/1 (`Tru64'), but itprobably isn't limited to that system.You can configure the jpeg library with the `--enable-shared' optionand then rebuild libjpeg.  This produces a shared version of libjpeg,which you need to install.  Finally, rerun the Emacs configure script,which should now find the jpeg library.  Alternatively, modify thegenerated src/Makefile to link the .a file explicitly.(If you need the static version of the jpeg library as well, configurelibjpeg with both `--enable-static' and `--enable-shared' options.)* Building Emacs over NFS fails with ``Text file busy''.This was reported to happen when building Emacs on a GNU/Linux system(RedHat Linux 6.2) using a build directory automounted from Solaris(SunOS 5.6) file server, but it might not be limited to thatconfiguration alone.  Presumably, the NFS server doesn't commit thefiles' data to disk quickly enough, and the Emacs executable file isleft ``busy'' for several seconds after Emacs has finished dumpingitself.  This causes the subsequent commands which invoke the dumpedEmacs excutable to fail with the above message.In some of these cases, a time skew between the NFS server and themachine where Emacs is built is detected and reported by GNU Make(it says that some of the files have modification time in the future).This might be a symptom of NFS-related problems.If the NFS server runs on Solaris, apply the Solaris patch 105379-05(Sunos 5.6: /kernel/misc/nfssrv patch).  If that doesn't work, or ifyou have a different version of the OS or the NFS server, you canforce the NFS server to use 1KB blocks, which was reported to fix theproblem albeit at a price of slowing down file I/O.  You can force 1KBblocks by specifying the "-o  rsize=1024,wsize=1024" options to the`mount' command, or by adding ",rsize=1024,wsize=1024" to the mountoptions in the appropriate system configuration file, such as`/etc/auto.home'.Alternatively, when Make fails due to this problem, you could wait fora few seconds and then invoke Make again.  In one particular case,waiting for 10 or more seconds between the two Make invocations seemedto work around the problem.Similar problems can happen if your machine NFS-mounts a directoryonto itself.  Suppose the Emacs sources live in `/usr/local/src' andyou are working on the host called `marvin'.  Then an entry in the`/etc/fstab' file like the following is asking for trouble:    marvin:/usr/local/src /usr/local/src ...options.omitted...The solution is to remove this line from `etc/fstab'.* Emacs binary is not in executable format, and cannot be run.This was reported to happen when Emacs is built in a directory mountedvia NFS.  Usually, the file `emacs' produced in these cases is full ofbinary null characters, and the `file' utility says:    emacs: ASCII text, with no line terminatorsWe don't know what exactly causes this failure.  A work-around is tobuild Emacs in a directory on a local disk.* Accented ISO-8859-1 characters are displayed as | or _.Try other font set sizes (S-mouse-1).  If the problem persists withother sizes as well, your text is corrupted, probably through softwarethat is not 8-bit clean.  If the problem goes away with another fontsize, it's probably because some fonts pretend to be ISO-8859-1 fontswhen they are really ASCII fonts. In particular the schumacher-cleanfonts have this bug in some versions of X.To see what glyphs are included in a font, use `xfd', like this:  xfd -fn -schumacher-clean-medium-r-normal--12-120-75-75-c-60-iso8859-1If this shows only ASCII glyphs, the font is indeed the source of theproblem.The solution is to remove the corresponding lines from the appropriate`fonts.alias' file, then run `mkfontdir' in that directory, and then run`xset fp rehash'.* Large file support is disabled on HP-UX.  See the comments insrc/s/hpux10.h.* Crashes when displaying GIF images in Emacs built with versionlibungif-4.1.0 are resolved by using version libungif-4.1.0b1.Configure checks for the correct version, but this problem could occurif a binary built against a shared libungif is run on a system with anolder version.* Font Lock displays portions of the bufefr in incorrect faces.By far the most frequent cause of this is a parenthesis `(' or a brace`{' in column zero.  Font Lock assumes that such a paren is outside ofany comment or string.  This is of course not true in general, but thevast majority of well-formatted program source files don't have suchparens, and therefore this assumption is used to allow optimizationsin Font Lock's syntactical analysis.  These optimizations avoid somepatological cases where jit-lock, the Just-in-Time fontificationintroduced with Emacs 21.1, could significantly slow down scrollingthrough the buffer, especially scrolling backwards, and also jumpingto the end of a very large buffer.If you don't use large buffers, or have a very fast machine whichmakes the delays insignificant, you can avoid the incorrectfontification by setting the variable`font-lock-beginning-of-syntax-function' to a nil value.  (This mustbe done _after_ turning on Font Lock.)Another alternative is to avoid a paren in column zero.  For example,in a Lisp string you could precede the paren with a backslash.* When running on KDE, colors or fonts are not as specified for Emacs,or messed up.For example, you could see background you set for Emacs only in theempty portions of the Emacs display, while characters have some otherbackground.This happens because KDE's defaults apply its color and fontdefinitions even to applications that weren't compiled for KDE.  Thesolution is to uncheck the "Apply fonts and colors to non-KDE apps"option in Preferences->Look&Feel->Style (KDE 2).  In KDE 3, this optionis in the "Colors" section, rather than "Style".Alternatively, if you do want the KDE defaults to apply to otherapplications, but not to Emacs, you could modify the file `Emacs.ad'(should be in the `/usr/share/apps/kdisplay/app-defaults/' directory)so that it doesn't set the default background and foreground only forEmacs.  For example, make sure the following resources are either notpresent or commented out:   Emacs.default.attributeForeground   Emacs.default.attributeBackground   Emacs*Foreground   Emacs*Background* Interrupting Cygwin port of Bash from Emacs doesn't work.Cygwin 1.x builds of the ported Bash cannot be interrupted from theMS-Windows version of Emacs.  This is due to some change in the Bashport or in the Cygwin library which apparently make Bash ignore thekeyboard interrupt event sent by Emacs to Bash.  (Older Cygwin portsof Bash, up to b20.1, did receive SIGINT from Emacs.)* Dired is very slow.This could happen if invocation of the `df' program takes a longtime.  Possible reasons for this include:  - ClearCase mounted filesystems (VOBs) that sometimes make `df'    response time extremely slow (dozens of seconds);  - slow automounters on some old versions of Unix;  - slow operation of some versions of `df'.To work around the problem, you could either (a) set the variable`directory-free-space-program' to nil, and thus prevent Emacs frominvoking `df'; (b) use `df' from the GNU Fileutils package; or(c) use CVS, which is Free Software, instead of ClearCase.* Accessing remote files with ange-ftp hangs the MS-Windows version of Emacs.If the FTP client is the Cygwin port of GNU `ftp', this appears to bedue to some bug in the Cygwin DLL or some incompatibility between itand the implementation of asynchronous subprocesses in the Windowsport of Emacs.  Specifically, some parts of the FTP server responsesare not flushed out, apparently due to buffering issues, whichconfuses ange-ftp.The solution is to downgrade to an older version of the Cygwin DLL(version 1.3.2 was reported to solve the problem), or use the stockWindows FTP client, usually found in the `C:\WINDOWS' or 'C:\WINNT'directory.  To force ange-ftp use the stock Windows client, set thevariable `ange-ftp-ftp-program-name' to the absolute file name of theclient's executable.  For example: (setq ange-ftp-ftp-program-name "c:/windows/ftp.exe")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -