From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3DJ1HD5001828 for ; Wed, 13 Apr 2011 21:01:17 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgECAJzxpU3UGyoDkWdsb2JhbACmGRQBAQEBCQsLBxQDIohvujaFbgSNaIQK X-IronPort-AV: E=Sophos;i="4.64,205,1301868000"; d="scan'208";a="96887174" Received: from smtp3-g21.free.fr ([212.27.42.3]) by mail2-smtp-roc.national.inria.fr with ESMTP; 13 Apr 2011 21:01:11 +0200 Received: from seneca.free.fr (unknown [82.227.67.200]) by smtp3-g21.free.fr (Postfix) with ESMTP id E472AA6236; Wed, 13 Apr 2011 21:01:04 +0200 (CEST) Received: from rt by seneca.free.fr with local (Exim 4.75) (envelope-from ) id 1QA5JH-0001OH-Lm; Wed, 13 Apr 2011 21:01:03 +0200 Date: Wed, 13 Apr 2011 21:01:03 +0200 From: Ralf Treinen To: Andrew Cc: caml-list@inria.fr Message-ID: <20110413190103.GA2598@free.fr> References: <4D9D7598.1070802@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D9D7598.1070802@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Caml-list] Underscores, Keywords and Tuareg mode. 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.