Bug 7836 - Please add OCaml MIME type
Summary: Please add OCaml MIME type
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-10 09:40 UTC by Loïc Minier
Modified: 2006-08-25 09:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Loïc Minier 2006-08-10 09:40:08 UTC
Hi,

To support syntax highlighting in gtksourceview, I need the MIME type of OCaml
sources to be registered in the shared-mime-info database.

The most correct MIME type seems to be text/x-ocaml and it should apply to .ml
and .mli files (program modules implementations and interfaces).

See:
http://lists.debian.org/debian-ocaml-maint/2006/07/threads.html#00201
http://bugzilla.gnome.org/show_bug.cgi?id=338344

Bye,
Comment 1 Bastien Nocera 2006-08-25 08:23:08 UTC
Do you have magic to detect those files as well?

2006-08-25  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Add text/x-ocaml as a mime-type for OCaml
        files (Closes: #7836)
Comment 2 Loïc Minier 2006-08-25 09:29:52 UTC
Unfortunately, I don't myself, and "file" on my machine doesn't recognize these
either.
Comment 3 Bastien Nocera 2006-08-25 09:30:30 UTC
Never mind then.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.