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 p0RImoci014895 for ; Thu, 27 Jan 2011 19:48:50 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMBAHNMQU3RVaE2kGdsb2JhbACkdQgVAQEBAQkJDAcRBCCiCol/gheFFy6IWQEBAwWFSgSFF4cQhls X-IronPort-AV: E=Sophos;i="4.60,387,1291590000"; d="scan'208";a="86513237" Received: from mail-fx0-f54.google.com ([209.85.161.54]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-MD5; 27 Jan 2011 19:48:45 +0100 Received: by fxm16 with SMTP id 16so2623590fxm.27 for ; Thu, 27 Jan 2011 10:48:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=pecAe901Fbkf5aXK51Zw7t0bvbFYWD7lgu/WtnPO1Ro=; b=VsfkD5HwbBKGZLPjX1yZTR2NaJkgPclB25rIhSrt8Q2aX69Rc78LnedWpvlBZ8L6fF dialCSlyP48uMyfYUmFp2CBHOH8wZF292BdevANxG6uYTJrzWR7rpIWpNHwNgdfg0k/C NOcXOjUim9YonYO8PNA9vKJzFJP8T4KhmG/4s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=UpWi8dYFl74lUtL0uyVVLtR7ue+vo0eywF3FGzRm5xKAMpZIlugxsVTZNFN/wx5TKz fgGU6C1oZSpuwg/JUGj8fSQNKiBDh9aErjcCvm0GLqIEC+Db9A6wbiPL8762HshVv9kF 27pS15vzcv0yP4Kz6ppOnkg4Q8MpVvbC/lb4I= Received: by 10.223.71.197 with SMTP id i5mr1259598faj.127.1296154016324; Thu, 27 Jan 2011 10:46:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.83.11 with HTTP; Thu, 27 Jan 2011 10:46:13 -0800 (PST) In-Reply-To: References: From: Raoul Duke Date: Thu, 27 Jan 2011 10:46:13 -0800 Message-ID: To: OCaml Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] emacs mode? On Thu, Jan 27, 2011 at 7:08 AM, Ashish Agarwal 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.