caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jan Kybic <kybic@fel.cvut.cz>
To: caml-list@inria.fr
Subject: Emacs 22.3.1 + tuareg + fold-mode
Date: Tue, 13 Jan 2009 11:15:08 +0100	[thread overview]
Message-ID: <87k58zqzpv.fsf@fel.cvut.cz> (raw)

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


             reply	other threads:[~2009-01-13 10:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 10:15 Jan Kybic [this message]
2009-01-15  3:21 ` Stefan Monnier
2009-01-15  9:35   ` [Caml-list] " Jan Kybic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k58zqzpv.fsf@fel.cvut.cz \
    --to=kybic@fel.cvut.cz \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).