Mercurial > emacs
comparison etc/PROBLEMS @ 39315:311556cdc15a
Document Font Lock problems with parens in column zero.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 17 Sep 2001 14:44:14 +0000 |
parents | a3c2d52350d6 |
children | 42696c62a407 |
comparison
equal
deleted
inserted
replaced
39314:ff5b5b1092e0 | 39315:311556cdc15a |
---|---|
342 * Large file support is disabled on HP-UX. See the comments in | 342 * Large file support is disabled on HP-UX. See the comments in |
343 src/s/hpux10.h. | 343 src/s/hpux10.h. |
344 | 344 |
345 * Crashes when displaying uncompressed GIFs with version | 345 * Crashes when displaying uncompressed GIFs with version |
346 libungif-4.1.0 are resolved by using version libungif-4.1.0b1. | 346 libungif-4.1.0 are resolved by using version libungif-4.1.0b1. |
347 | |
348 * Font Lock displays portions of the bufefr in incorrect faces. | |
349 | |
350 By far the most frequent cause of this is a parenthesis `(' or a brace | |
351 `{' in column zero. Font Lock assumes that such a paren is outside of | |
352 any comment or string. This is of course not true in general, but the | |
353 vast majority of well-formatted program source files don't have such | |
354 parens, and therefore this assumption is used to allow optimizations | |
355 in Font Lock's syntactical analysis. These optimizations avoid some | |
356 patological cases where jit-lock, the Just-in-Time fontification | |
357 introduced with Emacs 21.1, could significantly slow down scrolling | |
358 through the buffer, especially scrolling backwards, and also jumping | |
359 to the end of a very large buffer. | |
360 | |
361 If you don't use large buffers, or have a very fast machine which | |
362 makes the delays insignificant, you can avoid the incorrect | |
363 fontification by setting the variable | |
364 `font-lock-beginning-of-syntax-function' to a nil value. (This must | |
365 be done _after_ turning on Font Lock.) | |
366 | |
367 Another alternative is to avoid a paren in column zero. For example, | |
368 in a Lisp string you could precede the paren with a backslash. | |
347 | 369 |
348 * Interrupting Cygwin port of Bash from Emacs doesn't work. | 370 * Interrupting Cygwin port of Bash from Emacs doesn't work. |
349 | 371 |
350 Cygwin 1.x builds of the ported Bash cannot be interrupted from the | 372 Cygwin 1.x builds of the ported Bash cannot be interrupted from the |
351 MS-Windows version of Emacs. This is due to some change in the Bash | 373 MS-Windows version of Emacs. This is due to some change in the Bash |