Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004324OCamlOCaml generalpublic2007-06-22 11:562007-10-29 08:19
Reporteroandrieu 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSemacsOS Version
Product Version3.10.0 
Target VersionFixed in Version3.10+dev 
Summary0004324: emacs mode highlighting
DescriptionThe highlighting code in emacs/caml-font.el doesn't work reliably with multi-line comments or strings. The reason is that it sets font-lock in "keywords-only" mode which is fine when highlighting keywords but doesn't work for multi-line constructs. The intent was apparently to colorize ocamldoc comments differently, but the clean way to do this is to use the font-lock-syntactic-face-function.

Here's the modified version I use which does this, plus some other minor improvements (see changelog at the beginning).
TagsNo tags attached.
Attached Files? file icon caml-font.el [^] (3,923 bytes) 2007-06-22 11:56

- Relationships

-  Notes
(0004218)
garrigue (manager)
2007-10-29 08:19

Merged the code with almost no modification.
Thanks!

- Issue History
Date Modified Username Field Change
2007-06-22 11:56 oandrieu New Issue
2007-06-22 11:56 oandrieu File Added: caml-font.el
2007-10-29 08:19 garrigue Status new => closed
2007-10-29 08:19 garrigue Note Added: 0004218
2007-10-29 08:19 garrigue Resolution open => fixed
2007-10-29 08:19 garrigue Fixed in Version => 3.10+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker