 (defun ac-fsharp-candidate ()
   (case ac-fsharp-status
     (idle
-     (message "ac-fsharp-candidate triggered - fetching candidates...")
+     (message "ac-fsharp-candidate triggered - idle (fetching candidates...)")
      (setq ac-fsharp-saved-prefix ac-prefix)
 
      ;; NOTE: although auto-complete would filter the result for us, but when there's

  (interactive)
  (ac-fsharp-send-shutdown-command (get-process "fsharp-complete")))

(defun ac-fsharp-launch-completion-process ()
  (interactive)
  (message "Launching completion process")

  ;; Pre-parse source code.
  (ac-fsharp-send-script-file ac-fsharp-completion-process)

  (setq ac-fsharp-status 'complete)
  
  ;(add-hook 'kill-buffer-hook 'ac-fsharp-shutdown-process nil t)
  ;(add-hook 'before-save-hook 'ac-fsharp-reparse-buffer)

