Public bug reported:

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

** Affects: xemacs21 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
font-lock doesn't refontify buffer
https://launchpad.net/bugs/96145

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to