1. camlspotter
  2. ocamlspot


camlspotter  committed 9dfc2f2

document and el

  • Participants
  • Parent commits 5448b15
  • Branches default

Comments (0)

Files changed (2)

File README.rst

View file
 usage, then type ``C-c ;``. If things are properly installed and set up,
 Emacs should display the definition of the identifier.
-Key listing in Emacs:
+Available Emacs commands:
-* ``C-c ;`` Jump to definition   
+* ``ocamlspot-query``: Jump to definition   
+* ``ocamlspot-type``: Display the type. Same as ``caml-types-show-type`` with ``-annot``
+* ``ocamlspot-type-and-copy``: Display the type, then copy it to the kill buffer.
+* ``ocamlspot-xtype``: Display the type with id stamps
+* ``ocamlspot-use``: Display the identifier's stamps
+* ``ocamlspot-pop-jump-stack``: Go back to previous buffer layout. Useful when you are lost during browsing.
 If something goes wrong

File ocamlspot.el

View file
 ;        (add-hook 'tuareg-mode-hook
 ;              '(lambda ()
 ;                 (local-set-key "\C-c;" 'ocamlspot-query)
-;                 (local-set-key "\C-c:" 'ocamlspot-query-interface)
-;                 (local-set-key "\C-c'" 'ocamlspot-query-uses)
 ;                 (local-set-key "\C-c\C-t" 'ocamlspot-type)
 ;                 (local-set-key "\C-c\C-i" 'ocamlspot-xtype)
 ;                 (local-set-key "\C-c\C-y" 'ocamlspot-type-and-copy)
+;                 (local-set-key "\C-c\C-u" 'ocamlspot-use)
 ;                 (local-set-key "\C-cx" 'ocamlspot-expand)
-;                 (local-set-key "\C-c\C-u" 'ocamlspot-use)
 ;                 (local-set-key "\C-ct" 'caml-types-show-type)
 ;                 (local-set-key "\C-cp" 'ocamlspot-pop-jump-stack)))