Function: ibtypes::hyrolo-stuck-msg

ibtypes::hyrolo-stuck-msg is a byte-compiled function defined in hibtypes.el.

Signature

(ibtypes::hyrolo-stuck-msg)

Documentation

Jump to the position where a HyRolo search has become stuck from the error.

Such errors are recognized in any buffer (other than a helm completion buffer).

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hibtypes.el
(defib hyrolo-stuck-msg ()
  "Jump to the position where a HyRolo search has become stuck from the error.
Such errors are recognized in any buffer (other than a helm completion
buffer)."
  (unless (derived-mode-p 'helm-major-mode)
    (save-excursion
      (beginning-of-line)
      ;; HyRolo stuck error
      (when (looking-at ".*(hyrolo-grep-file): Stuck looping in buffer \\\\?\"\\([^\\\t\n\r\f\"'`]+\\)\\\\?\" at position \\([0-9]+\\)")
        (let* ((buffer-name (match-string-no-properties 1))
               (pos  (or (match-string-no-properties 2) "1"))
               (but-label (concat buffer-name ":P" pos)))
	  (when (buffer-live-p (get-buffer buffer-name))
            (setq pos (string-to-number pos))
            (ibut:label-set but-label
                            (line-beginning-position) (line-end-position))
            (hact 'link-to-buffer-tmp buffer-name pos)))))))