caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* RE: [Caml-list] Emacs mode for revised syntax?
@ 2002-02-22 10:50 Gerard Huet
  2002-02-22 13:07 ` Johan Georg Granström
  0 siblings, 1 reply; 6+ messages in thread
From: Gerard Huet @ 2002-02-22 10:50 UTC (permalink / raw)
  To: Charles-Albert Lehalle; +Cc: caml-list

At 11:32 22/02/02 +0100, you wrote:
>I use tuareg emacs-mode:
>
>http://www-rocq.inria.fr/~acohen/tuareg/
>

So do I. I customised it a bit for keyword value and stuff. 
Not entirely satisfactory, and I have to fight the "electric" automatic
indentation which has different notions than me on what is nicely presented
code. 
Gérard


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] Emacs mode for revised syntax?
  2002-02-22 10:50 [Caml-list] Emacs mode for revised syntax? Gerard Huet
@ 2002-02-22 13:07 ` Johan Georg Granström
  0 siblings, 0 replies; 6+ messages in thread
From: Johan Georg Granström @ 2002-02-22 13:07 UTC (permalink / raw)
  To: Gerard Huet; +Cc: caml-list

>Gerard Huet <Gerard.Huet@inria.fr> wrote:
>
>>I use tuareg emacs-mode:
>>
>>http://www-rocq.inria.fr/~acohen/tuareg/
>>
>
>So do I. I customised it a bit for keyword value and stuff.
>Not entirely satisfactory, and I have to fight the "electric" automatic
>indentation which has different notions than me on what is nicely presented
>code.
>Gérard

This is my experience as well. The "value" keyword and the ";"
instead of ";;" seems to be the only big differences. I looked
at the tuareg code, there are a few occurences of "val" that probably
needs to be changed into "value" together with some regular expressions.
The same goes for ";" vs. ";;". But I don't have the guts to start
messing with tuareg.el :) So I just sit around and wait for Christian
Gillot's version.

Thanks all,

- Johan Granström

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] Emacs mode for revised syntax?
  2002-02-22 10:32 Charles-Albert Lehalle
@ 2002-02-22 10:41 ` Albert Cohen
  0 siblings, 0 replies; 6+ messages in thread
From: Albert Cohen @ 2002-02-22 10:41 UTC (permalink / raw)
  To: Charles-Albert Lehalle; +Cc: caml-list

On Fri, Feb 22, 2002 at 11:32:08AM +0100, Charles-Albert Lehalle wrote:

> I use tuareg emacs-mode:
> 
> http://www-rocq.inria.fr/~acohen/tuareg/

Tuareg does not actually implement any "real" support for the revised
syntax, but a few hacks have been provided to make the things look all
right in general.

I'd be glad to get more comments/bug-reports about cases of bad
indentation/behavior with the revised syntax !

By the way, version 1.40b is now quite stable, use it preferably to
1.38.x. Final version is coming soon...

                                                                  Albert

-- 
Albert Cohen                            http://www-rocq.inria.fr/~acohen
                    INRIA Rocquencourt, BP 105, 78153 Le Chesnay, France
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [Caml-list] Emacs mode for revised syntax?
@ 2002-02-22 10:32 Charles-Albert Lehalle
  2002-02-22 10:41 ` Albert Cohen
  0 siblings, 1 reply; 6+ messages in thread
From: Charles-Albert Lehalle @ 2002-02-22 10:32 UTC (permalink / raw)
  To: caml-list

I use tuareg emacs-mode:

http://www-rocq.inria.fr/~acohen/tuareg/


> -----Message d'origine-----
> De : Johan Georg Granström [mailto:georg.g@home.se]
> Envoyé : vendredi 22 février 2002 11:15
> À : caml-list@inria.fr
> Objet : [Caml-list] Emacs mode for revised syntax?
> 
> 
> What is the status on this question?
> 
> > Markus Mottl <markus@oefai.at> writes:
> > [Snip]
> >
> > By the way, is there any caml-mode for Emacs and the 
> revised syntax ?
> 
> With reference to
> 
> > Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr> writes:
> > I don't think so but there is a request for that (Gérard Huet asked
> > me yesterday). I use a very old caml-light-or-what emacs mode and I
> > am too lazy to look at emacs-lisp to create my mode.
> 
> Thanks in advance,
> 
> - Johan Granström
> 
> 
> -------------------
> To unsubscribe, mail caml-list-request@inria.fr Archives: 
> http://caml.inria.fr
> Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: 
> http://caml.inria.fr/FAQ/
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> 
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] Emacs mode for revised syntax?
  2002-02-22 10:15       ` [Caml-list] Emacs mode for revised syntax? Johan Georg Granström
@ 2002-02-22 10:21         ` Christian Gillot
  0 siblings, 0 replies; 6+ messages in thread
From: Christian Gillot @ 2002-02-22 10:21 UTC (permalink / raw)
  To: Johan Georg Granström; +Cc: caml-list

Hi,

El dv, 22-02-2002 a las 11:15, Johan Georg Granström escribió:
> What is the status on this question?
> 
> > Markus Mottl <markus@oefai.at> writes:
> > [Snip]
> >
> > By the way, is there any caml-mode for Emacs and the revised syntax ?
> 
> With reference to
> 
> > Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr> writes:
> > I don't think so but there is a request for that (Gérard Huet asked
> > me yesterday). I use a very old caml-light-or-what emacs mode and I
> > am too lazy to look at emacs-lisp to create my mode.
In the mailing list tuareg's author told he wouldn't adapt it to the
revised syntax, so I'm looking forward doing it this week-end. So if
you're just be patient, you'll got it ;o)


Regards,

-- 
Christian Gillot <cgillot@gruposbd.com>
GNU/Linux programmer
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Caml-list] Emacs mode for revised syntax?
  2002-02-05 11:53     ` Remi VANICAT
@ 2002-02-22 10:15       ` Johan Georg Granström
  2002-02-22 10:21         ` Christian Gillot
  0 siblings, 1 reply; 6+ messages in thread
From: Johan Georg Granström @ 2002-02-22 10:15 UTC (permalink / raw)
  To: caml-list

What is the status on this question?

> Markus Mottl <markus@oefai.at> writes:
> [Snip]
>
> By the way, is there any caml-mode for Emacs and the revised syntax ?

With reference to

> Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr> writes:
> I don't think so but there is a request for that (Gérard Huet asked
> me yesterday). I use a very old caml-light-or-what emacs mode and I
> am too lazy to look at emacs-lisp to create my mode.

Thanks in advance,

- Johan Granström


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-02-23 18:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-22 10:50 [Caml-list] Emacs mode for revised syntax? Gerard Huet
2002-02-22 13:07 ` Johan Georg Granström
  -- strict thread matches above, loose matches on Subject: below --
2002-02-22 10:32 Charles-Albert Lehalle
2002-02-22 10:41 ` Albert Cohen
2002-02-04 20:11 [Caml-list] syntax change (was: camlp4o problem) Markus Mottl
2002-02-05  2:01 ` Brian Rogoff
2002-02-05 10:33   ` Markus Mottl
2002-02-05 11:53     ` Remi VANICAT
2002-02-22 10:15       ` [Caml-list] Emacs mode for revised syntax? Johan Georg Granström
2002-02-22 10:21         ` Christian Gillot

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