           (setq location "/load_extra_conf_file")
         (setq location "/ignore_extra_conf_file"))
       (ycmd--request location `((filepath . ,conf-file)) :sync t)
-      (ycmd--report-status 'unparsed)
+      (ycmd--reset-parse-status)
       (ycmd-notify-file-ready-to-parse))))
 
 (defun ycmd--handle-error-exception (msg)

      (deferred:$
        (ycmd--request "/event_notification" content)
        (deferred:nextc it handler))
      (deferred:error it
        (lambda (err)
          (message "Error sending %s request: %s" event-name err)

    (setq ycmd--server-actual-port
          (string-to-number (match-string 1 string)))
    (ycmd--with-all-ycmd-buffers
      (ycmd--reset-parse-status))
    (ycmd--perform-deferred-parse)))

(defun ycmd--start-server ()
