From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,UNPARSEABLE_RELAY autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 698E9BB84 for ; Tue, 13 Jan 2009 11:15:43 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.37,258,1231110000"; d="scan'208";a="22389754" Received: from discorde.inria.fr ([192.93.2.38]) by mail1-smtp-roc.national.inria.fr with ESMTP; 13 Jan 2009 11:15:43 +0100 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id n0DAFgVo002554 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 13 Jan 2009 11:15:42 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhwDADn4a0mTIFAHgWdsb2JhbACUFgEBFiJPu0qFbw X-IronPort-AV: E=Sophos;i="4.37,258,1231110000"; d="scan'208";a="22389751" Received: from relay.felk.cvut.cz ([147.32.80.7]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Jan 2009 11:15:42 +0100 X-FELK-MailScanner-Watermark: 1232446537.19759@WOdy1puACLn+bobmUOj49A Received: from k333.felk.cvut.cz (k333.felk.cvut.cz [147.32.87.5]) by relay.felk.cvut.cz (8.14.2/8.14.2) with ESMTP id n0DAFZls038289 for ; Tue, 13 Jan 2009 11:15:36 +0100 (CET) (envelope-from kybic@fel.cvut.cz) Received: from K333/SpoolDir by k333.felk.cvut.cz (Mercury 1.48); 13 Jan 09 11:15:36 +0100 Received: from SpoolDir by K333 (Mercury 1.48); 13 Jan 09 11:15:09 +0100 Received: from localhost (147.32.84.20) by k333.felk.cvut.cz (Mercury 1.48) with ESMTP; 13 Jan 09 11:15:08 +0100 To: caml-list@inria.fr Subject: Emacs 22.3.1 + tuareg + fold-mode Reply-To: Jan Kybic From: Jan Kybic Date: Tue, 13 Jan 2009 11:15:08 +0100 Message-ID: <87k58zqzpv.fsf@fel.cvut.cz> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (relay.felk.cvut.cz [147.32.80.7]); Tue, 13 Jan 2009 11:15:36 +0100 (CET) X-FELK-MailScanner-Information: X-MailScanner-ID: n0DAFZls038289 X-FELK-MailScanner: Found to be clean X-FELK-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.599, required 5, autolearn=not spam, BAYES_00 -2.60) X-FELK-MailScanner-From: kybic@fel.cvut.cz X-FELK-MailScanner-To: caml-list@inria.fr X-Miltered: at discorde with ID 496C69CE.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; emacs:01 tuareg:01 ocaml:01 emacs:01 tuareg:01 modifying:02 xemacs:02 xemacs:02 experiments:03 fel:07 fel:07 bonus:92 quite:08 comments:10 despite:11 Hello, when editing Ocaml sources in Emacs, I found fold-mode quite handy to selectively and hierarchically hide parts of the code and make it easier to concentrate on the part I am working on. Now, with Emacs 22.3.1, tuareg-mode (1.45.6) and fold-mode no longer work together, the folding just does not happen. With xemacs, it works fine. I have also tried the "folding" mode which works if the markers "{{{" are alone on the line but stops working as soon as they are enclosed in comments, like "(* {{{ *)", despite my experiments with modifying the markers with folding-add-to-marks-list. Does anyone know if there is a chance that tuareg and fold-mode will work again together in Emacs? Or would you have a working setup for the folding-mode? Can you recommend yet another alternative folding package for Emacs that works? Or should I switch to XEmacs (a move I was trying to avoid for some time since I rely on Emacs for most of my work)? As a bonus, I would also like the folding to work in tuareg+twt mode. Thank you for your advice, Jan -- ------------------------------------------------------------------------- Jan Kybic tel. +420 2 2435 5721 http://cmp.felk.cvut.cz/~kybic ICQ 200569450