font-lock doesn't refontify buffer

Bug #96145 reported by Alejandro Weinstein
4
Affects Status Importance Assigned to Milestone
xemacs21 (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: xemacs21

If you open a source code file (C, php, etc.) with the font-lock enabled, the syntax highlighting works OK, except that the highlighting applies only to the current line. For instance, if you coment a block code in a C file, putting several lines between /* */, only the lines with the /* and the */ change color.

I get this behavior in both Ubuntu Dapper and Edgy.

The problem is solved by adding the following to ~/.xemacs/init.el:

(add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)

Users of xemacs in other distributions said that this is not the expected behavior of xemacs.

Regards,
Alejandro

Daniel T Chen (crimsun)
Changed in xemacs21:
importance: Undecided → Wishlist
Changed in xemacs21 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.