<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2009/01/02a1dc13761c00a5ecd8c78499f170b7"
  from="Jan Kybic &lt;kybic@f...&gt;"
  author="Jan Kybic"
  date="2009-01-13T10:15:43"
  subject="Emacs 22.3.1 + tuareg + fold-mode"
  prev="2009/01/f07ac7ee0e665fad4852aa168e28aa87"
  next="2009/01/ae41b4ef4303a34e5ea7b4f7d49b172a"
  next-in-thread="2009/01/4327dcf52a50630eb33ccd063ffb89ef"
  prev-thread="2009/01/d872246fc16e795f138c798f5c03dea4"
  next-thread="2009/01/ae503c1c2f4bb9e29394aac85b4110d9"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Emacs 22.3.1 + tuareg + fold-mode">
<msg 
  url="2009/01/02a1dc13761c00a5ecd8c78499f170b7"
  from="Jan Kybic &lt;kybic@f...&gt;"
  author="Jan Kybic"
  date="2009-01-13T10:15:43"
  subject="Emacs 22.3.1 + tuareg + fold-mode">
<msg 
  url="2009/01/4327dcf52a50630eb33ccd063ffb89ef"
  from="Stefan Monnier &lt;monnier@i...&gt;"
  author="Stefan Monnier"
  date="2009-01-15T03:21:29"
  subject="Re: Emacs 22.3.1 + tuareg + fold-mode">
<msg 
  url="2009/01/eff7cf4b72dee46238144484be6910a9"
  from="Jan Kybic &lt;kybic@f...&gt;"
  author="Jan Kybic"
  date="2009-01-15T09:36:15"
  subject="Re: [Caml-list] Re: Emacs 22.3.1 + tuareg + fold-mode">
</msg>
</msg>
</msg>
</thread>

<contents>
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 &lt;kybic@fel.cvut.cz&gt;                       tel. +420 2 2435 5721
http://cmp.felk.cvut.cz/~kybic                      ICQ 200569450

</contents>

</message>

