 
 (defun go-guru--compilation-markup ()
   "Present guru output in the current buffer using `compilation-mode'."
+  (goto-char (point-max))
   (insert "\n")
   (compilation-mode)
   (setq compilation-error-screen-columns nil)

(defun go-guru--hl-identifiers-before-change-function (_beg _end)
  (go-guru-unhighlight-identifiers))

;; FIXME(dominikh): currently we're using the same buffer for
;; interactive and non-interactive output. E.g. if a user ran the
;; referrers query, and then the hl-identifier timer ran a what query,
;; the what query's json response would be visible and overwrite the
;; referrers output

;; TODO(dominikh): a future feature may be to cycle through all uses
;; of an identifier.


if not already set.  Mark up the output using `compilation-mode`,
replacing each file name with a small hyperlink, and display the
result."
  (let ((output (go-guru--exec mode need-scope))
	(display (get-buffer-create "*go-guru*")))
    (with-current-buffer display
      (setq buffer-read-only nil)
      (erase-buffer)
      (insert-buffer-substring output)
      (go-guru--compilation-markup))))

(defun go-guru--exec (mode &optional need-scope flags allow-unnamed)
  "Execute the Go guru in the specified MODE, passing it the
