Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Kenneth Adam Miller <kennethadammiller@gmail.com>
To: caml users <caml-list@inria.fr>
Subject: [Caml-list] Emacs syntax highlighting
Date: Sat, 28 Dec 2024 16:37:19 -0600	[thread overview]
Message-ID: <CAK7rcp-psQhn5Vcr8zZ3Rubb21Yve8BnOREb4NVQz1zGxErEXg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]

Can someone help me? My emacs is not showing syntax highlighting for Ocaml
code. I have two emacs setups, one under WSL (windows subsystem for linux)
and one under docker. Both of them aren't showing any highlighting. You can
pull my emacs docker instance from:

https://hub.docker.com/repository/docker/kennethadammiller/emacs/general

Someone please help me to get syntax highlighting back. I've tried
installing caml mode, but that didn't work. Usually when I set up a new
emacs installation, I follow this:
https://github.com/BinaryAnalysisPlatform/bap/wiki/Emacs,

And in fact, it's already in my emacs. You can grab a local copy of my
.emacs file from:

https://github.com/KennethAdamMiller/dotEmacs

I usually run my docker instance and pass in the volumes so emacs sees my
.emacs

docker run -ti -v /mnt/c/Users/kenne/workspace/dotEmacs/.emacs:/root/.emacs
-v /mnt/c/Users/kenne/workspace/:/root/workspace
kennethadammiller/emacs:latest /bin/bash

So this should duplicate the issue with the syntax highlighting exactly,
just notice when you open an ml file that the syntax isn't highlighted.

[-- Attachment #2: Type: text/html, Size: 1520 bytes --]

                 reply	other threads:[~2024-12-28 22:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAK7rcp-psQhn5Vcr8zZ3Rubb21Yve8BnOREb4NVQz1zGxErEXg@mail.gmail.com \
    --to=kennethadammiller@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox