From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3DJ6R9i002187 for ; Wed, 13 Apr 2011 21:06:27 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAEbzpU0+lQkY/2dsb2JhbACnEYhvukGFbgSFVIgUg2+DRg X-IronPort-AV: E=Sophos;i="4.64,205,1301868000"; d="scan'208";a="92815198" Received: from dragon.cc.colocall.com (HELO dragon.mykola.org) ([62.149.9.24]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Apr 2011 21:06:21 +0200 Received: from [192.168.0.103] (110-215-132-95.pool.ukrtel.net [95.132.215.110]) (authenticated bits=0) by dragon.mykola.org (8.14.3/8.14.3) with ESMTP id p3DJ6Gm5073904 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 13 Apr 2011 22:06:16 +0300 (EEST) (envelope-from nick@mykola.org) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=koi8-u From: =?koi8-u?B?7cnLz8zBIPPU0qTCy8/X?= In-Reply-To: <20110413190103.GA2598@free.fr> Date: Wed, 13 Apr 2011 22:06:11 +0300 Cc: Andrew , caml-list@inria.fr Message-Id: <18E3195D-D349-4EF5-BE3C-776DF3BF2306@mykola.org> References: <4D9D7598.1070802@gmail.com> <20110413190103.GA2598@free.fr> To: Ralf Treinen X-Mailer: Apple Mail (2.1084) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p3DJ6R9i002187 Subject: Re: [Caml-list] Underscores, Keywords and Tuareg mode. On 13 ËצÔ. 2011, at 22:01, Ralf Treinen wrote: > 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. Problem does not occur. Emacs 24.0.5, tuareg 2.0.4 -- Mykola Stryebkov Public key: http://mykola.org/pubkey.txt fpr: 0226 54EE C1FF 8636 36EF 2AC9 BCE9 CFC7 9CF4 6747