This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-28 on buffy configured using `configure --with-msvc (12.00)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: eng locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: SUBJECT: next-single-char-property-change fails to find faces With complex highlighting code with overlays and faces, the next-single-char-property-change fails to detect changes. In the following code excerpt from PHP, the situation is like this. When point is at position "a(point 206)", it jumps to "b(point 281)". Same if cursor is put at "f", it jumps to "b(point 281)". (goto-char (next-single-char-property-change 206 'face nil (point-max))) The area between A .. B is colorized. But so is "function" with different color. The point should stop at "f"; at word "function". The colors are best seen in picture (also attached): http://www.tierra.dyndns.org:81/emacs/tmp/form-all-test.php.jpg HOW TO REPRODUCE wget http://tierra.dyndns.org:81/emacs/htmlize-php.tar.bz2 1. Unpack tar 2. Open emacs 3. C-x C-f htmlize-php/htmlize-test.el 4. M-x eval-buffer 5. You should now see the PHP mode and coloring 6. call (goto-char (next-single-char-property-change 206 'face nil (point-max))) APPEARS: - Win32 Native Emacs (emacs-version)"GNU Emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-28 on buffy" - Win32 Cygwin Emacs (-nw mode) (emacs-version)"GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit) of 2003-01-23 on DRACO" - Linux GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit) of 2003-10-31 on raven, modified by Debian NOTES Site www.tierra.dyndns may not respond immediately. It's there if you try again a little later or another day. Jari