bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Periodic bug in the fontification of text mode buffers


From: Davin Pearson
Subject: Periodic bug in the fontification of text mode buffers
Date: Fri, 6 Apr 2007 21:12:45 +1200

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-mingw-nt5.1.2600)
of 2004-03-11 on NYAUMO
configured using `configure --with-gcc (3.2)'
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: ENZ
 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:

I sent this email to gnu.emacs.bug but received no response so I am
resending it to you:

Periodically my text-mode buffers are partly fontified in the face
given by font-lock-string-face.  To fix this bug, I added the
following lines to font-lock-mode-hook:

(if (eq major-mode 'text-mode)
 (set (make-local-variable 'font-lock-string-face nil)))

The second bug is that periodically my text-mode buffers are partly
fontified in the face given by font-lock-comment-face.  To fix this
bug, I added the following lines to font-lock-mode-hook:

(if (eq major-mode 'text-mode)
 (set (make-local-variable 'font-lock-comment-face nil)))

So the result is that I managed to fix the bugs.

But I still wonder what caused the bugs to occur in the first place.

Recent input:
<f4> M-x r e p o r t - e m a <tab> <return>

Recent messages:
Omitting...
Omitted 24 lines.
Loading mule-util...done
Loading cal-move...done
Loading diary-lib...done
Marking diary entries...done
Loading d:/home/mylisp/mystart.el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
(No changes need to be saved)
Loading emacsbug...done


--
Davin Pearson    http://www.davinpearson.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]