<?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/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"
  prev="2009/01/4327dcf52a50630eb33ccd063ffb89ef"
  next="2009/01/f31c22f422bda4384f7be5c84ef27fd9"
  prev-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>
&gt;&gt; Now, with Emacs 22.3.1, tuareg-mode (1.45.6) and fold-mode no longer work
&gt;&gt; together, the folding just does not happen. With xemacs, it works
&gt;
&gt; Looks like an Emacs bug.  Why don't you M-x report-emacs-bug ?
&gt;

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

</contents>

</message>

