Version française
Home     About     Download     Resources     Contact us    
Browse thread
Emacs 22.3.1 + tuareg + fold-mode
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jan Kybic <kybic@f...>
Subject: Re: [Caml-list] Re: Emacs 22.3.1 + tuareg + fold-mode
>> 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
>
> Looks like an Emacs bug.  Why don't you M-x report-emacs-bug ?
>

In the meantime, I succeeded in making the folding-mode work by
creating my own custom version of folding.el where I add the marks for
the tuareg-mode by adding:

    (folding-add-to-marks-list 'tuareg-mode  "(* {{{" "(* }}}" " *)" t)
    (folding-add-to-marks-list 'tuareg+twt-mode "(* {{{" "(* }}}" " *)" t)

It would have been more elegant to do this customization in the
~/.emacs file but I do not know how to do it and the above solution is
good enough for me for the moment.

Yours,

Jan

-- 
-------------------------------------------------------------------------
Jan Kybic <kybic@fel.cvut.cz>                       tel. +420 2 2435 5721
http://cmp.felk.cvut.cz/~kybic                      ICQ 200569450