Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocaml-mode-3.05
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yang Shouxun <yangsx@f...>
Subject: Re: [Caml-list] ocaml-mode-3.05
Jacques Garrigue wrote:

>>True. For instance, I'd rather an indentation for every consecutive 
>>"let...", as in the Lisp style (I learned Scheme and Common Lisp before 
>>Ocaml). That is, I prefer indentation to graphically show the structure 
>>of the code, even at the risk of being stretched too much to the right. 
>>With higher resolution of graphic displays and more careful organization 
>>of the code, I guess the problem may be less imposing.

> By the way, you can customize this in ocaml-mode too:
>   (setq caml-let-in-indent 2)
> The default is 0, meaning no indent.

Thanks. In tuareg there is an option "Force indentation after 'let'", 
but it seems not working as I expect it. Or I miss something here.

>>I'm using tuareg for it allows me to run ocaml toplevel in emacs. I'm 
>>not sure the ocaml-mode has such functionality.
> 
> Let's stop such blaring disinformation:

Sorry, I just didn't know how to do that with ocaml-mode when I last 
tried, but I see now. IIRC, I didn't find it out the first time because 
I used "apropos ocaml" instead of "apropos caml" and I didn't search the 
caml menu. On the other hand, "apropos tuareg" gave me what I was 
looking for.
-------------------
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