Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Raoul Duke <raould@gmail.com>
To: OCaml <caml-list@inria.fr>
Subject: Re: [Caml-list] emacs mode?
Date: Thu, 27 Jan 2011 10:46:13 -0800	[thread overview]
Message-ID: <AANLkTimW825BkjnWOj6UGVioBbMxUkPcnQZnMBk1QV0e@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikmUn1-3fsOx0WaAFu=CVFA-Au3aDZFVneOHhOm@mail.gmail.com>

On Thu, Jan 27, 2011 at 7:08 AM, Ashish Agarwal <agarwal1975@gmail.com> wrote:
> Can you describe the problem you are having or give an example. Many people
> use Tuareg mode, and it should work fine.

some things i've seen, maybe something about my local emacs setup sometimes?

1) if i try to indent-region i get things like Symbol's function
definition is void: tuareg-before-change-function.

2) sometimes just using tab to indent i get an error (that i can't
figure out how to reproduce right now so this is just my recollection
of the emacs error message) about how a regexp isn't matching, and the
regexp looks to me like it is looking for ocaml style comments, and no
indentation happens.

3) sometimes i don't get an error, but the indentation is just not
right to my eye, and sometimes i can fix it by e.g. selecting the
whole buffer and doing indent-region, but sometimes not. or by putting
in ";;" everywhere, like after "type x=int" lines as well as after
"let myfn x = x" definitions.

of course today vs. yesterday it is behaving better -- all in all it
feels very random to me when tuareg does/not work. maybe once a person
gets used to it all it works fine? but i think it feels kinda scary
weird slightly broken to a newbie.

sincerely,
A Newbie.

  reply	other threads:[~2011-01-27 18:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26 23:47 Raoul Duke
2011-01-27 13:38 ` Daniel Bünzli
2011-01-27 15:08 ` Ashish Agarwal
2011-01-27 18:46   ` Raoul Duke [this message]
2011-01-27 20:27     ` Ashish Agarwal
2011-01-27 20:29       ` Raoul Duke
2011-01-28 14:26       ` Damien Doligez
2011-01-27 20:09   ` Lukasz Stafiniak

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=AANLkTimW825BkjnWOj6UGVioBbMxUkPcnQZnMBk1QV0e@mail.gmail.com \
    --to=raould@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