[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tuareg mode in emacs

A scan of the Lwt sources reveals several Tuareg patches that may be of use...


On 2 Dec 2012, at 18:13, Richard Mortier <Richard.Mortier@xxxxxxxxxxxxxxxx> 

> yes, use emacs; no, haven't solved the Lwt syntax extension problem. i did 
> look at it, to try to mash some extra regexes in, but it didn't work the 
> obvious way and i didn't have time to fix properly. i believe thomas said 
> that they would fix it eventually with typerex but weren't interested in 
> patching up tuareg-mode...
> On 2 Dec 2012, at 03:44, Anil Madhavapeddy wrote:
>> Alas, I am no help here.  I use almost no editor support beyond
>> annotations [1] and syntax highlighting with vi.  Any Emacs users on the
>> list? I seem to remember Mort uses it, but he's travelling in the US and
>> so response may be delayed.
>> [1] http://github.com/avsm/ocaml-annot
>> -anil
>> On Sat, Dec 01, 2012 at 08:48:11PM -0000, Yiming Zhang wrote:
>>> Hi,
>>> I am studying how to use tuareg mode in emacs for ocaml program development.
>>> I think most ocaml programmers use it, right? Currently I meet several
>>> problems, including:
>>> (1) how to make emacs support lwt? Currently the keywords of lwt cannot be
>>> parsed, and during debug when I want to "next" a lwt statement it reports
>>> "No source file for lwt" L
>>> (2) how to make emacs (or is it possible to) show several windows at the
>>> same time? For example, I might want to click on a file name in the left
>>> window to open a .ml file in the right-top window, to click a variable name
>>> in the top window to show its definition in the bottom window, like what I
>>> can do in "source insight" and "visual studio"?
>>> Thank you very much!
>>> Yiming
> -- 
> Cheers,
> R.
> This message and any attachment are intended solely for the addressee and may 
> contain confidential information. If you have received this message in error, 
> please send it back to me, and immediately delete it.   Please do not use, 
> copy or disclose the information contained in this message or in any 
> attachment.  Any views or opinions expressed by the author of this email do 
> not necessarily reflect the views of the University of Nottingham.
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.