From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 10F92BC29 for ; Fri, 11 Aug 2006 21:01:56 +0200 (CEST) Received: from hedwig1.umh.ac.be (hedwig2.umh.ac.be [193.190.193.73]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k7BJ1pXD004723 for ; Fri, 11 Aug 2006 21:01:55 +0200 Received: from poincare.swapping.umh.ac.be (pri-011.umh.ac.be [10.101.0.11]) by hedwig1.umh.ac.be (8.13.6/8.13.6) with ESMTP id k7BJ4DQC2900080; Fri, 11 Aug 2006 21:04:14 +0200 Received: from localhost ([127.0.0.1]) by poincare.swapping.umh.ac.be with esmtp (Exim 4.62) (envelope-from ) id 1GBcGI-0005ba-DL; Fri, 11 Aug 2006 21:01:38 +0200 Date: Fri, 11 Aug 2006 21:01:37 +0200 (CEST) Message-Id: <20060811.210137.108821878.Christophe.Troestler@umh.ac.be> To: kauffman@cs.umn.edu Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] ocaml-emacs mode with multiline comments From: Christophe TROESTLER In-Reply-To: <44DCCACC.2090204@cs.umn.edu> References: <44DCCACC.2090204@cs.umn.edu> X-Face: #2fb%mPx>rRL@4ff~TVgZ"<[:,oL"`TUEGK/[8/qb58~C>jR(x4A+v/n)7BgpEtIph_neoLKJBq0JBY9:}8v|j Organization: Universite de Mons-Hainaut (http://math.umh.ac.be/an/) X-Spook: Capricorn interception Jiang Zemin BLU-114/B Qaddafi red noise BATF Ft. Knox covert video nitrate X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum X-Operating-System: Debian GNU/Linux (http://www.debian.org/) X-Mailer: Mew version 4.2.52 on Emacs 22.0.50 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.1 (www dot roaringpenguin dot com slash mimedefang) X-Miltered: at concorde with ID 44DCD41F.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; multiline:01 christophe:01 troestler:01 christophe:01 troestler:01 umh:01 experimented:01 ocaml:01 prefered:01 ocaml-mode:01 lambda:01 setq:01 setq:01 mll:01 cheers:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Fri, 11 Aug 2006, Christopher Kauffman wrote: > > I have experimented a bit with Tuareg-mode, the alternate mode for ocaml > editing, and it did solve this, but I prefered the indenting in the > default ocaml-mode This will solve the indenting "problem": (add-hook 'tuareg-mode-hook (function (lambda () (setq tuareg-in-indent 0) (setq tuareg-let-always-indent t) (setq tuareg-let-indent tuareg-default-indent) (setq tuareg-with-indent 0) (setq tuareg-function-indent 0) (setq tuareg-fun-indent 0) (setq tuareg-parser-indent 0) (setq tuareg-match-indent 0) (setq tuareg-begin-indent tuareg-default-indent) (setq tuareg-parse-indent tuareg-default-indent); .mll (setq tuareg-rule-indent tuareg-default-indent) (setq tuareg-font-lock-symbols nil) ))) Cheers, ChriS