From: cashin@cs.uga.edu
To: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] caml-mode gets confused about context
Date: Sun, 27 Apr 2003 18:34:30 -0400 [thread overview]
Message-ID: <87wuhf4ljd.fsf@cs.uga.edu> (raw)
In-Reply-To: <87fzo45wqe.fsf@cs.uga.edu> (cashin@cs.uga.edu's message of "Sun, 27 Apr 2003 01:35:05 -0400")
cashin@cs.uga.edu writes:
> Hi. I've noticed that the caml-mode in ocaml 3.06 loses track of
> where indentation should be, especially when I comment things out. My
> fix is to kill the buffer and reload it, at which point caml-mode
> immediately starts working again, indenting properly according to the
> sytax.
>
> I searched google a bit for caml-list discussion about it, but I
> didn't see anything. Is this a known problem? Is there a newer
> version I should use or some kind of workaround?
There's a workaround. I wish I knew enough emacs lisp to fix
caml-mode itself.
I find that when the indentation gets confused below a comment, I can
go up to the line before the comment, hit tab (which is bound to
caml-indent-command), and then come back to the line I'm working on.
Then indentation will work properly.
I tried to come up with a minimal example that exhibits the problem
but couldn't. If anyone wants to see the source file that exibits the
problem, let me know, and I'll send it off-list.
--
--Ed L Cashin PGP public key: http://noserose.net/e/pgp/
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
prev parent reply other threads:[~2003-04-27 22:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-27 5:11 Ed L Cashin
2003-04-27 5:35 ` cashin
2003-04-27 22:34 ` cashin [this message]
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=87wuhf4ljd.fsf@cs.uga.edu \
--to=cashin@cs.uga.edu \
--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