[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609133: marked as done (ocaml-mode: Syntax highlighting not enabled by default)



Your message dated Tue, 4 Jul 2023 20:19:10 +0200
with message-id <ZKRinhLP9yAm9PLc@seneca.home.org>
and subject line Re: ocaml-mode: Syntax highlighting not enabled by default
has caused the Debian Bug report #609133,
regarding ocaml-mode: Syntax highlighting not enabled by default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
609133: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609133
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ocaml-mode
Version: 3.11.2-2
Severity: minor

Hiya,

While loading .ml files into Emacs correctly loads caml-mode, it does
not seem to enable the syntax highlighting. For that, I have to execute

  (require 'caml-font)

as found at

  http://caml.inria.fr/pub/ml-archives/caml-list/2007/08/157da84ba0ef20f06f145c57f11bdbd9.en.html

It would be nice if this could be added to 50ocaml-mode.el so that
syntax highlighting is automatic.

Cheers,
Iain

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (950, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ocaml-mode depends on:
ii  emacs22 [emacsen]          22.3+1-1.2+b1 The GNU Emacs editor
ii  emacs23 [emacsen]          23.2+1-7      The GNU Emacs editor (with GTK+ us

ocaml-mode recommends no packages.

Versions of packages ocaml-mode suggests:
ii  ocaml                         3.11.2-2   ML language implementation with a 

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 4.9-3

Sorry for replying ridicously late to this bug report :

> While loading .ml files into Emacs correctly loads caml-mode, it does
> not seem to enable the syntax highlighting. For that, I have to execute
>
>  (require 'caml-font)
[..]
> It would be nice if this could be added to 50ocaml-mode.el so that
> syntax highlighting is automatic.

Caml-mode is no longer automatically enabled for all users when the package
is installed. The reason for this is that there is another emacs mode for
editing OCaml programs, called tuareg, and users should be able to
choose which one they would like to use.

For this reason, users who prefer caml-mode are now invited to load from
there emacs initialisation the file "activate-caml-mode" which performs the
necessary auto-loads and additions to auto-mode-alist. It also activates
syntaxe highlighting, as you suggested, and for this reason I consider
this issue closed.

Best -Ralf.

--- End Message ---

Reply to: