From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q1N0o0t4020064 for ; Thu, 23 Feb 2012 01:50:00 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AocDANiMRU9KN1ZKnGdsb2JhbABEhTCtSAEBAQEBBg0JCRQngXMBAQQBI1YFCwsaAhgOAgI9ChAhh3kDBqYnkhAEgS+MAgECBQIFCQQCAQwCAxIPBgUDAoUYCwECKxQCAwYCExmCCDNjBJsCjSQ X-IronPort-AV: E=Sophos;i="4.73,466,1325458800"; d="scan'208";a="145526030" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail1-smtp-roc.national.inria.fr with ESMTP; 23 Feb 2012 01:49:54 +0100 Received: from heyho.local (71-234.197-178.cust.bluewin.ch [178.197.234.71]) by smtp.webfaction.com (Postfix) with ESMTP id 64EF026EC0A8; Wed, 22 Feb 2012 18:46:53 -0600 (CST) Date: Thu, 23 Feb 2012 01:46:48 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: caml-list@inria.fr Cc: Thomas Gazagnaire Message-ID: <468AED60D32744A3B8200F8A4CE90593@erratique.ch> In-Reply-To: <72EAA5944D204F96B346004A6E45A1B0@erratique.ch> References: <4F452F9F.4050203@inria.fr> <72EAA5944D204F96B346004A6E45A1B0@erratique.ch> X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [Caml-list] [ANN] TypeRex release 1.0.0 candidate 1 I love it. This fulfills so many of my wishes. Thank you. > Anyway, would it be possible to include, in the distribution a theme matching the mode of OCaml's distribution ? Here's a workaround : (setq ocp-syntax-coloring nil) ; Hack to get caml-mode color scheme (setq load-path (cons "~/.emacs.d/caml-mode" load-path)) (if window-system (require 'caml-font)) (add-hook 'typerex-mode-hook 'caml-font-set-font-lock) > Disregarding the menu showing the possible completions, is it significantly different from 'dabbrev-expand ? Is it module-aware, couldn't for example complete the symbols from List.* ? > Problem gone, it is module aware. Not type aware (maybe in the future according to Thomas), however if you wait a little bit it will tell you the type of the selected completion. I did however disable automatic completion (annoying anyway), it sometimes hangs my typing. That did it for me (shift tab to invoke auto completion) : (add-to-list 'load-path "~/.emacs.d/auto-complete-mode") (setq ocp-auto-complete t) (global-set-key (kbd "S-") 'auto-complete) (setq ac-auto-start nil) Here [1] are things ocamlbuild users should know and here's [2] an ocp-env script. Best, Daniel [1] https://github.com/OCamlPro/typerex/issues/8 [2] https://github.com/OCamlPro/typerex/issues/6#issuecomment-4126540