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

Re: Bug #238097 : annotation problem with tuareg, can an emacs user have a look



Sven Luther <sven.luther@wanadoo.fr> writes:

> Hello,
>
> Can an emacs user perhaps have a look at bug report #238097 ?

well, a quick fix is to apply the attached patch to the tuareg.el
file. (The idea of the patch is to use the button 3 for type
exploration, not the button 2). I believe this is an upstream problem. 

--- /usr/share/emacs/site-lisp/tuareg-mode/tuareg.el	2004-02-23 19:40:15.000000000 +0100
+++ tuareg.el	2004-03-18 20:07:09.000000000 +0100
@@ -856,8 +856,8 @@
   ;; caml-types
   (define-key tuareg-mode-map [?\C-c?\C-t] 'caml-types-show-type)
   ;; to prevent misbehavior in case of error during exploration.
-  (define-key tuareg-mode-map [mouse-2] 'caml-types-mouse-ignore)
-  (define-key tuareg-mode-map [down-mouse-2] 'caml-types-explore)
+  (define-key tuareg-mode-map [mouse-3] 'caml-types-mouse-ignore)
+  (define-key tuareg-mode-map [down-mouse-3] 'caml-types-explore)
   ;; caml-help
   (define-key tuareg-mode-map [?\C-c?i] 'ocaml-add-path)
   (define-key tuareg-mode-map [?\C-c?[] 'ocaml-open-module)

-- 
Rémi Vanicat

Reply to: