caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jan Kybic <kybic@fel.cvut.cz>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: Emacs 22.3.1 + tuareg + fold-mode
Date: Thu, 15 Jan 2009 10:35:53 +0100	[thread overview]
Message-ID: <874p00rjwm.fsf@fel.cvut.cz> (raw)
In-Reply-To: <jwvr635xnje.fsf-monnier+gmane.comp.lang.caml.inria@gnu.org> (Stefan Monnier's message of "Wed, 14 Jan 2009 22:21:16 -0500")

>> 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


      reply	other threads:[~2009-01-15  9:36 UTC|newest]

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

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=874p00rjwm.fsf@fel.cvut.cz \
    --to=kybic@fel.cvut.cz \
    --cc=caml-list@inria.fr \
    --cc=monnier@iro.umontreal.ca \
    /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).