ghc-mod icon indicating copy to clipboard operation
ghc-mod copied to clipboard

Cannot get info from qualified symbol name in the Emacs

Open highfly22 opened this issue 9 years ago • 1 comments

When using Emacs, try to browser symbol like "CC.conduitGet". It won't give right answer.

% check /home/haiwei/shared/projects/protobuff-conduit/src/Lib.hs O: ("src/Lib.hs:102:12:Not in scope: ‘conduitGet’ O: Perhaps you meant one of these: O: ‘CC.conduitGet’ (imported from Data.Conduit.Cereal), O: ‘CC.conduitGet2’ (imported from Data.Conduit.Cereal), O: ‘CC.conduitPut’ (imported from Data.Conduit.Cereal)") O: OK

To migrate this error, I used the package thingatpt+ and redefined ghc-things-at-point.

(defun ghc-things-at-point ()
  (tap-symbol-name-at-point))

highfly22 avatar Jun 06 '16 03:06 highfly22

I think this is the same issue as https://github.com/DanielG/ghc-mod/issues/432, never got around to fixing that unfortunately.

DanielG avatar Jun 23 '16 18:06 DanielG