caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ralf Treinen <treinen@free.fr>
To: Andrew <newsgroups.fr@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Underscores, Keywords and Tuareg mode.
Date: Wed, 13 Apr 2011 21:01:03 +0200	[thread overview]
Message-ID: <20110413190103.GA2598@free.fr> (raw)
In-Reply-To: <4D9D7598.1070802@gmail.com>

Hello,

On Thu, Apr 07, 2011 at 10:28:08AM +0200, Andrew wrote:

> Basically, I can't use the do_list function at the beginning of a
> line. Whenever I type do, and then press underscore, emacs emits a
> beep and the underscore is replaces by a white space. The same
> happens for keywords such as "then", "else", "done".
> 
> To reproduce, just try to input do_list in Emacs, with tuareg mode enabled.
> 
> I imagine that this has to do with electric indenting, but, after
> carefully browsing tuareg source code, I couldn't locate the
> offending lines.
> 
> Has any of you come across this problem? Do you know how to solve it?

yes, same here. When I type the underscore (which gets replaced by a blank),
the message window displays "Wrong type argument: stringp, nil". Seems
indeed to be a bug.

This is emacs23, version 23.2+1, tuareg-mode version 2.0.4. The problem
does not occur with xemacs.

-Ralf.

  reply	other threads:[~2011-04-13 19:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07  8:28 Andrew
2011-04-13 19:01 ` Ralf Treinen [this message]
2011-04-13 19:06   ` Микола Стрєбков
2011-04-13 19:33     ` Andrew

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=20110413190103.GA2598@free.fr \
    --to=treinen@free.fr \
    --cc=caml-list@inria.fr \
    --cc=newsgroups.fr@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).