Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004324OCaml~DO NOT USE (was: OCaml general)public2007-06-22 11:562007-10-29 08:19
Assigned To 
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
garrigue (manager)
2007-10-29 08:19

Merged the code with almost no modification.

- 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
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker