caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ot?: vim support (and for revised syntax)
@ 2002-10-21 13:10 Kontra, Gergely
  2002-10-21 13:30 ` Daniel de Rauglaudre
  0 siblings, 1 reply; 5+ messages in thread
From: Kontra, Gergely @ 2002-10-21 13:10 UTC (permalink / raw)
  To: caml-list

Hi!

Has somebody written syntax and indent files for
ocaml files using the revised syntax?
BTW the old-style indentation is not perfect... after closing a toplevel
expression, the indentation level is not reset to 0

Gergo

+-[Kontra, Gergely @ Budapest University of Technology and Economics]-+
|         Email: kgergely@mcl.hu,  kgergely@turul.eet.bme.hu          |
|  URL:   turul.eet.bme.hu/~kgergely    Mobile: (+36 20) 356 9656     |
+-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+
.
Magyar php mirror es magyar php dokumentacio: http://hu.php.net

-------------------
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] 5+ messages in thread

* Re: [Caml-list] ot?: vim support (and for revised syntax)
  2002-10-21 13:10 [Caml-list] ot?: vim support (and for revised syntax) Kontra, Gergely
@ 2002-10-21 13:30 ` Daniel de Rauglaudre
  2002-10-21 13:56   ` Stefano Zacchiroli
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel de Rauglaudre @ 2002-10-21 13:30 UTC (permalink / raw)
  To: caml-list

Hi,

On Mon, Oct 21, 2002 at 03:10:54PM +0200, Kontra, Gergely wrote:

> Has somebody written syntax and indent files for
> ocaml files using the revised syntax?
> BTW the old-style indentation is not perfect... after closing a toplevel
> expression, the indentation level is not reset to 0

Yes it is. I am interested in your example not doing that.

But warning: everything between phrases is copied as it is. If all
your input is indented, it means that there is an indentation between
two phrases which is copied also. If you have such a problem, you
may want to ignore the comments between phrases: use the option
-sep "\n\n" in this case.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
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] 5+ messages in thread

* Re: [Caml-list] ot?: vim support (and for revised syntax)
  2002-10-21 13:30 ` Daniel de Rauglaudre
@ 2002-10-21 13:56   ` Stefano Zacchiroli
  2002-10-21 14:56     ` Daniel de Rauglaudre
  0 siblings, 1 reply; 5+ messages in thread
From: Stefano Zacchiroli @ 2002-10-21 13:56 UTC (permalink / raw)
  To: caml-list

On Mon, Oct 21, 2002 at 03:30:32PM +0200, Daniel de Rauglaudre wrote:
> > Has somebody written syntax and indent files for
> > ocaml files using the revised syntax?

Daniel, ..., and regarding this part of the question? :)

-- 
Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy
zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro
"I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!" -- G.Romney
-------------------
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] 5+ messages in thread

* Re: [Caml-list] ot?: vim support (and for revised syntax)
  2002-10-21 13:56   ` Stefano Zacchiroli
@ 2002-10-21 14:56     ` Daniel de Rauglaudre
  2002-10-21 15:37       ` Kontra, Gergely
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel de Rauglaudre @ 2002-10-21 14:56 UTC (permalink / raw)
  To: caml-list

Hi,

On Mon, Oct 21, 2002 at 03:56:56PM +0200, Stefano Zacchiroli wrote:
> On Mon, Oct 21, 2002 at 03:30:32PM +0200, Daniel de Rauglaudre wrote:
> > > Has somebody written syntax and indent files for
> > > ocaml files using the revised syntax?
> 
> Daniel, ..., and regarding this part of the question? :)

Oops: I probably misunderstood the question. I forgot to look at the
subject. I thought it was about the pretty printing of Camlp4, sorry.

Well, if it is about vim, I don't know, sorry.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
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] 5+ messages in thread

* Re: [Caml-list] ot?: vim support (and for revised syntax)
  2002-10-21 14:56     ` Daniel de Rauglaudre
@ 2002-10-21 15:37       ` Kontra, Gergely
  0 siblings, 0 replies; 5+ messages in thread
From: Kontra, Gergely @ 2002-10-21 15:37 UTC (permalink / raw)
  To: Daniel de Rauglaudre; +Cc: caml-list

>> > > Has somebody written syntax and indent files for
>> > > ocaml files using the revised syntax?
>> 
>> Daniel, ..., and regarding this part of the question? :)
>
>Oops: I probably misunderstood the question. I forgot to look at the
>subject. I thought it was about the pretty printing of Camlp4, sorry.
>
>Well, if it is about vim, I don't know, sorry.

Filtering the whole file with camlp4 can pass the problem to camlp4, so
this can be done with any text editor supporting filtering with external
command.

Gergo

+-[Kontra, Gergely @ Budapest University of Technology and Economics]-+
|         Email: kgergely@mcl.hu,  kgergely@turul.eet.bme.hu          |
|  URL:   turul.eet.bme.hu/~kgergely    Mobile: (+36 20) 356 9656     |
+-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+
.
Magyar php mirror es magyar php dokumentacio: http://hu.php.net

-------------------
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] 5+ messages in thread

end of thread, other threads:[~2002-10-21 15:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-21 13:10 [Caml-list] ot?: vim support (and for revised syntax) Kontra, Gergely
2002-10-21 13:30 ` Daniel de Rauglaudre
2002-10-21 13:56   ` Stefano Zacchiroli
2002-10-21 14:56     ` Daniel de Rauglaudre
2002-10-21 15:37       ` Kontra, Gergely

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