| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0004324 | OCaml | OCaml general | public | 2007-06-22 11:56 | 2007-10-29 08:19 |
|
| Reporter | oandrieu | |
| Assigned To | | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | emacs | OS Version | |
| Product Version | 3.10.0 | |
| Target Version | | Fixed in Version | 3.10+dev | |
|
| Summary | 0004324: emacs mode highlighting |
| Description | The 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). |
| Tags | No tags attached. |
|
| Attached Files | caml-font.el [^] (3,923 bytes) 2007-06-22 11:56 |
|